feat(db): add lobbies and lobby_players tables + model

This commit is contained in:
lila 2026-04-16 14:45:45 +02:00
parent a7be7152cc
commit 47a68c0315
8 changed files with 1310 additions and 10 deletions

View file

@ -13,3 +13,6 @@ export const SUPPORTED_DECK_TYPES = ["grammar", "media"] as const;
export const DIFFICULTY_LEVELS = ["easy", "intermediate", "hard"] as const;
export type DifficultyLevel = (typeof DIFFICULTY_LEVELS)[number];
export const LOBBY_STATUSES = ["waiting", "in_progress", "finished"] as const;
export type LobbyStatus = (typeof LOBBY_STATUSES)[number];