forked from syntaxbullet/aurorabot
feat(db): export all schema types
Add missing type exports for Class, ItemTransaction, Quest, UserQuest, UserTimer, and Lootdrop tables. All tables now have consistent type exports available for import.
This commit is contained in:
@@ -16,10 +16,16 @@ import {
|
||||
import { relations, sql, type InferSelectModel } from 'drizzle-orm';
|
||||
|
||||
export type User = InferSelectModel<typeof users>;
|
||||
export type Class = InferSelectModel<typeof classes>;
|
||||
export type Transaction = InferSelectModel<typeof transactions>;
|
||||
export type ItemTransaction = InferSelectModel<typeof itemTransactions>;
|
||||
export type ModerationCase = InferSelectModel<typeof moderationCases>;
|
||||
export type Item = InferSelectModel<typeof items>;
|
||||
export type Inventory = InferSelectModel<typeof inventory>;
|
||||
export type Quest = InferSelectModel<typeof quests>;
|
||||
export type UserQuest = InferSelectModel<typeof userQuests>;
|
||||
export type UserTimer = InferSelectModel<typeof userTimers>;
|
||||
export type Lootdrop = InferSelectModel<typeof lootdrops>;
|
||||
|
||||
// --- TABLES ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user