@sportsbroker/firebase-structure 3.67.10 → 3.68.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.
package/firestore/user/user.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Doc, UUID } from "../common";
|
|
2
|
+
import {UserStatus} from "../user-status";
|
|
2
3
|
|
|
3
4
|
export type UserDoc = User & Doc;
|
|
4
5
|
|
|
@@ -12,6 +13,8 @@ export type User = {
|
|
|
12
13
|
userId: UUID;
|
|
13
14
|
wallet: Wallet;
|
|
14
15
|
events?: UserEvents;
|
|
16
|
+
status?: UserStatus;
|
|
17
|
+
complianceStatus?: UserStatus;
|
|
15
18
|
};
|
|
16
19
|
|
|
17
20
|
export type UserEventsType =
|
package/package.json
CHANGED
package/realtimedb/cms/index.ts
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export type TournamentsSortOrder = {
|
|
2
|
-
[key in SortOrderDay]?: { [key: TournamentId]: SortOrderItem };
|
|
3
|
-
};
|
|
4
|
-
|
|
5
|
-
export interface SortOrderItem {
|
|
6
|
-
tournamentId: TournamentId;
|
|
7
|
-
order: number;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export enum SortOrderDay {
|
|
11
|
-
MONDAY = "monday",
|
|
12
|
-
TUESDAY = "tuesday",
|
|
13
|
-
WEDNESDAY = "wednesday",
|
|
14
|
-
THURSDAY = "thursday",
|
|
15
|
-
FRIDAY = "friday",
|
|
16
|
-
SATURDAY = "saturday",
|
|
17
|
-
SUNDAY = "sunday",
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export type TournamentId = string;
|