@sportsbroker/firebase-structure 3.0.11 → 3.1.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.
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Image } from "../../global";
|
|
2
2
|
|
|
3
|
+
export interface TableTeam {
|
|
4
|
+
name: string;
|
|
5
|
+
abbreviation: string;
|
|
6
|
+
logo?: Image;
|
|
7
|
+
}
|
|
8
|
+
|
|
3
9
|
export interface Teams {
|
|
4
10
|
[sportID: string]: {
|
|
5
11
|
[seasonID: string]: {
|
|
6
|
-
[teamID: string]:
|
|
7
|
-
name: string;
|
|
8
|
-
abbreviation: string;
|
|
9
|
-
logo?: Image;
|
|
10
|
-
};
|
|
12
|
+
[teamID: string]: TableTeam
|
|
11
13
|
};
|
|
12
14
|
};
|
|
13
15
|
}
|
package/models/global.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export type MatchPeriod =
|
|
|
41
41
|
/**
|
|
42
42
|
* PENDING means that match hasn't started yet
|
|
43
43
|
*/
|
|
44
|
-
export type MatchStatus = "PENDING" | "STARTED" | "FINISHED";
|
|
44
|
+
export type MatchStatus = "PENDING" | "STARTED" | "FINISHED" | "POSTPONED";
|
|
45
45
|
|
|
46
46
|
export interface WithSeasons {
|
|
47
47
|
seasons: {
|