gamer147
110867358c
feat(arena-colosseum): lobby + constructed entry (phase 1)
Closes 5 of arena-colosseum's 16 spec shapes (1/16 → 6/16). Lobby reads
(/top, /get_fee_info, /event_info) render an empty "no event scheduled"
payload by default; /entry + /register_deck activate via admin-flipped
ColosseumSeason + ColosseumRounds config sections.
* Schema: ViewerArenaColosseumRun standalone table (unique on ViewerId)
with jsonb run-state columns mirroring ViewerArenaTwoPickRun.
* Config sections: ColosseumSeasonConfig (event-level), ColosseumRoundsConfig
(the 3-round bracket). Empty defaults — IsColosseumPeriod=false.
* Migration AddArenaColosseumRun (DDL only; seed rows come from the section
ShippedDefaults via EnsureSeedDataAsync).
* DTOs: ColosseumLobbyInfo (round-level, /top + /get_fee_info), ColosseumEventInfo
(event-level, /event_info), ColosseumOwnStatus (shared status block),
ColosseumEntryRef, ColosseumFeeList, ColosseumUserDeck, ColosseumBattleResults,
ColosseumRoundDetail + ColosseumGroupRow. EventInfoResponse uses explicit
[JsonPropertyName("1"|"2"|"3")] for the string-keyed rounds shape per spec.
* Controller: ArenaColosseumController replaces the 1-action stub with
the five lifecycle endpoints. /top emits leader_skin_id even when 0
(project_wire_null_policy override).
* Tests: 11 controller-level tests + 6 config round-trip tests covering
empty-season payloads, run-seeded /top round-trip, crystal/rupy entry
debits, now_round_id mismatch rejection, deck_no_list round-trip + reject.
2026-06-13 12:16:22 -04:00
..
2026-06-13 11:35:41 -04:00
2026-06-09 15:07:42 -04:00
2026-05-29 21:03:10 -04:00
2026-06-13 12:16:22 -04:00
2026-05-31 13:21:44 -04:00
2026-06-10 08:22:19 -04:00
2026-05-31 11:15:53 -04:00
2026-06-03 07:50:49 -04:00
2026-06-09 15:06:23 -04:00
2026-06-09 20:52:47 -04:00
2026-06-13 09:58:55 -04:00
2026-06-01 01:59:47 -04:00
2026-06-13 11:25:40 -04:00
2026-05-31 01:22:08 -04:00
2026-05-29 12:01:36 -04:00
2026-06-13 08:13:49 -04:00
2026-05-28 18:04:28 -04:00
2026-06-13 08:16:19 -04:00
2026-06-12 21:24:02 -04:00
2026-06-10 08:54:50 -04:00
2026-06-09 20:45:49 -04:00
2026-06-12 12:52:06 -04:00
2026-06-09 14:55:43 -04:00
2026-06-09 15:05:59 -04:00
2026-06-09 15:07:19 -04:00
2026-06-13 11:25:40 -04:00
2026-06-12 23:33:50 -04:00
2026-06-13 11:25:40 -04:00
2026-06-12 23:26:29 -04:00
2026-05-23 19:57:34 -04:00
2026-05-29 12:01:36 -04:00
2026-06-12 22:54:52 -04:00
2026-06-09 15:03:45 -04:00
2026-06-10 08:15:12 -04:00
2026-06-10 10:46:00 -04:00
2026-06-10 08:03:37 -04:00
2026-06-12 23:22:25 -04:00
2026-06-09 15:08:03 -04:00
2026-05-27 10:51:05 -04:00
2026-05-23 22:46:11 -04:00
2026-05-28 13:34:05 -04:00
2026-05-28 20:22:59 -04:00
2026-06-09 16:50:38 -04:00