@sportsbroker/firebase-structure 3.44.0-6 → 3.45.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.
@@ -3,7 +3,6 @@ import {Group, ISODate, MatchID, MatchPeriod, MatchStatus, SeasonID, Stage, Tour
3
3
  export interface MatchTime {
4
4
  minutes: number;
5
5
  additionalMinutes: number;
6
- periodId: number;
7
6
  }
8
7
 
9
8
  export interface EventStatus {
@@ -48,7 +48,9 @@ export interface Ranking {
48
48
  };
49
49
  nfl: {
50
50
  [seasonID: string]: {
51
- [teamID: string]: NflTeamRanking;
51
+ [groupId: string]: {
52
+ [teamID: string]: NflTeamRanking;
53
+ }
52
54
  };
53
55
  };
54
56
  };
@@ -1,11 +1,7 @@
1
1
  export interface LeaderboardValue {
2
- username: string;
3
- position: number;
4
- value: number;
2
+ allTime: number;
5
3
  }
6
4
 
7
5
  export interface Leaderboard {
8
- [userId: string]: {
9
- allTime: LeaderboardValue;
10
- };
6
+ [userID: string]: LeaderboardValue;
11
7
  }
@@ -11,7 +11,6 @@ import {
11
11
  TeamSide,
12
12
  TournamentType,
13
13
  } from "../global";
14
- import {MatchTime} from "../details/matches/overviews";
15
14
 
16
15
  export interface Team {
17
16
  id: TeamID;
@@ -51,7 +50,10 @@ export interface EventStatus {
51
50
  matchStatus: MatchStatus;
52
51
  period: MatchPeriod;
53
52
  isActive: boolean;
54
- matchTime: MatchTime
53
+ matchTime: {
54
+ minutes: number;
55
+ additionalMinutes: number;
56
+ };
55
57
  }
56
58
 
57
59
  export interface MatchOverviewSnapshot {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.44.0-6",
3
+ "version": "3.45.0-0",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {