rategame-shared 1.1.465 → 1.1.466
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/communityGame.d.ts +29 -29
- package/dist/schemas/game.d.ts +227 -227
- package/dist/schemas/game.js +7 -2
- package/dist/schemas/notification.d.ts +27 -27
- package/dist/schemas/pick.d.ts +533 -533
- package/dist/schemas/poll.d.ts +192 -192
- package/dist/schemas/rating.d.ts +39 -39
- package/dist/schemas/scorePrediction.d.ts +384 -384
- package/dist/schemas/stadium.d.ts +28 -28
- package/dist/schemas/voting.d.ts +84 -84
- package/package.json +1 -1
|
@@ -447,7 +447,7 @@ export declare const communityGameTeamSchema: z.ZodObject<{
|
|
|
447
447
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
448
448
|
venueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
449
449
|
primaryColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
450
|
-
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
450
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
451
451
|
pickCount: z.ZodOptional<z.ZodNumber>;
|
|
452
452
|
}, "strip", z.ZodTypeAny, {
|
|
453
453
|
name: string | null;
|
|
@@ -464,7 +464,7 @@ export declare const communityGameTeamSchema: z.ZodObject<{
|
|
|
464
464
|
city?: string | null | undefined;
|
|
465
465
|
venueName?: string | null | undefined;
|
|
466
466
|
primaryColor?: string | null | undefined;
|
|
467
|
-
aliases?: string[] | undefined;
|
|
467
|
+
aliases?: string[] | null | undefined;
|
|
468
468
|
pickCount?: number | undefined;
|
|
469
469
|
}, {
|
|
470
470
|
name: string | null;
|
|
@@ -481,7 +481,7 @@ export declare const communityGameTeamSchema: z.ZodObject<{
|
|
|
481
481
|
city?: string | null | undefined;
|
|
482
482
|
venueName?: string | null | undefined;
|
|
483
483
|
primaryColor?: string | null | undefined;
|
|
484
|
-
aliases?: string[] | undefined;
|
|
484
|
+
aliases?: string[] | null | undefined;
|
|
485
485
|
pickCount?: number | undefined;
|
|
486
486
|
}>>;
|
|
487
487
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -511,7 +511,7 @@ export declare const communityGameTeamSchema: z.ZodObject<{
|
|
|
511
511
|
city?: string | null | undefined;
|
|
512
512
|
venueName?: string | null | undefined;
|
|
513
513
|
primaryColor?: string | null | undefined;
|
|
514
|
-
aliases?: string[] | undefined;
|
|
514
|
+
aliases?: string[] | null | undefined;
|
|
515
515
|
pickCount?: number | undefined;
|
|
516
516
|
} | undefined;
|
|
517
517
|
}, {
|
|
@@ -541,7 +541,7 @@ export declare const communityGameTeamSchema: z.ZodObject<{
|
|
|
541
541
|
city?: string | null | undefined;
|
|
542
542
|
venueName?: string | null | undefined;
|
|
543
543
|
primaryColor?: string | null | undefined;
|
|
544
|
-
aliases?: string[] | undefined;
|
|
544
|
+
aliases?: string[] | null | undefined;
|
|
545
545
|
pickCount?: number | undefined;
|
|
546
546
|
} | undefined;
|
|
547
547
|
}>;
|
|
@@ -626,7 +626,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
626
626
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
627
627
|
venueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
628
628
|
primaryColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
629
|
-
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
629
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
630
630
|
pickCount: z.ZodOptional<z.ZodNumber>;
|
|
631
631
|
}, "strip", z.ZodTypeAny, {
|
|
632
632
|
name: string | null;
|
|
@@ -643,7 +643,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
643
643
|
city?: string | null | undefined;
|
|
644
644
|
venueName?: string | null | undefined;
|
|
645
645
|
primaryColor?: string | null | undefined;
|
|
646
|
-
aliases?: string[] | undefined;
|
|
646
|
+
aliases?: string[] | null | undefined;
|
|
647
647
|
pickCount?: number | undefined;
|
|
648
648
|
}, {
|
|
649
649
|
name: string | null;
|
|
@@ -660,7 +660,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
660
660
|
city?: string | null | undefined;
|
|
661
661
|
venueName?: string | null | undefined;
|
|
662
662
|
primaryColor?: string | null | undefined;
|
|
663
|
-
aliases?: string[] | undefined;
|
|
663
|
+
aliases?: string[] | null | undefined;
|
|
664
664
|
pickCount?: number | undefined;
|
|
665
665
|
}>>;
|
|
666
666
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -690,7 +690,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
690
690
|
city?: string | null | undefined;
|
|
691
691
|
venueName?: string | null | undefined;
|
|
692
692
|
primaryColor?: string | null | undefined;
|
|
693
|
-
aliases?: string[] | undefined;
|
|
693
|
+
aliases?: string[] | null | undefined;
|
|
694
694
|
pickCount?: number | undefined;
|
|
695
695
|
} | undefined;
|
|
696
696
|
}, {
|
|
@@ -720,7 +720,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
720
720
|
city?: string | null | undefined;
|
|
721
721
|
venueName?: string | null | undefined;
|
|
722
722
|
primaryColor?: string | null | undefined;
|
|
723
|
-
aliases?: string[] | undefined;
|
|
723
|
+
aliases?: string[] | null | undefined;
|
|
724
724
|
pickCount?: number | undefined;
|
|
725
725
|
} | undefined;
|
|
726
726
|
}>;
|
|
@@ -767,7 +767,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
767
767
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
768
768
|
venueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
769
769
|
primaryColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
770
|
-
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
770
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
771
771
|
pickCount: z.ZodOptional<z.ZodNumber>;
|
|
772
772
|
}, "strip", z.ZodTypeAny, {
|
|
773
773
|
name: string | null;
|
|
@@ -784,7 +784,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
784
784
|
city?: string | null | undefined;
|
|
785
785
|
venueName?: string | null | undefined;
|
|
786
786
|
primaryColor?: string | null | undefined;
|
|
787
|
-
aliases?: string[] | undefined;
|
|
787
|
+
aliases?: string[] | null | undefined;
|
|
788
788
|
pickCount?: number | undefined;
|
|
789
789
|
}, {
|
|
790
790
|
name: string | null;
|
|
@@ -801,7 +801,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
801
801
|
city?: string | null | undefined;
|
|
802
802
|
venueName?: string | null | undefined;
|
|
803
803
|
primaryColor?: string | null | undefined;
|
|
804
|
-
aliases?: string[] | undefined;
|
|
804
|
+
aliases?: string[] | null | undefined;
|
|
805
805
|
pickCount?: number | undefined;
|
|
806
806
|
}>>;
|
|
807
807
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -831,7 +831,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
831
831
|
city?: string | null | undefined;
|
|
832
832
|
venueName?: string | null | undefined;
|
|
833
833
|
primaryColor?: string | null | undefined;
|
|
834
|
-
aliases?: string[] | undefined;
|
|
834
|
+
aliases?: string[] | null | undefined;
|
|
835
835
|
pickCount?: number | undefined;
|
|
836
836
|
} | undefined;
|
|
837
837
|
}, {
|
|
@@ -861,7 +861,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
861
861
|
city?: string | null | undefined;
|
|
862
862
|
venueName?: string | null | undefined;
|
|
863
863
|
primaryColor?: string | null | undefined;
|
|
864
|
-
aliases?: string[] | undefined;
|
|
864
|
+
aliases?: string[] | null | undefined;
|
|
865
865
|
pickCount?: number | undefined;
|
|
866
866
|
} | undefined;
|
|
867
867
|
}>;
|
|
@@ -1180,7 +1180,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
1180
1180
|
city?: string | null | undefined;
|
|
1181
1181
|
venueName?: string | null | undefined;
|
|
1182
1182
|
primaryColor?: string | null | undefined;
|
|
1183
|
-
aliases?: string[] | undefined;
|
|
1183
|
+
aliases?: string[] | null | undefined;
|
|
1184
1184
|
pickCount?: number | undefined;
|
|
1185
1185
|
} | undefined;
|
|
1186
1186
|
};
|
|
@@ -1211,7 +1211,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
1211
1211
|
city?: string | null | undefined;
|
|
1212
1212
|
venueName?: string | null | undefined;
|
|
1213
1213
|
primaryColor?: string | null | undefined;
|
|
1214
|
-
aliases?: string[] | undefined;
|
|
1214
|
+
aliases?: string[] | null | undefined;
|
|
1215
1215
|
pickCount?: number | undefined;
|
|
1216
1216
|
} | undefined;
|
|
1217
1217
|
};
|
|
@@ -1326,7 +1326,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
1326
1326
|
city?: string | null | undefined;
|
|
1327
1327
|
venueName?: string | null | undefined;
|
|
1328
1328
|
primaryColor?: string | null | undefined;
|
|
1329
|
-
aliases?: string[] | undefined;
|
|
1329
|
+
aliases?: string[] | null | undefined;
|
|
1330
1330
|
pickCount?: number | undefined;
|
|
1331
1331
|
} | undefined;
|
|
1332
1332
|
};
|
|
@@ -1357,7 +1357,7 @@ export declare const createCommunityGameSchema: z.ZodObject<{
|
|
|
1357
1357
|
city?: string | null | undefined;
|
|
1358
1358
|
venueName?: string | null | undefined;
|
|
1359
1359
|
primaryColor?: string | null | undefined;
|
|
1360
|
-
aliases?: string[] | undefined;
|
|
1360
|
+
aliases?: string[] | null | undefined;
|
|
1361
1361
|
pickCount?: number | undefined;
|
|
1362
1362
|
} | undefined;
|
|
1363
1363
|
};
|
|
@@ -1463,7 +1463,7 @@ export declare const communityGameResponseSchema: z.ZodObject<{
|
|
|
1463
1463
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1464
1464
|
venueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1465
1465
|
primaryColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1466
|
-
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
1466
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1467
1467
|
pickCount: z.ZodOptional<z.ZodNumber>;
|
|
1468
1468
|
}, "strip", z.ZodTypeAny, {
|
|
1469
1469
|
name: string | null;
|
|
@@ -1480,7 +1480,7 @@ export declare const communityGameResponseSchema: z.ZodObject<{
|
|
|
1480
1480
|
city?: string | null | undefined;
|
|
1481
1481
|
venueName?: string | null | undefined;
|
|
1482
1482
|
primaryColor?: string | null | undefined;
|
|
1483
|
-
aliases?: string[] | undefined;
|
|
1483
|
+
aliases?: string[] | null | undefined;
|
|
1484
1484
|
pickCount?: number | undefined;
|
|
1485
1485
|
}, {
|
|
1486
1486
|
name: string | null;
|
|
@@ -1497,7 +1497,7 @@ export declare const communityGameResponseSchema: z.ZodObject<{
|
|
|
1497
1497
|
city?: string | null | undefined;
|
|
1498
1498
|
venueName?: string | null | undefined;
|
|
1499
1499
|
primaryColor?: string | null | undefined;
|
|
1500
|
-
aliases?: string[] | undefined;
|
|
1500
|
+
aliases?: string[] | null | undefined;
|
|
1501
1501
|
pickCount?: number | undefined;
|
|
1502
1502
|
}>;
|
|
1503
1503
|
awayTeam: z.ZodObject<{
|
|
@@ -1515,7 +1515,7 @@ export declare const communityGameResponseSchema: z.ZodObject<{
|
|
|
1515
1515
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1516
1516
|
venueName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1517
1517
|
primaryColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1518
|
-
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
1518
|
+
aliases: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1519
1519
|
pickCount: z.ZodOptional<z.ZodNumber>;
|
|
1520
1520
|
}, "strip", z.ZodTypeAny, {
|
|
1521
1521
|
name: string | null;
|
|
@@ -1532,7 +1532,7 @@ export declare const communityGameResponseSchema: z.ZodObject<{
|
|
|
1532
1532
|
city?: string | null | undefined;
|
|
1533
1533
|
venueName?: string | null | undefined;
|
|
1534
1534
|
primaryColor?: string | null | undefined;
|
|
1535
|
-
aliases?: string[] | undefined;
|
|
1535
|
+
aliases?: string[] | null | undefined;
|
|
1536
1536
|
pickCount?: number | undefined;
|
|
1537
1537
|
}, {
|
|
1538
1538
|
name: string | null;
|
|
@@ -1549,7 +1549,7 @@ export declare const communityGameResponseSchema: z.ZodObject<{
|
|
|
1549
1549
|
city?: string | null | undefined;
|
|
1550
1550
|
venueName?: string | null | undefined;
|
|
1551
1551
|
primaryColor?: string | null | undefined;
|
|
1552
|
-
aliases?: string[] | undefined;
|
|
1552
|
+
aliases?: string[] | null | undefined;
|
|
1553
1553
|
pickCount?: number | undefined;
|
|
1554
1554
|
}>;
|
|
1555
1555
|
startedAt: z.ZodNumber;
|
|
@@ -1577,7 +1577,7 @@ export declare const communityGameResponseSchema: z.ZodObject<{
|
|
|
1577
1577
|
city?: string | null | undefined;
|
|
1578
1578
|
venueName?: string | null | undefined;
|
|
1579
1579
|
primaryColor?: string | null | undefined;
|
|
1580
|
-
aliases?: string[] | undefined;
|
|
1580
|
+
aliases?: string[] | null | undefined;
|
|
1581
1581
|
pickCount?: number | undefined;
|
|
1582
1582
|
};
|
|
1583
1583
|
awayTeam: {
|
|
@@ -1595,7 +1595,7 @@ export declare const communityGameResponseSchema: z.ZodObject<{
|
|
|
1595
1595
|
city?: string | null | undefined;
|
|
1596
1596
|
venueName?: string | null | undefined;
|
|
1597
1597
|
primaryColor?: string | null | undefined;
|
|
1598
|
-
aliases?: string[] | undefined;
|
|
1598
|
+
aliases?: string[] | null | undefined;
|
|
1599
1599
|
pickCount?: number | undefined;
|
|
1600
1600
|
};
|
|
1601
1601
|
communityGame: true;
|
|
@@ -1621,7 +1621,7 @@ export declare const communityGameResponseSchema: z.ZodObject<{
|
|
|
1621
1621
|
city?: string | null | undefined;
|
|
1622
1622
|
venueName?: string | null | undefined;
|
|
1623
1623
|
primaryColor?: string | null | undefined;
|
|
1624
|
-
aliases?: string[] | undefined;
|
|
1624
|
+
aliases?: string[] | null | undefined;
|
|
1625
1625
|
pickCount?: number | undefined;
|
|
1626
1626
|
};
|
|
1627
1627
|
awayTeam: {
|
|
@@ -1639,7 +1639,7 @@ export declare const communityGameResponseSchema: z.ZodObject<{
|
|
|
1639
1639
|
city?: string | null | undefined;
|
|
1640
1640
|
venueName?: string | null | undefined;
|
|
1641
1641
|
primaryColor?: string | null | undefined;
|
|
1642
|
-
aliases?: string[] | undefined;
|
|
1642
|
+
aliases?: string[] | null | undefined;
|
|
1643
1643
|
pickCount?: number | undefined;
|
|
1644
1644
|
};
|
|
1645
1645
|
communityGame: true;
|