@sportsbroker/firebase-structure 3.34.4-0 → 3.35.0-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.
@@ -1,4 +1,4 @@
1
- import {ISODate, SportID, TeamID, Percentage} from "../../global";
1
+ import {ISODate, TeamID, Percentage} from "../../global";
2
2
 
3
3
  export type OrderActionType = "BUY" | "SELL";
4
4
 
@@ -32,7 +32,6 @@ export interface Order {
32
32
  processedMoney: number;
33
33
  processedFee: number;
34
34
  processedTotalMoney: number; // processedMoney + processedFee
35
- sportId: SportID;
36
35
  teamId: TeamID;
37
36
  transactionFee: Percentage;
38
37
  type: OrderTransactionType;
@@ -1,7 +1,6 @@
1
1
  import {ISODate, MatchID, SportID, TeamSide} from "../../global";
2
2
 
3
3
  export interface UserOwnedShares {
4
- sportId: SportID;
5
4
  amount: number;
6
5
  availableAmount: number;
7
6
  invested: number;
@@ -23,7 +23,7 @@ export type ISODate = string;
23
23
  /**
24
24
  * Currently support only soccer
25
25
  */
26
- export type SportID = "soccer" | string;
26
+ export type SportID = "soccer" | "nfl" | string;
27
27
 
28
28
  export type Language = "en" | "de" | string;
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.34.4-0",
3
+ "version": "3.35.0-0",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {