@sportsbroker/firebase-structure 3.38.0 → 3.40.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.
@@ -12,6 +12,7 @@ export interface SeasonOverview {
12
12
  name: string; // examples: "English Premier League", "Major League Soccer", "Germany Bundesliga"
13
13
  startDate: ISODate;
14
14
  shouldDisplay: boolean;
15
+ shouldDisplayTable?: boolean;
15
16
  state: SeasonState;
16
17
  type: SeasonType;
17
18
  code: string;
@@ -1,9 +1,9 @@
1
- import { Orders } from './orders';
2
- import { UserStatuses } from './status';
3
- import { Wallet } from './wallet';
4
- import { Watchlist } from './watchlist';
5
- import { Notifications } from './notifications';
6
- import { OwnedShares } from './ownedShares';
1
+ import { Orders } from "./orders";
2
+ import { Status } from "./status";
3
+ import { Wallet } from "./wallet";
4
+ import { Watchlist } from "./watchlist";
5
+ import { Notifications } from "./notifications";
6
+ import { OwnedShares } from "./ownedShares";
7
7
  import { Transactions } from './transactions';
8
8
  import { Messages } from './messages';
9
9
  import { PromoOffers } from './promoOffers';
@@ -11,7 +11,7 @@ import { UserVerificationStatuses } from './verificationStatus';
11
11
 
12
12
  export interface Users {
13
13
  orders: Orders;
14
- status: UserStatuses;
14
+ status: Status;
15
15
  wallet: Wallet;
16
16
  watchlist: Watchlist;
17
17
  notifications: Notifications;
@@ -1,13 +1,15 @@
1
- export type UserStatus =
2
- | 'CREATED'
3
- | 'ACTIVATED'
4
- | 'EMAIL_CONFIRMED'
5
- | 'VERIFICATION_FAILED'
6
- | 'DEACTIVATED'
7
- | 'SELF_EXCLUDED'
8
- | 'BANNED'
9
- | 'DUPLICATED';
1
+ export enum UserStatus {
2
+ CREATED = "CREATED",
3
+ EMAIL_CONFIRMED = "EMAIL_CONFIRMED",
4
+ ACTIVATED = "ACTIVATED",
5
+ DEACTIVATED = "DEACTIVATED",
6
+ BANNED = "BANNED",
7
+ SELF_EXCLUDED = "SELF_EXCLUDED",
8
+ }
10
9
 
11
- export interface UserStatuses {
10
+ /**
11
+ * userID: UserID
12
+ */
13
+ export interface Status {
12
14
  [userID: string]: UserStatus;
13
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.38.0",
3
+ "version": "3.40.0",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {