update acts to pre-show/live-event/scoring, add ACT_LABELS, remove unused constants

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-12 15:03:17 +01:00
parent 08aa68d847
commit eed14f863c

View File

@@ -5,13 +5,13 @@ export const ROOM_EXPIRY_HOURS = 12
/** Characters used for room codes — excludes I/O/0/1 to avoid confusion */
export const ROOM_CODE_CHARS = "ABCDEFGHJKLMNPQRSTUVWXYZ23456789"
export const ACTS = ["lobby", "act1", "act2", "act3", "ended"] as const
export const ACTS = ["lobby", "pre-show", "live-event", "scoring", "ended"] as const
export type Act = (typeof ACTS)[number]
/** Rating range for jury voting (Eurovision convention: 1-12) */
export const JURY_RATING_MIN = 1
export const JURY_RATING_MAX = 12
/** Bingo grid dimensions */
export const BINGO_GRID_SIZE = 4
export const BINGO_TOTAL_SQUARES = BINGO_GRID_SIZE * BINGO_GRID_SIZE
export const ACT_LABELS: Record<Act, string> = {
lobby: "Lobby",
"pre-show": "Pre-Show",
"live-event": "Live Event",
scoring: "Scoring",
ended: "Ended",
}