@sportsbroker/firebase-structure 3.24.0-6 → 3.24.0-8

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [3.24.0-8](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0-7...v3.24.0-8) (2021-04-16)
6
+
7
+
8
+ ### Features
9
+
10
+ * added type and countryCode to SeasonOverview ([dc420fe](https://github.com/SportsBroker-HQ/firebase-structure/commit/dc420fe7566bb8bd0721668c449847b84a576588))
11
+
12
+ ## [3.24.0-7](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0-6...v3.24.0-7) (2021-04-15)
13
+
14
+
15
+ ### Features
16
+
17
+ * adjust match scores schema ([e34e1d3](https://github.com/SportsBroker-HQ/firebase-structure/commit/e34e1d313256cd330105f436e90caeaebb5293c9))
18
+
5
19
  ## [3.24.0-6](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0-5...v3.24.0-6) (2021-04-15)
6
20
 
7
21
 
@@ -12,8 +12,8 @@ export interface MatchPeriods{
12
12
  }
13
13
 
14
14
  export interface MatchScore {
15
- home: number;
16
- away: number;
15
+ home: number | null;
16
+ away: number | null;
17
17
  periods: MatchPeriods;
18
18
  shootoutPenalties?: Score;
19
19
  }
@@ -1,6 +1,7 @@
1
1
  import { ISODate, Image, SeasonID } from "../../global";
2
2
 
3
3
  export type SeasonState = 'UPCOMING' | 'ACTIVE' | 'FINISHED';
4
+ export type SeasonType = 'DOMESTIC' | 'INTERNATIONAL';
4
5
 
5
6
  export interface SeasonOverview {
6
7
  endDate: ISODate;
@@ -11,6 +12,8 @@ export interface SeasonOverview {
11
12
  nextSeasonId?: string;
12
13
  state: SeasonState;
13
14
  logo?: Image;
15
+ type: SeasonType;
16
+ countryCode?: string;
14
17
  }
15
18
 
16
19
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.24.0-6",
3
+ "version": "3.24.0-8",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {