rategame-shared 1.1.194 → 1.1.195

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.
@@ -4,7 +4,7 @@ import { timeFilterSchema } from "../schemas/sharedTypes";
4
4
  import { Achievement } from "../models/user";
5
5
  import { achievementId } from "../schemas/user";
6
6
  export declare const firestoreTimestampSchema: z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>;
7
- type LeagueSlug = "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "mls" | "cbb" | "cfb" | "epl";
7
+ type LeagueSlug = "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "mls" | "cbb" | "cfb" | "epl" | "wnba";
8
8
  export declare const urlPrefixMap: Record<LeagueSlug, string>;
9
9
  export type TimeFilter = z.infer<typeof timeFilterSchema>;
10
10
  export type MilestoneType = "streaks" | "ratings";
@@ -14,6 +14,7 @@ exports.urlPrefixMap = {
14
14
  mls: "leagues/mls/",
15
15
  cbb: "leagues/cbb/",
16
16
  cfb: "leagues/cfb/",
17
+ wnba: "leagues/wnba/",
17
18
  };
18
19
  exports.milestonesMap = {
19
20
  streaks: [
@@ -4059,6 +4059,7 @@ export declare const commonGameSchema: z.ZodObject<{
4059
4059
  allTeams: z.ZodOptional<z.ZodString>;
4060
4060
  allSchools: z.ZodOptional<z.ZodString>;
4061
4061
  allCities: z.ZodOptional<z.ZodString>;
4062
+ listCount: z.ZodOptional<z.ZodNumber>;
4062
4063
  }, "strip", z.ZodTypeAny, {
4063
4064
  status: "canceled" | "live" | "scheduled" | "final" | "postponed";
4064
4065
  league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
@@ -4236,6 +4237,7 @@ export declare const commonGameSchema: z.ZodObject<{
4236
4237
  allTeams?: string | undefined;
4237
4238
  allSchools?: string | undefined;
4238
4239
  allCities?: string | undefined;
4240
+ listCount?: number | undefined;
4239
4241
  }, {
4240
4242
  status: "canceled" | "live" | "scheduled" | "final" | "postponed";
4241
4243
  league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
@@ -4413,6 +4415,7 @@ export declare const commonGameSchema: z.ZodObject<{
4413
4415
  allTeams?: string | undefined;
4414
4416
  allSchools?: string | undefined;
4415
4417
  allCities?: string | undefined;
4418
+ listCount?: number | undefined;
4416
4419
  }>;
4417
4420
  export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
4418
4421
  id: z.ZodOptional<z.ZodString>;
@@ -6270,6 +6273,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
6270
6273
  allTeams: z.ZodOptional<z.ZodString>;
6271
6274
  allSchools: z.ZodOptional<z.ZodString>;
6272
6275
  allCities: z.ZodOptional<z.ZodString>;
6276
+ listCount: z.ZodOptional<z.ZodNumber>;
6273
6277
  }, {
6274
6278
  round: z.ZodNumber;
6275
6279
  timeRemainingMinutes: z.ZodNumber;
@@ -6480,6 +6484,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
6480
6484
  allTeams?: string | undefined;
6481
6485
  allSchools?: string | undefined;
6482
6486
  allCities?: string | undefined;
6487
+ listCount?: number | undefined;
6483
6488
  totalMinutesRemaining?: number | undefined;
6484
6489
  period?: string | undefined;
6485
6490
  }, {
@@ -6670,6 +6675,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
6670
6675
  allTeams?: string | undefined;
6671
6676
  allSchools?: string | undefined;
6672
6677
  allCities?: string | undefined;
6678
+ listCount?: number | undefined;
6673
6679
  totalMinutesRemaining?: number | undefined;
6674
6680
  period?: string | undefined;
6675
6681
  }>;
@@ -8542,6 +8548,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
8542
8548
  allTeams: z.ZodOptional<z.ZodString>;
8543
8549
  allSchools: z.ZodOptional<z.ZodString>;
8544
8550
  allCities: z.ZodOptional<z.ZodString>;
8551
+ listCount: z.ZodOptional<z.ZodNumber>;
8545
8552
  }, {
8546
8553
  totalInningsRemaining: z.ZodNumber;
8547
8554
  innings: z.ZodArray<z.ZodObject<{
@@ -8762,6 +8769,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
8762
8769
  allTeams?: string | undefined;
8763
8770
  allSchools?: string | undefined;
8764
8771
  allCities?: string | undefined;
8772
+ listCount?: number | undefined;
8765
8773
  inningHalf?: "T" | "B" | undefined;
8766
8774
  savingPitcher?: string | undefined;
8767
8775
  outs?: number | undefined;
@@ -8959,6 +8967,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
8959
8967
  allTeams?: string | undefined;
8960
8968
  allSchools?: string | undefined;
8961
8969
  allCities?: string | undefined;
8970
+ listCount?: number | undefined;
8962
8971
  inningHalf?: "T" | "B" | undefined;
8963
8972
  savingPitcher?: string | undefined;
8964
8973
  outs?: number | undefined;
@@ -10822,6 +10831,7 @@ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
10822
10831
  allTeams: z.ZodOptional<z.ZodString>;
10823
10832
  allSchools: z.ZodOptional<z.ZodString>;
10824
10833
  allCities: z.ZodOptional<z.ZodString>;
10834
+ listCount: z.ZodOptional<z.ZodNumber>;
10825
10835
  }, {
10826
10836
  league: z.ZodUnion<[z.ZodLiteral<"epl">, z.ZodLiteral<"mls">]>;
10827
10837
  week: z.ZodNumber;
@@ -11135,6 +11145,7 @@ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
11135
11145
  allTeams?: string | undefined;
11136
11146
  allSchools?: string | undefined;
11137
11147
  allCities?: string | undefined;
11148
+ listCount?: number | undefined;
11138
11149
  }, {
11139
11150
  status: "canceled" | "live" | "scheduled" | "final" | "postponed";
11140
11151
  week: number;
@@ -11327,6 +11338,7 @@ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
11327
11338
  allTeams?: string | undefined;
11328
11339
  allSchools?: string | undefined;
11329
11340
  allCities?: string | undefined;
11341
+ listCount?: number | undefined;
11330
11342
  }>;
11331
11343
  export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
11332
11344
  id: z.ZodOptional<z.ZodString>;
@@ -13184,6 +13196,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
13184
13196
  allTeams: z.ZodOptional<z.ZodString>;
13185
13197
  allSchools: z.ZodOptional<z.ZodString>;
13186
13198
  allCities: z.ZodOptional<z.ZodString>;
13199
+ listCount: z.ZodOptional<z.ZodNumber>;
13187
13200
  }, {
13188
13201
  possession: z.ZodNullable<z.ZodString>;
13189
13202
  down: z.ZodNullable<z.ZodNumber>;
@@ -13441,6 +13454,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
13441
13454
  allTeams?: string | undefined;
13442
13455
  allSchools?: string | undefined;
13443
13456
  allCities?: string | undefined;
13457
+ listCount?: number | undefined;
13444
13458
  stadium?: {
13445
13459
  StadiumID: number;
13446
13460
  Name: string;
@@ -13651,6 +13665,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
13651
13665
  allTeams?: string | undefined;
13652
13666
  allSchools?: string | undefined;
13653
13667
  allCities?: string | undefined;
13668
+ listCount?: number | undefined;
13654
13669
  stadium?: {
13655
13670
  StadiumID: number;
13656
13671
  Name: string;
@@ -15520,6 +15535,7 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
15520
15535
  allTeams: z.ZodOptional<z.ZodString>;
15521
15536
  allSchools: z.ZodOptional<z.ZodString>;
15522
15537
  allCities: z.ZodOptional<z.ZodString>;
15538
+ listCount: z.ZodOptional<z.ZodNumber>;
15523
15539
  }, {
15524
15540
  possession: z.ZodNullable<z.ZodString>;
15525
15541
  down: z.ZodNullable<z.ZodNumber>;
@@ -15768,6 +15784,7 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
15768
15784
  allTeams?: string | undefined;
15769
15785
  allSchools?: string | undefined;
15770
15786
  allCities?: string | undefined;
15787
+ listCount?: number | undefined;
15771
15788
  stadium?: {
15772
15789
  StadiumID: number;
15773
15790
  Name: string;
@@ -15971,6 +15988,7 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
15971
15988
  allTeams?: string | undefined;
15972
15989
  allSchools?: string | undefined;
15973
15990
  allCities?: string | undefined;
15991
+ listCount?: number | undefined;
15974
15992
  stadium?: {
15975
15993
  StadiumID: number;
15976
15994
  Name: string;
@@ -17838,6 +17856,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
17838
17856
  allTeams: z.ZodOptional<z.ZodString>;
17839
17857
  allSchools: z.ZodOptional<z.ZodString>;
17840
17858
  allCities: z.ZodOptional<z.ZodString>;
17859
+ listCount: z.ZodOptional<z.ZodNumber>;
17841
17860
  }, {
17842
17861
  seasonType: z.ZodNumber;
17843
17862
  season: z.ZodString;
@@ -18029,6 +18048,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
18029
18048
  allTeams?: string | undefined;
18030
18049
  allSchools?: string | undefined;
18031
18050
  allCities?: string | undefined;
18051
+ listCount?: number | undefined;
18032
18052
  }, {
18033
18053
  status: "canceled" | "live" | "scheduled" | "final" | "postponed";
18034
18054
  league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
@@ -18212,6 +18232,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
18212
18232
  allTeams?: string | undefined;
18213
18233
  allSchools?: string | undefined;
18214
18234
  allCities?: string | undefined;
18235
+ listCount?: number | undefined;
18215
18236
  }>;
18216
18237
  export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
18217
18238
  id: z.ZodOptional<z.ZodString>;
@@ -20069,6 +20090,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
20069
20090
  allTeams: z.ZodOptional<z.ZodString>;
20070
20091
  allSchools: z.ZodOptional<z.ZodString>;
20071
20092
  allCities: z.ZodOptional<z.ZodString>;
20093
+ listCount: z.ZodOptional<z.ZodNumber>;
20072
20094
  }, {
20073
20095
  round: z.ZodNumber;
20074
20096
  timeRemainingMinutes: z.ZodNumber;
@@ -20279,6 +20301,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
20279
20301
  allTeams?: string | undefined;
20280
20302
  allSchools?: string | undefined;
20281
20303
  allCities?: string | undefined;
20304
+ listCount?: number | undefined;
20282
20305
  totalMinutesRemaining?: number | undefined;
20283
20306
  period?: string | undefined;
20284
20307
  }, {
@@ -20469,6 +20492,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
20469
20492
  allTeams?: string | undefined;
20470
20493
  allSchools?: string | undefined;
20471
20494
  allCities?: string | undefined;
20495
+ listCount?: number | undefined;
20472
20496
  totalMinutesRemaining?: number | undefined;
20473
20497
  period?: string | undefined;
20474
20498
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -22327,6 +22351,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
22327
22351
  allTeams: z.ZodOptional<z.ZodString>;
22328
22352
  allSchools: z.ZodOptional<z.ZodString>;
22329
22353
  allCities: z.ZodOptional<z.ZodString>;
22354
+ listCount: z.ZodOptional<z.ZodNumber>;
22330
22355
  }, {
22331
22356
  totalInningsRemaining: z.ZodNumber;
22332
22357
  innings: z.ZodArray<z.ZodObject<{
@@ -22547,6 +22572,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
22547
22572
  allTeams?: string | undefined;
22548
22573
  allSchools?: string | undefined;
22549
22574
  allCities?: string | undefined;
22575
+ listCount?: number | undefined;
22550
22576
  inningHalf?: "T" | "B" | undefined;
22551
22577
  savingPitcher?: string | undefined;
22552
22578
  outs?: number | undefined;
@@ -22744,6 +22770,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
22744
22770
  allTeams?: string | undefined;
22745
22771
  allSchools?: string | undefined;
22746
22772
  allCities?: string | undefined;
22773
+ listCount?: number | undefined;
22747
22774
  inningHalf?: "T" | "B" | undefined;
22748
22775
  savingPitcher?: string | undefined;
22749
22776
  outs?: number | undefined;
@@ -24606,6 +24633,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
24606
24633
  allTeams: z.ZodOptional<z.ZodString>;
24607
24634
  allSchools: z.ZodOptional<z.ZodString>;
24608
24635
  allCities: z.ZodOptional<z.ZodString>;
24636
+ listCount: z.ZodOptional<z.ZodNumber>;
24609
24637
  }, {
24610
24638
  league: z.ZodUnion<[z.ZodLiteral<"epl">, z.ZodLiteral<"mls">]>;
24611
24639
  week: z.ZodNumber;
@@ -24919,6 +24947,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
24919
24947
  allTeams?: string | undefined;
24920
24948
  allSchools?: string | undefined;
24921
24949
  allCities?: string | undefined;
24950
+ listCount?: number | undefined;
24922
24951
  }, {
24923
24952
  status: "canceled" | "live" | "scheduled" | "final" | "postponed";
24924
24953
  week: number;
@@ -25111,6 +25140,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
25111
25140
  allTeams?: string | undefined;
25112
25141
  allSchools?: string | undefined;
25113
25142
  allCities?: string | undefined;
25143
+ listCount?: number | undefined;
25114
25144
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
25115
25145
  id: z.ZodOptional<z.ZodString>;
25116
25146
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">, z.ZodLiteral<"postponed">, z.ZodLiteral<"canceled">]>;
@@ -26967,6 +26997,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
26967
26997
  allTeams: z.ZodOptional<z.ZodString>;
26968
26998
  allSchools: z.ZodOptional<z.ZodString>;
26969
26999
  allCities: z.ZodOptional<z.ZodString>;
27000
+ listCount: z.ZodOptional<z.ZodNumber>;
26970
27001
  }, {
26971
27002
  possession: z.ZodNullable<z.ZodString>;
26972
27003
  down: z.ZodNullable<z.ZodNumber>;
@@ -27224,6 +27255,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
27224
27255
  allTeams?: string | undefined;
27225
27256
  allSchools?: string | undefined;
27226
27257
  allCities?: string | undefined;
27258
+ listCount?: number | undefined;
27227
27259
  stadium?: {
27228
27260
  StadiumID: number;
27229
27261
  Name: string;
@@ -27434,6 +27466,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
27434
27466
  allTeams?: string | undefined;
27435
27467
  allSchools?: string | undefined;
27436
27468
  allCities?: string | undefined;
27469
+ listCount?: number | undefined;
27437
27470
  stadium?: {
27438
27471
  StadiumID: number;
27439
27472
  Name: string;
@@ -29302,6 +29335,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
29302
29335
  allTeams: z.ZodOptional<z.ZodString>;
29303
29336
  allSchools: z.ZodOptional<z.ZodString>;
29304
29337
  allCities: z.ZodOptional<z.ZodString>;
29338
+ listCount: z.ZodOptional<z.ZodNumber>;
29305
29339
  }, {
29306
29340
  possession: z.ZodNullable<z.ZodString>;
29307
29341
  down: z.ZodNullable<z.ZodNumber>;
@@ -29550,6 +29584,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
29550
29584
  allTeams?: string | undefined;
29551
29585
  allSchools?: string | undefined;
29552
29586
  allCities?: string | undefined;
29587
+ listCount?: number | undefined;
29553
29588
  stadium?: {
29554
29589
  StadiumID: number;
29555
29590
  Name: string;
@@ -29753,6 +29788,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
29753
29788
  allTeams?: string | undefined;
29754
29789
  allSchools?: string | undefined;
29755
29790
  allCities?: string | undefined;
29791
+ listCount?: number | undefined;
29756
29792
  stadium?: {
29757
29793
  StadiumID: number;
29758
29794
  Name: string;
@@ -31619,6 +31655,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
31619
31655
  allTeams: z.ZodOptional<z.ZodString>;
31620
31656
  allSchools: z.ZodOptional<z.ZodString>;
31621
31657
  allCities: z.ZodOptional<z.ZodString>;
31658
+ listCount: z.ZodOptional<z.ZodNumber>;
31622
31659
  }, {
31623
31660
  seasonType: z.ZodNumber;
31624
31661
  season: z.ZodString;
@@ -31810,6 +31847,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
31810
31847
  allTeams?: string | undefined;
31811
31848
  allSchools?: string | undefined;
31812
31849
  allCities?: string | undefined;
31850
+ listCount?: number | undefined;
31813
31851
  }, {
31814
31852
  status: "canceled" | "live" | "scheduled" | "final" | "postponed";
31815
31853
  league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
@@ -31993,6 +32031,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
31993
32031
  allTeams?: string | undefined;
31994
32032
  allSchools?: string | undefined;
31995
32033
  allCities?: string | undefined;
32034
+ listCount?: number | undefined;
31996
32035
  }>]>;
31997
32036
  export declare const searchGameSchema: z.ZodObject<{
31998
32037
  q: z.ZodOptional<z.ZodString>;
@@ -33894,6 +33933,7 @@ export declare const creatorPickSchema: z.ZodObject<{
33894
33933
  allTeams: z.ZodOptional<z.ZodString>;
33895
33934
  allSchools: z.ZodOptional<z.ZodString>;
33896
33935
  allCities: z.ZodOptional<z.ZodString>;
33936
+ listCount: z.ZodOptional<z.ZodNumber>;
33897
33937
  }, {
33898
33938
  round: z.ZodNumber;
33899
33939
  timeRemainingMinutes: z.ZodNumber;
@@ -34104,6 +34144,7 @@ export declare const creatorPickSchema: z.ZodObject<{
34104
34144
  allTeams?: string | undefined;
34105
34145
  allSchools?: string | undefined;
34106
34146
  allCities?: string | undefined;
34147
+ listCount?: number | undefined;
34107
34148
  totalMinutesRemaining?: number | undefined;
34108
34149
  period?: string | undefined;
34109
34150
  }, {
@@ -34294,6 +34335,7 @@ export declare const creatorPickSchema: z.ZodObject<{
34294
34335
  allTeams?: string | undefined;
34295
34336
  allSchools?: string | undefined;
34296
34337
  allCities?: string | undefined;
34338
+ listCount?: number | undefined;
34297
34339
  totalMinutesRemaining?: number | undefined;
34298
34340
  period?: string | undefined;
34299
34341
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -36152,6 +36194,7 @@ export declare const creatorPickSchema: z.ZodObject<{
36152
36194
  allTeams: z.ZodOptional<z.ZodString>;
36153
36195
  allSchools: z.ZodOptional<z.ZodString>;
36154
36196
  allCities: z.ZodOptional<z.ZodString>;
36197
+ listCount: z.ZodOptional<z.ZodNumber>;
36155
36198
  }, {
36156
36199
  totalInningsRemaining: z.ZodNumber;
36157
36200
  innings: z.ZodArray<z.ZodObject<{
@@ -36372,6 +36415,7 @@ export declare const creatorPickSchema: z.ZodObject<{
36372
36415
  allTeams?: string | undefined;
36373
36416
  allSchools?: string | undefined;
36374
36417
  allCities?: string | undefined;
36418
+ listCount?: number | undefined;
36375
36419
  inningHalf?: "T" | "B" | undefined;
36376
36420
  savingPitcher?: string | undefined;
36377
36421
  outs?: number | undefined;
@@ -36569,6 +36613,7 @@ export declare const creatorPickSchema: z.ZodObject<{
36569
36613
  allTeams?: string | undefined;
36570
36614
  allSchools?: string | undefined;
36571
36615
  allCities?: string | undefined;
36616
+ listCount?: number | undefined;
36572
36617
  inningHalf?: "T" | "B" | undefined;
36573
36618
  savingPitcher?: string | undefined;
36574
36619
  outs?: number | undefined;
@@ -38431,6 +38476,7 @@ export declare const creatorPickSchema: z.ZodObject<{
38431
38476
  allTeams: z.ZodOptional<z.ZodString>;
38432
38477
  allSchools: z.ZodOptional<z.ZodString>;
38433
38478
  allCities: z.ZodOptional<z.ZodString>;
38479
+ listCount: z.ZodOptional<z.ZodNumber>;
38434
38480
  }, {
38435
38481
  league: z.ZodUnion<[z.ZodLiteral<"epl">, z.ZodLiteral<"mls">]>;
38436
38482
  week: z.ZodNumber;
@@ -38744,6 +38790,7 @@ export declare const creatorPickSchema: z.ZodObject<{
38744
38790
  allTeams?: string | undefined;
38745
38791
  allSchools?: string | undefined;
38746
38792
  allCities?: string | undefined;
38793
+ listCount?: number | undefined;
38747
38794
  }, {
38748
38795
  status: "canceled" | "live" | "scheduled" | "final" | "postponed";
38749
38796
  week: number;
@@ -38936,6 +38983,7 @@ export declare const creatorPickSchema: z.ZodObject<{
38936
38983
  allTeams?: string | undefined;
38937
38984
  allSchools?: string | undefined;
38938
38985
  allCities?: string | undefined;
38986
+ listCount?: number | undefined;
38939
38987
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
38940
38988
  id: z.ZodOptional<z.ZodString>;
38941
38989
  status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">, z.ZodLiteral<"postponed">, z.ZodLiteral<"canceled">]>;
@@ -40792,6 +40840,7 @@ export declare const creatorPickSchema: z.ZodObject<{
40792
40840
  allTeams: z.ZodOptional<z.ZodString>;
40793
40841
  allSchools: z.ZodOptional<z.ZodString>;
40794
40842
  allCities: z.ZodOptional<z.ZodString>;
40843
+ listCount: z.ZodOptional<z.ZodNumber>;
40795
40844
  }, {
40796
40845
  possession: z.ZodNullable<z.ZodString>;
40797
40846
  down: z.ZodNullable<z.ZodNumber>;
@@ -41049,6 +41098,7 @@ export declare const creatorPickSchema: z.ZodObject<{
41049
41098
  allTeams?: string | undefined;
41050
41099
  allSchools?: string | undefined;
41051
41100
  allCities?: string | undefined;
41101
+ listCount?: number | undefined;
41052
41102
  stadium?: {
41053
41103
  StadiumID: number;
41054
41104
  Name: string;
@@ -41259,6 +41309,7 @@ export declare const creatorPickSchema: z.ZodObject<{
41259
41309
  allTeams?: string | undefined;
41260
41310
  allSchools?: string | undefined;
41261
41311
  allCities?: string | undefined;
41312
+ listCount?: number | undefined;
41262
41313
  stadium?: {
41263
41314
  StadiumID: number;
41264
41315
  Name: string;
@@ -43127,6 +43178,7 @@ export declare const creatorPickSchema: z.ZodObject<{
43127
43178
  allTeams: z.ZodOptional<z.ZodString>;
43128
43179
  allSchools: z.ZodOptional<z.ZodString>;
43129
43180
  allCities: z.ZodOptional<z.ZodString>;
43181
+ listCount: z.ZodOptional<z.ZodNumber>;
43130
43182
  }, {
43131
43183
  possession: z.ZodNullable<z.ZodString>;
43132
43184
  down: z.ZodNullable<z.ZodNumber>;
@@ -43375,6 +43427,7 @@ export declare const creatorPickSchema: z.ZodObject<{
43375
43427
  allTeams?: string | undefined;
43376
43428
  allSchools?: string | undefined;
43377
43429
  allCities?: string | undefined;
43430
+ listCount?: number | undefined;
43378
43431
  stadium?: {
43379
43432
  StadiumID: number;
43380
43433
  Name: string;
@@ -43578,6 +43631,7 @@ export declare const creatorPickSchema: z.ZodObject<{
43578
43631
  allTeams?: string | undefined;
43579
43632
  allSchools?: string | undefined;
43580
43633
  allCities?: string | undefined;
43634
+ listCount?: number | undefined;
43581
43635
  stadium?: {
43582
43636
  StadiumID: number;
43583
43637
  Name: string;
@@ -45444,6 +45498,7 @@ export declare const creatorPickSchema: z.ZodObject<{
45444
45498
  allTeams: z.ZodOptional<z.ZodString>;
45445
45499
  allSchools: z.ZodOptional<z.ZodString>;
45446
45500
  allCities: z.ZodOptional<z.ZodString>;
45501
+ listCount: z.ZodOptional<z.ZodNumber>;
45447
45502
  }, {
45448
45503
  seasonType: z.ZodNumber;
45449
45504
  season: z.ZodString;
@@ -45635,6 +45690,7 @@ export declare const creatorPickSchema: z.ZodObject<{
45635
45690
  allTeams?: string | undefined;
45636
45691
  allSchools?: string | undefined;
45637
45692
  allCities?: string | undefined;
45693
+ listCount?: number | undefined;
45638
45694
  }, {
45639
45695
  status: "canceled" | "live" | "scheduled" | "final" | "postponed";
45640
45696
  league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
@@ -45818,6 +45874,7 @@ export declare const creatorPickSchema: z.ZodObject<{
45818
45874
  allTeams?: string | undefined;
45819
45875
  allSchools?: string | undefined;
45820
45876
  allCities?: string | undefined;
45877
+ listCount?: number | undefined;
45821
45878
  }>]>;
45822
45879
  user: z.ZodObject<Pick<{
45823
45880
  id: z.ZodString;
@@ -46779,6 +46836,7 @@ export declare const creatorPickSchema: z.ZodObject<{
46779
46836
  allTeams?: string | undefined;
46780
46837
  allSchools?: string | undefined;
46781
46838
  allCities?: string | undefined;
46839
+ listCount?: number | undefined;
46782
46840
  totalMinutesRemaining?: number | undefined;
46783
46841
  period?: string | undefined;
46784
46842
  } | {
@@ -46972,6 +47030,7 @@ export declare const creatorPickSchema: z.ZodObject<{
46972
47030
  allTeams?: string | undefined;
46973
47031
  allSchools?: string | undefined;
46974
47032
  allCities?: string | undefined;
47033
+ listCount?: number | undefined;
46975
47034
  inningHalf?: "T" | "B" | undefined;
46976
47035
  savingPitcher?: string | undefined;
46977
47036
  outs?: number | undefined;
@@ -47170,6 +47229,7 @@ export declare const creatorPickSchema: z.ZodObject<{
47170
47229
  allTeams?: string | undefined;
47171
47230
  allSchools?: string | undefined;
47172
47231
  allCities?: string | undefined;
47232
+ listCount?: number | undefined;
47173
47233
  } | {
47174
47234
  status: "canceled" | "live" | "scheduled" | "final" | "postponed";
47175
47235
  quarter: string | null;
@@ -47368,6 +47428,7 @@ export declare const creatorPickSchema: z.ZodObject<{
47368
47428
  allTeams?: string | undefined;
47369
47429
  allSchools?: string | undefined;
47370
47430
  allCities?: string | undefined;
47431
+ listCount?: number | undefined;
47371
47432
  stadium?: {
47372
47433
  StadiumID: number;
47373
47434
  Name: string;
@@ -47573,6 +47634,7 @@ export declare const creatorPickSchema: z.ZodObject<{
47573
47634
  allTeams?: string | undefined;
47574
47635
  allSchools?: string | undefined;
47575
47636
  allCities?: string | undefined;
47637
+ listCount?: number | undefined;
47576
47638
  stadium?: {
47577
47639
  StadiumID: number;
47578
47640
  Name: string;
@@ -47766,6 +47828,7 @@ export declare const creatorPickSchema: z.ZodObject<{
47766
47828
  allTeams?: string | undefined;
47767
47829
  allSchools?: string | undefined;
47768
47830
  allCities?: string | undefined;
47831
+ listCount?: number | undefined;
47769
47832
  };
47770
47833
  createdAt?: number | undefined;
47771
47834
  comment?: string | undefined;
@@ -47965,6 +48028,7 @@ export declare const creatorPickSchema: z.ZodObject<{
47965
48028
  allTeams?: string | undefined;
47966
48029
  allSchools?: string | undefined;
47967
48030
  allCities?: string | undefined;
48031
+ listCount?: number | undefined;
47968
48032
  totalMinutesRemaining?: number | undefined;
47969
48033
  period?: string | undefined;
47970
48034
  } | {
@@ -48158,6 +48222,7 @@ export declare const creatorPickSchema: z.ZodObject<{
48158
48222
  allTeams?: string | undefined;
48159
48223
  allSchools?: string | undefined;
48160
48224
  allCities?: string | undefined;
48225
+ listCount?: number | undefined;
48161
48226
  inningHalf?: "T" | "B" | undefined;
48162
48227
  savingPitcher?: string | undefined;
48163
48228
  outs?: number | undefined;
@@ -48356,6 +48421,7 @@ export declare const creatorPickSchema: z.ZodObject<{
48356
48421
  allTeams?: string | undefined;
48357
48422
  allSchools?: string | undefined;
48358
48423
  allCities?: string | undefined;
48424
+ listCount?: number | undefined;
48359
48425
  } | {
48360
48426
  status: "canceled" | "live" | "scheduled" | "final" | "postponed";
48361
48427
  quarter: string | null;
@@ -48554,6 +48620,7 @@ export declare const creatorPickSchema: z.ZodObject<{
48554
48620
  allTeams?: string | undefined;
48555
48621
  allSchools?: string | undefined;
48556
48622
  allCities?: string | undefined;
48623
+ listCount?: number | undefined;
48557
48624
  stadium?: {
48558
48625
  StadiumID: number;
48559
48626
  Name: string;
@@ -48759,6 +48826,7 @@ export declare const creatorPickSchema: z.ZodObject<{
48759
48826
  allTeams?: string | undefined;
48760
48827
  allSchools?: string | undefined;
48761
48828
  allCities?: string | undefined;
48829
+ listCount?: number | undefined;
48762
48830
  stadium?: {
48763
48831
  StadiumID: number;
48764
48832
  Name: string;
@@ -48952,6 +49020,7 @@ export declare const creatorPickSchema: z.ZodObject<{
48952
49020
  allTeams?: string | undefined;
48953
49021
  allSchools?: string | undefined;
48954
49022
  allCities?: string | undefined;
49023
+ listCount?: number | undefined;
48955
49024
  };
48956
49025
  createdAt?: number | undefined;
48957
49026
  comment?: string | undefined;
@@ -140,6 +140,7 @@ exports.commonGameSchema = zod_1.z.object({
140
140
  allTeams: zod_1.z.string().optional(),
141
141
  allSchools: zod_1.z.string().optional(),
142
142
  allCities: zod_1.z.string().optional(),
143
+ listCount: zod_1.z.number().optional(),
143
144
  });
144
145
  exports.basketballGameSchema = exports.commonGameSchema.extend({
145
146
  round: zod_1.z.number(),
@@ -256,6 +256,7 @@ export declare const internalNotification: z.ZodObject<{
256
256
  weightedRating: z.ZodOptional<z.ZodNumber>;
257
257
  weight: z.ZodOptional<z.ZodNumber>;
258
258
  fanCategory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"winningTeam">, z.ZodLiteral<"losingTeam">, z.ZodLiteral<"neutral">, z.ZodLiteral<"homeTeam">, z.ZodLiteral<"awayTeam">]>>;
259
+ listCount: z.ZodOptional<z.ZodNumber>;
259
260
  }, "strip", z.ZodTypeAny, {
260
261
  id: string;
261
262
  user: {
@@ -314,6 +315,7 @@ export declare const internalNotification: z.ZodObject<{
314
315
  };
315
316
  weightedRating?: number | undefined;
316
317
  comment?: string | undefined;
318
+ listCount?: number | undefined;
317
319
  userLikes?: number | undefined;
318
320
  isInitialWindowRating?: boolean | undefined;
319
321
  weight?: number | undefined;
@@ -376,6 +378,7 @@ export declare const internalNotification: z.ZodObject<{
376
378
  };
377
379
  weightedRating?: number | undefined;
378
380
  comment?: string | undefined;
381
+ listCount?: number | undefined;
379
382
  userLikes?: number | undefined;
380
383
  isInitialWindowRating?: boolean | undefined;
381
384
  weight?: number | undefined;
@@ -455,6 +458,7 @@ export declare const internalNotification: z.ZodObject<{
455
458
  };
456
459
  weightedRating?: number | undefined;
457
460
  comment?: string | undefined;
461
+ listCount?: number | undefined;
458
462
  userLikes?: number | undefined;
459
463
  isInitialWindowRating?: boolean | undefined;
460
464
  weight?: number | undefined;
@@ -535,6 +539,7 @@ export declare const internalNotification: z.ZodObject<{
535
539
  };
536
540
  weightedRating?: number | undefined;
537
541
  comment?: string | undefined;
542
+ listCount?: number | undefined;
538
543
  userLikes?: number | undefined;
539
544
  isInitialWindowRating?: boolean | undefined;
540
545
  weight?: number | undefined;
@@ -226,6 +226,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
226
226
  weightedRating: import("zod").ZodOptional<import("zod").ZodNumber>;
227
227
  weight: import("zod").ZodOptional<import("zod").ZodNumber>;
228
228
  fanCategory: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"winningTeam">, import("zod").ZodLiteral<"losingTeam">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"homeTeam">, import("zod").ZodLiteral<"awayTeam">]>>;
229
+ listCount: import("zod").ZodOptional<import("zod").ZodNumber>;
229
230
  }, "strip", import("zod").ZodTypeAny, {
230
231
  id: string;
231
232
  user: {
@@ -284,6 +285,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
284
285
  };
285
286
  weightedRating?: number | undefined;
286
287
  comment?: string | undefined;
288
+ listCount?: number | undefined;
287
289
  userLikes?: number | undefined;
288
290
  isInitialWindowRating?: boolean | undefined;
289
291
  weight?: number | undefined;
@@ -346,6 +348,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
346
348
  };
347
349
  weightedRating?: number | undefined;
348
350
  comment?: string | undefined;
351
+ listCount?: number | undefined;
349
352
  userLikes?: number | undefined;
350
353
  isInitialWindowRating?: boolean | undefined;
351
354
  weight?: number | undefined;
@@ -700,6 +703,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
700
703
  weightedRating: import("zod").ZodOptional<import("zod").ZodNumber>;
701
704
  weight: import("zod").ZodOptional<import("zod").ZodNumber>;
702
705
  fanCategory: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"winningTeam">, import("zod").ZodLiteral<"losingTeam">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"homeTeam">, import("zod").ZodLiteral<"awayTeam">]>>;
706
+ listCount: import("zod").ZodOptional<import("zod").ZodNumber>;
703
707
  }, "id" | "user" | "createdAt">, {
704
708
  game: import("zod").ZodObject<Omit<{
705
709
  id: import("zod").ZodString;
@@ -852,6 +856,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
852
856
  id?: string | undefined;
853
857
  weightedRating?: number | undefined;
854
858
  comment?: string | undefined;
859
+ listCount?: number | undefined;
855
860
  userLikes?: number | undefined;
856
861
  isInitialWindowRating?: boolean | undefined;
857
862
  weight?: number | undefined;
@@ -873,6 +878,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
873
878
  id?: string | undefined;
874
879
  weightedRating?: number | undefined;
875
880
  comment?: string | undefined;
881
+ listCount?: number | undefined;
876
882
  userLikes?: number | undefined;
877
883
  isInitialWindowRating?: boolean | undefined;
878
884
  weight?: number | undefined;
@@ -40,6 +40,7 @@ exports.ratingSchema = (0, zod_1.object)({
40
40
  (0, zod_1.literal)("homeTeam"),
41
41
  (0, zod_1.literal)("awayTeam"),
42
42
  ]).optional(),
43
+ listCount: (0, zod_1.number)().optional(),
43
44
  });
44
45
  exports.searchRatingSchema = (0, zod_1.object)({
45
46
  q: (0, zod_1.string)().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.194",
3
+ "version": "1.1.195",
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",