@sportsbroker/firebase-structure 3.25.0 → 3.27.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.
package/CHANGELOG.md CHANGED
@@ -2,13 +2,26 @@
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.25.0](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0-37...v3.25.0) (2021-09-17)
5
+ ## [3.27.0](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.26.0...v3.27.0) (2021-10-19)
6
+
7
+
8
+ ### Features
9
+
10
+ * updated match in seasons query structure ([29670b7](https://github.com/SportsBroker-HQ/firebase-structure/commit/29670b71fbe3b60c8e2a82e83f144acaad834b2a))
11
+
12
+ ## [3.26.0](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0...v3.26.0) (2021-09-27)
13
+
14
+
15
+ ### Features
16
+
17
+ * added shareVolume to market indicators ([3d540b9](https://github.com/SportsBroker-HQ/firebase-structure/commit/3d540b93c6a43f3a128a1c54c69e9a4fca45fd42))
18
+ * added wagering limits order abort reason ([#150](https://github.com/SportsBroker-HQ/firebase-structure/issues/150)) ([a752a99](https://github.com/SportsBroker-HQ/firebase-structure/commit/a752a997bef376e614362a14a8ecd44dde53e259))
19
+
20
+ ## [3.25.0](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0...v3.25.0) (2021-09-17)
6
21
 
7
22
 
8
23
  ### Features
9
24
 
10
- * add bonus to wallet ([51d5acd](https://github.com/SportsBroker-HQ/firebase-structure/commit/51d5acd4f2fa0b91a0ee02e6ded1958ea802a198))
11
- * add marketing offers to config ([c2b9e4e](https://github.com/SportsBroker-HQ/firebase-structure/commit/c2b9e4e00a9e52d197f3c5eeb594b3106eb46096))
12
25
  * added wagering limits order abort reason ([#150](https://github.com/SportsBroker-HQ/firebase-structure/issues/150)) ([a752a99](https://github.com/SportsBroker-HQ/firebase-structure/commit/a752a997bef376e614362a14a8ecd44dde53e259))
13
26
 
14
27
  ## [3.24.0](https://github.com/SportsBroker-HQ/firebase-structure/compare/v3.24.0-38...v3.24.0) (2021-09-01)
@@ -12,6 +12,7 @@ export interface MarketIndicators {
12
12
  weeklyLow: number;
13
13
  weeklyVolume: number;
14
14
  capacity: number;
15
+ shareVolume: number;
15
16
  }
16
17
 
17
18
  export interface TradingStatus {
@@ -1,4 +1,4 @@
1
- import {Group, ISODate, MatchID, MatchStatus, Stage} from "../global";
1
+ import {Group, ISODate, MatchID, MatchStatus, Stage, UUID} from "../global";
2
2
 
3
3
  export interface MatchQueryData {
4
4
  id: MatchID;
@@ -10,12 +10,19 @@ export interface MatchQueryData {
10
10
  group?: Group;
11
11
  }
12
12
 
13
+ export interface IMatchInSeasonQueryData {
14
+ startDate: ISODate;
15
+ stageId?: UUID
16
+ homeTeamId?: UUID;
17
+ awayTeamId?: UUID;
18
+ }
19
+
13
20
  interface Matches {
14
21
  in: {
15
22
  seasons: {
16
23
  [sportID: string]: {
17
24
  [seasonID: string]: {
18
- [matchID: string]: MatchQueryData;
25
+ [matchID: string]: IMatchInSeasonQueryData;
19
26
  };
20
27
  };
21
28
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.25.0",
3
+ "version": "3.27.0",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {