@sportsbroker/firebase-structure 3.55.2 → 3.55.4

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.
@@ -11,3 +11,5 @@ export type UUID = string;
11
11
  export interface Image {
12
12
  default: string;
13
13
  }
14
+
15
+ export type Sport = "soccer" | "nfl";
@@ -1,10 +1,9 @@
1
- import { ISODate, UUID, Image, Doc } from "./common";
1
+ import { ISODate, UUID, Image, Doc, Sport } from "./common";
2
2
  import { MatchCommentary } from "./match-commentary";
3
3
  import { MatchEvent } from "./match-event";
4
4
  import { MatchHeadToHeadStats } from "./match-h2h-stats";
5
5
  import { MatchLineup } from "./match-lineup";
6
6
  import { MatchStats } from "./match-stats";
7
- import { Sport } from "../models/global";
8
7
 
9
8
  export type MatchDoc = MatchData & Doc;
10
9
 
@@ -41,6 +41,7 @@ export interface Order {
41
41
  totalPrice: number;
42
42
  preciseSharesValue: number;
43
43
  abortReason: OrderAbortReason | null;
44
+ sportId?: string; // TODO to be removed
44
45
  vatPercentage?: number;
45
46
  vatProcessed?: number;
46
47
  childId?: OrderID;
@@ -7,6 +7,7 @@ export interface UserOwnedShares {
7
7
  processedTotalMoney: number;
8
8
  averagePricePerShare: number;
9
9
  fee: number;
10
+ sportId?: string; // TODO to be removed
10
11
  splits?: OwnedSharesSplits;
11
12
  }
12
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.55.2",
3
+ "version": "3.55.4",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {