@sportsbroker/firebase-structure 3.69.32 → 3.69.34
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.
|
@@ -8,7 +8,7 @@ export interface MPEvent {
|
|
|
8
8
|
id: UUID;
|
|
9
9
|
status: MPEventStatusType;
|
|
10
10
|
startDate: Date;
|
|
11
|
-
matchData:
|
|
11
|
+
matchData: MPMatchData;
|
|
12
12
|
questions: MPQuestion[];
|
|
13
13
|
pools: { [key: string]: MPEventPool };
|
|
14
14
|
createdAt: ISODate;
|
|
@@ -21,7 +21,7 @@ export type MPEventMatchStatusType =
|
|
|
21
21
|
| "finished"
|
|
22
22
|
| "canceled";
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type MPMatchData = {
|
|
25
25
|
matchId: UUID;
|
|
26
26
|
status: MPEventMatchStatusType;
|
|
27
27
|
startDate: ISODate;
|
|
@@ -29,6 +29,7 @@ export type MPMatchesData = {
|
|
|
29
29
|
homeTeamId: UUID | null;
|
|
30
30
|
awayTeamName: string;
|
|
31
31
|
awayTeamId: UUID | null;
|
|
32
|
+
score: { home: number; away: number };
|
|
32
33
|
isActive: boolean;
|
|
33
34
|
matchTime: MatchTime;
|
|
34
35
|
};
|
package/firestore/user/user.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Doc, UUID } from "../common";
|
|
2
|
-
import {UserStatus} from "../user-status";
|
|
2
|
+
import { UserStatus } from "../user-status";
|
|
3
3
|
|
|
4
4
|
export type UserDoc = User & Doc;
|
|
5
5
|
|
|
@@ -15,6 +15,12 @@ export type User = {
|
|
|
15
15
|
events?: UserEvents;
|
|
16
16
|
status?: UserStatus;
|
|
17
17
|
complianceStatus?: UserStatus;
|
|
18
|
+
betting?: { activeBettingEvents: UserActiveBettingEvents };
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export type UserActiveBettingEvents = {
|
|
22
|
+
mpEvents: UUID[];
|
|
23
|
+
spEvents: UUID[];
|
|
18
24
|
};
|
|
19
25
|
|
|
20
26
|
export type UserEventsType =
|
|
@@ -26,5 +32,7 @@ export type UserEvents = {
|
|
|
26
32
|
userAcceptedTermsAndConditions?: Date;
|
|
27
33
|
userSawScreenEncouragingToSetDepositLimits?: Date;
|
|
28
34
|
userCompletedOnboarding?: Date;
|
|
35
|
+
userSetPushNotifications?: Date;
|
|
36
|
+
userSetMarketingAgreements?: Date;
|
|
29
37
|
};
|
|
30
38
|
};
|
package/package.json
CHANGED
package/.vscode/settings.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"workbench.colorCustomizations": {
|
|
3
|
-
"activityBar.activeBackground": "#1f6fd0",
|
|
4
|
-
"activityBar.background": "#1f6fd0",
|
|
5
|
-
"activityBar.foreground": "#e7e7e7",
|
|
6
|
-
"activityBar.inactiveForeground": "#e7e7e799",
|
|
7
|
-
"activityBarBadge.background": "#ee90bb",
|
|
8
|
-
"activityBarBadge.foreground": "#15202b",
|
|
9
|
-
"commandCenter.border": "#e7e7e799",
|
|
10
|
-
"sash.hoverBorder": "#1f6fd0",
|
|
11
|
-
"statusBar.background": "#1857a4",
|
|
12
|
-
"statusBar.foreground": "#e7e7e7",
|
|
13
|
-
"statusBarItem.hoverBackground": "#1f6fd0",
|
|
14
|
-
"statusBarItem.remoteBackground": "#1857a4",
|
|
15
|
-
"statusBarItem.remoteForeground": "#e7e7e7",
|
|
16
|
-
"titleBar.activeBackground": "#1857a4",
|
|
17
|
-
"titleBar.activeForeground": "#e7e7e7",
|
|
18
|
-
"titleBar.inactiveBackground": "#1857a499",
|
|
19
|
-
"titleBar.inactiveForeground": "#e7e7e799"
|
|
20
|
-
},
|
|
21
|
-
"peacock.color": "#1857a4"
|
|
22
|
-
}
|