add missing requests/responses

This commit is contained in:
seavor 2026-04-16 01:28:42 -05:00
parent f0c3581d26
commit 4b5f66d497
27 changed files with 382 additions and 10 deletions

View file

@ -34,6 +34,8 @@ export interface ServerState {
/** Replays keyed by gameId for O(1) lookup/update. */
replays: { [gameId: number]: Data.ServerInfo_ReplayMatch };
backendDecks: Data.Response_DeckList | null;
downloadedDeck: { deckId: number; deck: string } | null;
downloadedReplay: { replayId: number; replayData: Uint8Array } | null;
gamesOfUser: { [userName: string]: Enriched.Game[] };
registrationError: string | null;
}