@sportsbroker/firebase-structure 9.0.0 → 9.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,6 +16,13 @@ export type Bet = {
|
|
|
16
16
|
fixtureKickOffTime: ISODate;
|
|
17
17
|
/** The ENGINE key, never a game slug. The discriminant every bet union narrows on. */
|
|
18
18
|
engine: GameEngineEnum;
|
|
19
|
+
/**
|
|
20
|
+
* Catalogue slug of the GAME the bet was placed in (`match-predictor`, `golden-coin`), the same value
|
|
21
|
+
* the pool carries in `event.gameSlug`. One engine runs many games, so a client grouping a player's bets
|
|
22
|
+
* by game cannot get there from `engine` alone. Optional for wire back-compat: docs projected before
|
|
23
|
+
* this field existed omit it. New projections always set it.
|
|
24
|
+
*/
|
|
25
|
+
gameSlug?: string;
|
|
19
26
|
status: BetStatusEnum;
|
|
20
27
|
betEventId: UUID;
|
|
21
28
|
/**
|