@sportsbroker/firebase-structure 6.2.0 → 6.3.0
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GameEngineEnum } from "../bet-events";
|
|
2
2
|
import type { QuestionResultValue } from "../events";
|
|
3
|
+
import type { PoolTrack } from "../pools";
|
|
3
4
|
import type { ISODate, UUID } from "../common";
|
|
4
5
|
|
|
5
6
|
export type Bet = {
|
|
@@ -12,6 +13,11 @@ export type Bet = {
|
|
|
12
13
|
status: BetStatusEnum;
|
|
13
14
|
betEventId: UUID;
|
|
14
15
|
predictions: BetPredictionType[];
|
|
16
|
+
/**
|
|
17
|
+
* Cohort of this bet, inherited from its pool. Optional for wire back-compat: docs projected
|
|
18
|
+
* before this field existed omit it and MUST be treated as `"real"`. New projections always set it.
|
|
19
|
+
*/
|
|
20
|
+
track?: PoolTrack;
|
|
15
21
|
createdAt: ISODate;
|
|
16
22
|
updatedAt: ISODate;
|
|
17
23
|
};
|