cfbd 5.31.1 → 5.31.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.
Binary file
@@ -562,6 +562,7 @@ export type DetailedCoachSeason = {
562
562
  cfp: CoachCfpContext;
563
563
  draftFollowingSeason: ((CoachDraftContext) | null);
564
564
  };
565
+ export type Division = 'fbs' | 'fcs' | 'ii' | 'ii/iii' | 'iii';
565
566
  export type DivisionClassification = 'fbs' | 'fcs' | 'ii' | 'ii/iii' | 'iii';
566
567
  export type DraftPick = {
567
568
  collegeAthleteId: (number) | null;
@@ -2096,6 +2097,7 @@ export type PreviewTeamIdentity = {
2096
2097
  points: (number) | null;
2097
2098
  };
2098
2099
  export type PreviewTeamStatistics = {
2100
+ statRankings?: ((TeamSeasonStatRankings) | null);
2099
2101
  season: number;
2100
2102
  isPreviousSeason: boolean;
2101
2103
  advanced: TeamSeasonAdvancedStats;
@@ -2125,6 +2127,31 @@ export type RecentResult = {
2125
2127
  result: 'win' | 'loss' | 'tie' | 'unknown';
2126
2128
  };
2127
2129
  export type result = 'win' | 'loss' | 'tie' | 'unknown';
2130
+ /**
2131
+ * Construct a type with a set of properties K of type T
2132
+ */
2133
+ export type Record_StatMetricKey_TeamStatRank_or_null_ = {
2134
+ ppa: TeamStatRank;
2135
+ successRate: TeamStatRank;
2136
+ explosiveness: TeamStatRank;
2137
+ 'standardDowns.successRate': TeamStatRank;
2138
+ 'passingDowns.successRate': TeamStatRank;
2139
+ 'passingPlays.ppa': TeamStatRank;
2140
+ 'rushingPlays.ppa': TeamStatRank;
2141
+ 'passingPlays.explosiveness': TeamStatRank;
2142
+ 'rushingPlays.explosiveness': TeamStatRank;
2143
+ lineYards: TeamStatRank;
2144
+ secondLevelYards: TeamStatRank;
2145
+ openFieldYards: TeamStatRank;
2146
+ stuffRate: TeamStatRank;
2147
+ powerSuccess: TeamStatRank;
2148
+ 'havoc.total': TeamStatRank;
2149
+ 'havoc.frontSeven': TeamStatRank;
2150
+ 'havoc.db': TeamStatRank;
2151
+ pointsPerOpportunity: TeamStatRank;
2152
+ 'fieldPosition.averageStart': TeamStatRank;
2153
+ 'fieldPosition.averagePredictedPoints': TeamStatRank;
2154
+ };
2128
2155
  export type Recruit = {
2129
2156
  id: string;
2130
2157
  athleteId: (string) | null;
@@ -2689,6 +2716,7 @@ export type TeamSeasonAdvancedStats = {
2689
2716
  lineYards: number;
2690
2717
  stuffRate: number;
2691
2718
  powerSuccess: (number) | null;
2719
+ powerRushAttempts?: number;
2692
2720
  explosiveness: (number) | null;
2693
2721
  successRate: number;
2694
2722
  totalPPA: number;
@@ -2743,6 +2771,7 @@ export type TeamSeasonAdvancedStats = {
2743
2771
  lineYards: number;
2744
2772
  stuffRate: number;
2745
2773
  powerSuccess: (number) | null;
2774
+ powerRushAttempts?: number;
2746
2775
  explosiveness: (number) | null;
2747
2776
  successRate: number;
2748
2777
  totalPPA: number;
@@ -2759,6 +2788,7 @@ export type TeamSeasonOverview = {
2759
2788
  };
2760
2789
  passing: ((TeamPassingSeason) | null);
2761
2790
  rushing: ((TeamRushingSeason) | null);
2791
+ statRankings?: ((TeamSeasonStatRankings) | null);
2762
2792
  /**
2763
2793
  * Completed games for the requested season, including postseason.
2764
2794
  */
@@ -2884,6 +2914,17 @@ export type TeamSeasonRankedRating = {
2884
2914
  */
2885
2915
  rank: (number) | null;
2886
2916
  };
2917
+ export type TeamSeasonStatRankings = {
2918
+ teamId: number;
2919
+ season: number;
2920
+ division: Division;
2921
+ divisionTeamCount: number;
2922
+ calculatedAt: string;
2923
+ expiresAt: string;
2924
+ sourceUpdatedAt: string;
2925
+ offense: Record_StatMetricKey_TeamStatRank_or_null_;
2926
+ defense: Record_StatMetricKey_TeamStatRank_or_null_;
2927
+ };
2887
2928
  export type TeamSP = {
2888
2929
  year: number;
2889
2930
  team: string;
@@ -2938,6 +2979,12 @@ export type TeamStat = {
2938
2979
  statName: string;
2939
2980
  statValue: (string | number);
2940
2981
  };
2982
+ export type TeamStatRank = {
2983
+ rank: number;
2984
+ population: number;
2985
+ tied: boolean;
2986
+ percentile: number;
2987
+ };
2941
2988
  export type TeamSuccessRates = {
2942
2989
  team: string;
2943
2990
  overall: StatsByQuarter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfbd",
3
- "version": "5.31.1",
3
+ "version": "5.31.2",
4
4
  "description": "This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.",
5
5
  "repository": {
6
6
  "type": "git",
package/src/types.gen.ts CHANGED
@@ -603,6 +603,8 @@ export type DetailedCoachSeason = {
603
603
  draftFollowingSeason: ((CoachDraftContext) | null);
604
604
  };
605
605
 
606
+ export type Division = 'fbs' | 'fcs' | 'ii' | 'ii/iii' | 'iii';
607
+
606
608
  export type DivisionClassification = 'fbs' | 'fcs' | 'ii' | 'ii/iii' | 'iii';
607
609
 
608
610
  export type DraftPick = {
@@ -2262,6 +2264,7 @@ export type PreviewTeamIdentity = {
2262
2264
  };
2263
2265
 
2264
2266
  export type PreviewTeamStatistics = {
2267
+ statRankings?: ((TeamSeasonStatRankings) | null);
2265
2268
  season: number;
2266
2269
  isPreviousSeason: boolean;
2267
2270
  advanced: TeamSeasonAdvancedStats;
@@ -2296,6 +2299,32 @@ export type RecentResult = {
2296
2299
 
2297
2300
  export type result = 'win' | 'loss' | 'tie' | 'unknown';
2298
2301
 
2302
+ /**
2303
+ * Construct a type with a set of properties K of type T
2304
+ */
2305
+ export type Record_StatMetricKey_TeamStatRank_or_null_ = {
2306
+ ppa: TeamStatRank;
2307
+ successRate: TeamStatRank;
2308
+ explosiveness: TeamStatRank;
2309
+ 'standardDowns.successRate': TeamStatRank;
2310
+ 'passingDowns.successRate': TeamStatRank;
2311
+ 'passingPlays.ppa': TeamStatRank;
2312
+ 'rushingPlays.ppa': TeamStatRank;
2313
+ 'passingPlays.explosiveness': TeamStatRank;
2314
+ 'rushingPlays.explosiveness': TeamStatRank;
2315
+ lineYards: TeamStatRank;
2316
+ secondLevelYards: TeamStatRank;
2317
+ openFieldYards: TeamStatRank;
2318
+ stuffRate: TeamStatRank;
2319
+ powerSuccess: TeamStatRank;
2320
+ 'havoc.total': TeamStatRank;
2321
+ 'havoc.frontSeven': TeamStatRank;
2322
+ 'havoc.db': TeamStatRank;
2323
+ pointsPerOpportunity: TeamStatRank;
2324
+ 'fieldPosition.averageStart': TeamStatRank;
2325
+ 'fieldPosition.averagePredictedPoints': TeamStatRank;
2326
+ };
2327
+
2299
2328
  export type Recruit = {
2300
2329
  id: string;
2301
2330
  athleteId: (string) | null;
@@ -2904,6 +2933,7 @@ export type TeamSeasonAdvancedStats = {
2904
2933
  lineYards: number;
2905
2934
  stuffRate: number;
2906
2935
  powerSuccess: (number) | null;
2936
+ powerRushAttempts?: number;
2907
2937
  explosiveness: (number) | null;
2908
2938
  successRate: number;
2909
2939
  totalPPA: number;
@@ -2958,6 +2988,7 @@ export type TeamSeasonAdvancedStats = {
2958
2988
  lineYards: number;
2959
2989
  stuffRate: number;
2960
2990
  powerSuccess: (number) | null;
2991
+ powerRushAttempts?: number;
2961
2992
  explosiveness: (number) | null;
2962
2993
  successRate: number;
2963
2994
  totalPPA: number;
@@ -2975,6 +3006,7 @@ export type TeamSeasonOverview = {
2975
3006
  };
2976
3007
  passing: ((TeamPassingSeason) | null);
2977
3008
  rushing: ((TeamRushingSeason) | null);
3009
+ statRankings?: ((TeamSeasonStatRankings) | null);
2978
3010
  /**
2979
3011
  * Completed games for the requested season, including postseason.
2980
3012
  */
@@ -3107,6 +3139,18 @@ export type TeamSeasonRankedRating = {
3107
3139
  rank: (number) | null;
3108
3140
  };
3109
3141
 
3142
+ export type TeamSeasonStatRankings = {
3143
+ teamId: number;
3144
+ season: number;
3145
+ division: Division;
3146
+ divisionTeamCount: number;
3147
+ calculatedAt: string;
3148
+ expiresAt: string;
3149
+ sourceUpdatedAt: string;
3150
+ offense: Record_StatMetricKey_TeamStatRank_or_null_;
3151
+ defense: Record_StatMetricKey_TeamStatRank_or_null_;
3152
+ };
3153
+
3110
3154
  export type TeamSP = {
3111
3155
  year: number;
3112
3156
  team: string;
@@ -3164,6 +3208,13 @@ export type TeamStat = {
3164
3208
  statValue: (string | number);
3165
3209
  };
3166
3210
 
3211
+ export type TeamStatRank = {
3212
+ rank: number;
3213
+ population: number;
3214
+ tied: boolean;
3215
+ percentile: number;
3216
+ };
3217
+
3167
3218
  export type TeamSuccessRates = {
3168
3219
  team: string;
3169
3220
  overall: StatsByQuarter;
package/cfbd-5.31.1.tgz DELETED
Binary file