rategame-shared 1.1.178 → 1.1.179
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/dist/schemas/game.d.ts +69 -0
- package/dist/schemas/game.js +1 -0
- package/package.json +1 -1
package/dist/schemas/game.d.ts
CHANGED
|
@@ -4019,6 +4019,7 @@ export declare const commonGameSchema: z.ZodObject<{
|
|
|
4019
4019
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
4020
4020
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
4021
4021
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
4022
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
4022
4023
|
}, "strip", z.ZodTypeAny, {
|
|
4023
4024
|
status: "canceled" | "live" | "scheduled" | "final" | "postponed";
|
|
4024
4025
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
|
|
@@ -4191,6 +4192,7 @@ export declare const commonGameSchema: z.ZodObject<{
|
|
|
4191
4192
|
lastPlay?: string | undefined;
|
|
4192
4193
|
allTeams?: string | undefined;
|
|
4193
4194
|
allSchools?: string | undefined;
|
|
4195
|
+
allCities?: string | undefined;
|
|
4194
4196
|
}, {
|
|
4195
4197
|
status: "canceled" | "live" | "scheduled" | "final" | "postponed";
|
|
4196
4198
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
|
|
@@ -4363,6 +4365,7 @@ export declare const commonGameSchema: z.ZodObject<{
|
|
|
4363
4365
|
lastPlay?: string | undefined;
|
|
4364
4366
|
allTeams?: string | undefined;
|
|
4365
4367
|
allSchools?: string | undefined;
|
|
4368
|
+
allCities?: string | undefined;
|
|
4366
4369
|
}>;
|
|
4367
4370
|
export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
4368
4371
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -6206,6 +6209,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6206
6209
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
6207
6210
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
6208
6211
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
6212
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
6209
6213
|
}, {
|
|
6210
6214
|
round: z.ZodNumber;
|
|
6211
6215
|
timeRemainingMinutes: z.ZodNumber;
|
|
@@ -6411,6 +6415,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6411
6415
|
lastPlay?: string | undefined;
|
|
6412
6416
|
allTeams?: string | undefined;
|
|
6413
6417
|
allSchools?: string | undefined;
|
|
6418
|
+
allCities?: string | undefined;
|
|
6414
6419
|
totalMinutesRemaining?: number | undefined;
|
|
6415
6420
|
period?: string | undefined;
|
|
6416
6421
|
}, {
|
|
@@ -6596,6 +6601,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
6596
6601
|
lastPlay?: string | undefined;
|
|
6597
6602
|
allTeams?: string | undefined;
|
|
6598
6603
|
allSchools?: string | undefined;
|
|
6604
|
+
allCities?: string | undefined;
|
|
6599
6605
|
totalMinutesRemaining?: number | undefined;
|
|
6600
6606
|
period?: string | undefined;
|
|
6601
6607
|
}>;
|
|
@@ -8454,6 +8460,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8454
8460
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
8455
8461
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
8456
8462
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
8463
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
8457
8464
|
}, {
|
|
8458
8465
|
totalInningsRemaining: z.ZodNumber;
|
|
8459
8466
|
innings: z.ZodArray<z.ZodObject<{
|
|
@@ -8669,6 +8676,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8669
8676
|
lastPlay?: string | undefined;
|
|
8670
8677
|
allTeams?: string | undefined;
|
|
8671
8678
|
allSchools?: string | undefined;
|
|
8679
|
+
allCities?: string | undefined;
|
|
8672
8680
|
inningHalf?: "T" | "B" | undefined;
|
|
8673
8681
|
savingPitcher?: string | undefined;
|
|
8674
8682
|
outs?: number | undefined;
|
|
@@ -8861,6 +8869,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8861
8869
|
lastPlay?: string | undefined;
|
|
8862
8870
|
allTeams?: string | undefined;
|
|
8863
8871
|
allSchools?: string | undefined;
|
|
8872
|
+
allCities?: string | undefined;
|
|
8864
8873
|
inningHalf?: "T" | "B" | undefined;
|
|
8865
8874
|
savingPitcher?: string | undefined;
|
|
8866
8875
|
outs?: number | undefined;
|
|
@@ -10710,6 +10719,7 @@ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
10710
10719
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
10711
10720
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
10712
10721
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
10722
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
10713
10723
|
}, {
|
|
10714
10724
|
league: z.ZodUnion<[z.ZodLiteral<"epl">, z.ZodLiteral<"mls">]>;
|
|
10715
10725
|
week: z.ZodNumber;
|
|
@@ -11012,6 +11022,7 @@ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11012
11022
|
lastPlay?: string | undefined;
|
|
11013
11023
|
allTeams?: string | undefined;
|
|
11014
11024
|
allSchools?: string | undefined;
|
|
11025
|
+
allCities?: string | undefined;
|
|
11015
11026
|
}, {
|
|
11016
11027
|
status: "canceled" | "live" | "scheduled" | "final" | "postponed";
|
|
11017
11028
|
week: number;
|
|
@@ -11201,6 +11212,7 @@ export declare const footballGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11201
11212
|
lastPlay?: string | undefined;
|
|
11202
11213
|
allTeams?: string | undefined;
|
|
11203
11214
|
allSchools?: string | undefined;
|
|
11215
|
+
allCities?: string | undefined;
|
|
11204
11216
|
}>;
|
|
11205
11217
|
export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
11206
11218
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -13044,6 +13056,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
13044
13056
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
13045
13057
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
13046
13058
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
13059
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
13047
13060
|
}, {
|
|
13048
13061
|
possession: z.ZodNullable<z.ZodString>;
|
|
13049
13062
|
down: z.ZodNullable<z.ZodNumber>;
|
|
@@ -13296,6 +13309,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
13296
13309
|
lastPlay?: string | undefined;
|
|
13297
13310
|
allTeams?: string | undefined;
|
|
13298
13311
|
allSchools?: string | undefined;
|
|
13312
|
+
allCities?: string | undefined;
|
|
13299
13313
|
stadium?: {
|
|
13300
13314
|
StadiumID: number;
|
|
13301
13315
|
Name: string;
|
|
@@ -13501,6 +13515,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
13501
13515
|
lastPlay?: string | undefined;
|
|
13502
13516
|
allTeams?: string | undefined;
|
|
13503
13517
|
allSchools?: string | undefined;
|
|
13518
|
+
allCities?: string | undefined;
|
|
13504
13519
|
stadium?: {
|
|
13505
13520
|
StadiumID: number;
|
|
13506
13521
|
Name: string;
|
|
@@ -15356,6 +15371,7 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
15356
15371
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
15357
15372
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
15358
15373
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
15374
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
15359
15375
|
}, {
|
|
15360
15376
|
possession: z.ZodNullable<z.ZodString>;
|
|
15361
15377
|
down: z.ZodNullable<z.ZodNumber>;
|
|
@@ -15599,6 +15615,7 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
15599
15615
|
lastPlay?: string | undefined;
|
|
15600
15616
|
allTeams?: string | undefined;
|
|
15601
15617
|
allSchools?: string | undefined;
|
|
15618
|
+
allCities?: string | undefined;
|
|
15602
15619
|
stadium?: {
|
|
15603
15620
|
StadiumID: number;
|
|
15604
15621
|
Name: string;
|
|
@@ -15797,6 +15814,7 @@ export declare const cfbGameSchema: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
15797
15814
|
lastPlay?: string | undefined;
|
|
15798
15815
|
allTeams?: string | undefined;
|
|
15799
15816
|
allSchools?: string | undefined;
|
|
15817
|
+
allCities?: string | undefined;
|
|
15800
15818
|
stadium?: {
|
|
15801
15819
|
StadiumID: number;
|
|
15802
15820
|
Name: string;
|
|
@@ -17650,6 +17668,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17650
17668
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
17651
17669
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
17652
17670
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
17671
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
17653
17672
|
}, {
|
|
17654
17673
|
seasonType: z.ZodNumber;
|
|
17655
17674
|
season: z.ZodString;
|
|
@@ -17836,6 +17855,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
17836
17855
|
lastPlay?: string | undefined;
|
|
17837
17856
|
allTeams?: string | undefined;
|
|
17838
17857
|
allSchools?: string | undefined;
|
|
17858
|
+
allCities?: string | undefined;
|
|
17839
17859
|
}, {
|
|
17840
17860
|
status: "canceled" | "live" | "scheduled" | "final" | "postponed";
|
|
17841
17861
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
|
|
@@ -18014,6 +18034,7 @@ export declare const nhlGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
18014
18034
|
lastPlay?: string | undefined;
|
|
18015
18035
|
allTeams?: string | undefined;
|
|
18016
18036
|
allSchools?: string | undefined;
|
|
18037
|
+
allCities?: string | undefined;
|
|
18017
18038
|
}>;
|
|
18018
18039
|
export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
18019
18040
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -19857,6 +19878,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
19857
19878
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
19858
19879
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
19859
19880
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
19881
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
19860
19882
|
}, {
|
|
19861
19883
|
round: z.ZodNumber;
|
|
19862
19884
|
timeRemainingMinutes: z.ZodNumber;
|
|
@@ -20062,6 +20084,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
20062
20084
|
lastPlay?: string | undefined;
|
|
20063
20085
|
allTeams?: string | undefined;
|
|
20064
20086
|
allSchools?: string | undefined;
|
|
20087
|
+
allCities?: string | undefined;
|
|
20065
20088
|
totalMinutesRemaining?: number | undefined;
|
|
20066
20089
|
period?: string | undefined;
|
|
20067
20090
|
}, {
|
|
@@ -20247,6 +20270,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
20247
20270
|
lastPlay?: string | undefined;
|
|
20248
20271
|
allTeams?: string | undefined;
|
|
20249
20272
|
allSchools?: string | undefined;
|
|
20273
|
+
allCities?: string | undefined;
|
|
20250
20274
|
totalMinutesRemaining?: number | undefined;
|
|
20251
20275
|
period?: string | undefined;
|
|
20252
20276
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -22091,6 +22115,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
22091
22115
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
22092
22116
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
22093
22117
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
22118
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
22094
22119
|
}, {
|
|
22095
22120
|
totalInningsRemaining: z.ZodNumber;
|
|
22096
22121
|
innings: z.ZodArray<z.ZodObject<{
|
|
@@ -22306,6 +22331,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
22306
22331
|
lastPlay?: string | undefined;
|
|
22307
22332
|
allTeams?: string | undefined;
|
|
22308
22333
|
allSchools?: string | undefined;
|
|
22334
|
+
allCities?: string | undefined;
|
|
22309
22335
|
inningHalf?: "T" | "B" | undefined;
|
|
22310
22336
|
savingPitcher?: string | undefined;
|
|
22311
22337
|
outs?: number | undefined;
|
|
@@ -22498,6 +22524,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
22498
22524
|
lastPlay?: string | undefined;
|
|
22499
22525
|
allTeams?: string | undefined;
|
|
22500
22526
|
allSchools?: string | undefined;
|
|
22527
|
+
allCities?: string | undefined;
|
|
22501
22528
|
inningHalf?: "T" | "B" | undefined;
|
|
22502
22529
|
savingPitcher?: string | undefined;
|
|
22503
22530
|
outs?: number | undefined;
|
|
@@ -24346,6 +24373,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
24346
24373
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
24347
24374
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
24348
24375
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
24376
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
24349
24377
|
}, {
|
|
24350
24378
|
league: z.ZodUnion<[z.ZodLiteral<"epl">, z.ZodLiteral<"mls">]>;
|
|
24351
24379
|
week: z.ZodNumber;
|
|
@@ -24648,6 +24676,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
24648
24676
|
lastPlay?: string | undefined;
|
|
24649
24677
|
allTeams?: string | undefined;
|
|
24650
24678
|
allSchools?: string | undefined;
|
|
24679
|
+
allCities?: string | undefined;
|
|
24651
24680
|
}, {
|
|
24652
24681
|
status: "canceled" | "live" | "scheduled" | "final" | "postponed";
|
|
24653
24682
|
week: number;
|
|
@@ -24837,6 +24866,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
24837
24866
|
lastPlay?: string | undefined;
|
|
24838
24867
|
allTeams?: string | undefined;
|
|
24839
24868
|
allSchools?: string | undefined;
|
|
24869
|
+
allCities?: string | undefined;
|
|
24840
24870
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
24841
24871
|
id: z.ZodOptional<z.ZodString>;
|
|
24842
24872
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">, z.ZodLiteral<"postponed">, z.ZodLiteral<"canceled">]>;
|
|
@@ -26679,6 +26709,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
26679
26709
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
26680
26710
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
26681
26711
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
26712
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
26682
26713
|
}, {
|
|
26683
26714
|
possession: z.ZodNullable<z.ZodString>;
|
|
26684
26715
|
down: z.ZodNullable<z.ZodNumber>;
|
|
@@ -26931,6 +26962,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
26931
26962
|
lastPlay?: string | undefined;
|
|
26932
26963
|
allTeams?: string | undefined;
|
|
26933
26964
|
allSchools?: string | undefined;
|
|
26965
|
+
allCities?: string | undefined;
|
|
26934
26966
|
stadium?: {
|
|
26935
26967
|
StadiumID: number;
|
|
26936
26968
|
Name: string;
|
|
@@ -27136,6 +27168,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
27136
27168
|
lastPlay?: string | undefined;
|
|
27137
27169
|
allTeams?: string | undefined;
|
|
27138
27170
|
allSchools?: string | undefined;
|
|
27171
|
+
allCities?: string | undefined;
|
|
27139
27172
|
stadium?: {
|
|
27140
27173
|
StadiumID: number;
|
|
27141
27174
|
Name: string;
|
|
@@ -28990,6 +29023,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
28990
29023
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
28991
29024
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
28992
29025
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
29026
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
28993
29027
|
}, {
|
|
28994
29028
|
possession: z.ZodNullable<z.ZodString>;
|
|
28995
29029
|
down: z.ZodNullable<z.ZodNumber>;
|
|
@@ -29233,6 +29267,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
29233
29267
|
lastPlay?: string | undefined;
|
|
29234
29268
|
allTeams?: string | undefined;
|
|
29235
29269
|
allSchools?: string | undefined;
|
|
29270
|
+
allCities?: string | undefined;
|
|
29236
29271
|
stadium?: {
|
|
29237
29272
|
StadiumID: number;
|
|
29238
29273
|
Name: string;
|
|
@@ -29431,6 +29466,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
29431
29466
|
lastPlay?: string | undefined;
|
|
29432
29467
|
allTeams?: string | undefined;
|
|
29433
29468
|
allSchools?: string | undefined;
|
|
29469
|
+
allCities?: string | undefined;
|
|
29434
29470
|
stadium?: {
|
|
29435
29471
|
StadiumID: number;
|
|
29436
29472
|
Name: string;
|
|
@@ -31283,6 +31319,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
31283
31319
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
31284
31320
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
31285
31321
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
31322
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
31286
31323
|
}, {
|
|
31287
31324
|
seasonType: z.ZodNumber;
|
|
31288
31325
|
season: z.ZodString;
|
|
@@ -31469,6 +31506,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
31469
31506
|
lastPlay?: string | undefined;
|
|
31470
31507
|
allTeams?: string | undefined;
|
|
31471
31508
|
allSchools?: string | undefined;
|
|
31509
|
+
allCities?: string | undefined;
|
|
31472
31510
|
}, {
|
|
31473
31511
|
status: "canceled" | "live" | "scheduled" | "final" | "postponed";
|
|
31474
31512
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
|
|
@@ -31647,6 +31685,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
31647
31685
|
lastPlay?: string | undefined;
|
|
31648
31686
|
allTeams?: string | undefined;
|
|
31649
31687
|
allSchools?: string | undefined;
|
|
31688
|
+
allCities?: string | undefined;
|
|
31650
31689
|
}>]>;
|
|
31651
31690
|
export declare const searchGameSchema: z.ZodObject<{
|
|
31652
31691
|
q: z.ZodOptional<z.ZodString>;
|
|
@@ -33534,6 +33573,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
33534
33573
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
33535
33574
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
33536
33575
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
33576
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
33537
33577
|
}, {
|
|
33538
33578
|
round: z.ZodNumber;
|
|
33539
33579
|
timeRemainingMinutes: z.ZodNumber;
|
|
@@ -33739,6 +33779,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
33739
33779
|
lastPlay?: string | undefined;
|
|
33740
33780
|
allTeams?: string | undefined;
|
|
33741
33781
|
allSchools?: string | undefined;
|
|
33782
|
+
allCities?: string | undefined;
|
|
33742
33783
|
totalMinutesRemaining?: number | undefined;
|
|
33743
33784
|
period?: string | undefined;
|
|
33744
33785
|
}, {
|
|
@@ -33924,6 +33965,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
33924
33965
|
lastPlay?: string | undefined;
|
|
33925
33966
|
allTeams?: string | undefined;
|
|
33926
33967
|
allSchools?: string | undefined;
|
|
33968
|
+
allCities?: string | undefined;
|
|
33927
33969
|
totalMinutesRemaining?: number | undefined;
|
|
33928
33970
|
period?: string | undefined;
|
|
33929
33971
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -35768,6 +35810,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
35768
35810
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
35769
35811
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
35770
35812
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
35813
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
35771
35814
|
}, {
|
|
35772
35815
|
totalInningsRemaining: z.ZodNumber;
|
|
35773
35816
|
innings: z.ZodArray<z.ZodObject<{
|
|
@@ -35983,6 +36026,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
35983
36026
|
lastPlay?: string | undefined;
|
|
35984
36027
|
allTeams?: string | undefined;
|
|
35985
36028
|
allSchools?: string | undefined;
|
|
36029
|
+
allCities?: string | undefined;
|
|
35986
36030
|
inningHalf?: "T" | "B" | undefined;
|
|
35987
36031
|
savingPitcher?: string | undefined;
|
|
35988
36032
|
outs?: number | undefined;
|
|
@@ -36175,6 +36219,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
36175
36219
|
lastPlay?: string | undefined;
|
|
36176
36220
|
allTeams?: string | undefined;
|
|
36177
36221
|
allSchools?: string | undefined;
|
|
36222
|
+
allCities?: string | undefined;
|
|
36178
36223
|
inningHalf?: "T" | "B" | undefined;
|
|
36179
36224
|
savingPitcher?: string | undefined;
|
|
36180
36225
|
outs?: number | undefined;
|
|
@@ -38023,6 +38068,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
38023
38068
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
38024
38069
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
38025
38070
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
38071
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
38026
38072
|
}, {
|
|
38027
38073
|
league: z.ZodUnion<[z.ZodLiteral<"epl">, z.ZodLiteral<"mls">]>;
|
|
38028
38074
|
week: z.ZodNumber;
|
|
@@ -38325,6 +38371,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
38325
38371
|
lastPlay?: string | undefined;
|
|
38326
38372
|
allTeams?: string | undefined;
|
|
38327
38373
|
allSchools?: string | undefined;
|
|
38374
|
+
allCities?: string | undefined;
|
|
38328
38375
|
}, {
|
|
38329
38376
|
status: "canceled" | "live" | "scheduled" | "final" | "postponed";
|
|
38330
38377
|
week: number;
|
|
@@ -38514,6 +38561,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
38514
38561
|
lastPlay?: string | undefined;
|
|
38515
38562
|
allTeams?: string | undefined;
|
|
38516
38563
|
allSchools?: string | undefined;
|
|
38564
|
+
allCities?: string | undefined;
|
|
38517
38565
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
38518
38566
|
id: z.ZodOptional<z.ZodString>;
|
|
38519
38567
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">, z.ZodLiteral<"postponed">, z.ZodLiteral<"canceled">]>;
|
|
@@ -40356,6 +40404,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
40356
40404
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
40357
40405
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
40358
40406
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
40407
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
40359
40408
|
}, {
|
|
40360
40409
|
possession: z.ZodNullable<z.ZodString>;
|
|
40361
40410
|
down: z.ZodNullable<z.ZodNumber>;
|
|
@@ -40608,6 +40657,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
40608
40657
|
lastPlay?: string | undefined;
|
|
40609
40658
|
allTeams?: string | undefined;
|
|
40610
40659
|
allSchools?: string | undefined;
|
|
40660
|
+
allCities?: string | undefined;
|
|
40611
40661
|
stadium?: {
|
|
40612
40662
|
StadiumID: number;
|
|
40613
40663
|
Name: string;
|
|
@@ -40813,6 +40863,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
40813
40863
|
lastPlay?: string | undefined;
|
|
40814
40864
|
allTeams?: string | undefined;
|
|
40815
40865
|
allSchools?: string | undefined;
|
|
40866
|
+
allCities?: string | undefined;
|
|
40816
40867
|
stadium?: {
|
|
40817
40868
|
StadiumID: number;
|
|
40818
40869
|
Name: string;
|
|
@@ -42667,6 +42718,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
42667
42718
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
42668
42719
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
42669
42720
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
42721
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
42670
42722
|
}, {
|
|
42671
42723
|
possession: z.ZodNullable<z.ZodString>;
|
|
42672
42724
|
down: z.ZodNullable<z.ZodNumber>;
|
|
@@ -42910,6 +42962,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
42910
42962
|
lastPlay?: string | undefined;
|
|
42911
42963
|
allTeams?: string | undefined;
|
|
42912
42964
|
allSchools?: string | undefined;
|
|
42965
|
+
allCities?: string | undefined;
|
|
42913
42966
|
stadium?: {
|
|
42914
42967
|
StadiumID: number;
|
|
42915
42968
|
Name: string;
|
|
@@ -43108,6 +43161,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
43108
43161
|
lastPlay?: string | undefined;
|
|
43109
43162
|
allTeams?: string | undefined;
|
|
43110
43163
|
allSchools?: string | undefined;
|
|
43164
|
+
allCities?: string | undefined;
|
|
43111
43165
|
stadium?: {
|
|
43112
43166
|
StadiumID: number;
|
|
43113
43167
|
Name: string;
|
|
@@ -44960,6 +45014,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
44960
45014
|
lastPlay: z.ZodOptional<z.ZodString>;
|
|
44961
45015
|
allTeams: z.ZodOptional<z.ZodString>;
|
|
44962
45016
|
allSchools: z.ZodOptional<z.ZodString>;
|
|
45017
|
+
allCities: z.ZodOptional<z.ZodString>;
|
|
44963
45018
|
}, {
|
|
44964
45019
|
seasonType: z.ZodNumber;
|
|
44965
45020
|
season: z.ZodString;
|
|
@@ -45146,6 +45201,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
45146
45201
|
lastPlay?: string | undefined;
|
|
45147
45202
|
allTeams?: string | undefined;
|
|
45148
45203
|
allSchools?: string | undefined;
|
|
45204
|
+
allCities?: string | undefined;
|
|
45149
45205
|
}, {
|
|
45150
45206
|
status: "canceled" | "live" | "scheduled" | "final" | "postponed";
|
|
45151
45207
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls";
|
|
@@ -45324,6 +45380,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
45324
45380
|
lastPlay?: string | undefined;
|
|
45325
45381
|
allTeams?: string | undefined;
|
|
45326
45382
|
allSchools?: string | undefined;
|
|
45383
|
+
allCities?: string | undefined;
|
|
45327
45384
|
}>]>;
|
|
45328
45385
|
user: z.ZodObject<Pick<{
|
|
45329
45386
|
id: z.ZodString;
|
|
@@ -46279,6 +46336,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
46279
46336
|
lastPlay?: string | undefined;
|
|
46280
46337
|
allTeams?: string | undefined;
|
|
46281
46338
|
allSchools?: string | undefined;
|
|
46339
|
+
allCities?: string | undefined;
|
|
46282
46340
|
totalMinutesRemaining?: number | undefined;
|
|
46283
46341
|
period?: string | undefined;
|
|
46284
46342
|
} | {
|
|
@@ -46467,6 +46525,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
46467
46525
|
lastPlay?: string | undefined;
|
|
46468
46526
|
allTeams?: string | undefined;
|
|
46469
46527
|
allSchools?: string | undefined;
|
|
46528
|
+
allCities?: string | undefined;
|
|
46470
46529
|
inningHalf?: "T" | "B" | undefined;
|
|
46471
46530
|
savingPitcher?: string | undefined;
|
|
46472
46531
|
outs?: number | undefined;
|
|
@@ -46662,6 +46721,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
46662
46721
|
lastPlay?: string | undefined;
|
|
46663
46722
|
allTeams?: string | undefined;
|
|
46664
46723
|
allSchools?: string | undefined;
|
|
46724
|
+
allCities?: string | undefined;
|
|
46665
46725
|
} | {
|
|
46666
46726
|
status: "canceled" | "live" | "scheduled" | "final" | "postponed";
|
|
46667
46727
|
quarter: string | null;
|
|
@@ -46855,6 +46915,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
46855
46915
|
lastPlay?: string | undefined;
|
|
46856
46916
|
allTeams?: string | undefined;
|
|
46857
46917
|
allSchools?: string | undefined;
|
|
46918
|
+
allCities?: string | undefined;
|
|
46858
46919
|
stadium?: {
|
|
46859
46920
|
StadiumID: number;
|
|
46860
46921
|
Name: string;
|
|
@@ -47055,6 +47116,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
47055
47116
|
lastPlay?: string | undefined;
|
|
47056
47117
|
allTeams?: string | undefined;
|
|
47057
47118
|
allSchools?: string | undefined;
|
|
47119
|
+
allCities?: string | undefined;
|
|
47058
47120
|
stadium?: {
|
|
47059
47121
|
StadiumID: number;
|
|
47060
47122
|
Name: string;
|
|
@@ -47243,6 +47305,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
47243
47305
|
lastPlay?: string | undefined;
|
|
47244
47306
|
allTeams?: string | undefined;
|
|
47245
47307
|
allSchools?: string | undefined;
|
|
47308
|
+
allCities?: string | undefined;
|
|
47246
47309
|
};
|
|
47247
47310
|
createdAt?: number | undefined;
|
|
47248
47311
|
comment?: string | undefined;
|
|
@@ -47437,6 +47500,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
47437
47500
|
lastPlay?: string | undefined;
|
|
47438
47501
|
allTeams?: string | undefined;
|
|
47439
47502
|
allSchools?: string | undefined;
|
|
47503
|
+
allCities?: string | undefined;
|
|
47440
47504
|
totalMinutesRemaining?: number | undefined;
|
|
47441
47505
|
period?: string | undefined;
|
|
47442
47506
|
} | {
|
|
@@ -47625,6 +47689,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
47625
47689
|
lastPlay?: string | undefined;
|
|
47626
47690
|
allTeams?: string | undefined;
|
|
47627
47691
|
allSchools?: string | undefined;
|
|
47692
|
+
allCities?: string | undefined;
|
|
47628
47693
|
inningHalf?: "T" | "B" | undefined;
|
|
47629
47694
|
savingPitcher?: string | undefined;
|
|
47630
47695
|
outs?: number | undefined;
|
|
@@ -47820,6 +47885,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
47820
47885
|
lastPlay?: string | undefined;
|
|
47821
47886
|
allTeams?: string | undefined;
|
|
47822
47887
|
allSchools?: string | undefined;
|
|
47888
|
+
allCities?: string | undefined;
|
|
47823
47889
|
} | {
|
|
47824
47890
|
status: "canceled" | "live" | "scheduled" | "final" | "postponed";
|
|
47825
47891
|
quarter: string | null;
|
|
@@ -48013,6 +48079,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
48013
48079
|
lastPlay?: string | undefined;
|
|
48014
48080
|
allTeams?: string | undefined;
|
|
48015
48081
|
allSchools?: string | undefined;
|
|
48082
|
+
allCities?: string | undefined;
|
|
48016
48083
|
stadium?: {
|
|
48017
48084
|
StadiumID: number;
|
|
48018
48085
|
Name: string;
|
|
@@ -48213,6 +48280,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
48213
48280
|
lastPlay?: string | undefined;
|
|
48214
48281
|
allTeams?: string | undefined;
|
|
48215
48282
|
allSchools?: string | undefined;
|
|
48283
|
+
allCities?: string | undefined;
|
|
48216
48284
|
stadium?: {
|
|
48217
48285
|
StadiumID: number;
|
|
48218
48286
|
Name: string;
|
|
@@ -48401,6 +48469,7 @@ export declare const creatorPickSchema: z.ZodObject<{
|
|
|
48401
48469
|
lastPlay?: string | undefined;
|
|
48402
48470
|
allTeams?: string | undefined;
|
|
48403
48471
|
allSchools?: string | undefined;
|
|
48472
|
+
allCities?: string | undefined;
|
|
48404
48473
|
};
|
|
48405
48474
|
createdAt?: number | undefined;
|
|
48406
48475
|
comment?: string | undefined;
|
package/dist/schemas/game.js
CHANGED
|
@@ -137,6 +137,7 @@ exports.commonGameSchema = zod_1.z.object({
|
|
|
137
137
|
lastPlay: zod_1.z.string().optional(),
|
|
138
138
|
allTeams: zod_1.z.string().optional(),
|
|
139
139
|
allSchools: zod_1.z.string().optional(),
|
|
140
|
+
allCities: zod_1.z.string().optional(),
|
|
140
141
|
});
|
|
141
142
|
exports.basketballGameSchema = exports.commonGameSchema.extend({
|
|
142
143
|
round: zod_1.z.number(),
|