fix tsc configs, add realsilverbullets for 6666 bits

This commit is contained in:
2025-12-06 04:51:34 +01:00
parent c37d2f0a8b
commit afbf08f21a
15 changed files with 136 additions and 19 deletions

View File

@@ -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(),
});