feat: add lottery results display page

- Add LOTTERY_RESULTS system phase
- Add /screen/lottery-results route
- Add LotteryResultsView component
- Add database connection management (db.ts)
- Update DrawResult schema to remove User relation
- Add awardIcon field to VoteResultsView

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
empty
2026-01-29 02:13:28 +08:00
parent 57cbaa5728
commit e211bb2130
9 changed files with 555 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
// System Phase State Machine
// ============================================================================
export type SystemPhase = 'IDLE' | 'VOTING' | 'LOTTERY' | 'RESULTS';
export type SystemPhase = 'IDLE' | 'VOTING' | 'LOTTERY' | 'RESULTS' | 'LOTTERY_RESULTS';
export type VotingSubPhase = 'CLOSED' | 'OPEN' | 'PAUSED';