mirror of
https://github.com/qwerinope/qweribot.git
synced 2025-12-18 21:11:39 +01:00
fix tsc configs, add realsilverbullets for 6666 bits
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { AccessToken } from "@twurple/auth";
|
||||
import type { cheers as cheertypes } from "cheers";
|
||||
import { relations } from "drizzle-orm";
|
||||
import {
|
||||
boolean,
|
||||
@@ -42,7 +43,7 @@ export const timeouts = pgTable("timeouts", {
|
||||
target: integer()
|
||||
.notNull()
|
||||
.references(() => users.id),
|
||||
item: varchar().$type<items>().notNull(),
|
||||
item: varchar().$type<items | cheertypes>().notNull(),
|
||||
created: timestamp().defaultNow().notNull(),
|
||||
});
|
||||
|
||||
@@ -80,7 +81,7 @@ export const cheerEvents = pgTable("cheerEvents", {
|
||||
user: integer()
|
||||
.notNull()
|
||||
.references(() => users.id),
|
||||
event: varchar().$type<items>().notNull(),
|
||||
event: varchar().$type<items | cheertypes>().notNull(),
|
||||
created: timestamp().defaultNow().notNull(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user