cfbd 5.3.2-alpha.0 → 5.4.4-alpha.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/cfbd-5.4.4-alpha.0.tgz +0 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/{services.gen.d.ts → sdk.gen.d.ts} +59 -59
- package/dist/types.gen.d.ts +863 -861
- package/package.json +6 -5
- package/src/index.ts +1 -2
- package/src/sdk.gen.ts +576 -0
- package/src/types.gen.ts +870 -868
- package/cfbd-5.3.2-alpha.0.tgz +0 -0
- package/dist/schemas.gen.d.ts +0 -4961
- package/dist/schemas.gen.js +0 -4989
- package/src/schemas.gen.ts +0 -5072
- package/src/services.gen.ts +0 -462
- /package/dist/{services.gen.js → sdk.gen.js} +0 -0
package/src/types.gen.ts
CHANGED
|
@@ -41,183 +41,62 @@ export type AdjustedTeamMetrics = {
|
|
|
41
41
|
explosivenessAllowed: number;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
export type
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
state: (string) | null;
|
|
70
|
-
zip: (string) | null;
|
|
71
|
-
countryCode: (string) | null;
|
|
72
|
-
timezone: (string) | null;
|
|
73
|
-
latitude: (number) | null;
|
|
74
|
-
longitude: (number) | null;
|
|
75
|
-
elevation: (string) | null;
|
|
76
|
-
capacity: (number) | null;
|
|
77
|
-
constructionYear: (number) | null;
|
|
78
|
-
grass?: (boolean) | null;
|
|
79
|
-
dome?: (boolean) | null;
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
export type Team = {
|
|
83
|
-
id: number;
|
|
84
|
-
school: string;
|
|
85
|
-
mascot: (string) | null;
|
|
86
|
-
abbreviation: (string) | null;
|
|
87
|
-
alternateNames: Array<(string)> | null;
|
|
88
|
-
conference: (string) | null;
|
|
89
|
-
division: (string) | null;
|
|
90
|
-
classification: (string) | null;
|
|
91
|
-
color: (string) | null;
|
|
92
|
-
alternateColor: (string) | null;
|
|
93
|
-
logos: Array<(string)> | null;
|
|
94
|
-
twitter: (string) | null;
|
|
95
|
-
location: ((Venue) | null);
|
|
44
|
+
export type AdvancedBoxScore = {
|
|
45
|
+
gameInfo: {
|
|
46
|
+
excitement: number;
|
|
47
|
+
homeWinner: boolean;
|
|
48
|
+
awayWinProb: number;
|
|
49
|
+
awayPoints: number;
|
|
50
|
+
awayTeam: string;
|
|
51
|
+
homeWinProb: number;
|
|
52
|
+
homePoints: number;
|
|
53
|
+
homeTeam: string;
|
|
54
|
+
};
|
|
55
|
+
teams: {
|
|
56
|
+
fieldPosition: Array<TeamFieldPosition>;
|
|
57
|
+
scoringOpportunities: Array<TeamScoringOpportunities>;
|
|
58
|
+
havoc: Array<TeamHavoc>;
|
|
59
|
+
rushing: Array<TeamRushingStats>;
|
|
60
|
+
explosiveness: Array<TeamExplosiveness>;
|
|
61
|
+
successRates: Array<TeamSuccessRates>;
|
|
62
|
+
cumulativePpa: Array<TeamPPA>;
|
|
63
|
+
ppa: Array<TeamPPA>;
|
|
64
|
+
};
|
|
65
|
+
players: {
|
|
66
|
+
ppa: Array<PlayerPPA>;
|
|
67
|
+
usage: Array<PlayerGameUsage>;
|
|
68
|
+
};
|
|
96
69
|
};
|
|
97
70
|
|
|
98
|
-
export type
|
|
71
|
+
export type AdvancedGameStat = {
|
|
72
|
+
gameId: number;
|
|
99
73
|
season: number;
|
|
100
74
|
week: number;
|
|
101
|
-
seasonType: string;
|
|
102
|
-
date: string;
|
|
103
|
-
neutralSite: boolean;
|
|
104
|
-
venue: string;
|
|
105
|
-
homeTeam: string;
|
|
106
|
-
homeScore: number;
|
|
107
|
-
awayTeam: string;
|
|
108
|
-
awayScore: number;
|
|
109
|
-
winner: (string) | null;
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
export type Matchup = {
|
|
113
|
-
team1: string;
|
|
114
|
-
team2: string;
|
|
115
|
-
startYear?: number;
|
|
116
|
-
endYear?: number;
|
|
117
|
-
team1Wins: number;
|
|
118
|
-
team2Wins: number;
|
|
119
|
-
ties: number;
|
|
120
|
-
games: Array<MatchupGame>;
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
export type RosterPlayer = {
|
|
124
|
-
id: string;
|
|
125
|
-
firstName: string;
|
|
126
|
-
lastName: string;
|
|
127
|
-
team: string;
|
|
128
|
-
height: (number) | null;
|
|
129
|
-
weight: (number) | null;
|
|
130
|
-
jersey: (number) | null;
|
|
131
|
-
year: number;
|
|
132
|
-
position: (string) | null;
|
|
133
|
-
homeCity: (string) | null;
|
|
134
|
-
homeState: (string) | null;
|
|
135
|
-
homeCountry: (string) | null;
|
|
136
|
-
homeLatitude: (number) | null;
|
|
137
|
-
homeLongitude: (number) | null;
|
|
138
|
-
homeCountyFIPS: (string) | null;
|
|
139
|
-
recruitIds: Array<(string)> | null;
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
export type DivisionClassification = 'fbs' | 'fcs' | 'ii' | 'iii';
|
|
143
|
-
|
|
144
|
-
export type Conference = {
|
|
145
|
-
id: number;
|
|
146
|
-
name: string;
|
|
147
|
-
shortName: (string) | null;
|
|
148
|
-
abbreviation: (string) | null;
|
|
149
|
-
classification: ((DivisionClassification) | null);
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
export type TeamTalent = {
|
|
153
|
-
year: number;
|
|
154
|
-
team: string;
|
|
155
|
-
talent: number;
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
export type PlayerStat = {
|
|
159
|
-
season: number;
|
|
160
|
-
playerId: string;
|
|
161
|
-
player: string;
|
|
162
|
-
team: string;
|
|
163
|
-
conference: string;
|
|
164
|
-
category: string;
|
|
165
|
-
statType: string;
|
|
166
|
-
stat: number;
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
export type SeasonType = 'regular' | 'postseason' | 'both' | 'allstar' | 'spring_regular' | 'spring_postseason';
|
|
170
|
-
|
|
171
|
-
export type TeamStat = {
|
|
172
|
-
season: number;
|
|
173
|
-
team: string;
|
|
174
|
-
conference: string;
|
|
175
|
-
statName: string;
|
|
176
|
-
statValue: (string | number);
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
export type AdvancedSeasonStat = {
|
|
180
|
-
season: number;
|
|
181
75
|
team: string;
|
|
182
|
-
|
|
76
|
+
opponent: string;
|
|
183
77
|
offense: {
|
|
184
78
|
passingPlays: {
|
|
185
79
|
explosiveness: number;
|
|
186
80
|
successRate: number;
|
|
187
81
|
totalPPA: number;
|
|
188
82
|
ppa: number;
|
|
189
|
-
rate: number;
|
|
190
83
|
};
|
|
191
84
|
rushingPlays: {
|
|
192
85
|
explosiveness: number;
|
|
193
86
|
successRate: number;
|
|
194
87
|
totalPPA: number;
|
|
195
88
|
ppa: number;
|
|
196
|
-
rate: number;
|
|
197
89
|
};
|
|
198
90
|
passingDowns: {
|
|
199
91
|
explosiveness: number;
|
|
200
92
|
successRate: number;
|
|
201
93
|
ppa: number;
|
|
202
|
-
rate: number;
|
|
203
94
|
};
|
|
204
95
|
standardDowns: {
|
|
205
96
|
explosiveness: number;
|
|
206
97
|
successRate: number;
|
|
207
98
|
ppa: number;
|
|
208
|
-
rate: number;
|
|
209
|
-
};
|
|
210
|
-
havoc: {
|
|
211
|
-
db: (number) | null;
|
|
212
|
-
frontSeven: (number) | null;
|
|
213
|
-
total: (number) | null;
|
|
214
|
-
};
|
|
215
|
-
fieldPosition: {
|
|
216
|
-
averagePredictedPoints: (number) | null;
|
|
217
|
-
averageStart: (number) | null;
|
|
218
99
|
};
|
|
219
|
-
pointsPerOpportunity: number;
|
|
220
|
-
totalOpportunies: number;
|
|
221
100
|
openFieldYardsTotal: number;
|
|
222
101
|
openFieldYards: number;
|
|
223
102
|
secondLevelYardsTotal: number;
|
|
@@ -239,39 +118,23 @@ export type AdvancedSeasonStat = {
|
|
|
239
118
|
successRate: number;
|
|
240
119
|
totalPPA: number;
|
|
241
120
|
ppa: number;
|
|
242
|
-
rate: number;
|
|
243
121
|
};
|
|
244
122
|
rushingPlays: {
|
|
245
123
|
explosiveness: number;
|
|
246
124
|
successRate: number;
|
|
247
125
|
totalPPA: number;
|
|
248
126
|
ppa: number;
|
|
249
|
-
rate: number;
|
|
250
127
|
};
|
|
251
128
|
passingDowns: {
|
|
252
129
|
explosiveness: number;
|
|
253
130
|
successRate: number;
|
|
254
|
-
totalPPA: number;
|
|
255
131
|
ppa: number;
|
|
256
|
-
rate: number;
|
|
257
132
|
};
|
|
258
133
|
standardDowns: {
|
|
259
134
|
explosiveness: number;
|
|
260
135
|
successRate: number;
|
|
261
136
|
ppa: number;
|
|
262
|
-
rate: number;
|
|
263
|
-
};
|
|
264
|
-
havoc: {
|
|
265
|
-
db: (number) | null;
|
|
266
|
-
frontSeven: (number) | null;
|
|
267
|
-
total: (number) | null;
|
|
268
|
-
};
|
|
269
|
-
fieldPosition: {
|
|
270
|
-
averagePredictedPoints: (number) | null;
|
|
271
|
-
averageStart: (number) | null;
|
|
272
137
|
};
|
|
273
|
-
pointsPerOpportunity: number;
|
|
274
|
-
totalOpportunies: number;
|
|
275
138
|
openFieldYardsTotal: number;
|
|
276
139
|
openFieldYards: number;
|
|
277
140
|
secondLevelYardsTotal: number;
|
|
@@ -289,35 +152,48 @@ export type AdvancedSeasonStat = {
|
|
|
289
152
|
};
|
|
290
153
|
};
|
|
291
154
|
|
|
292
|
-
export type
|
|
293
|
-
gameId: number;
|
|
155
|
+
export type AdvancedSeasonStat = {
|
|
294
156
|
season: number;
|
|
295
|
-
week: number;
|
|
296
157
|
team: string;
|
|
297
|
-
|
|
158
|
+
conference: string;
|
|
298
159
|
offense: {
|
|
299
160
|
passingPlays: {
|
|
300
161
|
explosiveness: number;
|
|
301
162
|
successRate: number;
|
|
302
163
|
totalPPA: number;
|
|
303
164
|
ppa: number;
|
|
165
|
+
rate: number;
|
|
304
166
|
};
|
|
305
167
|
rushingPlays: {
|
|
306
168
|
explosiveness: number;
|
|
307
169
|
successRate: number;
|
|
308
170
|
totalPPA: number;
|
|
309
171
|
ppa: number;
|
|
172
|
+
rate: number;
|
|
310
173
|
};
|
|
311
174
|
passingDowns: {
|
|
312
175
|
explosiveness: number;
|
|
313
176
|
successRate: number;
|
|
314
177
|
ppa: number;
|
|
178
|
+
rate: number;
|
|
315
179
|
};
|
|
316
180
|
standardDowns: {
|
|
317
181
|
explosiveness: number;
|
|
318
182
|
successRate: number;
|
|
319
183
|
ppa: number;
|
|
184
|
+
rate: number;
|
|
185
|
+
};
|
|
186
|
+
havoc: {
|
|
187
|
+
db: (number) | null;
|
|
188
|
+
frontSeven: (number) | null;
|
|
189
|
+
total: (number) | null;
|
|
320
190
|
};
|
|
191
|
+
fieldPosition: {
|
|
192
|
+
averagePredictedPoints: (number) | null;
|
|
193
|
+
averageStart: (number) | null;
|
|
194
|
+
};
|
|
195
|
+
pointsPerOpportunity: number;
|
|
196
|
+
totalOpportunies: number;
|
|
321
197
|
openFieldYardsTotal: number;
|
|
322
198
|
openFieldYards: number;
|
|
323
199
|
secondLevelYardsTotal: number;
|
|
@@ -339,23 +215,39 @@ export type AdvancedGameStat = {
|
|
|
339
215
|
successRate: number;
|
|
340
216
|
totalPPA: number;
|
|
341
217
|
ppa: number;
|
|
218
|
+
rate: number;
|
|
342
219
|
};
|
|
343
220
|
rushingPlays: {
|
|
344
221
|
explosiveness: number;
|
|
345
222
|
successRate: number;
|
|
346
223
|
totalPPA: number;
|
|
347
224
|
ppa: number;
|
|
225
|
+
rate: number;
|
|
348
226
|
};
|
|
349
227
|
passingDowns: {
|
|
350
228
|
explosiveness: number;
|
|
351
229
|
successRate: number;
|
|
230
|
+
totalPPA: number;
|
|
352
231
|
ppa: number;
|
|
232
|
+
rate: number;
|
|
353
233
|
};
|
|
354
234
|
standardDowns: {
|
|
355
235
|
explosiveness: number;
|
|
356
236
|
successRate: number;
|
|
357
237
|
ppa: number;
|
|
238
|
+
rate: number;
|
|
239
|
+
};
|
|
240
|
+
havoc: {
|
|
241
|
+
db: (number) | null;
|
|
242
|
+
frontSeven: (number) | null;
|
|
243
|
+
total: (number) | null;
|
|
358
244
|
};
|
|
245
|
+
fieldPosition: {
|
|
246
|
+
averagePredictedPoints: (number) | null;
|
|
247
|
+
averageStart: (number) | null;
|
|
248
|
+
};
|
|
249
|
+
pointsPerOpportunity: number;
|
|
250
|
+
totalOpportunies: number;
|
|
359
251
|
openFieldYardsTotal: number;
|
|
360
252
|
openFieldYards: number;
|
|
361
253
|
secondLevelYardsTotal: number;
|
|
@@ -373,87 +265,77 @@ export type AdvancedGameStat = {
|
|
|
373
265
|
};
|
|
374
266
|
};
|
|
375
267
|
|
|
376
|
-
export type
|
|
268
|
+
export type AggregatedTeamRecruiting = {
|
|
269
|
+
team: string;
|
|
270
|
+
conference: string;
|
|
271
|
+
positionGroup: (string) | null;
|
|
272
|
+
averageRating: number;
|
|
273
|
+
totalRating: number;
|
|
274
|
+
commits: number;
|
|
275
|
+
averageStars: number;
|
|
276
|
+
};
|
|
377
277
|
|
|
378
|
-
export type
|
|
379
|
-
id:
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
stateProvince: (string) | null;
|
|
394
|
-
country: (string) | null;
|
|
395
|
-
hometownInfo: {
|
|
396
|
-
fipsCode: (string) | null;
|
|
397
|
-
longitude: (number) | null;
|
|
398
|
-
latitude: (number) | null;
|
|
399
|
-
};
|
|
278
|
+
export type BettingGame = {
|
|
279
|
+
id: number;
|
|
280
|
+
season: number;
|
|
281
|
+
seasonType: SeasonType;
|
|
282
|
+
week: number;
|
|
283
|
+
startDate: string;
|
|
284
|
+
homeTeam: string;
|
|
285
|
+
homeConference: (string) | null;
|
|
286
|
+
homeClassification: ((DivisionClassification) | null);
|
|
287
|
+
homeScore: (number) | null;
|
|
288
|
+
awayTeam: string;
|
|
289
|
+
awayConference: (string) | null;
|
|
290
|
+
awayClassification: ((DivisionClassification) | null);
|
|
291
|
+
awayScore: (number) | null;
|
|
292
|
+
lines: Array<GameLine>;
|
|
400
293
|
};
|
|
401
294
|
|
|
402
|
-
export type
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
295
|
+
export type CalendarWeek = {
|
|
296
|
+
season: number;
|
|
297
|
+
week: number;
|
|
298
|
+
seasonType: SeasonType;
|
|
299
|
+
startDate: string;
|
|
300
|
+
endDate: string;
|
|
301
|
+
/**
|
|
302
|
+
* @deprecated
|
|
303
|
+
*/
|
|
304
|
+
firstGameStart: string;
|
|
305
|
+
/**
|
|
306
|
+
* @deprecated
|
|
307
|
+
*/
|
|
308
|
+
lastGameStart: string;
|
|
407
309
|
};
|
|
408
310
|
|
|
409
|
-
export type
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
totalRating: number;
|
|
415
|
-
commits: number;
|
|
416
|
-
averageStars: number;
|
|
311
|
+
export type Coach = {
|
|
312
|
+
firstName: string;
|
|
313
|
+
lastName: string;
|
|
314
|
+
hireDate: (string) | null;
|
|
315
|
+
seasons: Array<CoachSeason>;
|
|
417
316
|
};
|
|
418
317
|
|
|
419
|
-
export type
|
|
318
|
+
export type CoachSeason = {
|
|
319
|
+
school: string;
|
|
420
320
|
year: number;
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
defense: {
|
|
440
|
-
havoc: {
|
|
441
|
-
db: (number) | null;
|
|
442
|
-
frontSeven: (number) | null;
|
|
443
|
-
total: (number) | null;
|
|
444
|
-
};
|
|
445
|
-
passingDowns: (number) | null;
|
|
446
|
-
standardDowns: (number) | null;
|
|
447
|
-
passing: (number) | null;
|
|
448
|
-
rushing: (number) | null;
|
|
449
|
-
explosiveness: (number) | null;
|
|
450
|
-
success: (number) | null;
|
|
451
|
-
rating: number;
|
|
452
|
-
ranking: number;
|
|
453
|
-
};
|
|
454
|
-
specialTeams: {
|
|
455
|
-
rating: (number) | null;
|
|
456
|
-
};
|
|
321
|
+
games: number;
|
|
322
|
+
wins: number;
|
|
323
|
+
losses: number;
|
|
324
|
+
ties: number;
|
|
325
|
+
preseasonRank: (number) | null;
|
|
326
|
+
postseasonRank: (number) | null;
|
|
327
|
+
srs: (number) | null;
|
|
328
|
+
spOverall: (number) | null;
|
|
329
|
+
spOffense: (number) | null;
|
|
330
|
+
spDefense: (number) | null;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
export type Conference = {
|
|
334
|
+
id: number;
|
|
335
|
+
name: string;
|
|
336
|
+
shortName: (string) | null;
|
|
337
|
+
abbreviation: (string) | null;
|
|
338
|
+
classification: ((DivisionClassification) | null);
|
|
457
339
|
};
|
|
458
340
|
|
|
459
341
|
export type ConferenceSP = {
|
|
@@ -492,347 +374,297 @@ export type ConferenceSP = {
|
|
|
492
374
|
};
|
|
493
375
|
};
|
|
494
376
|
|
|
495
|
-
export type
|
|
496
|
-
year: number;
|
|
497
|
-
team: string;
|
|
498
|
-
conference: (string) | null;
|
|
499
|
-
division: (string) | null;
|
|
500
|
-
rating: number;
|
|
501
|
-
ranking: number;
|
|
502
|
-
};
|
|
503
|
-
|
|
504
|
-
export type TeamElo = {
|
|
505
|
-
year: number;
|
|
506
|
-
team: string;
|
|
507
|
-
conference: string;
|
|
508
|
-
elo: (number) | null;
|
|
509
|
-
};
|
|
377
|
+
export type DivisionClassification = 'fbs' | 'fcs' | 'ii' | 'iii';
|
|
510
378
|
|
|
511
|
-
export type
|
|
379
|
+
export type DraftPick = {
|
|
380
|
+
collegeAthleteId: (number) | null;
|
|
381
|
+
nflAthleteId: number;
|
|
382
|
+
collegeId: number;
|
|
383
|
+
collegeTeam: string;
|
|
384
|
+
collegeConference: (string) | null;
|
|
385
|
+
nflTeamId: number;
|
|
386
|
+
nflTeam: string;
|
|
512
387
|
year: number;
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
388
|
+
overall: number;
|
|
389
|
+
round: number;
|
|
390
|
+
pick: number;
|
|
391
|
+
name: string;
|
|
392
|
+
position: string;
|
|
393
|
+
height: (number) | null;
|
|
394
|
+
weight: (number) | null;
|
|
395
|
+
preDraftRanking: (number) | null;
|
|
396
|
+
preDraftPositionRanking: (number) | null;
|
|
397
|
+
preDraftGrade: (number) | null;
|
|
398
|
+
hometownInfo: {
|
|
399
|
+
countyFips: (string) | null;
|
|
400
|
+
longitude: (string) | null;
|
|
401
|
+
latitude: (string) | null;
|
|
402
|
+
country: (string) | null;
|
|
403
|
+
state: (string) | null;
|
|
404
|
+
city: (string) | null;
|
|
529
405
|
};
|
|
530
406
|
};
|
|
531
407
|
|
|
532
|
-
export type
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
conference: (string) | null;
|
|
536
|
-
firstPlaceVotes: (number) | null;
|
|
537
|
-
points: (number) | null;
|
|
538
|
-
};
|
|
539
|
-
|
|
540
|
-
export type Poll = {
|
|
541
|
-
poll: string;
|
|
542
|
-
ranks: Array<PollRank>;
|
|
408
|
+
export type DraftPosition = {
|
|
409
|
+
name: string;
|
|
410
|
+
abbreviation: string;
|
|
543
411
|
};
|
|
544
412
|
|
|
545
|
-
export type
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
413
|
+
export type DraftTeam = {
|
|
414
|
+
location: string;
|
|
415
|
+
nickname: (string) | null;
|
|
416
|
+
displayName: (string) | null;
|
|
417
|
+
logo: (string) | null;
|
|
550
418
|
};
|
|
551
419
|
|
|
552
|
-
export type
|
|
553
|
-
id: string;
|
|
554
|
-
driveId: string;
|
|
555
|
-
gameId: number;
|
|
556
|
-
driveNumber: (number) | null;
|
|
557
|
-
playNumber: (number) | null;
|
|
420
|
+
export type Drive = {
|
|
558
421
|
offense: string;
|
|
559
422
|
offenseConference: (string) | null;
|
|
560
|
-
offenseScore: number;
|
|
561
423
|
defense: string;
|
|
562
|
-
home: string;
|
|
563
|
-
away: string;
|
|
564
424
|
defenseConference: (string) | null;
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
425
|
+
gameId: number;
|
|
426
|
+
id: string;
|
|
427
|
+
driveNumber: (number) | null;
|
|
428
|
+
scoring: boolean;
|
|
429
|
+
startPeriod: number;
|
|
430
|
+
startYardline: number;
|
|
431
|
+
startYardsToGoal: number;
|
|
432
|
+
startTime: {
|
|
568
433
|
seconds: (number) | null;
|
|
569
434
|
minutes: (number) | null;
|
|
570
435
|
};
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
436
|
+
endPeriod: number;
|
|
437
|
+
endYardline: number;
|
|
438
|
+
endYardsToGoal: number;
|
|
439
|
+
endTime: {
|
|
440
|
+
seconds: (number) | null;
|
|
441
|
+
minutes: (number) | null;
|
|
442
|
+
};
|
|
443
|
+
plays: number;
|
|
444
|
+
yards: number;
|
|
445
|
+
driveResult: string;
|
|
446
|
+
isHomeOffense: boolean;
|
|
447
|
+
startOffenseScore: number;
|
|
448
|
+
startDefenseScore: number;
|
|
449
|
+
endOffenseScore: number;
|
|
450
|
+
endDefenseScore: number;
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
export type FieldGoalEP = {
|
|
574
454
|
yardsToGoal: number;
|
|
575
|
-
down: number;
|
|
576
455
|
distance: number;
|
|
577
|
-
|
|
578
|
-
scoring: boolean;
|
|
579
|
-
playType: string;
|
|
580
|
-
playText: (string) | null;
|
|
581
|
-
ppa: (number) | null;
|
|
582
|
-
wallclock: (string) | null;
|
|
456
|
+
expectedPoints: number;
|
|
583
457
|
};
|
|
584
458
|
|
|
585
|
-
export type
|
|
459
|
+
export type Game = {
|
|
586
460
|
id: number;
|
|
587
|
-
text: string;
|
|
588
|
-
abbreviation: (string) | null;
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
export type PlayStat = {
|
|
592
|
-
gameId: number;
|
|
593
461
|
season: number;
|
|
594
462
|
week: number;
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
463
|
+
seasonType: SeasonType;
|
|
464
|
+
startDate: string;
|
|
465
|
+
startTimeTBD: boolean;
|
|
466
|
+
completed: boolean;
|
|
467
|
+
neutralSite: boolean;
|
|
468
|
+
conferenceGame: boolean;
|
|
469
|
+
attendance: (number) | null;
|
|
470
|
+
venueId: (number) | null;
|
|
471
|
+
venue: (string) | null;
|
|
472
|
+
homeId: number;
|
|
473
|
+
homeTeam: string;
|
|
474
|
+
homeConference: (string) | null;
|
|
475
|
+
homeClassification: ((DivisionClassification) | null);
|
|
476
|
+
homePoints: (number) | null;
|
|
477
|
+
homeLineScores: Array<(number)> | null;
|
|
478
|
+
homePostgameWinProbability: (number) | null;
|
|
479
|
+
homePregameElo: (number) | null;
|
|
480
|
+
homePostgameElo: (number) | null;
|
|
481
|
+
awayId: number;
|
|
482
|
+
awayTeam: string;
|
|
483
|
+
awayConference: (string) | null;
|
|
484
|
+
awayClassification: ((DivisionClassification) | null);
|
|
485
|
+
awayPoints: (number) | null;
|
|
486
|
+
awayLineScores: Array<(number)> | null;
|
|
487
|
+
awayPostgameWinProbability: (number) | null;
|
|
488
|
+
awayPregameElo: (number) | null;
|
|
489
|
+
awayPostgameElo: (number) | null;
|
|
490
|
+
excitementIndex: (number) | null;
|
|
491
|
+
highlights: (string) | null;
|
|
492
|
+
notes: (string) | null;
|
|
614
493
|
};
|
|
615
494
|
|
|
616
|
-
export type
|
|
617
|
-
|
|
618
|
-
|
|
495
|
+
export type GameLine = {
|
|
496
|
+
provider: string;
|
|
497
|
+
spread: (number) | null;
|
|
498
|
+
formattedSpread: string;
|
|
499
|
+
spreadOpen: (number) | null;
|
|
500
|
+
overUnder: (number) | null;
|
|
501
|
+
overUnderOpen: (number) | null;
|
|
502
|
+
homeMoneyline: (number) | null;
|
|
503
|
+
awayMoneyline: (number) | null;
|
|
619
504
|
};
|
|
620
505
|
|
|
621
|
-
export type
|
|
622
|
-
id:
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
506
|
+
export type GameMedia = {
|
|
507
|
+
id: number;
|
|
508
|
+
season: number;
|
|
509
|
+
week: number;
|
|
510
|
+
seasonType: SeasonType;
|
|
511
|
+
startTime: string;
|
|
512
|
+
isStartTimeTBD: boolean;
|
|
513
|
+
homeTeam: string;
|
|
514
|
+
homeConference: (string) | null;
|
|
515
|
+
awayTeam: string;
|
|
516
|
+
awayConference: (string) | null;
|
|
517
|
+
mediaType: MediaType;
|
|
518
|
+
outlet: string;
|
|
634
519
|
};
|
|
635
520
|
|
|
636
|
-
export type
|
|
637
|
-
|
|
638
|
-
|
|
521
|
+
export type GamePlayerStatCategories = {
|
|
522
|
+
name: string;
|
|
523
|
+
types: Array<GamePlayerStatTypes>;
|
|
639
524
|
};
|
|
640
525
|
|
|
641
|
-
export type
|
|
642
|
-
season: number;
|
|
526
|
+
export type GamePlayerStatPlayer = {
|
|
643
527
|
id: string;
|
|
644
528
|
name: string;
|
|
645
|
-
|
|
646
|
-
team: string;
|
|
647
|
-
conference: string;
|
|
648
|
-
usage: {
|
|
649
|
-
passingDowns: number;
|
|
650
|
-
standardDowns: number;
|
|
651
|
-
thirdDown: number;
|
|
652
|
-
secondDown: number;
|
|
653
|
-
firstDown: number;
|
|
654
|
-
rush: number;
|
|
655
|
-
pass: number;
|
|
656
|
-
overall: number;
|
|
657
|
-
};
|
|
529
|
+
stat: string;
|
|
658
530
|
};
|
|
659
531
|
|
|
660
|
-
export type
|
|
661
|
-
|
|
532
|
+
export type GamePlayerStats = {
|
|
533
|
+
id: number;
|
|
534
|
+
teams: Array<GamePlayerStatsTeam>;
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
export type GamePlayerStatsTeam = {
|
|
662
538
|
team: string;
|
|
663
|
-
conference: string;
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
totalRushingPPA: number;
|
|
668
|
-
percentPPA: number;
|
|
669
|
-
percentPassingPPA: number;
|
|
670
|
-
percentReceivingPPA: number;
|
|
671
|
-
percentRushingPPA: number;
|
|
672
|
-
usage: number;
|
|
673
|
-
passingUsage: number;
|
|
674
|
-
receivingUsage: number;
|
|
675
|
-
rushingUsage: number;
|
|
539
|
+
conference: (string) | null;
|
|
540
|
+
homeAway: 'home' | 'away';
|
|
541
|
+
points: (number) | null;
|
|
542
|
+
categories: Array<GamePlayerStatCategories>;
|
|
676
543
|
};
|
|
677
544
|
|
|
678
|
-
export type
|
|
545
|
+
export type homeAway = 'home' | 'away';
|
|
679
546
|
|
|
680
|
-
export type
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
lastName: string;
|
|
684
|
-
position: string;
|
|
685
|
-
origin: string;
|
|
686
|
-
destination: (string) | null;
|
|
687
|
-
transferDate: (string) | null;
|
|
688
|
-
rating: (number) | null;
|
|
689
|
-
stars: (number) | null;
|
|
690
|
-
eligibility: ((TransferEligibility) | null);
|
|
547
|
+
export type GamePlayerStatTypes = {
|
|
548
|
+
name: string;
|
|
549
|
+
athletes: Array<GamePlayerStatPlayer>;
|
|
691
550
|
};
|
|
692
551
|
|
|
693
|
-
export type
|
|
694
|
-
|
|
695
|
-
|
|
552
|
+
export type GameStatus = 'scheduled' | 'in_progress' | 'completed';
|
|
553
|
+
|
|
554
|
+
export type GameTeamStats = {
|
|
555
|
+
id: number;
|
|
556
|
+
teams: Array<GameTeamStatsTeam>;
|
|
696
557
|
};
|
|
697
558
|
|
|
698
|
-
export type
|
|
699
|
-
|
|
700
|
-
conference: string;
|
|
559
|
+
export type GameTeamStatsTeam = {
|
|
560
|
+
teamId: number;
|
|
701
561
|
team: string;
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
total: number;
|
|
707
|
-
};
|
|
708
|
-
thirdDown: number;
|
|
709
|
-
secondDown: number;
|
|
710
|
-
firstDown: number;
|
|
711
|
-
rushing: number;
|
|
712
|
-
passing: number;
|
|
713
|
-
overall: number;
|
|
714
|
-
};
|
|
715
|
-
defense: {
|
|
716
|
-
cumulative: {
|
|
717
|
-
rushing: number;
|
|
718
|
-
passing: number;
|
|
719
|
-
total: number;
|
|
720
|
-
};
|
|
721
|
-
thirdDown: number;
|
|
722
|
-
secondDown: number;
|
|
723
|
-
firstDown: number;
|
|
724
|
-
rushing: number;
|
|
725
|
-
passing: number;
|
|
726
|
-
overall: number;
|
|
727
|
-
};
|
|
562
|
+
conference: (string) | null;
|
|
563
|
+
homeAway: 'home' | 'away';
|
|
564
|
+
points: (number) | null;
|
|
565
|
+
stats: Array<GameTeamStatsTeamStat>;
|
|
728
566
|
};
|
|
729
567
|
|
|
730
|
-
export type
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
week: number;
|
|
734
|
-
seasonType: SeasonType;
|
|
735
|
-
team: string;
|
|
736
|
-
conference: string;
|
|
737
|
-
opponent: string;
|
|
738
|
-
offense: {
|
|
739
|
-
thirdDown: number;
|
|
740
|
-
secondDown: number;
|
|
741
|
-
firstDown: number;
|
|
742
|
-
rushing: number;
|
|
743
|
-
passing: number;
|
|
744
|
-
overall: number;
|
|
745
|
-
};
|
|
746
|
-
defense: {
|
|
747
|
-
thirdDown: number;
|
|
748
|
-
secondDown: number;
|
|
749
|
-
firstDown: number;
|
|
750
|
-
rushing: number;
|
|
751
|
-
passing: number;
|
|
752
|
-
overall: number;
|
|
753
|
-
};
|
|
568
|
+
export type GameTeamStatsTeamStat = {
|
|
569
|
+
category: string;
|
|
570
|
+
stat: string;
|
|
754
571
|
};
|
|
755
572
|
|
|
756
|
-
export type
|
|
573
|
+
export type GameWeather = {
|
|
574
|
+
id: number;
|
|
757
575
|
season: number;
|
|
758
576
|
week: number;
|
|
759
577
|
seasonType: SeasonType;
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
578
|
+
startTime: string;
|
|
579
|
+
gameIndoors: boolean;
|
|
580
|
+
homeTeam: string;
|
|
581
|
+
homeConference: (string) | null;
|
|
582
|
+
awayTeam: string;
|
|
583
|
+
awayConference: (string) | null;
|
|
584
|
+
venueId: number;
|
|
585
|
+
venue: string;
|
|
586
|
+
temperature: (number) | null;
|
|
587
|
+
dewPoint: (number) | null;
|
|
588
|
+
humidity: (number) | null;
|
|
589
|
+
precipitation: (number) | null;
|
|
590
|
+
snowfall: (number) | null;
|
|
591
|
+
windDirection: (number) | null;
|
|
592
|
+
windSpeed: (number) | null;
|
|
593
|
+
pressure: (number) | null;
|
|
594
|
+
weatherConditionCode: (number) | null;
|
|
595
|
+
weatherCondition: (string) | null;
|
|
770
596
|
};
|
|
771
597
|
|
|
772
|
-
export type
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
position: string;
|
|
598
|
+
export type KickerPAAR = {
|
|
599
|
+
year: number;
|
|
600
|
+
athleteId: string;
|
|
601
|
+
athleteName: string;
|
|
777
602
|
team: string;
|
|
778
603
|
conference: string;
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
standardDowns?: number;
|
|
782
|
-
thirdDown?: number;
|
|
783
|
-
secondDown?: number;
|
|
784
|
-
firstDown?: number;
|
|
785
|
-
rush?: number;
|
|
786
|
-
pass?: number;
|
|
787
|
-
all: number;
|
|
788
|
-
};
|
|
789
|
-
totalPPA: {
|
|
790
|
-
passingDowns?: number;
|
|
791
|
-
standardDowns?: number;
|
|
792
|
-
thirdDown?: number;
|
|
793
|
-
secondDown?: number;
|
|
794
|
-
firstDown?: number;
|
|
795
|
-
rush?: number;
|
|
796
|
-
pass?: number;
|
|
797
|
-
all: number;
|
|
798
|
-
};
|
|
604
|
+
paar: number;
|
|
605
|
+
attempts: number;
|
|
799
606
|
};
|
|
800
607
|
|
|
801
|
-
export type
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
608
|
+
export type LiveGame = {
|
|
609
|
+
id: number;
|
|
610
|
+
status: string;
|
|
611
|
+
period: (number) | null;
|
|
612
|
+
clock: string;
|
|
613
|
+
possession: string;
|
|
614
|
+
down: (number) | null;
|
|
615
|
+
distance: (number) | null;
|
|
616
|
+
yardsToGoal: (number) | null;
|
|
617
|
+
teams: Array<LiveGameTeam>;
|
|
618
|
+
drives: Array<LiveGameDrive>;
|
|
619
|
+
};
|
|
620
|
+
|
|
621
|
+
export type LiveGameDrive = {
|
|
622
|
+
id: string;
|
|
623
|
+
offenseId: number;
|
|
624
|
+
offense: string;
|
|
625
|
+
defenseId: number;
|
|
626
|
+
defense: string;
|
|
627
|
+
playCount: number;
|
|
628
|
+
yards: number;
|
|
629
|
+
startPeriod: number;
|
|
630
|
+
startClock: (string) | null;
|
|
631
|
+
startYardsToGoal: number;
|
|
632
|
+
endPeriod: (number) | null;
|
|
633
|
+
endClock: (string) | null;
|
|
634
|
+
endYardsToGoal: (number) | null;
|
|
635
|
+
duration: (string) | null;
|
|
636
|
+
scoringOpportunity: boolean;
|
|
637
|
+
result: string;
|
|
638
|
+
pointsGained: number;
|
|
639
|
+
plays: Array<LiveGamePlay>;
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
export type LiveGamePlay = {
|
|
643
|
+
id: string;
|
|
811
644
|
homeScore: number;
|
|
812
645
|
awayScore: number;
|
|
813
|
-
|
|
646
|
+
period: number;
|
|
647
|
+
clock: string;
|
|
648
|
+
wallClock: string;
|
|
649
|
+
teamId: number;
|
|
650
|
+
team: string;
|
|
814
651
|
down: number;
|
|
815
652
|
distance: number;
|
|
816
|
-
|
|
817
|
-
|
|
653
|
+
yardsToGoal: number;
|
|
654
|
+
yardsGained: number;
|
|
655
|
+
playTypeId: number;
|
|
656
|
+
playType: string;
|
|
657
|
+
epa: (number) | null;
|
|
658
|
+
garbageTime: boolean;
|
|
659
|
+
success: boolean;
|
|
660
|
+
rushPash: 'rush' | 'pass' | 'other';
|
|
661
|
+
downType: 'passing' | 'standard';
|
|
662
|
+
playText: string;
|
|
818
663
|
};
|
|
819
664
|
|
|
820
|
-
export type
|
|
821
|
-
season: number;
|
|
822
|
-
seasonType: SeasonType;
|
|
823
|
-
week: number;
|
|
824
|
-
gameId: number;
|
|
825
|
-
homeTeam: string;
|
|
826
|
-
awayTeam: string;
|
|
827
|
-
spread: number;
|
|
828
|
-
homeWinProbability: number;
|
|
829
|
-
};
|
|
665
|
+
export type rushPash = 'rush' | 'pass' | 'other';
|
|
830
666
|
|
|
831
|
-
export type
|
|
832
|
-
yardsToGoal: number;
|
|
833
|
-
distance: number;
|
|
834
|
-
expectedPoints: number;
|
|
835
|
-
};
|
|
667
|
+
export type downType = 'passing' | 'standard';
|
|
836
668
|
|
|
837
669
|
export type LiveGameTeam = {
|
|
838
670
|
teamId: number;
|
|
@@ -862,263 +694,370 @@ export type LiveGameTeam = {
|
|
|
862
694
|
explosiveness: number;
|
|
863
695
|
};
|
|
864
696
|
|
|
865
|
-
export type
|
|
697
|
+
export type Matchup = {
|
|
698
|
+
team1: string;
|
|
699
|
+
team2: string;
|
|
700
|
+
startYear?: number;
|
|
701
|
+
endYear?: number;
|
|
702
|
+
team1Wins: number;
|
|
703
|
+
team2Wins: number;
|
|
704
|
+
ties: number;
|
|
705
|
+
games: Array<MatchupGame>;
|
|
706
|
+
};
|
|
866
707
|
|
|
867
|
-
export type
|
|
868
|
-
|
|
708
|
+
export type MatchupGame = {
|
|
709
|
+
season: number;
|
|
710
|
+
week: number;
|
|
711
|
+
seasonType: string;
|
|
712
|
+
date: string;
|
|
713
|
+
neutralSite: boolean;
|
|
714
|
+
venue: string;
|
|
715
|
+
homeTeam: string;
|
|
869
716
|
homeScore: number;
|
|
717
|
+
awayTeam: string;
|
|
870
718
|
awayScore: number;
|
|
719
|
+
winner: (string) | null;
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
export type MediaType = 'tv' | 'radio' | 'web' | 'ppv' | 'mobile';
|
|
723
|
+
|
|
724
|
+
export type Play = {
|
|
725
|
+
id: string;
|
|
726
|
+
driveId: string;
|
|
727
|
+
gameId: number;
|
|
728
|
+
driveNumber: (number) | null;
|
|
729
|
+
playNumber: (number) | null;
|
|
730
|
+
offense: string;
|
|
731
|
+
offenseConference: (string) | null;
|
|
732
|
+
offenseScore: number;
|
|
733
|
+
defense: string;
|
|
734
|
+
home: string;
|
|
735
|
+
away: string;
|
|
736
|
+
defenseConference: (string) | null;
|
|
737
|
+
defenseScore: number;
|
|
871
738
|
period: number;
|
|
872
|
-
clock:
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
739
|
+
clock: {
|
|
740
|
+
seconds: (number) | null;
|
|
741
|
+
minutes: (number) | null;
|
|
742
|
+
};
|
|
743
|
+
offenseTimeouts: (number) | null;
|
|
744
|
+
defenseTimeouts: (number) | null;
|
|
745
|
+
yardline: number;
|
|
746
|
+
yardsToGoal: number;
|
|
876
747
|
down: number;
|
|
877
748
|
distance: number;
|
|
878
|
-
yardsToGoal: number;
|
|
879
749
|
yardsGained: number;
|
|
880
|
-
|
|
750
|
+
scoring: boolean;
|
|
881
751
|
playType: string;
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
rushPash: 'rush' | 'pass' | 'other';
|
|
886
|
-
downType: 'passing' | 'standard';
|
|
887
|
-
playText: string;
|
|
752
|
+
playText: (string) | null;
|
|
753
|
+
ppa: (number) | null;
|
|
754
|
+
wallclock: (string) | null;
|
|
888
755
|
};
|
|
889
756
|
|
|
890
|
-
export type
|
|
757
|
+
export type PlayerGamePredictedPointsAdded = {
|
|
758
|
+
season: number;
|
|
759
|
+
week: number;
|
|
760
|
+
seasonType: SeasonType;
|
|
761
|
+
id: string;
|
|
762
|
+
name: string;
|
|
763
|
+
position: string;
|
|
764
|
+
team: string;
|
|
765
|
+
opponent: string;
|
|
766
|
+
averagePPA: {
|
|
767
|
+
rush?: number;
|
|
768
|
+
pass?: number;
|
|
769
|
+
all: number;
|
|
770
|
+
};
|
|
771
|
+
};
|
|
891
772
|
|
|
892
|
-
export type
|
|
773
|
+
export type PlayerGameUsage = {
|
|
774
|
+
total: number;
|
|
775
|
+
quarter1: number;
|
|
776
|
+
quarter2: number;
|
|
777
|
+
quarter3: number;
|
|
778
|
+
quarter4: number;
|
|
779
|
+
rushing: number;
|
|
780
|
+
passing: number;
|
|
781
|
+
player: string;
|
|
782
|
+
team: string;
|
|
783
|
+
position: string;
|
|
784
|
+
};
|
|
893
785
|
|
|
894
|
-
export type
|
|
786
|
+
export type PlayerPPA = {
|
|
787
|
+
player: string;
|
|
788
|
+
team: string;
|
|
789
|
+
position: string;
|
|
790
|
+
average: PlayerStatsByQuarter;
|
|
791
|
+
cumulative: PlayerStatsByQuarter;
|
|
792
|
+
};
|
|
793
|
+
|
|
794
|
+
export type PlayerPPAChartItem = {
|
|
795
|
+
playNumber: number;
|
|
796
|
+
avgPPA: number;
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
export type PlayerSearchResult = {
|
|
895
800
|
id: string;
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
endYardsToGoal: (number) | null;
|
|
908
|
-
duration: (string) | null;
|
|
909
|
-
scoringOpportunity: boolean;
|
|
910
|
-
result: string;
|
|
911
|
-
pointsGained: number;
|
|
912
|
-
plays: Array<LiveGamePlay>;
|
|
801
|
+
team: string;
|
|
802
|
+
name: string;
|
|
803
|
+
firstName: (string) | null;
|
|
804
|
+
lastName: (string) | null;
|
|
805
|
+
weight: (number) | null;
|
|
806
|
+
height: (number) | null;
|
|
807
|
+
jersey: (number) | null;
|
|
808
|
+
position: string;
|
|
809
|
+
hometown: string;
|
|
810
|
+
teamColor: string;
|
|
811
|
+
teamColorSecondary: string;
|
|
913
812
|
};
|
|
914
813
|
|
|
915
|
-
export type
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
814
|
+
export type PlayerSeasonPredictedPointsAdded = {
|
|
815
|
+
season: number;
|
|
816
|
+
id: string;
|
|
817
|
+
name: string;
|
|
818
|
+
position: string;
|
|
819
|
+
team: string;
|
|
820
|
+
conference: string;
|
|
821
|
+
averagePPA: {
|
|
822
|
+
passingDowns?: number;
|
|
823
|
+
standardDowns?: number;
|
|
824
|
+
thirdDown?: number;
|
|
825
|
+
secondDown?: number;
|
|
826
|
+
firstDown?: number;
|
|
827
|
+
rush?: number;
|
|
828
|
+
pass?: number;
|
|
829
|
+
all: number;
|
|
830
|
+
};
|
|
831
|
+
totalPPA: {
|
|
832
|
+
passingDowns?: number;
|
|
833
|
+
standardDowns?: number;
|
|
834
|
+
thirdDown?: number;
|
|
835
|
+
secondDown?: number;
|
|
836
|
+
firstDown?: number;
|
|
837
|
+
rush?: number;
|
|
838
|
+
pass?: number;
|
|
839
|
+
all: number;
|
|
840
|
+
};
|
|
926
841
|
};
|
|
927
842
|
|
|
928
|
-
export type
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
843
|
+
export type PlayerStat = {
|
|
844
|
+
season: number;
|
|
845
|
+
playerId: string;
|
|
846
|
+
player: string;
|
|
847
|
+
team: string;
|
|
848
|
+
conference: string;
|
|
849
|
+
category: string;
|
|
850
|
+
statType: string;
|
|
851
|
+
stat: number;
|
|
937
852
|
};
|
|
938
853
|
|
|
939
|
-
export type
|
|
940
|
-
|
|
854
|
+
export type PlayerStatsByQuarter = {
|
|
855
|
+
total: number;
|
|
856
|
+
quarter1: number;
|
|
857
|
+
quarter2: number;
|
|
858
|
+
quarter3: number;
|
|
859
|
+
quarter4: number;
|
|
860
|
+
rushing: number;
|
|
861
|
+
passing: number;
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
export type PlayerTransfer = {
|
|
941
865
|
season: number;
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
awayClassification: ((DivisionClassification) | null);
|
|
952
|
-
awayScore: (number) | null;
|
|
953
|
-
lines: Array<GameLine>;
|
|
866
|
+
firstName: string;
|
|
867
|
+
lastName: string;
|
|
868
|
+
position: string;
|
|
869
|
+
origin: string;
|
|
870
|
+
destination: (string) | null;
|
|
871
|
+
transferDate: (string) | null;
|
|
872
|
+
rating: (number) | null;
|
|
873
|
+
stars: (number) | null;
|
|
874
|
+
eligibility: ((TransferEligibility) | null);
|
|
954
875
|
};
|
|
955
876
|
|
|
956
|
-
export type
|
|
957
|
-
id: number;
|
|
877
|
+
export type PlayerUsage = {
|
|
958
878
|
season: number;
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
homeLineScores: Array<(number)> | null;
|
|
975
|
-
homePostgameWinProbability: (number) | null;
|
|
976
|
-
homePregameElo: (number) | null;
|
|
977
|
-
homePostgameElo: (number) | null;
|
|
978
|
-
awayId: number;
|
|
979
|
-
awayTeam: string;
|
|
980
|
-
awayConference: (string) | null;
|
|
981
|
-
awayClassification: ((DivisionClassification) | null);
|
|
982
|
-
awayPoints: (number) | null;
|
|
983
|
-
awayLineScores: Array<(number)> | null;
|
|
984
|
-
awayPostgameWinProbability: (number) | null;
|
|
985
|
-
awayPregameElo: (number) | null;
|
|
986
|
-
awayPostgameElo: (number) | null;
|
|
987
|
-
excitementIndex: (number) | null;
|
|
988
|
-
highlights: (string) | null;
|
|
989
|
-
notes: (string) | null;
|
|
879
|
+
id: string;
|
|
880
|
+
name: string;
|
|
881
|
+
position: string;
|
|
882
|
+
team: string;
|
|
883
|
+
conference: string;
|
|
884
|
+
usage: {
|
|
885
|
+
passingDowns: number;
|
|
886
|
+
standardDowns: number;
|
|
887
|
+
thirdDown: number;
|
|
888
|
+
secondDown: number;
|
|
889
|
+
firstDown: number;
|
|
890
|
+
rush: number;
|
|
891
|
+
pass: number;
|
|
892
|
+
overall: number;
|
|
893
|
+
};
|
|
990
894
|
};
|
|
991
895
|
|
|
992
|
-
export type
|
|
993
|
-
|
|
994
|
-
|
|
896
|
+
export type PlayerWeightedEPA = {
|
|
897
|
+
year: number;
|
|
898
|
+
athleteId: string;
|
|
899
|
+
athleteName: string;
|
|
900
|
+
position: string;
|
|
901
|
+
team: string;
|
|
902
|
+
conference: string;
|
|
903
|
+
wepa: number;
|
|
904
|
+
plays: number;
|
|
995
905
|
};
|
|
996
906
|
|
|
997
|
-
export type
|
|
998
|
-
|
|
907
|
+
export type PlayStat = {
|
|
908
|
+
gameId: number;
|
|
909
|
+
season: number;
|
|
910
|
+
week: number;
|
|
999
911
|
team: string;
|
|
1000
|
-
conference:
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
912
|
+
conference: string;
|
|
913
|
+
opponent: string;
|
|
914
|
+
teamScore: number;
|
|
915
|
+
opponentScore: number;
|
|
916
|
+
driveId: string;
|
|
917
|
+
playId: string;
|
|
918
|
+
period: number;
|
|
919
|
+
clock: {
|
|
920
|
+
seconds: (number) | null;
|
|
921
|
+
minutes: (number) | null;
|
|
922
|
+
};
|
|
923
|
+
yardsToGoal: number;
|
|
924
|
+
down: number;
|
|
925
|
+
distance: number;
|
|
926
|
+
athleteId: string;
|
|
927
|
+
athleteName: string;
|
|
928
|
+
statType: string;
|
|
929
|
+
stat: number;
|
|
1004
930
|
};
|
|
1005
931
|
|
|
1006
|
-
export type
|
|
932
|
+
export type PlayStatType = {
|
|
1007
933
|
id: number;
|
|
1008
|
-
|
|
934
|
+
name: string;
|
|
1009
935
|
};
|
|
1010
936
|
|
|
1011
|
-
export type
|
|
1012
|
-
id:
|
|
1013
|
-
|
|
1014
|
-
|
|
937
|
+
export type PlayType = {
|
|
938
|
+
id: number;
|
|
939
|
+
text: string;
|
|
940
|
+
abbreviation: (string) | null;
|
|
1015
941
|
};
|
|
1016
942
|
|
|
1017
|
-
export type
|
|
1018
|
-
|
|
1019
|
-
|
|
943
|
+
export type PlayWinProbability = {
|
|
944
|
+
gameId: number;
|
|
945
|
+
playId: string;
|
|
946
|
+
playText: string;
|
|
947
|
+
homeId: number;
|
|
948
|
+
home: string;
|
|
949
|
+
awayId: number;
|
|
950
|
+
away: string;
|
|
951
|
+
spread: number;
|
|
952
|
+
homeBall: boolean;
|
|
953
|
+
homeScore: number;
|
|
954
|
+
awayScore: number;
|
|
955
|
+
yardLine: number;
|
|
956
|
+
down: number;
|
|
957
|
+
distance: number;
|
|
958
|
+
homeWinProbability: number;
|
|
959
|
+
playNumber: number;
|
|
1020
960
|
};
|
|
1021
961
|
|
|
1022
|
-
export type
|
|
1023
|
-
|
|
1024
|
-
|
|
962
|
+
export type Poll = {
|
|
963
|
+
poll: string;
|
|
964
|
+
ranks: Array<PollRank>;
|
|
1025
965
|
};
|
|
1026
966
|
|
|
1027
|
-
export type
|
|
1028
|
-
|
|
967
|
+
export type PollRank = {
|
|
968
|
+
rank: (number) | null;
|
|
969
|
+
school: string;
|
|
1029
970
|
conference: (string) | null;
|
|
1030
|
-
|
|
971
|
+
firstPlaceVotes: (number) | null;
|
|
1031
972
|
points: (number) | null;
|
|
1032
|
-
categories: Array<GamePlayerStatCategories>;
|
|
1033
|
-
};
|
|
1034
|
-
|
|
1035
|
-
export type GamePlayerStats = {
|
|
1036
|
-
id: number;
|
|
1037
|
-
teams: Array<GamePlayerStatsTeam>;
|
|
1038
973
|
};
|
|
1039
974
|
|
|
1040
|
-
export type
|
|
1041
|
-
|
|
1042
|
-
export type GameMedia = {
|
|
1043
|
-
id: number;
|
|
975
|
+
export type PollWeek = {
|
|
1044
976
|
season: number;
|
|
1045
|
-
week: number;
|
|
1046
977
|
seasonType: SeasonType;
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
homeTeam: string;
|
|
1050
|
-
homeConference: (string) | null;
|
|
1051
|
-
awayTeam: string;
|
|
1052
|
-
awayConference: (string) | null;
|
|
1053
|
-
mediaType: MediaType;
|
|
1054
|
-
outlet: string;
|
|
978
|
+
week: number;
|
|
979
|
+
polls: Array<Poll>;
|
|
1055
980
|
};
|
|
1056
981
|
|
|
1057
|
-
export type
|
|
1058
|
-
|
|
982
|
+
export type PredictedPointsValue = {
|
|
983
|
+
yardLine: number;
|
|
984
|
+
predictedPoints: number;
|
|
985
|
+
};
|
|
986
|
+
|
|
987
|
+
export type PregameWinProbability = {
|
|
1059
988
|
season: number;
|
|
1060
|
-
week: number;
|
|
1061
989
|
seasonType: SeasonType;
|
|
1062
|
-
|
|
1063
|
-
|
|
990
|
+
week: number;
|
|
991
|
+
gameId: number;
|
|
1064
992
|
homeTeam: string;
|
|
1065
|
-
homeConference: (string) | null;
|
|
1066
993
|
awayTeam: string;
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
venue: string;
|
|
1070
|
-
temperature: (number) | null;
|
|
1071
|
-
dewPoint: (number) | null;
|
|
1072
|
-
humidity: (number) | null;
|
|
1073
|
-
precipitation: (number) | null;
|
|
1074
|
-
snowfall: (number) | null;
|
|
1075
|
-
windDirection: (number) | null;
|
|
1076
|
-
windSpeed: (number) | null;
|
|
1077
|
-
pressure: (number) | null;
|
|
1078
|
-
weatherConditionCode: (number) | null;
|
|
1079
|
-
weatherCondition: (string) | null;
|
|
994
|
+
spread: number;
|
|
995
|
+
homeWinProbability: number;
|
|
1080
996
|
};
|
|
1081
997
|
|
|
1082
|
-
export type
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
998
|
+
export type Recruit = {
|
|
999
|
+
id: string;
|
|
1000
|
+
athleteId: (string) | null;
|
|
1001
|
+
recruitType: RecruitClassification;
|
|
1002
|
+
year: number;
|
|
1003
|
+
ranking: (number) | null;
|
|
1004
|
+
name: string;
|
|
1005
|
+
school: (string) | null;
|
|
1006
|
+
committedTo: (string) | null;
|
|
1007
|
+
position: (string) | null;
|
|
1008
|
+
height: (number) | null;
|
|
1009
|
+
weight: (number) | null;
|
|
1010
|
+
stars: number;
|
|
1011
|
+
rating: number;
|
|
1012
|
+
city: (string) | null;
|
|
1013
|
+
stateProvince: (string) | null;
|
|
1014
|
+
country: (string) | null;
|
|
1015
|
+
hometownInfo: {
|
|
1016
|
+
fipsCode: (string) | null;
|
|
1017
|
+
longitude: (number) | null;
|
|
1018
|
+
latitude: (number) | null;
|
|
1019
|
+
};
|
|
1087
1020
|
};
|
|
1088
1021
|
|
|
1089
|
-
export type
|
|
1090
|
-
|
|
1091
|
-
|
|
1022
|
+
export type RecruitClassification = 'JUCO' | 'PrepSchool' | 'HighSchool';
|
|
1023
|
+
|
|
1024
|
+
export type ReturningProduction = {
|
|
1025
|
+
season: number;
|
|
1092
1026
|
team: string;
|
|
1093
|
-
classification: ((DivisionClassification) | null);
|
|
1094
1027
|
conference: string;
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1028
|
+
totalPPA: number;
|
|
1029
|
+
totalPassingPPA: number;
|
|
1030
|
+
totalReceivingPPA: number;
|
|
1031
|
+
totalRushingPPA: number;
|
|
1032
|
+
percentPPA: number;
|
|
1033
|
+
percentPassingPPA: number;
|
|
1034
|
+
percentReceivingPPA: number;
|
|
1035
|
+
percentRushingPPA: number;
|
|
1036
|
+
usage: number;
|
|
1037
|
+
passingUsage: number;
|
|
1038
|
+
receivingUsage: number;
|
|
1039
|
+
rushingUsage: number;
|
|
1102
1040
|
};
|
|
1103
1041
|
|
|
1104
|
-
export type
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1042
|
+
export type RosterPlayer = {
|
|
1043
|
+
id: string;
|
|
1044
|
+
firstName: string;
|
|
1045
|
+
lastName: string;
|
|
1046
|
+
team: string;
|
|
1047
|
+
height: (number) | null;
|
|
1048
|
+
weight: (number) | null;
|
|
1049
|
+
jersey: (number) | null;
|
|
1050
|
+
year: number;
|
|
1051
|
+
position: (string) | null;
|
|
1052
|
+
homeCity: (string) | null;
|
|
1053
|
+
homeState: (string) | null;
|
|
1054
|
+
homeCountry: (string) | null;
|
|
1055
|
+
homeLatitude: (number) | null;
|
|
1056
|
+
homeLongitude: (number) | null;
|
|
1057
|
+
homeCountyFIPS: (string) | null;
|
|
1058
|
+
recruitIds: Array<(string)> | null;
|
|
1118
1059
|
};
|
|
1119
1060
|
|
|
1120
|
-
export type GameStatus = 'scheduled' | 'in_progress' | 'completed';
|
|
1121
|
-
|
|
1122
1061
|
export type ScoreboardGame = {
|
|
1123
1062
|
id: number;
|
|
1124
1063
|
startDate: string;
|
|
@@ -1167,108 +1106,102 @@ export type ScoreboardGame = {
|
|
|
1167
1106
|
};
|
|
1168
1107
|
};
|
|
1169
1108
|
|
|
1170
|
-
export type
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
scoring: boolean;
|
|
1179
|
-
startPeriod: number;
|
|
1180
|
-
startYardline: number;
|
|
1181
|
-
startYardsToGoal: number;
|
|
1182
|
-
startTime: {
|
|
1183
|
-
seconds: (number) | null;
|
|
1184
|
-
minutes: (number) | null;
|
|
1185
|
-
};
|
|
1186
|
-
endPeriod: number;
|
|
1187
|
-
endYardline: number;
|
|
1188
|
-
endYardsToGoal: number;
|
|
1189
|
-
endTime: {
|
|
1190
|
-
seconds: (number) | null;
|
|
1191
|
-
minutes: (number) | null;
|
|
1192
|
-
};
|
|
1193
|
-
plays: number;
|
|
1194
|
-
yards: number;
|
|
1195
|
-
driveResult: string;
|
|
1196
|
-
isHomeOffense: boolean;
|
|
1197
|
-
startOffenseScore: number;
|
|
1198
|
-
startDefenseScore: number;
|
|
1199
|
-
endOffenseScore: number;
|
|
1200
|
-
endDefenseScore: number;
|
|
1109
|
+
export type SeasonType = 'regular' | 'postseason' | 'both' | 'allstar' | 'spring_regular' | 'spring_postseason';
|
|
1110
|
+
|
|
1111
|
+
export type StatsByQuarter = {
|
|
1112
|
+
total: number;
|
|
1113
|
+
quarter1: number;
|
|
1114
|
+
quarter2: number;
|
|
1115
|
+
quarter3: number;
|
|
1116
|
+
quarter4: number;
|
|
1201
1117
|
};
|
|
1202
1118
|
|
|
1203
|
-
export type
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1119
|
+
export type Team = {
|
|
1120
|
+
id: number;
|
|
1121
|
+
school: string;
|
|
1122
|
+
mascot: (string) | null;
|
|
1123
|
+
abbreviation: (string) | null;
|
|
1124
|
+
alternateNames: Array<(string)> | null;
|
|
1125
|
+
conference: (string) | null;
|
|
1126
|
+
division: (string) | null;
|
|
1127
|
+
classification: (string) | null;
|
|
1128
|
+
color: (string) | null;
|
|
1129
|
+
alternateColor: (string) | null;
|
|
1130
|
+
logos: Array<(string)> | null;
|
|
1131
|
+
twitter: (string) | null;
|
|
1132
|
+
location: ((Venue) | null);
|
|
1208
1133
|
};
|
|
1209
1134
|
|
|
1210
|
-
export type
|
|
1211
|
-
|
|
1212
|
-
|
|
1135
|
+
export type TeamElo = {
|
|
1136
|
+
year: number;
|
|
1137
|
+
team: string;
|
|
1138
|
+
conference: string;
|
|
1139
|
+
elo: (number) | null;
|
|
1213
1140
|
};
|
|
1214
1141
|
|
|
1215
|
-
export type
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1142
|
+
export type TeamExplosiveness = {
|
|
1143
|
+
team: string;
|
|
1144
|
+
overall: StatsByQuarter;
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
export type TeamFieldPosition = {
|
|
1148
|
+
team: string;
|
|
1149
|
+
averageStart: number;
|
|
1150
|
+
averageStartingPredictedPoints: number;
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
export type TeamFPI = {
|
|
1223
1154
|
year: number;
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
city: (string) | null;
|
|
1155
|
+
team: string;
|
|
1156
|
+
conference: (string) | null;
|
|
1157
|
+
fpi: (number) | null;
|
|
1158
|
+
resumeRanks: {
|
|
1159
|
+
gameControl: (number) | null;
|
|
1160
|
+
remainingStrengthOfSchedule: (number) | null;
|
|
1161
|
+
strengthOfSchedule: (number) | null;
|
|
1162
|
+
averageWinProbability: (number) | null;
|
|
1163
|
+
fpi: (number) | null;
|
|
1164
|
+
strengthOfRecord: (number) | null;
|
|
1165
|
+
};
|
|
1166
|
+
efficiencies: {
|
|
1167
|
+
specialTeams: (number) | null;
|
|
1168
|
+
defense: (number) | null;
|
|
1169
|
+
offense: (number) | null;
|
|
1170
|
+
overall: (number) | null;
|
|
1241
1171
|
};
|
|
1242
1172
|
};
|
|
1243
1173
|
|
|
1244
|
-
export type
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1174
|
+
export type TeamGamePredictedPointsAdded = {
|
|
1175
|
+
gameId: number;
|
|
1176
|
+
season: number;
|
|
1177
|
+
week: number;
|
|
1178
|
+
seasonType: SeasonType;
|
|
1179
|
+
team: string;
|
|
1180
|
+
conference: string;
|
|
1181
|
+
opponent: string;
|
|
1182
|
+
offense: {
|
|
1183
|
+
thirdDown: number;
|
|
1184
|
+
secondDown: number;
|
|
1185
|
+
firstDown: number;
|
|
1186
|
+
rushing: number;
|
|
1187
|
+
passing: number;
|
|
1188
|
+
overall: number;
|
|
1189
|
+
};
|
|
1190
|
+
defense: {
|
|
1191
|
+
thirdDown: number;
|
|
1192
|
+
secondDown: number;
|
|
1193
|
+
firstDown: number;
|
|
1194
|
+
rushing: number;
|
|
1195
|
+
passing: number;
|
|
1196
|
+
overall: number;
|
|
1197
|
+
};
|
|
1264
1198
|
};
|
|
1265
1199
|
|
|
1266
|
-
export type
|
|
1200
|
+
export type TeamHavoc = {
|
|
1201
|
+
team: string;
|
|
1267
1202
|
total: number;
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
quarter3: number;
|
|
1271
|
-
quarter4: number;
|
|
1203
|
+
frontSeven: number;
|
|
1204
|
+
db: number;
|
|
1272
1205
|
};
|
|
1273
1206
|
|
|
1274
1207
|
export type TeamPPA = {
|
|
@@ -1279,16 +1212,35 @@ export type TeamPPA = {
|
|
|
1279
1212
|
rushing: StatsByQuarter;
|
|
1280
1213
|
};
|
|
1281
1214
|
|
|
1282
|
-
export type
|
|
1215
|
+
export type TeamRecord = {
|
|
1216
|
+
games: number;
|
|
1217
|
+
wins: number;
|
|
1218
|
+
losses: number;
|
|
1219
|
+
ties: number;
|
|
1220
|
+
};
|
|
1221
|
+
|
|
1222
|
+
export type TeamRecords = {
|
|
1223
|
+
year: number;
|
|
1224
|
+
teamId: number;
|
|
1283
1225
|
team: string;
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1226
|
+
classification: ((DivisionClassification) | null);
|
|
1227
|
+
conference: string;
|
|
1228
|
+
division: string;
|
|
1229
|
+
expectedWins: (number) | null;
|
|
1230
|
+
total: TeamRecord;
|
|
1231
|
+
conferenceGames: TeamRecord;
|
|
1232
|
+
homeGames: TeamRecord;
|
|
1233
|
+
awayGames: TeamRecord;
|
|
1234
|
+
neutralSiteGames: TeamRecord;
|
|
1235
|
+
regularSeason: TeamRecord;
|
|
1236
|
+
postseason: TeamRecord;
|
|
1287
1237
|
};
|
|
1288
1238
|
|
|
1289
|
-
export type
|
|
1239
|
+
export type TeamRecruitingRanking = {
|
|
1240
|
+
year: number;
|
|
1241
|
+
rank: number;
|
|
1290
1242
|
team: string;
|
|
1291
|
-
|
|
1243
|
+
points: number;
|
|
1292
1244
|
};
|
|
1293
1245
|
|
|
1294
1246
|
export type TeamRushingStats = {
|
|
@@ -1303,13 +1255,6 @@ export type TeamRushingStats = {
|
|
|
1303
1255
|
openFieldYardsAverage: number;
|
|
1304
1256
|
};
|
|
1305
1257
|
|
|
1306
|
-
export type TeamHavoc = {
|
|
1307
|
-
team: string;
|
|
1308
|
-
total: number;
|
|
1309
|
-
frontSeven: number;
|
|
1310
|
-
db: number;
|
|
1311
|
-
};
|
|
1312
|
-
|
|
1313
1258
|
export type TeamScoringOpportunities = {
|
|
1314
1259
|
team: string;
|
|
1315
1260
|
opportunities: number;
|
|
@@ -1317,68 +1262,125 @@ export type TeamScoringOpportunities = {
|
|
|
1317
1262
|
pointsPerOpportunity: number;
|
|
1318
1263
|
};
|
|
1319
1264
|
|
|
1320
|
-
export type
|
|
1265
|
+
export type TeamSeasonPredictedPointsAdded = {
|
|
1266
|
+
season: number;
|
|
1267
|
+
conference: string;
|
|
1321
1268
|
team: string;
|
|
1322
|
-
|
|
1323
|
-
|
|
1269
|
+
offense: {
|
|
1270
|
+
cumulative: {
|
|
1271
|
+
rushing: number;
|
|
1272
|
+
passing: number;
|
|
1273
|
+
total: number;
|
|
1274
|
+
};
|
|
1275
|
+
thirdDown: number;
|
|
1276
|
+
secondDown: number;
|
|
1277
|
+
firstDown: number;
|
|
1278
|
+
rushing: number;
|
|
1279
|
+
passing: number;
|
|
1280
|
+
overall: number;
|
|
1281
|
+
};
|
|
1282
|
+
defense: {
|
|
1283
|
+
cumulative: {
|
|
1284
|
+
rushing: number;
|
|
1285
|
+
passing: number;
|
|
1286
|
+
total: number;
|
|
1287
|
+
};
|
|
1288
|
+
thirdDown: number;
|
|
1289
|
+
secondDown: number;
|
|
1290
|
+
firstDown: number;
|
|
1291
|
+
rushing: number;
|
|
1292
|
+
passing: number;
|
|
1293
|
+
overall: number;
|
|
1294
|
+
};
|
|
1324
1295
|
};
|
|
1325
1296
|
|
|
1326
|
-
export type
|
|
1327
|
-
|
|
1328
|
-
quarter1: number;
|
|
1329
|
-
quarter2: number;
|
|
1330
|
-
quarter3: number;
|
|
1331
|
-
quarter4: number;
|
|
1332
|
-
rushing: number;
|
|
1333
|
-
passing: number;
|
|
1334
|
-
player: string;
|
|
1297
|
+
export type TeamSP = {
|
|
1298
|
+
year: number;
|
|
1335
1299
|
team: string;
|
|
1336
|
-
|
|
1300
|
+
conference: string;
|
|
1301
|
+
rating: number;
|
|
1302
|
+
ranking: number;
|
|
1303
|
+
secondOrderWins: (number) | null;
|
|
1304
|
+
sos: (number) | null;
|
|
1305
|
+
offense: {
|
|
1306
|
+
pace: (number) | null;
|
|
1307
|
+
runRate: (number) | null;
|
|
1308
|
+
passingDowns: (number) | null;
|
|
1309
|
+
standardDowns: (number) | null;
|
|
1310
|
+
passing: (number) | null;
|
|
1311
|
+
rushing: (number) | null;
|
|
1312
|
+
explosiveness: (number) | null;
|
|
1313
|
+
success: (number) | null;
|
|
1314
|
+
rating: number;
|
|
1315
|
+
ranking: number;
|
|
1316
|
+
};
|
|
1317
|
+
defense: {
|
|
1318
|
+
havoc: {
|
|
1319
|
+
db: (number) | null;
|
|
1320
|
+
frontSeven: (number) | null;
|
|
1321
|
+
total: (number) | null;
|
|
1322
|
+
};
|
|
1323
|
+
passingDowns: (number) | null;
|
|
1324
|
+
standardDowns: (number) | null;
|
|
1325
|
+
passing: (number) | null;
|
|
1326
|
+
rushing: (number) | null;
|
|
1327
|
+
explosiveness: (number) | null;
|
|
1328
|
+
success: (number) | null;
|
|
1329
|
+
rating: number;
|
|
1330
|
+
ranking: number;
|
|
1331
|
+
};
|
|
1332
|
+
specialTeams: {
|
|
1333
|
+
rating: (number) | null;
|
|
1334
|
+
};
|
|
1337
1335
|
};
|
|
1338
1336
|
|
|
1339
|
-
export type
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
passing: number;
|
|
1337
|
+
export type TeamSRS = {
|
|
1338
|
+
year: number;
|
|
1339
|
+
team: string;
|
|
1340
|
+
conference: (string) | null;
|
|
1341
|
+
division: (string) | null;
|
|
1342
|
+
rating: number;
|
|
1343
|
+
ranking: number;
|
|
1347
1344
|
};
|
|
1348
1345
|
|
|
1349
|
-
export type
|
|
1350
|
-
|
|
1346
|
+
export type TeamStat = {
|
|
1347
|
+
season: number;
|
|
1351
1348
|
team: string;
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1349
|
+
conference: string;
|
|
1350
|
+
statName: string;
|
|
1351
|
+
statValue: (string | number);
|
|
1355
1352
|
};
|
|
1356
1353
|
|
|
1357
|
-
export type
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1354
|
+
export type TeamSuccessRates = {
|
|
1355
|
+
team: string;
|
|
1356
|
+
overall: StatsByQuarter;
|
|
1357
|
+
standardDowns: StatsByQuarter;
|
|
1358
|
+
passingDowns: StatsByQuarter;
|
|
1359
|
+
};
|
|
1360
|
+
|
|
1361
|
+
export type TeamTalent = {
|
|
1362
|
+
year: number;
|
|
1363
|
+
team: string;
|
|
1364
|
+
talent: number;
|
|
1365
|
+
};
|
|
1366
|
+
|
|
1367
|
+
export type TransferEligibility = 'Withdrawn' | 'TBD' | 'PendingAppeal' | 'SittingOne' | 'Immediate';
|
|
1368
|
+
|
|
1369
|
+
export type Venue = {
|
|
1370
|
+
id: (number) | null;
|
|
1371
|
+
name: (string) | null;
|
|
1372
|
+
city: (string) | null;
|
|
1373
|
+
state: (string) | null;
|
|
1374
|
+
zip: (string) | null;
|
|
1375
|
+
countryCode: (string) | null;
|
|
1376
|
+
timezone: (string) | null;
|
|
1377
|
+
latitude: (number) | null;
|
|
1378
|
+
longitude: (number) | null;
|
|
1379
|
+
elevation: (string) | null;
|
|
1380
|
+
capacity: (number) | null;
|
|
1381
|
+
constructionYear: (number) | null;
|
|
1382
|
+
grass?: (boolean) | null;
|
|
1383
|
+
dome?: (boolean) | null;
|
|
1382
1384
|
};
|
|
1383
1385
|
|
|
1384
1386
|
export type GetAdjustedTeamSeasonStatsData = {
|