cfbd 5.0.20-alpha.0 → 5.0.21-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.
Binary file
@@ -3776,16 +3776,26 @@ export declare const CalendarWeekSchema: {
3776
3776
  readonly seasonType: {
3777
3777
  readonly $ref: "#/components/schemas/SeasonType";
3778
3778
  };
3779
+ readonly startDate: {
3780
+ readonly type: "string";
3781
+ readonly format: "date-time";
3782
+ };
3783
+ readonly endDate: {
3784
+ readonly type: "string";
3785
+ readonly format: "date-time";
3786
+ };
3779
3787
  readonly firstGameStart: {
3780
3788
  readonly type: "string";
3781
3789
  readonly format: "date-time";
3790
+ readonly deprecated: true;
3782
3791
  };
3783
3792
  readonly lastGameStart: {
3784
3793
  readonly type: "string";
3785
3794
  readonly format: "date-time";
3795
+ readonly deprecated: true;
3786
3796
  };
3787
3797
  };
3788
- readonly required: readonly ["season", "week", "seasonType", "firstGameStart", "lastGameStart"];
3798
+ readonly required: readonly ["season", "week", "seasonType", "startDate", "endDate", "firstGameStart", "lastGameStart"];
3789
3799
  readonly type: "object";
3790
3800
  readonly additionalProperties: false;
3791
3801
  };
@@ -3800,16 +3800,26 @@ exports.CalendarWeekSchema = {
3800
3800
  seasonType: {
3801
3801
  '$ref': '#/components/schemas/SeasonType'
3802
3802
  },
3803
- firstGameStart: {
3803
+ startDate: {
3804
3804
  type: 'string',
3805
3805
  format: 'date-time'
3806
3806
  },
3807
- lastGameStart: {
3807
+ endDate: {
3808
3808
  type: 'string',
3809
3809
  format: 'date-time'
3810
+ },
3811
+ firstGameStart: {
3812
+ type: 'string',
3813
+ format: 'date-time',
3814
+ deprecated: true
3815
+ },
3816
+ lastGameStart: {
3817
+ type: 'string',
3818
+ format: 'date-time',
3819
+ deprecated: true
3810
3820
  }
3811
3821
  },
3812
- required: ['season', 'week', 'seasonType', 'firstGameStart', 'lastGameStart'],
3822
+ required: ['season', 'week', 'seasonType', 'startDate', 'endDate', 'firstGameStart', 'lastGameStart'],
3813
3823
  type: 'object',
3814
3824
  additionalProperties: false
3815
3825
  };
@@ -975,7 +975,15 @@ export type CalendarWeek = {
975
975
  season: number;
976
976
  week: number;
977
977
  seasonType: SeasonType;
978
+ startDate: string;
979
+ endDate: string;
980
+ /**
981
+ * @deprecated
982
+ */
978
983
  firstGameStart: string;
984
+ /**
985
+ * @deprecated
986
+ */
979
987
  lastGameStart: string;
980
988
  };
981
989
  export type GameStatus = 'scheduled' | 'in_progress' | 'completed';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfbd",
3
- "version": "5.0.20-alpha.0",
3
+ "version": "5.0.21-alpha.0",
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",
@@ -3860,16 +3860,26 @@ export const CalendarWeekSchema = {
3860
3860
  seasonType: {
3861
3861
  '$ref': '#/components/schemas/SeasonType'
3862
3862
  },
3863
- firstGameStart: {
3863
+ startDate: {
3864
3864
  type: 'string',
3865
3865
  format: 'date-time'
3866
3866
  },
3867
- lastGameStart: {
3867
+ endDate: {
3868
3868
  type: 'string',
3869
3869
  format: 'date-time'
3870
+ },
3871
+ firstGameStart: {
3872
+ type: 'string',
3873
+ format: 'date-time',
3874
+ deprecated: true
3875
+ },
3876
+ lastGameStart: {
3877
+ type: 'string',
3878
+ format: 'date-time',
3879
+ deprecated: true
3870
3880
  }
3871
3881
  },
3872
- required: ['season', 'week', 'seasonType', 'firstGameStart', 'lastGameStart'],
3882
+ required: ['season', 'week', 'seasonType', 'startDate', 'endDate', 'firstGameStart', 'lastGameStart'],
3873
3883
  type: 'object',
3874
3884
  additionalProperties: false
3875
3885
  } as const;
package/src/types.gen.ts CHANGED
@@ -1043,7 +1043,15 @@ export type CalendarWeek = {
1043
1043
  season: number;
1044
1044
  week: number;
1045
1045
  seasonType: SeasonType;
1046
+ startDate: string;
1047
+ endDate: string;
1048
+ /**
1049
+ * @deprecated
1050
+ */
1046
1051
  firstGameStart: string;
1052
+ /**
1053
+ * @deprecated
1054
+ */
1047
1055
  lastGameStart: string;
1048
1056
  };
1049
1057
 
Binary file