summaryrefslogtreecommitdiff
path: root/types.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'types.d.ts')
-rw-r--r--types.d.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/types.d.ts b/types.d.ts
index 5597d10..59d9d9d 100644
--- a/types.d.ts
+++ b/types.d.ts
@@ -19,7 +19,7 @@ export interface Game {
year: number;
active: Player | null;
state: string | null;
- bag_of_glory: Record<FactionId, number>;
+ bag_of_glory: FactionId[];
blank_markers: number[][];
bonuses: number[];
chosen_cards: Record<FactionId, CardId>;
@@ -32,6 +32,7 @@ export interface Game {
n: number;
s: number;
};
+ glory: FactionId[];
hands: Record<FactionId, CardId[]>;
hero_points: Record<FactionId | 'pool', number>;
initiative: FactionId;
@@ -63,10 +64,13 @@ export interface View {
selected?: string;
selected_card: CardId | null;
+ bag_of_glory: Game['bag_of_glory'];
bonuses: Game['bonuses'];
current_events: CardId[];
fronts: Game['fronts'];
+ glory: Game['glory'];
hand: CardId[];
+ hero_points: Game['hero_points'];
medaillons: Game['medaillons'];
tableaus: Game['tableaus'];
tracks: number[];