rategame-shared 1.1.77 → 1.1.79

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.
@@ -1010,6 +1010,7 @@ export declare const commonGameSchema: z.ZodObject<{
1010
1010
  };
1011
1011
  } | undefined;
1012
1012
  }>>;
1013
+ seasonType: z.ZodNumber;
1013
1014
  }, "strip", z.ZodTypeAny, {
1014
1015
  status: "live" | "scheduled" | "final";
1015
1016
  startedAt: number;
@@ -1040,6 +1041,7 @@ export declare const commonGameSchema: z.ZodObject<{
1040
1041
  scoreExtraTime?: number | undefined;
1041
1042
  stadiumUrl?: string | undefined;
1042
1043
  };
1044
+ seasonType: number;
1043
1045
  id?: string | undefined;
1044
1046
  isClosed?: boolean | undefined;
1045
1047
  ratingWindowClosedAt?: number | undefined;
@@ -1117,6 +1119,7 @@ export declare const commonGameSchema: z.ZodObject<{
1117
1119
  scoreExtraTime?: number | undefined;
1118
1120
  stadiumUrl?: string | undefined;
1119
1121
  };
1122
+ seasonType: number;
1120
1123
  id?: string | undefined;
1121
1124
  isClosed?: boolean | undefined;
1122
1125
  ratingWindowClosedAt?: number | undefined;
@@ -1480,6 +1483,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
1480
1483
  };
1481
1484
  } | undefined;
1482
1485
  }>>;
1486
+ seasonType: z.ZodNumber;
1483
1487
  }, {
1484
1488
  round: z.ZodNumber;
1485
1489
  timeRemainingMinutes: z.ZodNumber;
@@ -1539,6 +1543,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
1539
1543
  }[];
1540
1544
  periodType: "quarter" | "half";
1541
1545
  periodDuration: number;
1546
+ seasonType: number;
1542
1547
  id?: string | undefined;
1543
1548
  isClosed?: boolean | undefined;
1544
1549
  ratingWindowClosedAt?: number | undefined;
@@ -1626,6 +1631,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
1626
1631
  }[];
1627
1632
  periodType: "quarter" | "half";
1628
1633
  periodDuration: number;
1634
+ seasonType: number;
1629
1635
  id?: string | undefined;
1630
1636
  isClosed?: boolean | undefined;
1631
1637
  ratingWindowClosedAt?: number | undefined;
@@ -2002,6 +2008,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
2002
2008
  };
2003
2009
  } | undefined;
2004
2010
  }>>;
2011
+ seasonType: z.ZodNumber;
2005
2012
  }, {
2006
2013
  totalInningsRemaining: z.ZodNumber;
2007
2014
  innings: z.ZodArray<z.ZodObject<{
@@ -2061,6 +2068,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
2061
2068
  scoreExtraTime?: number | undefined;
2062
2069
  stadiumUrl?: string | undefined;
2063
2070
  };
2071
+ seasonType: number;
2064
2072
  totalInningsRemaining: number;
2065
2073
  innings: {
2066
2074
  awayScore: number;
@@ -2158,6 +2166,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
2158
2166
  scoreExtraTime?: number | undefined;
2159
2167
  stadiumUrl?: string | undefined;
2160
2168
  };
2169
+ seasonType: number;
2161
2170
  totalInningsRemaining: number;
2162
2171
  innings: {
2163
2172
  awayScore: number;
@@ -2541,6 +2550,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
2541
2550
  };
2542
2551
  } | undefined;
2543
2552
  }>>;
2553
+ seasonType: z.ZodNumber;
2544
2554
  }, {
2545
2555
  league: z.ZodLiteral<"epl">;
2546
2556
  week: z.ZodNumber;
@@ -2687,6 +2697,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
2687
2697
  stadiumUrl?: string | undefined;
2688
2698
  venueName?: string | undefined;
2689
2699
  };
2700
+ seasonType: number;
2690
2701
  period: string;
2691
2702
  clock: string;
2692
2703
  clockExtra: string;
@@ -2781,6 +2792,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
2781
2792
  stadiumUrl?: string | undefined;
2782
2793
  venueName?: string | undefined;
2783
2794
  };
2795
+ seasonType: number;
2784
2796
  period: string;
2785
2797
  clock: string;
2786
2798
  clockExtra: string;
@@ -3152,6 +3164,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
3152
3164
  };
3153
3165
  } | undefined;
3154
3166
  }>>;
3167
+ seasonType: z.ZodNumber;
3155
3168
  }, {
3156
3169
  possession: z.ZodNullable<z.ZodString>;
3157
3170
  down: z.ZodNullable<z.ZodNumber>;
@@ -3242,11 +3255,11 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
3242
3255
  scoreExtraTime?: number | undefined;
3243
3256
  stadiumUrl?: string | undefined;
3244
3257
  };
3258
+ seasonType: number;
3245
3259
  possession: string | null;
3246
3260
  down: number | null;
3247
3261
  distance: string | null;
3248
3262
  yardLine: number | null;
3249
- seasonType: number;
3250
3263
  season: number;
3251
3264
  yardLineTerritory: string | null;
3252
3265
  timeRemaining: string | null;
@@ -3353,11 +3366,11 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
3353
3366
  scoreExtraTime?: number | undefined;
3354
3367
  stadiumUrl?: string | undefined;
3355
3368
  };
3369
+ seasonType: number;
3356
3370
  possession: string | null;
3357
3371
  down: number | null;
3358
3372
  distance: string | null;
3359
3373
  yardLine: number | null;
3360
- seasonType: number;
3361
3374
  season: number;
3362
3375
  yardLineTerritory: string | null;
3363
3376
  timeRemaining: string | null;
@@ -3749,6 +3762,7 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
3749
3762
  };
3750
3763
  } | undefined;
3751
3764
  }>>;
3765
+ seasonType: z.ZodNumber;
3752
3766
  }, {
3753
3767
  possession: z.ZodNullable<z.ZodString>;
3754
3768
  down: z.ZodNullable<z.ZodNumber>;
@@ -3842,12 +3856,12 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
3842
3856
  homeScore: number;
3843
3857
  periodName: string;
3844
3858
  }[];
3859
+ seasonType: number;
3845
3860
  attendance: number;
3846
3861
  possession: string | null;
3847
3862
  down: number | null;
3848
3863
  distance: string | null;
3849
3864
  yardLine: number | null;
3850
- seasonType: number;
3851
3865
  season: number;
3852
3866
  yardLineTerritory: string | null;
3853
3867
  id?: string | undefined;
@@ -3946,12 +3960,12 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
3946
3960
  homeScore: number;
3947
3961
  periodName: string;
3948
3962
  }[];
3963
+ seasonType: number;
3949
3964
  attendance: number;
3950
3965
  possession: string | null;
3951
3966
  down: number | null;
3952
3967
  distance: string | null;
3953
3968
  yardLine: number | null;
3954
- seasonType: number;
3955
3969
  season: number;
3956
3970
  yardLineTerritory: string | null;
3957
3971
  id?: string | undefined;
@@ -4328,6 +4342,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
4328
4342
  };
4329
4343
  } | undefined;
4330
4344
  }>>;
4345
+ seasonType: z.ZodNumber;
4331
4346
  }, {
4332
4347
  seasonType: z.ZodNumber;
4333
4348
  season: z.ZodString;
@@ -4335,6 +4350,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
4335
4350
  timeRemainingMinutes: z.ZodNumber;
4336
4351
  timeRemainingSeconds: z.ZodNumber;
4337
4352
  periods: z.ZodArray<z.ZodAny, "many">;
4353
+ hadShootout: z.ZodBoolean;
4338
4354
  }>, "strip", z.ZodTypeAny, {
4339
4355
  status: "live" | "scheduled" | "final";
4340
4356
  startedAt: number;
@@ -4368,9 +4384,10 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
4368
4384
  timeRemainingMinutes: number;
4369
4385
  timeRemainingSeconds: number;
4370
4386
  periods: any[];
4371
- period: string;
4372
4387
  seasonType: number;
4388
+ period: string;
4373
4389
  season: string;
4390
+ hadShootout: boolean;
4374
4391
  id?: string | undefined;
4375
4392
  isClosed?: boolean | undefined;
4376
4393
  ratingWindowClosedAt?: number | undefined;
@@ -4451,9 +4468,10 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
4451
4468
  timeRemainingMinutes: number;
4452
4469
  timeRemainingSeconds: number;
4453
4470
  periods: any[];
4454
- period: string;
4455
4471
  seasonType: number;
4472
+ period: string;
4456
4473
  season: string;
4474
+ hadShootout: boolean;
4457
4475
  id?: string | undefined;
4458
4476
  isClosed?: boolean | undefined;
4459
4477
  ratingWindowClosedAt?: number | undefined;
@@ -4817,6 +4835,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
4817
4835
  };
4818
4836
  } | undefined;
4819
4837
  }>>;
4838
+ seasonType: z.ZodNumber;
4820
4839
  }, {
4821
4840
  round: z.ZodNumber;
4822
4841
  timeRemainingMinutes: z.ZodNumber;
@@ -4876,6 +4895,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
4876
4895
  }[];
4877
4896
  periodType: "quarter" | "half";
4878
4897
  periodDuration: number;
4898
+ seasonType: number;
4879
4899
  id?: string | undefined;
4880
4900
  isClosed?: boolean | undefined;
4881
4901
  ratingWindowClosedAt?: number | undefined;
@@ -4963,6 +4983,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
4963
4983
  }[];
4964
4984
  periodType: "quarter" | "half";
4965
4985
  periodDuration: number;
4986
+ seasonType: number;
4966
4987
  id?: string | undefined;
4967
4988
  isClosed?: boolean | undefined;
4968
4989
  ratingWindowClosedAt?: number | undefined;
@@ -5325,6 +5346,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
5325
5346
  };
5326
5347
  } | undefined;
5327
5348
  }>>;
5349
+ seasonType: z.ZodNumber;
5328
5350
  }, {
5329
5351
  totalInningsRemaining: z.ZodNumber;
5330
5352
  innings: z.ZodArray<z.ZodObject<{
@@ -5384,6 +5406,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
5384
5406
  scoreExtraTime?: number | undefined;
5385
5407
  stadiumUrl?: string | undefined;
5386
5408
  };
5409
+ seasonType: number;
5387
5410
  totalInningsRemaining: number;
5388
5411
  innings: {
5389
5412
  awayScore: number;
@@ -5481,6 +5504,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
5481
5504
  scoreExtraTime?: number | undefined;
5482
5505
  stadiumUrl?: string | undefined;
5483
5506
  };
5507
+ seasonType: number;
5484
5508
  totalInningsRemaining: number;
5485
5509
  innings: {
5486
5510
  awayScore: number;
@@ -5863,6 +5887,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
5863
5887
  };
5864
5888
  } | undefined;
5865
5889
  }>>;
5890
+ seasonType: z.ZodNumber;
5866
5891
  }, {
5867
5892
  league: z.ZodLiteral<"epl">;
5868
5893
  week: z.ZodNumber;
@@ -6009,6 +6034,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
6009
6034
  stadiumUrl?: string | undefined;
6010
6035
  venueName?: string | undefined;
6011
6036
  };
6037
+ seasonType: number;
6012
6038
  period: string;
6013
6039
  clock: string;
6014
6040
  clockExtra: string;
@@ -6103,6 +6129,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
6103
6129
  stadiumUrl?: string | undefined;
6104
6130
  venueName?: string | undefined;
6105
6131
  };
6132
+ seasonType: number;
6106
6133
  period: string;
6107
6134
  clock: string;
6108
6135
  clockExtra: string;
@@ -6473,6 +6500,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
6473
6500
  };
6474
6501
  } | undefined;
6475
6502
  }>>;
6503
+ seasonType: z.ZodNumber;
6476
6504
  }, {
6477
6505
  possession: z.ZodNullable<z.ZodString>;
6478
6506
  down: z.ZodNullable<z.ZodNumber>;
@@ -6563,11 +6591,11 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
6563
6591
  scoreExtraTime?: number | undefined;
6564
6592
  stadiumUrl?: string | undefined;
6565
6593
  };
6594
+ seasonType: number;
6566
6595
  possession: string | null;
6567
6596
  down: number | null;
6568
6597
  distance: string | null;
6569
6598
  yardLine: number | null;
6570
- seasonType: number;
6571
6599
  season: number;
6572
6600
  yardLineTerritory: string | null;
6573
6601
  timeRemaining: string | null;
@@ -6674,11 +6702,11 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
6674
6702
  scoreExtraTime?: number | undefined;
6675
6703
  stadiumUrl?: string | undefined;
6676
6704
  };
6705
+ seasonType: number;
6677
6706
  possession: string | null;
6678
6707
  down: number | null;
6679
6708
  distance: string | null;
6680
6709
  yardLine: number | null;
6681
- seasonType: number;
6682
6710
  season: number;
6683
6711
  yardLineTerritory: string | null;
