cfbd 5.30.0 → 5.30.1
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.30.1.tgz +0 -0
- package/dist/sdk.gen.d.ts +1 -0
- package/dist/sdk.gen.js +1 -0
- package/dist/types.gen.d.ts +7 -0
- package/package.json +1 -1
- package/src/sdk.gen.ts +1 -0
- package/src/types.gen.ts +8 -0
- package/cfbd-5.30.0.tgz +0 -0
package/cfbd-5.30.1.tgz
ADDED
|
Binary file
|
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -360,6 +360,7 @@ export declare const getCoachProfile: <ThrowOnError extends boolean = false>(opt
|
|
|
360
360
|
export declare const getCoachSeasons: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetCoachSeasonsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetCoachSeasonsResponse, GetCoachSeasonsError, ThrowOnError>;
|
|
361
361
|
/**
|
|
362
362
|
* Returns continuous head-coaching tenures and their attributed records.
|
|
363
|
+
* Requires coachId or team; year and active only filter the results.
|
|
363
364
|
*/
|
|
364
365
|
export declare const getCoachTenures: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetCoachTenuresData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetCoachTenuresResponse, GetCoachTenuresError, ThrowOnError>;
|
|
365
366
|
/**
|
package/dist/sdk.gen.js
CHANGED
|
@@ -707,6 +707,7 @@ var getCoachSeasons = function (options) {
|
|
|
707
707
|
exports.getCoachSeasons = getCoachSeasons;
|
|
708
708
|
/**
|
|
709
709
|
* Returns continuous head-coaching tenures and their attributed records.
|
|
710
|
+
* Requires coachId or team; year and active only filter the results.
|
|
710
711
|
*/
|
|
711
712
|
var getCoachTenures = function (options) {
|
|
712
713
|
var _a;
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -626,6 +626,12 @@ export type ExpandedTeamSRS = {
|
|
|
626
626
|
ranking: (number) | null;
|
|
627
627
|
classification: DivisionClassification;
|
|
628
628
|
};
|
|
629
|
+
export type FieldErrors = {
|
|
630
|
+
[key: string]: {
|
|
631
|
+
value?: unknown;
|
|
632
|
+
message: string;
|
|
633
|
+
};
|
|
634
|
+
};
|
|
629
635
|
export type FieldGoalEP = {
|
|
630
636
|
yardsToGoal: number;
|
|
631
637
|
distance: number;
|
|
@@ -4575,6 +4581,7 @@ export type GetCoachTenuresData = {
|
|
|
4575
4581
|
};
|
|
4576
4582
|
export type GetCoachTenuresResponse = (Array<CoachTenure>);
|
|
4577
4583
|
export type GetCoachTenuresError = ({
|
|
4584
|
+
details: FieldErrors;
|
|
4578
4585
|
message: string;
|
|
4579
4586
|
});
|
|
4580
4587
|
export type GetAdvancedBoxScoreData = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cfbd",
|
|
3
|
-
"version": "5.30.
|
|
3
|
+
"version": "5.30.1",
|
|
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/sdk.gen.ts
CHANGED
|
@@ -862,6 +862,7 @@ export const getCoachSeasons = <ThrowOnError extends boolean = false>(options?:
|
|
|
862
862
|
|
|
863
863
|
/**
|
|
864
864
|
* Returns continuous head-coaching tenures and their attributed records.
|
|
865
|
+
* Requires coachId or team; year and active only filter the results.
|
|
865
866
|
*/
|
|
866
867
|
export const getCoachTenures = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetCoachTenuresData, ThrowOnError>) => {
|
|
867
868
|
return (options?.client ?? client).get<GetCoachTenuresResponse, GetCoachTenuresError, ThrowOnError>({
|
package/src/types.gen.ts
CHANGED
|
@@ -669,6 +669,13 @@ export type ExpandedTeamSRS = {
|
|
|
669
669
|
classification: DivisionClassification;
|
|
670
670
|
};
|
|
671
671
|
|
|
672
|
+
export type FieldErrors = {
|
|
673
|
+
[key: string]: {
|
|
674
|
+
value?: unknown;
|
|
675
|
+
message: string;
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
|
|
672
679
|
export type FieldGoalEP = {
|
|
673
680
|
yardsToGoal: number;
|
|
674
681
|
distance: number;
|
|
@@ -5006,6 +5013,7 @@ export type GetCoachTenuresData = {
|
|
|
5006
5013
|
export type GetCoachTenuresResponse = (Array<CoachTenure>);
|
|
5007
5014
|
|
|
5008
5015
|
export type GetCoachTenuresError = ({
|
|
5016
|
+
details: FieldErrors;
|
|
5009
5017
|
message: string;
|
|
5010
5018
|
});
|
|
5011
5019
|
|
package/cfbd-5.30.0.tgz
DELETED
|
Binary file
|