rategame-shared 1.1.320 → 1.1.322
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 +245 -0
- package/dist/schemas/game.js +2 -0
- package/dist/schemas/notification.d.ts +27 -0
- package/dist/schemas/pick.d.ts +324 -3
- package/dist/schemas/pick.js +1 -1
- package/dist/schemas/rating.d.ts +49 -0
- package/dist/schemas/stadium.d.ts +28 -0
- package/dist/schemas/voting.d.ts +90 -0
- package/package.json +1 -1
package/dist/schemas/game.js
CHANGED
|
@@ -18,6 +18,8 @@ exports.gameTeamSchema = zod_1.z.object({
|
|
|
18
18
|
school: zod_1.z.string().optional().nullable(),
|
|
19
19
|
city: zod_1.z.string().optional().nullable(),
|
|
20
20
|
venueName: zod_1.z.string().optional().nullable(),
|
|
21
|
+
// Pick count for pregame predictions
|
|
22
|
+
pickCount: zod_1.z.number().optional(),
|
|
21
23
|
});
|
|
22
24
|
exports.gameRatingAggregateSchema = zod_1.z.object({
|
|
23
25
|
avg: zod_1.z.number(),
|
|
@@ -70,6 +70,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
70
70
|
school: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
71
71
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
72
72
|
venueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
73
|
+
pickCount: z.ZodOptional<z.ZodNumber>;
|
|
73
74
|
}, "strip", z.ZodTypeAny, {
|
|
74
75
|
name: string | null;
|
|
75
76
|
image: string | null;
|
|
@@ -84,6 +85,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
84
85
|
school?: string | null | undefined;
|
|
85
86
|
city?: string | null | undefined;
|
|
86
87
|
venueName?: string | null | undefined;
|
|
88
|
+
pickCount?: number | undefined;
|
|
87
89
|
}, {
|
|
88
90
|
name: string | null;
|
|
89
91
|
image: string | null;
|
|
@@ -98,6 +100,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
98
100
|
school?: string | null | undefined;
|
|
99
101
|
city?: string | null | undefined;
|
|
100
102
|
venueName?: string | null | undefined;
|
|
103
|
+
pickCount?: number | undefined;
|
|
101
104
|
}>;
|
|
102
105
|
awayTeam: z.ZodObject<{
|
|
103
106
|
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -113,6 +116,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
113
116
|
school: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
114
117
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
115
118
|
venueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
119
|
+
pickCount: z.ZodOptional<z.ZodNumber>;
|
|
116
120
|
}, "strip", z.ZodTypeAny, {
|
|
117
121
|
name: string | null;
|
|
118
122
|
image: string | null;
|
|
@@ -127,6 +131,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
127
131
|
school?: string | null | undefined;
|
|
128
132
|
city?: string | null | undefined;
|
|
129
133
|
venueName?: string | null | undefined;
|
|
134
|
+
pickCount?: number | undefined;
|
|
130
135
|
}, {
|
|
131
136
|
name: string | null;
|
|
132
137
|
image: string | null;
|
|
@@ -141,6 +146,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
141
146
|
school?: string | null | undefined;
|
|
142
147
|
city?: string | null | undefined;
|
|
143
148
|
venueName?: string | null | undefined;
|
|
149
|
+
pickCount?: number | undefined;
|
|
144
150
|
}>;
|
|
145
151
|
seriesInfo: z.ZodOptional<z.ZodObject<{
|
|
146
152
|
homeTeamWins: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -180,6 +186,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
180
186
|
school?: string | null | undefined;
|
|
181
187
|
city?: string | null | undefined;
|
|
182
188
|
venueName?: string | null | undefined;
|
|
189
|
+
pickCount?: number | undefined;
|
|
183
190
|
};
|
|
184
191
|
awayTeam: {
|
|
185
192
|
name: string | null;
|
|
@@ -195,6 +202,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
195
202
|
school?: string | null | undefined;
|
|
196
203
|
city?: string | null | undefined;
|
|
197
204
|
venueName?: string | null | undefined;
|
|
205
|
+
pickCount?: number | undefined;
|
|
198
206
|
};
|
|
199
207
|
round?: number | undefined;
|
|
200
208
|
week?: number | undefined;
|
|
@@ -225,6 +233,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
225
233
|
school?: string | null | undefined;
|
|
226
234
|
city?: string | null | undefined;
|
|
227
235
|
venueName?: string | null | undefined;
|
|
236
|
+
pickCount?: number | undefined;
|
|
228
237
|
};
|
|
229
238
|
awayTeam: {
|
|
230
239
|
name: string | null;
|
|
@@ -240,6 +249,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
240
249
|
school?: string | null | undefined;
|
|
241
250
|
city?: string | null | undefined;
|
|
242
251
|
venueName?: string | null | undefined;
|
|
252
|
+
pickCount?: number | undefined;
|
|
243
253
|
};
|
|
244
254
|
round?: number | undefined;
|
|
245
255
|
week?: number | undefined;
|
|
@@ -280,6 +290,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
280
290
|
school: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
281
291
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
282
292
|
venueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
293
|
+
pickCount: z.ZodOptional<z.ZodNumber>;
|
|
283
294
|
}, "strip", z.ZodTypeAny, {
|
|
284
295
|
name: string | null;
|
|
285
296
|
image: string | null;
|
|
@@ -294,6 +305,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
294
305
|
school?: string | null | undefined;
|
|
295
306
|
city?: string | null | undefined;
|
|
296
307
|
venueName?: string | null | undefined;
|
|
308
|
+
pickCount?: number | undefined;
|
|
297
309
|
}, {
|
|
298
310
|
name: string | null;
|
|
299
311
|
image: string | null;
|
|
@@ -308,6 +320,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
308
320
|
school?: string | null | undefined;
|
|
309
321
|
city?: string | null | undefined;
|
|
310
322
|
venueName?: string | null | undefined;
|
|
323
|
+
pickCount?: number | undefined;
|
|
311
324
|
}>;
|
|
312
325
|
}, "strip", z.ZodTypeAny, {
|
|
313
326
|
id: string;
|
|
@@ -325,6 +338,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
325
338
|
school?: string | null | undefined;
|
|
326
339
|
city?: string | null | undefined;
|
|
327
340
|
venueName?: string | null | undefined;
|
|
341
|
+
pickCount?: number | undefined;
|
|
328
342
|
};
|
|
329
343
|
}, {
|
|
330
344
|
id: string;
|
|
@@ -342,6 +356,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
342
356
|
school?: string | null | undefined;
|
|
343
357
|
city?: string | null | undefined;
|
|
344
358
|
venueName?: string | null | undefined;
|
|
359
|
+
pickCount?: number | undefined;
|
|
345
360
|
};
|
|
346
361
|
}>>;
|
|
347
362
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -372,6 +387,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
372
387
|
school?: string | null | undefined;
|
|
373
388
|
city?: string | null | undefined;
|
|
374
389
|
venueName?: string | null | undefined;
|
|
390
|
+
pickCount?: number | undefined;
|
|
375
391
|
};
|
|
376
392
|
awayTeam: {
|
|
377
393
|
name: string | null;
|
|
@@ -387,6 +403,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
387
403
|
school?: string | null | undefined;
|
|
388
404
|
city?: string | null | undefined;
|
|
389
405
|
venueName?: string | null | undefined;
|
|
406
|
+
pickCount?: number | undefined;
|
|
390
407
|
};
|
|
391
408
|
round?: number | undefined;
|
|
392
409
|
week?: number | undefined;
|
|
@@ -417,6 +434,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
417
434
|
school?: string | null | undefined;
|
|
418
435
|
city?: string | null | undefined;
|
|
419
436
|
venueName?: string | null | undefined;
|
|
437
|
+
pickCount?: number | undefined;
|
|
420
438
|
};
|
|
421
439
|
} | undefined;
|
|
422
440
|
weightedRating?: number | undefined;
|
|
@@ -458,6 +476,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
458
476
|
school?: string | null | undefined;
|
|
459
477
|
city?: string | null | undefined;
|
|
460
478
|
venueName?: string | null | undefined;
|
|
479
|
+
pickCount?: number | undefined;
|
|
461
480
|
};
|
|
462
481
|
awayTeam: {
|
|
463
482
|
name: string | null;
|
|
@@ -473,6 +492,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
473
492
|
school?: string | null | undefined;
|
|
474
493
|
city?: string | null | undefined;
|
|
475
494
|
venueName?: string | null | undefined;
|
|
495
|
+
pickCount?: number | undefined;
|
|
476
496
|
};
|
|
477
497
|
round?: number | undefined;
|
|
478
498
|
week?: number | undefined;
|
|
@@ -503,6 +523,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
503
523
|
school?: string | null | undefined;
|
|
504
524
|
city?: string | null | undefined;
|
|
505
525
|
venueName?: string | null | undefined;
|
|
526
|
+
pickCount?: number | undefined;
|
|
506
527
|
};
|
|
507
528
|
} | undefined;
|
|
508
529
|
weightedRating?: number | undefined;
|
|
@@ -561,6 +582,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
561
582
|
school?: string | null | undefined;
|
|
562
583
|
city?: string | null | undefined;
|
|
563
584
|
venueName?: string | null | undefined;
|
|
585
|
+
pickCount?: number | undefined;
|
|
564
586
|
};
|
|
565
587
|
awayTeam: {
|
|
566
588
|
name: string | null;
|
|
@@ -576,6 +598,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
576
598
|
school?: string | null | undefined;
|
|
577
599
|
city?: string | null | undefined;
|
|
578
600
|
venueName?: string | null | undefined;
|
|
601
|
+
pickCount?: number | undefined;
|
|
579
602
|
};
|
|
580
603
|
round?: number | undefined;
|
|
581
604
|
week?: number | undefined;
|
|
@@ -606,6 +629,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
606
629
|
school?: string | null | undefined;
|
|
607
630
|
city?: string | null | undefined;
|
|
608
631
|
venueName?: string | null | undefined;
|
|
632
|
+
pickCount?: number | undefined;
|
|
609
633
|
};
|
|
610
634
|
} | undefined;
|
|
611
635
|
weightedRating?: number | undefined;
|
|
@@ -665,6 +689,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
665
689
|
school?: string | null | undefined;
|
|
666
690
|
city?: string | null | undefined;
|
|
667
691
|
venueName?: string | null | undefined;
|
|
692
|
+
pickCount?: number | undefined;
|
|
668
693
|
};
|
|
669
694
|
awayTeam: {
|
|
670
695
|
name: string | null;
|
|
@@ -680,6 +705,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
680
705
|
school?: string | null | undefined;
|
|
681
706
|
city?: string | null | undefined;
|
|
682
707
|
venueName?: string | null | undefined;
|
|
708
|
+
pickCount?: number | undefined;
|
|
683
709
|
};
|
|
684
710
|
round?: number | undefined;
|
|
685
711
|
week?: number | undefined;
|
|
@@ -710,6 +736,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
710
736
|
school?: string | null | undefined;
|
|
711
737
|
city?: string | null | undefined;
|
|
712
738
|
venueName?: string | null | undefined;
|
|
739
|
+
pickCount?: number | undefined;
|
|
713
740
|
};
|
|
714
741
|
} | undefined;
|
|
715
742
|
weightedRating?: number | undefined;
|