@sportsbroker/firebase-structure 3.33.0 → 3.33.2-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.
@@ -6,10 +6,10 @@ export interface Score {
6
6
  export interface MatchScore {
7
7
  home: number | null; // total without penalties
8
8
  away: number | null; // total without penalties
9
- periods: MatchPeriods;
9
+ periods: SoccerPeriods | NFLPeriods;
10
10
  }
11
11
 
12
- export interface MatchPeriods {
12
+ export interface SoccerPeriods {
13
13
  firstHalf?: Score;
14
14
  secondHalf?: Score;
15
15
  firstOvertime?: Score;
@@ -17,6 +17,10 @@ export interface MatchPeriods {
17
17
  shootoutPenalties?: Score;
18
18
  }
19
19
 
20
+ export interface NFLPeriods {
21
+ [sequenceName: string]: Score
22
+ }
23
+
20
24
  export interface Scores {
21
25
  [sportID: string]: {
22
26
  [matchID: string]: MatchScore;
@@ -3,7 +3,6 @@ import { UserID } from "../../global";
3
3
  export interface UserWallet {
4
4
  available: number;
5
5
  invested: number;
6
- profit: number;
7
6
  bonus: number;
8
7
  }
9
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.33.0",
3
+ "version": "3.33.2-0",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {