diff --git a/shared/db/schema/game-settings.ts b/shared/db/schema/game-settings.ts index fccb850..5b1bb27 100644 --- a/shared/db/schema/game-settings.ts +++ b/shared/db/schema/game-settings.ts @@ -71,6 +71,10 @@ export interface ModerationConfig { }; } +export interface QuestConfig { + maxActiveQuests: number; +} + export const gameSettings = pgTable('game_settings', { id: text('id').primaryKey().default('default'), leveling: jsonb('leveling').$type().notNull(), @@ -79,6 +83,7 @@ export const gameSettings = pgTable('game_settings', { lootdrop: jsonb('lootdrop').$type().notNull(), trivia: jsonb('trivia').$type().notNull(), moderation: jsonb('moderation').$type().notNull(), + quest: jsonb('quest').$type().notNull(), commands: jsonb('commands').$type>().default({}), system: jsonb('system').$type>().default({}), createdAt: timestamp('created_at', { withTimezone: true }).defaultNow().notNull(),