@sportsbroker/firebase-structure 3.24.0-28 → 3.24.0-29

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,13 @@
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-29](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0-28...v3.24.0-29) (2021-05-28)
6
+
7
+
8
+ ### Features
9
+
10
+ * match score structure update - include penalties in periods ([3ae52f7](https://github.com/SportsBroker-HQ/firebase-structure/commit/3ae52f7d14554ce02b0cdc55c64bd4e146b9e33b))
11
+
5
12
  ## [3.24.0-28](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0-26...v3.24.0-28) (2021-05-27)
6
13
 
7
14
 
@@ -3,18 +3,17 @@ export interface Score {
3
3
  away: number | null;
4
4
  }
5
5
 
6
- // @TODO: change to firstHalf, fullTime, overtime
6
+ export interface MatchScore {
7
+ home: number | null; // total without penalties
8
+ away: number | null; // total without penalties
9
+ periods: MatchPeriods;
10
+ }
11
+
7
12
  export interface MatchPeriods {
8
- firstHalf: Score;
13
+ firstHalf?: Score;
9
14
  secondHalf?: Score;
10
15
  firstOvertime?: Score;
11
16
  secondOvertime?: Score;
12
- }
13
-
14
- export interface MatchScore {
15
- home: number | null;
16
- away: number | null;
17
- periods: MatchPeriods;
18
17
  shootoutPenalties?: Score;
19
18
  }
20
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.24.0-28",
3
+ "version": "3.24.0-29",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {