@sportsbroker/firebase-structure 3.24.0-13 → 3.24.0-15

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,15 @@
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-15](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0-14...v3.24.0-15) (2021-04-21)
6
+
7
+ ## [3.24.0-14](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0-13...v3.24.0-14) (2021-04-21)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * prevent remove of stages/groups ([cf92497](https://github.com/SportsBroker-HQ/firebase-structure/commit/cf9249774fa323eb2317e70488593e9b2c162686))
13
+
5
14
  ## [3.24.0-13](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0-12...v3.24.0-13) (2021-04-21)
6
15
 
7
16
 
@@ -2,7 +2,7 @@ import { ISODate, Image, SeasonID } from "../../global";
2
2
  import {Stages} from "./stages";
3
3
 
4
4
  export type SeasonState = 'UPCOMING' | 'ACTIVE' | 'FINISHED';
5
- export type SeasonType = 'CLUB' | 'INTERNATIONAL';
5
+ export type SeasonType = 'DOMESTIC' | 'INTERNATIONAL';
6
6
 
7
7
  export interface SeasonOverview {
8
8
  endDate: ISODate;
@@ -1,6 +1,6 @@
1
1
  export interface Stage {
2
2
  name: string;
3
- matchesIds: string[];
3
+ matchesIds: { [matchId: string]: true };
4
4
  }
5
5
 
6
6
  export interface Stages {
@@ -26,7 +26,7 @@ export interface TeamTable {
26
26
 
27
27
  export interface GroupTable {
28
28
  name: string;
29
- matchesIds: string[];
29
+ matchesIds: {[matchId: string]: true};
30
30
  }
31
31
 
32
32
  export interface TableSummary {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.24.0-13",
3
+ "version": "3.24.0-15",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {