@sportsbroker/firebase-structure 3.35.0-0 → 3.35.0-2

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.
@@ -6,7 +6,9 @@ export interface TeamsStats {
6
6
  /**
7
7
  * @see: https://sportsbroker.slite.com/app/channels/VOZ0prjzHu/notes/tOQ3uR_FUT
8
8
  */
9
- export interface MatchStats {
9
+ export type MatchStats = ISoccerStats | INFLStats;
10
+
11
+ export interface ISoccerStats {
10
12
  // possession
11
13
  possessionPercentageLast15: TeamsStats,
12
14
  possessionPercentageLast30: TeamsStats,
@@ -77,6 +79,41 @@ export interface TeamsStats {
77
79
  penaltyTaken: TeamsStats,
78
80
  }
79
81
 
82
+ export interface INFLStats {
83
+ firstDowns : TeamsStats,
84
+ firstDownsPassing: TeamsStats,
85
+ firstDownsRushing: TeamsStats,
86
+ firstDownsFromPenalties: TeamsStats,
87
+ thirdDownEfficiency: TeamsStats,
88
+ fourthDownEfficiency: TeamsStats,
89
+ totalPlays: TeamsStats,
90
+ totalYards: TeamsStats,
91
+ totalDrives: TeamsStats,
92
+ yardsPerPlay: TeamsStats,
93
+ passing: TeamsStats,
94
+ passingCompletions: TeamsStats,
95
+ passingAttempts: TeamsStats,
96
+ yardsPerPass: TeamsStats,
97
+ interceptionsThrown: TeamsStats,
98
+ sackYardsLost: TeamsStats,
99
+ rushing: TeamsStats,
100
+ rushingAttempts: TeamsStats,
101
+ yardsPerRush: TeamsStats,
102
+ redZone: TeamsStats,
103
+ penalties: TeamsStats,
104
+ turnovers: TeamsStats,
105
+ fumblesLost: TeamsStats,
106
+ possession: TeamsStats,
107
+ thirdDownEfficiencySuccess: TeamsStats
108
+ thirdDownEfficiencyAttempts: TeamsStats
109
+ fourthDownEfficiencySuccess: TeamsStats
110
+ fourthDownEfficiencyAttempts: TeamsStats
111
+ redZoneAttempts: TeamsStats
112
+ redZoneSuccess: TeamsStats
113
+ penaltiesYards: TeamsStats
114
+ specialTeamsTDs: TeamsStats
115
+ }
116
+
80
117
  export interface Stats {
81
118
  [sportID: string]: {
82
119
  [matchID: string]: MatchStats
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.35.0-0",
3
+ "version": "3.35.0-2",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {