@sportsbroker/firebase-structure 3.76.0 → 3.77.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.
|
@@ -23,6 +23,13 @@ export type B2BBetEventPoolData = {
|
|
|
23
23
|
payoutAmount?: number; // this should be used
|
|
24
24
|
participants: number; // active bets count
|
|
25
25
|
entryFee: number;
|
|
26
|
+
event: {
|
|
27
|
+
gameTypeId: UUID;
|
|
28
|
+
status: B2BBetEventStatusType;
|
|
29
|
+
gameKey: GameKeyEnum;
|
|
30
|
+
startDate?: ISODate;
|
|
31
|
+
matchIds?: UUID[];
|
|
32
|
+
};
|
|
26
33
|
leaderboard: {
|
|
27
34
|
entries: {
|
|
28
35
|
userId: UUID;
|
|
@@ -7,7 +7,6 @@ import type { ISODate, UUID } from "../common";
|
|
|
7
7
|
|
|
8
8
|
export type B2BGFEvent = {
|
|
9
9
|
id: UUID;
|
|
10
|
-
organizationId: UUID;
|
|
11
10
|
startDate: ISODate;
|
|
12
11
|
status: B2BBetEventStatusType;
|
|
13
12
|
bettingStatus: B2BBetEventBettingStatusType;
|
|
@@ -23,6 +22,7 @@ export type B2BGFEvent = {
|
|
|
23
22
|
resultsUpdateReason: string | null;
|
|
24
23
|
createdAt: ISODate;
|
|
25
24
|
updatedAt: ISODate;
|
|
25
|
+
matchIds?: UUID[];
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
export type GFEventQuestion = {
|