6684
6712
  timeRemaining: string | null;
@@ -7069,6 +7097,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
7069
7097
  };
7070
7098
  } | undefined;
7071
7099
  }>>;
7100
+ seasonType: z.ZodNumber;
7072
7101
  }, {
7073
7102
  possession: z.ZodNullable<z.ZodString>;
7074
7103
  down: z.ZodNullable<z.ZodNumber>;
@@ -7162,12 +7191,12 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
7162
7191
  homeScore: number;
7163
7192
  periodName: string;
7164
7193
  }[];
7194
+ seasonType: number;
7165
7195
  attendance: number;
7166
7196
  possession: string | null;
7167
7197
  down: number | null;
7168
7198
  distance: string | null;
7169
7199
  yardLine: number | null;
7170
- seasonType: number;
7171
7200
  season: number;
7172
7201
  yardLineTerritory: string | null;
7173
7202
  id?: string | undefined;
@@ -7266,12 +7295,12 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
7266
7295
  homeScore: number;
7267
7296
  periodName: string;
7268
7297
  }[];
7298
+ seasonType: number;
7269
7299
  attendance: number;
7270
7300
  possession: string | null;
7271
7301
  down: number | null;
7272
7302
  distance: string | null;
7273
7303
  yardLine: number | null;
7274
- seasonType: number;
7275
7304
  season: number;
7276
7305
  yardLineTerritory: string | null;
7277
7306
  id?: string | undefined;
@@ -7647,6 +7676,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
7647
7676
  };
7648
7677
  } | undefined;
7649
7678
  }>>;
7679
+ seasonType: z.ZodNumber;
7650
7680
  }, {
7651
7681
  seasonType: z.ZodNumber;
7652
7682
  season: z.ZodString;
@@ -7654,6 +7684,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
7654
7684
  timeRemainingMinutes: z.ZodNumber;
7655
7685
  timeRemainingSeconds: z.ZodNumber;
7656
7686
  periods: z.ZodArray<z.ZodAny, "many">;
7687
+ hadShootout: z.ZodBoolean;
7657
7688
  }>, "strip", z.ZodTypeAny, {
7658
7689
  status: "live" | "scheduled" | "final";
7659
7690
  startedAt: number;
@@ -7687,9 +7718,10 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
7687
7718
  timeRemainingMinutes: number;
7688
7719
  timeRemainingSeconds: number;
7689
7720
  periods: any[];
7690
- period: string;
7691
7721
  seasonType: number;
7722
+ period: string;
7692
7723
  season: string;
7724
+ hadShootout: boolean;
7693
7725
  id?: string | undefined;
7694
7726
  isClosed?: boolean | undefined;
7695
7727
  ratingWindowClosedAt?: number | undefined;
@@ -7770,9 +7802,10 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
7770
7802
  timeRemainingMinutes: number;
7771
7803
  timeRemainingSeconds: number;
7772
7804
  periods: any[];
7773
- period: string;
7774
7805
  seasonType: number;
7806
+ period: string;
7775
7807
  season: string;
7808
+ hadShootout: boolean;
7776
7809
  id?: string | undefined;
7777
7810
  isClosed?: boolean | undefined;
7778
7811
  ratingWindowClosedAt?: number | undefined;
@@ -119,6 +119,7 @@ exports.commonGameSchema = zod_1.z.object({
119
119
  weightedRating: exports.weightedRatingAggregateSchema.optional(),
120
120
  })
121
121
  .optional(),
122
+ seasonType: zod_1.z.number(),
122
123
  });
123
124
  exports.basketballGameSchema = exports.commonGameSchema.extend({
124
125
  round: zod_1.z.number(),
@@ -248,7 +249,8 @@ exports.nhlGameSchema = exports.commonGameSchema.extend({
248
249
  period: zod_1.z.string(),
249
250
  timeRemainingMinutes: zod_1.z.number(),
250
251
  timeRemainingSeconds: zod_1.z.number(),
251
- periods: zod_1.z.array(zod_1.z.any()), // Replace z.any() with the actual schema for a period if you have one
252
+ periods: zod_1.z.array(zod_1.z.any()),
253
+ hadShootout: zod_1.z.boolean(),
252
254
  });
253
255
  exports.unionGameSchema = zod_1.z.union([
254
256
  exports.basketballGameSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.77",
3
+ "version": "1.1.79",
4
4
  "description": "This package contains shared resources for the Rate Game project.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",