mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
add missing requests/responses
This commit is contained in:
parent
f0c3581d26
commit
4b5f66d497
27 changed files with 382 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue