@sportsbroker/firebase-structure 3.33.1 → 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:
|
|
9
|
+
periods: SoccerPeriods | NFLPeriods;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export interface
|
|
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;
|