rategame-shared 1.1.57 → 1.1.59
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 +394 -182
- package/dist/schemas/game.js +25 -1
- package/dist/schemas/notification.d.ts +45 -12
- package/dist/schemas/rating.d.ts +953 -188
- package/dist/schemas/rating.js +5 -0
- package/dist/schemas/team.d.ts +20 -24
- package/dist/schemas/user.d.ts +1102 -8
- package/dist/schemas/user.js +5 -0
- package/package.json +1 -1
package/dist/schemas/game.d.ts
CHANGED
|
@@ -55,6 +55,91 @@ export declare const gameRatingAggregateSchema: z.ZodObject<{
|
|
|
55
55
|
options: Record<number, number>;
|
|
56
56
|
};
|
|
57
57
|
}>;
|
|
58
|
+
export declare const weightedRatingAggregateSchema: z.ZodObject<{
|
|
59
|
+
avg: z.ZodNumber;
|
|
60
|
+
votes: z.ZodObject<{
|
|
61
|
+
options: z.ZodRecord<z.ZodNumber, z.ZodObject<{
|
|
62
|
+
weights: z.ZodRecord<z.ZodNumber, z.ZodObject<{
|
|
63
|
+
weightedRating: z.ZodNumber;
|
|
64
|
+
count: z.ZodNumber;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
weightedRating: number;
|
|
67
|
+
count: number;
|
|
68
|
+
}, {
|
|
69
|
+
weightedRating: number;
|
|
70
|
+
count: number;
|
|
71
|
+
}>>;
|
|
72
|
+
totalWeight: z.ZodNumber;
|
|
73
|
+
count: z.ZodNumber;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
weights: Record<number, {
|
|
76
|
+
weightedRating: number;
|
|
77
|
+
count: number;
|
|
78
|
+
}>;
|
|
79
|
+
count: number;
|
|
80
|
+
totalWeight: number;
|
|
81
|
+
}, {
|
|
82
|
+
weights: Record<number, {
|
|
83
|
+
weightedRating: number;
|
|
84
|
+
count: number;
|
|
85
|
+
}>;
|
|
86
|
+
count: number;
|
|
87
|
+
totalWeight: number;
|
|
88
|
+
}>>;
|
|
89
|
+
total: z.ZodNumber;
|
|
90
|
+
totalWeight: z.ZodNumber;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
total: number;
|
|
93
|
+
options: Record<number, {
|
|
94
|
+
weights: Record<number, {
|
|
95
|
+
weightedRating: number;
|
|
96
|
+
count: number;
|
|
97
|
+
}>;
|
|
98
|
+
count: number;
|
|
99
|
+
totalWeight: number;
|
|
100
|
+
}>;
|
|
101
|
+
totalWeight: number;
|
|
102
|
+
}, {
|
|
103
|
+
total: number;
|
|
104
|
+
options: Record<number, {
|
|
105
|
+
weights: Record<number, {
|
|
106
|
+
weightedRating: number;
|
|
107
|
+
count: number;
|
|
108
|
+
}>;
|
|
109
|
+
count: number;
|
|
110
|
+
totalWeight: number;
|
|
111
|
+
}>;
|
|
112
|
+
totalWeight: number;
|
|
113
|
+
}>;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
avg: number;
|
|
116
|
+
votes: {
|
|
117
|
+
total: number;
|
|
118
|
+
options: Record<number, {
|
|
119
|
+
weights: Record<number, {
|
|
120
|
+
weightedRating: number;
|
|
121
|
+
count: number;
|
|
122
|
+
}>;
|
|
123
|
+
count: number;
|
|
124
|
+
totalWeight: number;
|
|
125
|
+
}>;
|
|
126
|
+
totalWeight: number;
|
|
127
|
+
};
|
|
128
|
+
}, {
|
|
129
|
+
avg: number;
|
|
130
|
+
votes: {
|
|
131
|
+
total: number;
|
|
132
|
+
options: Record<number, {
|
|
133
|
+
weights: Record<number, {
|
|
134
|
+
weightedRating: number;
|
|
135
|
+
count: number;
|
|
136
|
+
}>;
|
|
137
|
+
count: number;
|
|
138
|
+
totalWeight: number;
|
|
139
|
+
}>;
|
|
140
|
+
totalWeight: number;
|
|
141
|
+
};
|
|
142
|
+
}>;
|
|
58
143
|
export declare const seriesInfoSchema: z.ZodObject<{
|
|
59
144
|
homeTeamWins: z.ZodNumber;
|
|
60
145
|
awayTeamWins: z.ZodNumber;
|
|
@@ -201,6 +286,203 @@ export declare const gameSchema: z.ZodObject<{
|
|
|
201
286
|
options: Record<number, number>;
|
|
202
287
|
};
|
|
203
288
|
}>>;
|
|
289
|
+
ratings: z.ZodOptional<z.ZodObject<{
|
|
290
|
+
initialWindowRating: z.ZodOptional<z.ZodObject<{
|
|
291
|
+
avg: z.ZodNumber;
|
|
292
|
+
votes: z.ZodObject<{
|
|
293
|
+
options: z.ZodRecord<z.ZodNumber, z.ZodNumber>;
|
|
294
|
+
total: z.ZodNumber;
|
|
295
|
+
}, "strip", z.ZodTypeAny, {
|
|
296
|
+
total: number;
|
|
297
|
+
options: Record<number, number>;
|
|
298
|
+
}, {
|
|
299
|
+
total: number;
|
|
300
|
+
options: Record<number, number>;
|
|
301
|
+
}>;
|
|
302
|
+
}, "strip", z.ZodTypeAny, {
|
|
303
|
+
avg: number;
|
|
304
|
+
votes: {
|
|
305
|
+
total: number;
|
|
306
|
+
options: Record<number, number>;
|
|
307
|
+
};
|
|
308
|
+
}, {
|
|
309
|
+
avg: number;
|
|
310
|
+
votes: {
|
|
311
|
+
total: number;
|
|
312
|
+
options: Record<number, number>;
|
|
313
|
+
};
|
|
314
|
+
}>>;
|
|
315
|
+
normalRating: z.ZodOptional<z.ZodObject<{
|
|
316
|
+
avg: z.ZodNumber;
|
|
317
|
+
votes: z.ZodObject<{
|
|
318
|
+
options: z.ZodRecord<z.ZodNumber, z.ZodNumber>;
|
|
319
|
+
total: z.ZodNumber;
|
|
320
|
+
}, "strip", z.ZodTypeAny, {
|
|
321
|
+
total: number;
|
|
322
|
+
options: Record<number, number>;
|
|
323
|
+
}, {
|
|
324
|
+
total: number;
|
|
325
|
+
options: Record<number, number>;
|
|
326
|
+
}>;
|
|
327
|
+
}, "strip", z.ZodTypeAny, {
|
|
328
|
+
avg: number;
|
|
329
|
+
votes: {
|
|
330
|
+
total: number;
|
|
331
|
+
options: Record<number, number>;
|
|
332
|
+
};
|
|
333
|
+
}, {
|
|
334
|
+
avg: number;
|
|
335
|
+
votes: {
|
|
336
|
+
total: number;
|
|
337
|
+
options: Record<number, number>;
|
|
338
|
+
};
|
|
339
|
+
}>>;
|
|
340
|
+
weightedRating: z.ZodOptional<z.ZodObject<{
|
|
341
|
+
avg: z.ZodNumber;
|
|
342
|
+
votes: z.ZodObject<{
|
|
343
|
+
options: z.ZodRecord<z.ZodNumber, z.ZodObject<{
|
|
344
|
+
weights: z.ZodRecord<z.ZodNumber, z.ZodObject<{
|
|
345
|
+
weightedRating: z.ZodNumber;
|
|
346
|
+
count: z.ZodNumber;
|
|
347
|
+
}, "strip", z.ZodTypeAny, {
|
|
348
|
+
weightedRating: number;
|
|
349
|
+
count: number;
|
|
350
|
+
}, {
|
|
351
|
+
weightedRating: number;
|
|
352
|
+
count: number;
|
|
353
|
+
}>>;
|
|
354
|
+
totalWeight: z.ZodNumber;
|
|
355
|
+
count: z.ZodNumber;
|
|
356
|
+
}, "strip", z.ZodTypeAny, {
|
|
357
|
+
weights: Record<number, {
|
|
358
|
+
weightedRating: number;
|
|
359
|
+
count: number;
|
|
360
|
+
}>;
|
|
361
|
+
count: number;
|
|
362
|
+
totalWeight: number;
|
|
363
|
+
}, {
|
|
364
|
+
weights: Record<number, {
|
|
365
|
+
weightedRating: number;
|
|
366
|
+
count: number;
|
|
367
|
+
}>;
|
|
368
|
+
count: number;
|
|
369
|
+
totalWeight: number;
|
|
370
|
+
}>>;
|
|
371
|
+
total: z.ZodNumber;
|
|
372
|
+
totalWeight: z.ZodNumber;
|
|
373
|
+
}, "strip", z.ZodTypeAny, {
|
|
374
|
+
total: number;
|
|
375
|
+
options: Record<number, {
|
|
376
|
+
weights: Record<number, {
|
|
377
|
+
weightedRating: number;
|
|
378
|
+
count: number;
|
|
379
|
+
}>;
|
|
380
|
+
count: number;
|
|
381
|
+
totalWeight: number;
|
|
382
|
+
}>;
|
|
383
|
+
totalWeight: number;
|
|
384
|
+
}, {
|
|
385
|
+
total: number;
|
|
386
|
+
options: Record<number, {
|
|
387
|
+
weights: Record<number, {
|
|
388
|
+
weightedRating: number;
|
|
389
|
+
count: number;
|
|
390
|
+
}>;
|
|
391
|
+
count: number;
|
|
392
|
+
totalWeight: number;
|
|
393
|
+
}>;
|
|
394
|
+
totalWeight: number;
|
|
395
|
+
}>;
|
|
396
|
+
}, "strip", z.ZodTypeAny, {
|
|
397
|
+
avg: number;
|
|
398
|
+
votes: {
|
|
399
|
+
total: number;
|
|
400
|
+
options: Record<number, {
|
|
401
|
+
weights: Record<number, {
|
|
402
|
+
weightedRating: number;
|
|
403
|
+
count: number;
|
|
404
|
+
}>;
|
|
405
|
+
count: number;
|
|
406
|
+
totalWeight: number;
|
|
407
|
+
}>;
|
|
408
|
+
totalWeight: number;
|
|
409
|
+
};
|
|
410
|
+
}, {
|
|
411
|
+
avg: number;
|
|
412
|
+
votes: {
|
|
413
|
+
total: number;
|
|
414
|
+
options: Record<number, {
|
|
415
|
+
weights: Record<number, {
|
|
416
|
+
weightedRating: number;
|
|
417
|
+
count: number;
|
|
418
|
+
}>;
|
|
419
|
+
count: number;
|
|
420
|
+
totalWeight: number;
|
|
421
|
+
}>;
|
|
422
|
+
totalWeight: number;
|
|
423
|
+
};
|
|
424
|
+
}>>;
|
|
425
|
+
}, "strip", z.ZodTypeAny, {
|
|
426
|
+
initialWindowRating?: {
|
|
427
|
+
avg: number;
|
|
428
|
+
votes: {
|
|
429
|
+
total: number;
|
|
430
|
+
options: Record<number, number>;
|
|
431
|
+
};
|
|
432
|
+
} | undefined;
|
|
433
|
+
normalRating?: {
|
|
434
|
+
avg: number;
|
|
435
|
+
votes: {
|
|
436
|
+
total: number;
|
|
437
|
+
options: Record<number, number>;
|
|
438
|
+
};
|
|
439
|
+
} | undefined;
|
|
440
|
+
weightedRating?: {
|
|
441
|
+
avg: number;
|
|
442
|
+
votes: {
|
|
443
|
+
total: number;
|
|
444
|
+
options: Record<number, {
|
|
445
|
+
weights: Record<number, {
|
|
446
|
+
weightedRating: number;
|
|
447
|
+
count: number;
|
|
448
|
+
}>;
|
|
449
|
+
count: number;
|
|
450
|
+
totalWeight: number;
|
|
451
|
+
}>;
|
|
452
|
+
totalWeight: number;
|
|
453
|
+
};
|
|
454
|
+
} | undefined;
|
|
455
|
+
}, {
|
|
456
|
+
initialWindowRating?: {
|
|
457
|
+
avg: number;
|
|
458
|
+
votes: {
|
|
459
|
+
total: number;
|
|
460
|
+
options: Record<number, number>;
|
|
461
|
+
};
|
|
462
|
+
} | undefined;
|
|
463
|
+
normalRating?: {
|
|
464
|
+
avg: number;
|
|
465
|
+
votes: {
|
|
466
|
+
total: number;
|
|
467
|
+
options: Record<number, number>;
|
|
468
|
+
};
|
|
469
|
+
} | undefined;
|
|
470
|
+
weightedRating?: {
|
|
471
|
+
avg: number;
|
|
472
|
+
votes: {
|
|
473
|
+
total: number;
|
|
474
|
+
options: Record<number, {
|
|
475
|
+
weights: Record<number, {
|
|
476
|
+
weightedRating: number;
|
|
477
|
+
count: number;
|
|
478
|
+
}>;
|
|
479
|
+
count: number;
|
|
480
|
+
totalWeight: number;
|
|
481
|
+
}>;
|
|
482
|
+
totalWeight: number;
|
|
483
|
+
};
|
|
484
|
+
} | undefined;
|
|
485
|
+
}>>;
|
|
204
486
|
}, "strip", z.ZodTypeAny, {
|
|
205
487
|
round: number;
|
|
206
488
|
status: "live" | "scheduled" | "final";
|
|
@@ -255,6 +537,37 @@ export declare const gameSchema: z.ZodObject<{
|
|
|
255
537
|
options: Record<number, number>;
|
|
256
538
|
};
|
|
257
539
|
} | undefined;
|
|
540
|
+
ratings?: {
|
|
541
|
+
initialWindowRating?: {
|
|
542
|
+
avg: number;
|
|
543
|
+
votes: {
|
|
544
|
+
total: number;
|
|
545
|
+
options: Record<number, number>;
|
|
546
|
+
};
|
|
547
|
+
} | undefined;
|
|
548
|
+
normalRating?: {
|
|
549
|
+
avg: number;
|
|
550
|
+
votes: {
|
|
551
|
+
total: number;
|
|
552
|
+
options: Record<number, number>;
|
|
553
|
+
};
|
|
554
|
+
} | undefined;
|
|
555
|
+
weightedRating?: {
|
|
556
|
+
avg: number;
|
|
557
|
+
votes: {
|
|
558
|
+
total: number;
|
|
559
|
+
options: Record<number, {
|
|
560
|
+
weights: Record<number, {
|
|
561
|
+
weightedRating: number;
|
|
562
|
+
count: number;
|
|
563
|
+
}>;
|
|
564
|
+
count: number;
|
|
565
|
+
totalWeight: number;
|
|
566
|
+
}>;
|
|
567
|
+
totalWeight: number;
|
|
568
|
+
};
|
|
569
|
+
} | undefined;
|
|
570
|
+
} | undefined;
|
|
258
571
|
}, {
|
|
259
572
|
round: number;
|
|
260
573
|
status: "live" | "scheduled" | "final";
|
|
@@ -309,6 +622,37 @@ export declare const gameSchema: z.ZodObject<{
|
|
|
309
622
|
options: Record<number, number>;
|
|
310
623
|
};
|
|
311
624
|
} | undefined;
|
|
625
|
+
ratings?: {
|
|
626
|
+
initialWindowRating?: {
|
|
627
|
+
avg: number;
|
|
628
|
+
votes: {
|
|
629
|
+
total: number;
|
|
630
|
+
options: Record<number, number>;
|
|
631
|
+
};
|
|
632
|
+
} | undefined;
|
|
633
|
+
normalRating?: {
|
|
634
|
+
avg: number;
|
|
635
|
+
votes: {
|
|
636
|
+
total: number;
|
|
637
|
+
options: Record<number, number>;
|
|
638
|
+
};
|
|
639
|
+
} | undefined;
|
|
640
|
+
weightedRating?: {
|
|
641
|
+
avg: number;
|
|
642
|
+
votes: {
|
|
643
|
+
total: number;
|
|
644
|
+
options: Record<number, {
|
|
645
|
+
weights: Record<number, {
|
|
646
|
+
weightedRating: number;
|
|
647
|
+
count: number;
|
|
648
|
+
}>;
|
|
649
|
+
count: number;
|
|
650
|
+
totalWeight: number;
|
|
651
|
+
}>;
|
|
652
|
+
totalWeight: number;
|
|
653
|
+
};
|
|
654
|
+
} | undefined;
|
|
655
|
+
} | undefined;
|
|
312
656
|
}>;
|
|
313
657
|
export declare const commonGameSchema: z.ZodObject<{
|
|
314
658
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -511,7 +855,7 @@ export declare const commonGameSchema: z.ZodObject<{
|
|
|
511
855
|
};
|
|
512
856
|
} | undefined;
|
|
513
857
|
}>;
|
|
514
|
-
export declare const basketballGameSchema: z.ZodObject<
|
|
858
|
+
export declare const basketballGameSchema: z.ZodObject<{
|
|
515
859
|
id: z.ZodOptional<z.ZodString>;
|
|
516
860
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
517
861
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -623,7 +967,6 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
623
967
|
options: Record<number, number>;
|
|
624
968
|
};
|
|
625
969
|
}>>;
|
|
626
|
-
}, {
|
|
627
970
|
round: z.ZodNumber;
|
|
628
971
|
timeRemainingMinutes: z.ZodNumber;
|
|
629
972
|
timeRemainingSeconds: z.ZodNumber;
|
|
@@ -642,7 +985,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
642
985
|
}>, "many">;
|
|
643
986
|
periodType: z.ZodUnion<[z.ZodLiteral<"half">, z.ZodLiteral<"quarter">]>;
|
|
644
987
|
periodDuration: z.ZodNumber;
|
|
645
|
-
}
|
|
988
|
+
}, "strip", z.ZodTypeAny, {
|
|
646
989
|
round: number;
|
|
647
990
|
status: "live" | "scheduled" | "final";
|
|
648
991
|
startedAt: number;
|
|
@@ -764,7 +1107,7 @@ export declare const inningSchema: z.ZodObject<{
|
|
|
764
1107
|
homeScore: number;
|
|
765
1108
|
inningNumber: number;
|
|
766
1109
|
}>;
|
|
767
|
-
export declare const mlbGameSchema: z.ZodObject<
|
|
1110
|
+
export declare const mlbGameSchema: z.ZodObject<{
|
|
768
1111
|
id: z.ZodOptional<z.ZodString>;
|
|
769
1112
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
770
1113
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -876,7 +1219,6 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
876
1219
|
options: Record<number, number>;
|
|
877
1220
|
};
|
|
878
1221
|
}>>;
|
|
879
|
-
}, {
|
|
880
1222
|
totalInningsRemaining: z.ZodNumber;
|
|
881
1223
|
innings: z.ZodArray<z.ZodObject<{
|
|
882
1224
|
inningNumber: z.ZodNumber;
|
|
@@ -905,7 +1247,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
905
1247
|
runnerOnFirst: z.ZodOptional<z.ZodBoolean>;
|
|
906
1248
|
runnerOnSecond: z.ZodOptional<z.ZodBoolean>;
|
|
907
1249
|
runnerOnThird: z.ZodOptional<z.ZodBoolean>;
|
|
908
|
-
}
|
|
1250
|
+
}, "strip", z.ZodTypeAny, {
|
|
909
1251
|
status: "live" | "scheduled" | "final";
|
|
910
1252
|
startedAt: number;
|
|
911
1253
|
finishedAt: number;
|
|
@@ -1034,7 +1376,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1034
1376
|
runnerOnSecond?: boolean | undefined;
|
|
1035
1377
|
runnerOnThird?: boolean | undefined;
|
|
1036
1378
|
}>;
|
|
1037
|
-
export declare const eplGameSchema: z.ZodObject<
|
|
1379
|
+
export declare const eplGameSchema: z.ZodObject<{
|
|
1038
1380
|
id: z.ZodOptional<z.ZodString>;
|
|
1039
1381
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
1040
1382
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1042,69 +1384,6 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1042
1384
|
finishedAt: z.ZodNumber;
|
|
1043
1385
|
ratingWindowClosedAt: z.ZodOptional<z.ZodNumber>;
|
|
1044
1386
|
apiGameId: z.ZodNumber;
|
|
1045
|
-
league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">, z.ZodLiteral<"mlb">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mls">, z.ZodLiteral<"cfb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"epl">]>;
|
|
1046
|
-
homeTeam: z.ZodObject<{
|
|
1047
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1048
|
-
apiTeamId: z.ZodNumber;
|
|
1049
|
-
name: z.ZodString;
|
|
1050
|
-
score: z.ZodNumber;
|
|
1051
|
-
isWinner: z.ZodOptional<z.ZodBoolean>;
|
|
1052
|
-
image: z.ZodString;
|
|
1053
|
-
seed: z.ZodOptional<z.ZodNumber>;
|
|
1054
|
-
teamCode: z.ZodOptional<z.ZodString>;
|
|
1055
|
-
scoreExtraTime: z.ZodOptional<z.ZodNumber>;
|
|
1056
|
-
}, "strip", z.ZodTypeAny, {
|
|
1057
|
-
name: string;
|
|
1058
|
-
image: string;
|
|
1059
|
-
apiTeamId: number;
|
|
1060
|
-
score: number;
|
|
1061
|
-
id?: string | undefined;
|
|
1062
|
-
isWinner?: boolean | undefined;
|
|
1063
|
-
seed?: number | undefined;
|
|
1064
|
-
teamCode?: string | undefined;
|
|
1065
|
-
scoreExtraTime?: number | undefined;
|
|
1066
|
-
}, {
|
|
1067
|
-
name: string;
|
|
1068
|
-
image: string;
|
|
1069
|
-
apiTeamId: number;
|
|
1070
|
-
score: number;
|
|
1071
|
-
id?: string | undefined;
|
|
1072
|
-
isWinner?: boolean | undefined;
|
|
1073
|
-
seed?: number | undefined;
|
|
1074
|
-
teamCode?: string | undefined;
|
|
1075
|
-
scoreExtraTime?: number | undefined;
|
|
1076
|
-
}>;
|
|
1077
|
-
awayTeam: z.ZodObject<{
|
|
1078
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1079
|
-
apiTeamId: z.ZodNumber;
|
|
1080
|
-
name: z.ZodString;
|
|
1081
|
-
score: z.ZodNumber;
|
|
1082
|
-
isWinner: z.ZodOptional<z.ZodBoolean>;
|
|
1083
|
-
image: z.ZodString;
|
|
1084
|
-
seed: z.ZodOptional<z.ZodNumber>;
|
|
1085
|
-
teamCode: z.ZodOptional<z.ZodString>;
|
|
1086
|
-
scoreExtraTime: z.ZodOptional<z.ZodNumber>;
|
|
1087
|
-
}, "strip", z.ZodTypeAny, {
|
|
1088
|
-
name: string;
|
|
1089
|
-
image: string;
|
|
1090
|
-
apiTeamId: number;
|
|
1091
|
-
score: number;
|
|
1092
|
-
id?: string | undefined;
|
|
1093
|
-
isWinner?: boolean | undefined;
|
|
1094
|
-
seed?: number | undefined;
|
|
1095
|
-
teamCode?: string | undefined;
|
|
1096
|
-
scoreExtraTime?: number | undefined;
|
|
1097
|
-
}, {
|
|
1098
|
-
name: string;
|
|
1099
|
-
image: string;
|
|
1100
|
-
apiTeamId: number;
|
|
1101
|
-
score: number;
|
|
1102
|
-
id?: string | undefined;
|
|
1103
|
-
isWinner?: boolean | undefined;
|
|
1104
|
-
seed?: number | undefined;
|
|
1105
|
-
teamCode?: string | undefined;
|
|
1106
|
-
scoreExtraTime?: number | undefined;
|
|
1107
|
-
}>;
|
|
1108
1387
|
seriesInfo: z.ZodOptional<z.ZodObject<{
|
|
1109
1388
|
homeTeamWins: z.ZodNumber;
|
|
1110
1389
|
awayTeamWins: z.ZodNumber;
|
|
@@ -1146,7 +1425,6 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1146
1425
|
options: Record<number, number>;
|
|
1147
1426
|
};
|
|
1148
1427
|
}>>;
|
|
1149
|
-
}, {
|
|
1150
1428
|
league: z.ZodLiteral<"epl">;
|
|
1151
1429
|
week: z.ZodNumber;
|
|
1152
1430
|
period: z.ZodString;
|
|
@@ -1156,23 +1434,21 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1156
1434
|
venueType: z.ZodString;
|
|
1157
1435
|
attendance: z.ZodNumber;
|
|
1158
1436
|
aggregateScore: z.ZodString;
|
|
1159
|
-
homeTeam: z.ZodObject<
|
|
1437
|
+
homeTeam: z.ZodObject<{
|
|
1160
1438
|
id: z.ZodOptional<z.ZodString>;
|
|
1161
|
-
apiTeamId: z.ZodNumber;
|
|
1162
1439
|
name: z.ZodString;
|
|
1440
|
+
image: z.ZodString;
|
|
1441
|
+
apiTeamId: z.ZodNumber;
|
|
1163
1442
|
score: z.ZodNumber;
|
|
1164
1443
|
isWinner: z.ZodOptional<z.ZodBoolean>;
|
|
1165
|
-
image: z.ZodString;
|
|
1166
1444
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1167
1445
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
1168
|
-
scoreExtraTime: z.ZodOptional<z.ZodNumber>;
|
|
1169
|
-
}, {
|
|
1170
1446
|
scorePeriod1: z.ZodNumber;
|
|
1171
1447
|
scorePeriod2: z.ZodNumber;
|
|
1172
1448
|
scoreExtraTime: z.ZodNumber;
|
|
1173
1449
|
scorePenalty: z.ZodNumber;
|
|
1174
1450
|
venueName: z.ZodOptional<z.ZodString>;
|
|
1175
|
-
}
|
|
1451
|
+
}, "strip", z.ZodTypeAny, {
|
|
1176
1452
|
name: string;
|
|
1177
1453
|
image: string;
|
|
1178
1454
|
apiTeamId: number;
|
|
@@ -1201,23 +1477,21 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1201
1477
|
teamCode?: string | undefined;
|
|
1202
1478
|
venueName?: string | undefined;
|
|
1203
1479
|
}>;
|
|
1204
|
-
awayTeam: z.ZodObject<
|
|
1480
|
+
awayTeam: z.ZodObject<{
|
|
1205
1481
|
id: z.ZodOptional<z.ZodString>;
|
|
1206
|
-
apiTeamId: z.ZodNumber;
|
|
1207
1482
|
name: z.ZodString;
|
|
1483
|
+
image: z.ZodString;
|
|
1484
|
+
apiTeamId: z.ZodNumber;
|
|
1208
1485
|
score: z.ZodNumber;
|
|
1209
1486
|
isWinner: z.ZodOptional<z.ZodBoolean>;
|
|
1210
|
-
image: z.ZodString;
|
|
1211
1487
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
1212
1488
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
1213
|
-
scoreExtraTime: z.ZodOptional<z.ZodNumber>;
|
|
1214
|
-
}, {
|
|
1215
1489
|
scorePeriod1: z.ZodNumber;
|
|
1216
1490
|
scorePeriod2: z.ZodNumber;
|
|
1217
1491
|
scoreExtraTime: z.ZodNumber;
|
|
1218
1492
|
scorePenalty: z.ZodNumber;
|
|
1219
1493
|
venueName: z.ZodOptional<z.ZodString>;
|
|
1220
|
-
}
|
|
1494
|
+
}, "strip", z.ZodTypeAny, {
|
|
1221
1495
|
name: string;
|
|
1222
1496
|
image: string;
|
|
1223
1497
|
apiTeamId: number;
|
|
@@ -1247,7 +1521,7 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1247
1521
|
venueName?: string | undefined;
|
|
1248
1522
|
}>;
|
|
1249
1523
|
hadExtraTime: z.ZodBoolean;
|
|
1250
|
-
}
|
|
1524
|
+
}, "strip", z.ZodTypeAny, {
|
|
1251
1525
|
status: "live" | "scheduled" | "final";
|
|
1252
1526
|
week: number;
|
|
1253
1527
|
startedAt: number;
|
|
@@ -1370,14 +1644,13 @@ export declare const eplGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1370
1644
|
};
|
|
1371
1645
|
} | undefined;
|
|
1372
1646
|
}>;
|
|
1373
|
-
export declare const nflGameSchema: z.ZodObject<
|
|
1647
|
+
export declare const nflGameSchema: z.ZodObject<{
|
|
1374
1648
|
id: z.ZodOptional<z.ZodString>;
|
|
1375
1649
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
1376
1650
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
1377
1651
|
startedAt: z.ZodNumber;
|
|
1378
1652
|
finishedAt: z.ZodNumber;
|
|
1379
1653
|
ratingWindowClosedAt: z.ZodOptional<z.ZodNumber>;
|
|
1380
|
-
apiGameId: z.ZodNumber;
|
|
1381
1654
|
league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">, z.ZodLiteral<"mlb">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mls">, z.ZodLiteral<"cfb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"epl">]>;
|
|
1382
1655
|
homeTeam: z.ZodObject<{
|
|
1383
1656
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1482,7 +1755,6 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1482
1755
|
options: Record<number, number>;
|
|
1483
1756
|
};
|
|
1484
1757
|
}>>;
|
|
1485
|
-
}, {
|
|
1486
1758
|
apiGameId: z.ZodString;
|
|
1487
1759
|
seasonType: z.ZodNumber;
|
|
1488
1760
|
season: z.ZodNumber;
|
|
@@ -1503,6 +1775,8 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1503
1775
|
homeScoreQuarter2: z.ZodNullable<z.ZodNumber>;
|
|
1504
1776
|
homeScoreQuarter3: z.ZodNullable<z.ZodNumber>;
|
|
1505
1777
|
homeScoreQuarter4: z.ZodNullable<z.ZodNumber>;
|
|
1778
|
+
awayScoreOvertime: z.ZodNullable<z.ZodNumber>;
|
|
1779
|
+
homeScoreOvertime: z.ZodNullable<z.ZodNumber>;
|
|
1506
1780
|
isOverTime: z.ZodBoolean;
|
|
1507
1781
|
stadium: z.ZodOptional<z.ZodObject<{
|
|
1508
1782
|
StadiumID: z.ZodNumber;
|
|
@@ -1538,7 +1812,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1538
1812
|
GeoLong: number | null;
|
|
1539
1813
|
Type: string | null;
|
|
1540
1814
|
}>>;
|
|
1541
|
-
}
|
|
1815
|
+
}, "strip", z.ZodTypeAny, {
|
|
1542
1816
|
status: "live" | "scheduled" | "final";
|
|
1543
1817
|
quarter: string | null;
|
|
1544
1818
|
week: number;
|
|
@@ -1585,6 +1859,8 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1585
1859
|
homeScoreQuarter2: number | null;
|
|
1586
1860
|
homeScoreQuarter3: number | null;
|
|
1587
1861
|
homeScoreQuarter4: number | null;
|
|
1862
|
+
awayScoreOvertime: number | null;
|
|
1863
|
+
homeScoreOvertime: number | null;
|
|
1588
1864
|
isOverTime: boolean;
|
|
1589
1865
|
id?: string | undefined;
|
|
1590
1866
|
isClosed?: boolean | undefined;
|
|
@@ -1661,6 +1937,8 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1661
1937
|
homeScoreQuarter2: number | null;
|
|
1662
1938
|
homeScoreQuarter3: number | null;
|
|
1663
1939
|
homeScoreQuarter4: number | null;
|
|
1940
|
+
awayScoreOvertime: number | null;
|
|
1941
|
+
homeScoreOvertime: number | null;
|
|
1664
1942
|
isOverTime: boolean;
|
|
1665
1943
|
id?: string | undefined;
|
|
1666
1944
|
isClosed?: boolean | undefined;
|
|
@@ -1691,7 +1969,7 @@ export declare const nflGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1691
1969
|
Type: string | null;
|
|
1692
1970
|
} | undefined;
|
|
1693
1971
|
}>;
|
|
1694
|
-
export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<
|
|
1972
|
+
export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
|
|
1695
1973
|
id: z.ZodOptional<z.ZodString>;
|
|
1696
1974
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
1697
1975
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1803,7 +2081,6 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1803
2081
|
options: Record<number, number>;
|
|
1804
2082
|
};
|
|
1805
2083
|
}>>;
|
|
1806
|
-
}, {
|
|
1807
2084
|
round: z.ZodNumber;
|
|
1808
2085
|
timeRemainingMinutes: z.ZodNumber;
|
|
1809
2086
|
timeRemainingSeconds: z.ZodNumber;
|
|
@@ -1822,7 +2099,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1822
2099
|
}>, "many">;
|
|
1823
2100
|
periodType: z.ZodUnion<[z.ZodLiteral<"half">, z.ZodLiteral<"quarter">]>;
|
|
1824
2101
|
periodDuration: z.ZodNumber;
|
|
1825
|
-
}
|
|
2102
|
+
}, "strip", z.ZodTypeAny, {
|
|
1826
2103
|
round: number;
|
|
1827
2104
|
status: "live" | "scheduled" | "final";
|
|
1828
2105
|
startedAt: number;
|
|
@@ -1930,7 +2207,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1930
2207
|
options: Record<number, number>;
|
|
1931
2208
|
};
|
|
1932
2209
|
} | undefined;
|
|
1933
|
-
}>, z.ZodObject<
|
|
2210
|
+
}>, z.ZodObject<{
|
|
1934
2211
|
id: z.ZodOptional<z.ZodString>;
|
|
1935
2212
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
1936
2213
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2042,7 +2319,6 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2042
2319
|
options: Record<number, number>;
|
|
2043
2320
|
};
|
|
2044
2321
|
}>>;
|
|
2045
|
-
}, {
|
|
2046
2322
|
totalInningsRemaining: z.ZodNumber;
|
|
2047
2323
|
innings: z.ZodArray<z.ZodObject<{
|
|
2048
2324
|
inningNumber: z.ZodNumber;
|
|
@@ -2071,7 +2347,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2071
2347
|
runnerOnFirst: z.ZodOptional<z.ZodBoolean>;
|
|
2072
2348
|
runnerOnSecond: z.ZodOptional<z.ZodBoolean>;
|
|
2073
2349
|
runnerOnThird: z.ZodOptional<z.ZodBoolean>;
|
|
2074
|
-
}
|
|
2350
|
+
}, "strip", z.ZodTypeAny, {
|
|
2075
2351
|
status: "live" | "scheduled" | "final";
|
|
2076
2352
|
startedAt: number;
|
|
2077
2353
|
finishedAt: number;
|
|
@@ -2199,7 +2475,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2199
2475
|
runnerOnFirst?: boolean | undefined;
|
|
2200
2476
|
runnerOnSecond?: boolean | undefined;
|
|
2201
2477
|
runnerOnThird?: boolean | undefined;
|
|
2202
|
-
}>, z.ZodObject<
|
|
2478
|
+
}>, z.ZodObject<{
|
|
2203
2479
|
id: z.ZodOptional<z.ZodString>;
|
|
2204
2480
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
2205
2481
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2207,69 +2483,6 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2207
2483
|
finishedAt: z.ZodNumber;
|
|
2208
2484
|
ratingWindowClosedAt: z.ZodOptional<z.ZodNumber>;
|
|
2209
2485
|
apiGameId: z.ZodNumber;
|
|
2210
|
-
league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">, z.ZodLiteral<"mlb">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mls">, z.ZodLiteral<"cfb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"epl">]>;
|
|
2211
|
-
homeTeam: z.ZodObject<{
|
|
2212
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2213
|
-
apiTeamId: z.ZodNumber;
|
|
2214
|
-
name: z.ZodString;
|
|
2215
|
-
score: z.ZodNumber;
|
|
2216
|
-
isWinner: z.ZodOptional<z.ZodBoolean>;
|
|
2217
|
-
image: z.ZodString;
|
|
2218
|
-
seed: z.ZodOptional<z.ZodNumber>;
|
|
2219
|
-
teamCode: z.ZodOptional<z.ZodString>;
|
|
2220
|
-
scoreExtraTime: z.ZodOptional<z.ZodNumber>;
|
|
2221
|
-
}, "strip", z.ZodTypeAny, {
|
|
2222
|
-
name: string;
|
|
2223
|
-
image: string;
|
|
2224
|
-
apiTeamId: number;
|
|
2225
|
-
score: number;
|
|
2226
|
-
id?: string | undefined;
|
|
2227
|
-
isWinner?: boolean | undefined;
|
|
2228
|
-
seed?: number | undefined;
|
|
2229
|
-
teamCode?: string | undefined;
|
|
2230
|
-
scoreExtraTime?: number | undefined;
|
|
2231
|
-
}, {
|
|
2232
|
-
name: string;
|
|
2233
|
-
image: string;
|
|
2234
|
-
apiTeamId: number;
|
|
2235
|
-
score: number;
|
|
2236
|
-
id?: string | undefined;
|
|
2237
|
-
isWinner?: boolean | undefined;
|
|
2238
|
-
seed?: number | undefined;
|
|
2239
|
-
teamCode?: string | undefined;
|
|
2240
|
-
scoreExtraTime?: number | undefined;
|
|
2241
|
-
}>;
|
|
2242
|
-
awayTeam: z.ZodObject<{
|
|
2243
|
-
id: z.ZodOptional<z.ZodString>;
|
|
2244
|
-
apiTeamId: z.ZodNumber;
|
|
2245
|
-
name: z.ZodString;
|
|
2246
|
-
score: z.ZodNumber;
|
|
2247
|
-
isWinner: z.ZodOptional<z.ZodBoolean>;
|
|
2248
|
-
image: z.ZodString;
|
|
2249
|
-
seed: z.ZodOptional<z.ZodNumber>;
|
|
2250
|
-
teamCode: z.ZodOptional<z.ZodString>;
|
|
2251
|
-
scoreExtraTime: z.ZodOptional<z.ZodNumber>;
|
|
2252
|
-
}, "strip", z.ZodTypeAny, {
|
|
2253
|
-
name: string;
|
|
2254
|
-
image: string;
|
|
2255
|
-
apiTeamId: number;
|
|
2256
|
-
score: number;
|
|
2257
|
-
id?: string | undefined;
|
|
2258
|
-
isWinner?: boolean | undefined;
|
|
2259
|
-
seed?: number | undefined;
|
|
2260
|
-
teamCode?: string | undefined;
|
|
2261
|
-
scoreExtraTime?: number | undefined;
|
|
2262
|
-
}, {
|
|
2263
|
-
name: string;
|
|
2264
|
-
image: string;
|
|
2265
|
-
apiTeamId: number;
|
|
2266
|
-
score: number;
|
|
2267
|
-
id?: string | undefined;
|
|
2268
|
-
isWinner?: boolean | undefined;
|
|
2269
|
-
seed?: number | undefined;
|
|
2270
|
-
teamCode?: string | undefined;
|
|
2271
|
-
scoreExtraTime?: number | undefined;
|
|
2272
|
-
}>;
|
|
2273
2486
|
seriesInfo: z.ZodOptional<z.ZodObject<{
|
|
2274
2487
|
homeTeamWins: z.ZodNumber;
|
|
2275
2488
|
awayTeamWins: z.ZodNumber;
|
|
@@ -2311,7 +2524,6 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2311
2524
|
options: Record<number, number>;
|
|
2312
2525
|
};
|
|
2313
2526
|
}>>;
|
|
2314
|
-
}, {
|
|
2315
2527
|
league: z.ZodLiteral<"epl">;
|
|
2316
2528
|
week: z.ZodNumber;
|
|
2317
2529
|
period: z.ZodString;
|
|
@@ -2321,23 +2533,21 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2321
2533
|
venueType: z.ZodString;
|
|
2322
2534
|
attendance: z.ZodNumber;
|
|
2323
2535
|
aggregateScore: z.ZodString;
|
|
2324
|
-
homeTeam: z.ZodObject<
|
|
2536
|
+
homeTeam: z.ZodObject<{
|
|
2325
2537
|
id: z.ZodOptional<z.ZodString>;
|
|
2326
|
-
apiTeamId: z.ZodNumber;
|
|
2327
2538
|
name: z.ZodString;
|
|
2539
|
+
image: z.ZodString;
|
|
2540
|
+
apiTeamId: z.ZodNumber;
|
|
2328
2541
|
score: z.ZodNumber;
|
|
2329
2542
|
isWinner: z.ZodOptional<z.ZodBoolean>;
|
|
2330
|
-
image: z.ZodString;
|
|
2331
2543
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
2332
2544
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
2333
|
-
scoreExtraTime: z.ZodOptional<z.ZodNumber>;
|
|
2334
|
-
}, {
|
|
2335
2545
|
scorePeriod1: z.ZodNumber;
|
|
2336
2546
|
scorePeriod2: z.ZodNumber;
|
|
2337
2547
|
scoreExtraTime: z.ZodNumber;
|
|
2338
2548
|
scorePenalty: z.ZodNumber;
|
|
2339
2549
|
venueName: z.ZodOptional<z.ZodString>;
|
|
2340
|
-
}
|
|
2550
|
+
}, "strip", z.ZodTypeAny, {
|
|
2341
2551
|
name: string;
|
|
2342
2552
|
image: string;
|
|
2343
2553
|
apiTeamId: number;
|
|
@@ -2366,23 +2576,21 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2366
2576
|
teamCode?: string | undefined;
|
|
2367
2577
|
venueName?: string | undefined;
|
|
2368
2578
|
}>;
|
|
2369
|
-
awayTeam: z.ZodObject<
|
|
2579
|
+
awayTeam: z.ZodObject<{
|
|
2370
2580
|
id: z.ZodOptional<z.ZodString>;
|
|
2371
|
-
apiTeamId: z.ZodNumber;
|
|
2372
2581
|
name: z.ZodString;
|
|
2582
|
+
image: z.ZodString;
|
|
2583
|
+
apiTeamId: z.ZodNumber;
|
|
2373
2584
|
score: z.ZodNumber;
|
|
2374
2585
|
isWinner: z.ZodOptional<z.ZodBoolean>;
|
|
2375
|
-
image: z.ZodString;
|
|
2376
2586
|
seed: z.ZodOptional<z.ZodNumber>;
|
|
2377
2587
|
teamCode: z.ZodOptional<z.ZodString>;
|
|
2378
|
-
scoreExtraTime: z.ZodOptional<z.ZodNumber>;
|
|
2379
|
-
}, {
|
|
2380
2588
|
scorePeriod1: z.ZodNumber;
|
|
2381
2589
|
scorePeriod2: z.ZodNumber;
|
|
2382
2590
|
scoreExtraTime: z.ZodNumber;
|
|
2383
2591
|
scorePenalty: z.ZodNumber;
|
|
2384
2592
|
venueName: z.ZodOptional<z.ZodString>;
|
|
2385
|
-
}
|
|
2593
|
+
}, "strip", z.ZodTypeAny, {
|
|
2386
2594
|
name: string;
|
|
2387
2595
|
image: string;
|
|
2388
2596
|
apiTeamId: number;
|
|
@@ -2412,7 +2620,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2412
2620
|
venueName?: string | undefined;
|
|
2413
2621
|
}>;
|
|
2414
2622
|
hadExtraTime: z.ZodBoolean;
|
|
2415
|
-
}
|
|
2623
|
+
}, "strip", z.ZodTypeAny, {
|
|
2416
2624
|
status: "live" | "scheduled" | "final";
|
|
2417
2625
|
week: number;
|
|
2418
2626
|
startedAt: number;
|
|
@@ -2534,14 +2742,13 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2534
2742
|
options: Record<number, number>;
|
|
2535
2743
|
};
|
|
2536
2744
|
} | undefined;
|
|
2537
|
-
}>, z.ZodObject<
|
|
2745
|
+
}>, z.ZodObject<{
|
|
2538
2746
|
id: z.ZodOptional<z.ZodString>;
|
|
2539
2747
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
2540
2748
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
2541
2749
|
startedAt: z.ZodNumber;
|
|
2542
2750
|
finishedAt: z.ZodNumber;
|
|
2543
2751
|
ratingWindowClosedAt: z.ZodOptional<z.ZodNumber>;
|
|
2544
|
-
apiGameId: z.ZodNumber;
|
|
2545
2752
|
league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">, z.ZodLiteral<"mlb">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mls">, z.ZodLiteral<"cfb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"epl">]>;
|
|
2546
2753
|
homeTeam: z.ZodObject<{
|
|
2547
2754
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -2646,7 +2853,6 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2646
2853
|
options: Record<number, number>;
|
|
2647
2854
|
};
|
|
2648
2855
|
}>>;
|
|
2649
|
-
}, {
|
|
2650
2856
|
apiGameId: z.ZodString;
|
|
2651
2857
|
seasonType: z.ZodNumber;
|
|
2652
2858
|
season: z.ZodNumber;
|
|
@@ -2667,6 +2873,8 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2667
2873
|
homeScoreQuarter2: z.ZodNullable<z.ZodNumber>;
|
|
2668
2874
|
homeScoreQuarter3: z.ZodNullable<z.ZodNumber>;
|
|
2669
2875
|
homeScoreQuarter4: z.ZodNullable<z.ZodNumber>;
|
|
2876
|
+
awayScoreOvertime: z.ZodNullable<z.ZodNumber>;
|
|
2877
|
+
homeScoreOvertime: z.ZodNullable<z.ZodNumber>;
|
|
2670
2878
|
isOverTime: z.ZodBoolean;
|
|
2671
2879
|
stadium: z.ZodOptional<z.ZodObject<{
|
|
2672
2880
|
StadiumID: z.ZodNumber;
|
|
@@ -2702,7 +2910,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2702
2910
|
GeoLong: number | null;
|
|
2703
2911
|
Type: string | null;
|
|
2704
2912
|
}>>;
|
|
2705
|
-
}
|
|
2913
|
+
}, "strip", z.ZodTypeAny, {
|
|
2706
2914
|
status: "live" | "scheduled" | "final";
|
|
2707
2915
|
quarter: string | null;
|
|
2708
2916
|
week: number;
|
|
@@ -2749,6 +2957,8 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2749
2957
|
homeScoreQuarter2: number | null;
|
|
2750
2958
|
homeScoreQuarter3: number | null;
|
|
2751
2959
|
homeScoreQuarter4: number | null;
|
|
2960
|
+
awayScoreOvertime: number | null;
|
|
2961
|
+
homeScoreOvertime: number | null;
|
|
2752
2962
|
isOverTime: boolean;
|
|
2753
2963
|
id?: string | undefined;
|
|
2754
2964
|
isClosed?: boolean | undefined;
|
|
@@ -2825,6 +3035,8 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
2825
3035
|
homeScoreQuarter2: number | null;
|
|
2826
3036
|
homeScoreQuarter3: number | null;
|
|
2827
3037
|
homeScoreQuarter4: number | null;
|
|
3038
|
+
awayScoreOvertime: number | null;
|
|
3039
|
+
homeScoreOvertime: number | null;
|
|
2828
3040
|
isOverTime: boolean;
|
|
2829
3041
|
id?: string | undefined;
|
|
2830
3042
|
isClosed?: boolean | undefined;
|
|
@@ -2866,20 +3078,20 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
2866
3078
|
offset: z.ZodOptional<z.ZodString>;
|
|
2867
3079
|
}, "strip", z.ZodTypeAny, {
|
|
2868
3080
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
2869
|
-
offset?: string | undefined;
|
|
2870
|
-
round?: string | undefined;
|
|
2871
3081
|
q?: string | undefined;
|
|
2872
|
-
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
2873
3082
|
teamId?: string | undefined;
|
|
3083
|
+
round?: string | undefined;
|
|
3084
|
+
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
2874
3085
|
sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
|
|
2875
3086
|
limit?: string | undefined;
|
|
3087
|
+
offset?: string | undefined;
|
|
2876
3088
|
}, {
|
|
2877
3089
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls" | "cfb" | "cbb" | "epl";
|
|
2878
|
-
offset?: string | undefined;
|
|
2879
|
-
round?: string | undefined;
|
|
2880
3090
|
q?: string | undefined;
|
|
2881
|
-
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
2882
3091
|
teamId?: string | undefined;
|
|
3092
|
+
round?: string | undefined;
|
|
3093
|
+
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
2883
3094
|
sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
|
|
2884
3095
|
limit?: string | undefined;
|
|
3096
|
+
offset?: string | undefined;
|
|
2885
3097
|
}>;
|