rategame-shared 1.1.275 → 1.1.277
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/chat.d.ts +45 -15
- package/dist/schemas/game.d.ts +180 -60
- package/dist/schemas/list.d.ts +45 -15
- package/dist/schemas/moderation.d.ts +36 -12
- package/dist/schemas/rating.d.ts +27 -9
- package/dist/schemas/stadium.d.ts +79 -26
- package/dist/schemas/stadium.js +1 -0
- package/dist/schemas/user.d.ts +39 -13
- package/dist/schemas/user.js +5 -1
- package/dist/schemas/userEvent.d.ts +27 -9
- package/dist/schemas/voting.d.ts +27 -9
- package/package.json +1 -1
|
@@ -37,6 +37,7 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
37
37
|
school: z.ZodOptional<z.ZodString>;
|
|
38
38
|
city: z.ZodOptional<z.ZodString>;
|
|
39
39
|
stadiumUrl: z.ZodOptional<z.ZodString>;
|
|
40
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
40
41
|
}, "strip", z.ZodTypeAny, {
|
|
41
42
|
name: string;
|
|
42
43
|
image: string;
|
|
@@ -46,6 +47,7 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
46
47
|
stadiumUrl?: string | undefined;
|
|
47
48
|
school?: string | undefined;
|
|
48
49
|
city?: string | undefined;
|
|
50
|
+
specialEvent?: boolean | undefined;
|
|
49
51
|
}, {
|
|
50
52
|
name: string;
|
|
51
53
|
image: string;
|
|
@@ -55,6 +57,7 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
55
57
|
stadiumUrl?: string | undefined;
|
|
56
58
|
school?: string | undefined;
|
|
57
59
|
city?: string | undefined;
|
|
60
|
+
specialEvent?: boolean | undefined;
|
|
58
61
|
}>, "many">;
|
|
59
62
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
60
63
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -96,6 +99,7 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
96
99
|
stadiumUrl?: string | undefined;
|
|
97
100
|
school?: string | undefined;
|
|
98
101
|
city?: string | undefined;
|
|
102
|
+
specialEvent?: boolean | undefined;
|
|
99
103
|
}[];
|
|
100
104
|
id?: string | undefined;
|
|
101
105
|
rating?: {
|
|
@@ -105,9 +109,9 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
105
109
|
options: Record<number, number>;
|
|
106
110
|
};
|
|
107
111
|
} | undefined;
|
|
112
|
+
specialEvent?: boolean | undefined;
|
|
108
113
|
teamIds?: string[] | undefined;
|
|
109
114
|
teamLeagues?: string[] | undefined;
|
|
110
|
-
specialEvent?: boolean | undefined;
|
|
111
115
|
}, {
|
|
112
116
|
city: string;
|
|
113
117
|
venueName: string;
|
|
@@ -120,6 +124,7 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
120
124
|
stadiumUrl?: string | undefined;
|
|
121
125
|
school?: string | undefined;
|
|
122
126
|
city?: string | undefined;
|
|
127
|
+
specialEvent?: boolean | undefined;
|
|
123
128
|
}[];
|
|
124
129
|
id?: string | undefined;
|
|
125
130
|
rating?: {
|
|
@@ -129,9 +134,9 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
129
134
|
options: Record<number, number>;
|
|
130
135
|
};
|
|
131
136
|
} | undefined;
|
|
137
|
+
specialEvent?: boolean | undefined;
|
|
132
138
|
teamIds?: string[] | undefined;
|
|
133
139
|
teamLeagues?: string[] | undefined;
|
|
134
|
-
specialEvent?: boolean | undefined;
|
|
135
140
|
}>;
|
|
136
141
|
export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
|
|
137
142
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -146,6 +151,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
|
|
|
146
151
|
school: z.ZodOptional<z.ZodString>;
|
|
147
152
|
city: z.ZodOptional<z.ZodString>;
|
|
148
153
|
stadiumUrl: z.ZodOptional<z.ZodString>;
|
|
154
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
149
155
|
}, "strip", z.ZodTypeAny, {
|
|
150
156
|
name: string;
|
|
151
157
|
image: string;
|
|
@@ -155,6 +161,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
|
|
|
155
161
|
stadiumUrl?: string | undefined;
|
|
156
162
|
school?: string | undefined;
|
|
157
163
|
city?: string | undefined;
|
|
164
|
+
specialEvent?: boolean | undefined;
|
|
158
165
|
}, {
|
|
159
166
|
name: string;
|
|
160
167
|
image: string;
|
|
@@ -164,6 +171,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
|
|
|
164
171
|
stadiumUrl?: string | undefined;
|
|
165
172
|
school?: string | undefined;
|
|
166
173
|
city?: string | undefined;
|
|
174
|
+
specialEvent?: boolean | undefined;
|
|
167
175
|
}>, "many">;
|
|
168
176
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
169
177
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -205,11 +213,12 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
|
|
|
205
213
|
stadiumUrl?: string | undefined;
|
|
206
214
|
school?: string | undefined;
|
|
207
215
|
city?: string | undefined;
|
|
216
|
+
specialEvent?: boolean | undefined;
|
|
208
217
|
}[];
|
|
209
218
|
id?: string | undefined;
|
|
219
|
+
specialEvent?: boolean | undefined;
|
|
210
220
|
teamIds?: string[] | undefined;
|
|
211
221
|
teamLeagues?: string[] | undefined;
|
|
212
|
-
specialEvent?: boolean | undefined;
|
|
213
222
|
}, {
|
|
214
223
|
city: string;
|
|
215
224
|
venueName: string;
|
|
@@ -222,11 +231,12 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
|
|
|
222
231
|
stadiumUrl?: string | undefined;
|
|
223
232
|
school?: string | undefined;
|
|
224
233
|
city?: string | undefined;
|
|
234
|
+
specialEvent?: boolean | undefined;
|
|
225
235
|
}[];
|
|
226
236
|
id?: string | undefined;
|
|
237
|
+
specialEvent?: boolean | undefined;
|
|
227
238
|
teamIds?: string[] | undefined;
|
|
228
239
|
teamLeagues?: string[] | undefined;
|
|
229
|
-
specialEvent?: boolean | undefined;
|
|
230
240
|
}>;
|
|
231
241
|
export declare const stadiumRatingSchema: z.ZodObject<{
|
|
232
242
|
id: z.ZodString;
|
|
@@ -907,9 +917,11 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
907
917
|
favoriteLeagues: z.ZodOptional<z.ZodBoolean>;
|
|
908
918
|
favoriteTeams: z.ZodOptional<z.ZodBoolean>;
|
|
909
919
|
lastWeekScoreLeaderboard: z.ZodOptional<z.ZodBoolean>;
|
|
910
|
-
leaderboardChanges: z.
|
|
920
|
+
leaderboardChanges: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
911
921
|
chatReplies: z.ZodOptional<z.ZodBoolean>;
|
|
912
922
|
repliesToRatings: z.ZodOptional<z.ZodBoolean>;
|
|
923
|
+
repliesToLists: z.ZodOptional<z.ZodBoolean>;
|
|
924
|
+
repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
|
|
913
925
|
repliesToComments: z.ZodOptional<z.ZodBoolean>;
|
|
914
926
|
ratingLikes: z.ZodOptional<z.ZodBoolean>;
|
|
915
927
|
listLikes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -947,9 +959,11 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
947
959
|
favoriteLeagues?: boolean | undefined;
|
|
948
960
|
favoriteTeams?: boolean | undefined;
|
|
949
961
|
lastWeekScoreLeaderboard?: boolean | undefined;
|
|
950
|
-
leaderboardChanges?: "
|
|
962
|
+
leaderboardChanges?: "daily" | "weekly" | "monthly" | undefined;
|
|
951
963
|
chatReplies?: boolean | undefined;
|
|
952
964
|
repliesToRatings?: boolean | undefined;
|
|
965
|
+
repliesToLists?: boolean | undefined;
|
|
966
|
+
repliesToUserEvents?: boolean | undefined;
|
|
953
967
|
repliesToComments?: boolean | undefined;
|
|
954
968
|
ratingLikes?: boolean | undefined;
|
|
955
969
|
listLikes?: boolean | undefined;
|
|
@@ -971,9 +985,11 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
971
985
|
favoriteLeagues?: boolean | undefined;
|
|
972
986
|
favoriteTeams?: boolean | undefined;
|
|
973
987
|
lastWeekScoreLeaderboard?: boolean | undefined;
|
|
974
|
-
leaderboardChanges?: "
|
|
988
|
+
leaderboardChanges?: "daily" | "weekly" | "monthly" | undefined;
|
|
975
989
|
chatReplies?: boolean | undefined;
|
|
976
990
|
repliesToRatings?: boolean | undefined;
|
|
991
|
+
repliesToLists?: boolean | undefined;
|
|
992
|
+
repliesToUserEvents?: boolean | undefined;
|
|
977
993
|
repliesToComments?: boolean | undefined;
|
|
978
994
|
ratingLikes?: boolean | undefined;
|
|
979
995
|
listLikes?: boolean | undefined;
|
|
@@ -1256,6 +1272,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1256
1272
|
school: z.ZodOptional<z.ZodString>;
|
|
1257
1273
|
city: z.ZodOptional<z.ZodString>;
|
|
1258
1274
|
stadiumUrl: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
1259
1276
|
}, "strip", z.ZodTypeAny, {
|
|
1260
1277
|
name: string;
|
|
1261
1278
|
image: string;
|
|
@@ -1265,6 +1282,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1265
1282
|
stadiumUrl?: string | undefined;
|
|
1266
1283
|
school?: string | undefined;
|
|
1267
1284
|
city?: string | undefined;
|
|
1285
|
+
specialEvent?: boolean | undefined;
|
|
1268
1286
|
}, {
|
|
1269
1287
|
name: string;
|
|
1270
1288
|
image: string;
|
|
@@ -1274,6 +1292,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1274
1292
|
stadiumUrl?: string | undefined;
|
|
1275
1293
|
school?: string | undefined;
|
|
1276
1294
|
city?: string | undefined;
|
|
1295
|
+
specialEvent?: boolean | undefined;
|
|
1277
1296
|
}>, "many">;
|
|
1278
1297
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1279
1298
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1315,6 +1334,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1315
1334
|
stadiumUrl?: string | undefined;
|
|
1316
1335
|
school?: string | undefined;
|
|
1317
1336
|
city?: string | undefined;
|
|
1337
|
+
specialEvent?: boolean | undefined;
|
|
1318
1338
|
}[];
|
|
1319
1339
|
id?: string | undefined;
|
|
1320
1340
|
rating?: {
|
|
@@ -1324,9 +1344,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1324
1344
|
options: Record<number, number>;
|
|
1325
1345
|
};
|
|
1326
1346
|
} | undefined;
|
|
1347
|
+
specialEvent?: boolean | undefined;
|
|
1327
1348
|
teamIds?: string[] | undefined;
|
|
1328
1349
|
teamLeagues?: string[] | undefined;
|
|
1329
|
-
specialEvent?: boolean | undefined;
|
|
1330
1350
|
}, {
|
|
1331
1351
|
city: string;
|
|
1332
1352
|
venueName: string;
|
|
@@ -1339,6 +1359,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1339
1359
|
stadiumUrl?: string | undefined;
|
|
1340
1360
|
school?: string | undefined;
|
|
1341
1361
|
city?: string | undefined;
|
|
1362
|
+
specialEvent?: boolean | undefined;
|
|
1342
1363
|
}[];
|
|
1343
1364
|
id?: string | undefined;
|
|
1344
1365
|
rating?: {
|
|
@@ -1348,9 +1369,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1348
1369
|
options: Record<number, number>;
|
|
1349
1370
|
};
|
|
1350
1371
|
} | undefined;
|
|
1372
|
+
specialEvent?: boolean | undefined;
|
|
1351
1373
|
teamIds?: string[] | undefined;
|
|
1352
1374
|
teamLeagues?: string[] | undefined;
|
|
1353
|
-
specialEvent?: boolean | undefined;
|
|
1354
1375
|
}>;
|
|
1355
1376
|
gamesAttended: z.ZodOptional<z.ZodNumber>;
|
|
1356
1377
|
type: z.ZodUnion<[z.ZodLiteral<"stadium">, z.ZodLiteral<"game">]>;
|
|
@@ -1581,6 +1602,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1581
1602
|
stadiumUrl?: string | undefined;
|
|
1582
1603
|
school?: string | undefined;
|
|
1583
1604
|
city?: string | undefined;
|
|
1605
|
+
specialEvent?: boolean | undefined;
|
|
1584
1606
|
}[];
|
|
1585
1607
|
id?: string | undefined;
|
|
1586
1608
|
rating?: {
|
|
@@ -1590,9 +1612,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1590
1612
|
options: Record<number, number>;
|
|
1591
1613
|
};
|
|
1592
1614
|
} | undefined;
|
|
1615
|
+
specialEvent?: boolean | undefined;
|
|
1593
1616
|
teamIds?: string[] | undefined;
|
|
1594
1617
|
teamLeagues?: string[] | undefined;
|
|
1595
|
-
specialEvent?: boolean | undefined;
|
|
1596
1618
|
};
|
|
1597
1619
|
updatedAt?: number | undefined;
|
|
1598
1620
|
comment?: string | undefined;
|
|
@@ -1669,6 +1691,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1669
1691
|
stadiumUrl?: string | undefined;
|
|
1670
1692
|
school?: string | undefined;
|
|
1671
1693
|
city?: string | undefined;
|
|
1694
|
+
specialEvent?: boolean | undefined;
|
|
1672
1695
|
}[];
|
|
1673
1696
|
id?: string | undefined;
|
|
1674
1697
|
rating?: {
|
|
@@ -1678,9 +1701,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1678
1701
|
options: Record<number, number>;
|
|
1679
1702
|
};
|
|
1680
1703
|
} | undefined;
|
|
1704
|
+
specialEvent?: boolean | undefined;
|
|
1681
1705
|
teamIds?: string[] | undefined;
|
|
1682
1706
|
teamLeagues?: string[] | undefined;
|
|
1683
|
-
specialEvent?: boolean | undefined;
|
|
1684
1707
|
};
|
|
1685
1708
|
updatedAt?: number | undefined;
|
|
1686
1709
|
comment?: string | undefined;
|
|
@@ -2438,9 +2461,11 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2438
2461
|
favoriteLeagues: z.ZodOptional<z.ZodBoolean>;
|
|
2439
2462
|
favoriteTeams: z.ZodOptional<z.ZodBoolean>;
|
|
2440
2463
|
lastWeekScoreLeaderboard: z.ZodOptional<z.ZodBoolean>;
|
|
2441
|
-
leaderboardChanges: z.
|
|
2464
|
+
leaderboardChanges: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
2442
2465
|
chatReplies: z.ZodOptional<z.ZodBoolean>;
|
|
2443
2466
|
repliesToRatings: z.ZodOptional<z.ZodBoolean>;
|
|
2467
|
+
repliesToLists: z.ZodOptional<z.ZodBoolean>;
|
|
2468
|
+
repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
|
|
2444
2469
|
repliesToComments: z.ZodOptional<z.ZodBoolean>;
|
|
2445
2470
|
ratingLikes: z.ZodOptional<z.ZodBoolean>;
|
|
2446
2471
|
listLikes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2478,9 +2503,11 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2478
2503
|
favoriteLeagues?: boolean | undefined;
|
|
2479
2504
|
favoriteTeams?: boolean | undefined;
|
|
2480
2505
|
lastWeekScoreLeaderboard?: boolean | undefined;
|
|
2481
|
-
leaderboardChanges?: "
|
|
2506
|
+
leaderboardChanges?: "daily" | "weekly" | "monthly" | undefined;
|
|
2482
2507
|
chatReplies?: boolean | undefined;
|
|
2483
2508
|
repliesToRatings?: boolean | undefined;
|
|
2509
|
+
repliesToLists?: boolean | undefined;
|
|
2510
|
+
repliesToUserEvents?: boolean | undefined;
|
|
2484
2511
|
repliesToComments?: boolean | undefined;
|
|
2485
2512
|
ratingLikes?: boolean | undefined;
|
|
2486
2513
|
listLikes?: boolean | undefined;
|
|
@@ -2502,9 +2529,11 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2502
2529
|
favoriteLeagues?: boolean | undefined;
|
|
2503
2530
|
favoriteTeams?: boolean | undefined;
|
|
2504
2531
|
lastWeekScoreLeaderboard?: boolean | undefined;
|
|
2505
|
-
leaderboardChanges?: "
|
|
2532
|
+
leaderboardChanges?: "daily" | "weekly" | "monthly" | undefined;
|
|
2506
2533
|
chatReplies?: boolean | undefined;
|
|
2507
2534
|
repliesToRatings?: boolean | undefined;
|
|
2535
|
+
repliesToLists?: boolean | undefined;
|
|
2536
|
+
repliesToUserEvents?: boolean | undefined;
|
|
2508
2537
|
repliesToComments?: boolean | undefined;
|
|
2509
2538
|
ratingLikes?: boolean | undefined;
|
|
2510
2539
|
listLikes?: boolean | undefined;
|
|
@@ -2787,6 +2816,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2787
2816
|
school: z.ZodOptional<z.ZodString>;
|
|
2788
2817
|
city: z.ZodOptional<z.ZodString>;
|
|
2789
2818
|
stadiumUrl: z.ZodOptional<z.ZodString>;
|
|
2819
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
2790
2820
|
}, "strip", z.ZodTypeAny, {
|
|
2791
2821
|
name: string;
|
|
2792
2822
|
image: string;
|
|
@@ -2796,6 +2826,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2796
2826
|
stadiumUrl?: string | undefined;
|
|
2797
2827
|
school?: string | undefined;
|
|
2798
2828
|
city?: string | undefined;
|
|
2829
|
+
specialEvent?: boolean | undefined;
|
|
2799
2830
|
}, {
|
|
2800
2831
|
name: string;
|
|
2801
2832
|
image: string;
|
|
@@ -2805,6 +2836,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2805
2836
|
stadiumUrl?: string | undefined;
|
|
2806
2837
|
school?: string | undefined;
|
|
2807
2838
|
city?: string | undefined;
|
|
2839
|
+
specialEvent?: boolean | undefined;
|
|
2808
2840
|
}>, "many">;
|
|
2809
2841
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2810
2842
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2846,6 +2878,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2846
2878
|
stadiumUrl?: string | undefined;
|
|
2847
2879
|
school?: string | undefined;
|
|
2848
2880
|
city?: string | undefined;
|
|
2881
|
+
specialEvent?: boolean | undefined;
|
|
2849
2882
|
}[];
|
|
2850
2883
|
id?: string | undefined;
|
|
2851
2884
|
rating?: {
|
|
@@ -2855,9 +2888,9 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2855
2888
|
options: Record<number, number>;
|
|
2856
2889
|
};
|
|
2857
2890
|
} | undefined;
|
|
2891
|
+
specialEvent?: boolean | undefined;
|
|
2858
2892
|
teamIds?: string[] | undefined;
|
|
2859
2893
|
teamLeagues?: string[] | undefined;
|
|
2860
|
-
specialEvent?: boolean | undefined;
|
|
2861
2894
|
}, {
|
|
2862
2895
|
city: string;
|
|
2863
2896
|
venueName: string;
|
|
@@ -2870,6 +2903,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2870
2903
|
stadiumUrl?: string | undefined;
|
|
2871
2904
|
school?: string | undefined;
|
|
2872
2905
|
city?: string | undefined;
|
|
2906
|
+
specialEvent?: boolean | undefined;
|
|
2873
2907
|
}[];
|
|
2874
2908
|
id?: string | undefined;
|
|
2875
2909
|
rating?: {
|
|
@@ -2879,9 +2913,9 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2879
2913
|
options: Record<number, number>;
|
|
2880
2914
|
};
|
|
2881
2915
|
} | undefined;
|
|
2916
|
+
specialEvent?: boolean | undefined;
|
|
2882
2917
|
teamIds?: string[] | undefined;
|
|
2883
2918
|
teamLeagues?: string[] | undefined;
|
|
2884
|
-
specialEvent?: boolean | undefined;
|
|
2885
2919
|
}>;
|
|
2886
2920
|
gamesAttended: z.ZodOptional<z.ZodNumber>;
|
|
2887
2921
|
type: z.ZodUnion<[z.ZodLiteral<"stadium">, z.ZodLiteral<"game">]>;
|
|
@@ -3102,6 +3136,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3102
3136
|
school: z.ZodOptional<z.ZodString>;
|
|
3103
3137
|
city: z.ZodOptional<z.ZodString>;
|
|
3104
3138
|
stadiumUrl: z.ZodOptional<z.ZodString>;
|
|
3139
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
3105
3140
|
}, "strip", z.ZodTypeAny, {
|
|
3106
3141
|
name: string;
|
|
3107
3142
|
image: string;
|
|
@@ -3111,6 +3146,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3111
3146
|
stadiumUrl?: string | undefined;
|
|
3112
3147
|
school?: string | undefined;
|
|
3113
3148
|
city?: string | undefined;
|
|
3149
|
+
specialEvent?: boolean | undefined;
|
|
3114
3150
|
}, {
|
|
3115
3151
|
name: string;
|
|
3116
3152
|
image: string;
|
|
@@ -3120,6 +3156,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3120
3156
|
stadiumUrl?: string | undefined;
|
|
3121
3157
|
school?: string | undefined;
|
|
3122
3158
|
city?: string | undefined;
|
|
3159
|
+
specialEvent?: boolean | undefined;
|
|
3123
3160
|
}>, "many">;
|
|
3124
3161
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3125
3162
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3161,11 +3198,12 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3161
3198
|
stadiumUrl?: string | undefined;
|
|
3162
3199
|
school?: string | undefined;
|
|
3163
3200
|
city?: string | undefined;
|
|
3201
|
+
specialEvent?: boolean | undefined;
|
|
3164
3202
|
}[];
|
|
3165
3203
|
id?: string | undefined;
|
|
3204
|
+
specialEvent?: boolean | undefined;
|
|
3166
3205
|
teamIds?: string[] | undefined;
|
|
3167
3206
|
teamLeagues?: string[] | undefined;
|
|
3168
|
-
specialEvent?: boolean | undefined;
|
|
3169
3207
|
}, {
|
|
3170
3208
|
city: string;
|
|
3171
3209
|
venueName: string;
|
|
@@ -3178,11 +3216,12 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3178
3216
|
stadiumUrl?: string | undefined;
|
|
3179
3217
|
school?: string | undefined;
|
|
3180
3218
|
city?: string | undefined;
|
|
3219
|
+
specialEvent?: boolean | undefined;
|
|
3181
3220
|
}[];
|
|
3182
3221
|
id?: string | undefined;
|
|
3222
|
+
specialEvent?: boolean | undefined;
|
|
3183
3223
|
teamIds?: string[] | undefined;
|
|
3184
3224
|
teamLeagues?: string[] | undefined;
|
|
3185
|
-
specialEvent?: boolean | undefined;
|
|
3186
3225
|
}>;
|
|
3187
3226
|
}>, "strip", z.ZodTypeAny, {
|
|
3188
3227
|
type: "stadium" | "game";
|
|
@@ -3207,11 +3246,12 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3207
3246
|
stadiumUrl?: string | undefined;
|
|
3208
3247
|
school?: string | undefined;
|
|
3209
3248
|
city?: string | undefined;
|
|
3249
|
+
specialEvent?: boolean | undefined;
|
|
3210
3250
|
}[];
|
|
3211
3251
|
id?: string | undefined;
|
|
3252
|
+
specialEvent?: boolean | undefined;
|
|
3212
3253
|
teamIds?: string[] | undefined;
|
|
3213
3254
|
teamLeagues?: string[] | undefined;
|
|
3214
|
-
specialEvent?: boolean | undefined;
|
|
3215
3255
|
};
|
|
3216
3256
|
updatedAt?: number | undefined;
|
|
3217
3257
|
comment?: string | undefined;
|
|
@@ -3287,11 +3327,12 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3287
3327
|
stadiumUrl?: string | undefined;
|
|
3288
3328
|
school?: string | undefined;
|
|
3289
3329
|
city?: string | undefined;
|
|
3330
|
+
specialEvent?: boolean | undefined;
|
|
3290
3331
|
}[];
|
|
3291
3332
|
id?: string | undefined;
|
|
3333
|
+
specialEvent?: boolean | undefined;
|
|
3292
3334
|
teamIds?: string[] | undefined;
|
|
3293
3335
|
teamLeagues?: string[] | undefined;
|
|
3294
|
-
specialEvent?: boolean | undefined;
|
|
3295
3336
|
};
|
|
3296
3337
|
updatedAt?: number | undefined;
|
|
3297
3338
|
comment?: string | undefined;
|
|
@@ -4023,9 +4064,11 @@ export declare const stadiumThreadCommentSchema: z.ZodObject<{
|
|
|
4023
4064
|
favoriteLeagues: z.ZodOptional<z.ZodBoolean>;
|
|
4024
4065
|
favoriteTeams: z.ZodOptional<z.ZodBoolean>;
|
|
4025
4066
|
lastWeekScoreLeaderboard: z.ZodOptional<z.ZodBoolean>;
|
|
4026
|
-
leaderboardChanges: z.
|
|
4067
|
+
leaderboardChanges: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
4027
4068
|
chatReplies: z.ZodOptional<z.ZodBoolean>;
|
|
4028
4069
|
repliesToRatings: z.ZodOptional<z.ZodBoolean>;
|
|
4070
|
+
repliesToLists: z.ZodOptional<z.ZodBoolean>;
|
|
4071
|
+
repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
|
|
4029
4072
|
repliesToComments: z.ZodOptional<z.ZodBoolean>;
|
|
4030
4073
|
ratingLikes: z.ZodOptional<z.ZodBoolean>;
|
|
4031
4074
|
listLikes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4063,9 +4106,11 @@ export declare const stadiumThreadCommentSchema: z.ZodObject<{
|
|
|
4063
4106
|
favoriteLeagues?: boolean | undefined;
|
|
4064
4107
|
favoriteTeams?: boolean | undefined;
|
|
4065
4108
|
lastWeekScoreLeaderboard?: boolean | undefined;
|
|
4066
|
-
leaderboardChanges?: "
|
|
4109
|
+
leaderboardChanges?: "daily" | "weekly" | "monthly" | undefined;
|
|
4067
4110
|
chatReplies?: boolean | undefined;
|
|
4068
4111
|
repliesToRatings?: boolean | undefined;
|
|
4112
|
+
repliesToLists?: boolean | undefined;
|
|
4113
|
+
repliesToUserEvents?: boolean | undefined;
|
|
4069
4114
|
repliesToComments?: boolean | undefined;
|
|
4070
4115
|
ratingLikes?: boolean | undefined;
|
|
4071
4116
|
listLikes?: boolean | undefined;
|
|
@@ -4087,9 +4132,11 @@ export declare const stadiumThreadCommentSchema: z.ZodObject<{
|
|
|
4087
4132
|
favoriteLeagues?: boolean | undefined;
|
|
4088
4133
|
favoriteTeams?: boolean | undefined;
|
|
4089
4134
|
lastWeekScoreLeaderboard?: boolean | undefined;
|
|
4090
|
-
leaderboardChanges?: "
|
|
4135
|
+
leaderboardChanges?: "daily" | "weekly" | "monthly" | undefined;
|
|
4091
4136
|
chatReplies?: boolean | undefined;
|
|
4092
4137
|
repliesToRatings?: boolean | undefined;
|
|
4138
|
+
repliesToLists?: boolean | undefined;
|
|
4139
|
+
repliesToUserEvents?: boolean | undefined;
|
|
4093
4140
|
repliesToComments?: boolean | undefined;
|
|
4094
4141
|
ratingLikes?: boolean | undefined;
|
|
4095
4142
|
listLikes?: boolean | undefined;
|
|
@@ -5036,9 +5083,11 @@ export declare const stadiumThreadCommentSchema: z.ZodObject<{
|
|
|
5036
5083
|
favoriteLeagues: z.ZodOptional<z.ZodBoolean>;
|
|
5037
5084
|
favoriteTeams: z.ZodOptional<z.ZodBoolean>;
|
|
5038
5085
|
lastWeekScoreLeaderboard: z.ZodOptional<z.ZodBoolean>;
|
|
5039
|
-
leaderboardChanges: z.
|
|
5086
|
+
leaderboardChanges: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">]>>;
|
|
5040
5087
|
chatReplies: z.ZodOptional<z.ZodBoolean>;
|
|
5041
5088
|
repliesToRatings: z.ZodOptional<z.ZodBoolean>;
|
|
5089
|
+
repliesToLists: z.ZodOptional<z.ZodBoolean>;
|
|
5090
|
+
repliesToUserEvents: z.ZodOptional<z.ZodBoolean>;
|
|
5042
5091
|
repliesToComments: z.ZodOptional<z.ZodBoolean>;
|
|
5043
5092
|
ratingLikes: z.ZodOptional<z.ZodBoolean>;
|
|
5044
5093
|
listLikes: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5076,9 +5125,11 @@ export declare const stadiumThreadCommentSchema: z.ZodObject<{
|
|
|
5076
5125
|
favoriteLeagues?: boolean | undefined;
|
|
5077
5126
|
favoriteTeams?: boolean | undefined;
|
|
5078
5127
|
lastWeekScoreLeaderboard?: boolean | undefined;
|
|
5079
|
-
leaderboardChanges?: "
|
|
5128
|
+
leaderboardChanges?: "daily" | "weekly" | "monthly" | undefined;
|
|
5080
5129
|
chatReplies?: boolean | undefined;
|
|
5081
5130
|
repliesToRatings?: boolean | undefined;
|
|
5131
|
+
repliesToLists?: boolean | undefined;
|
|
5132
|
+
repliesToUserEvents?: boolean | undefined;
|
|
5082
5133
|
repliesToComments?: boolean | undefined;
|
|
5083
5134
|
ratingLikes?: boolean | undefined;
|
|
5084
5135
|
listLikes?: boolean | undefined;
|
|
@@ -5100,9 +5151,11 @@ export declare const stadiumThreadCommentSchema: z.ZodObject<{
|
|
|
5100
5151
|
favoriteLeagues?: boolean | undefined;
|
|
5101
5152
|
favoriteTeams?: boolean | undefined;
|
|
5102
5153
|
lastWeekScoreLeaderboard?: boolean | undefined;
|
|
5103
|
-
leaderboardChanges?: "
|
|
5154
|
+
leaderboardChanges?: "daily" | "weekly" | "monthly" | undefined;
|
|
5104
5155
|
chatReplies?: boolean | undefined;
|
|
5105
5156
|
repliesToRatings?: boolean | undefined;
|
|
5157
|
+
repliesToLists?: boolean | undefined;
|
|
5158
|
+
repliesToUserEvents?: boolean | undefined;
|
|
5106
5159
|
repliesToComments?: boolean | undefined;
|
|
5107
5160
|
ratingLikes?: boolean | undefined;
|
|
5108
5161
|
listLikes?: boolean | undefined;
|
package/dist/schemas/stadium.js
CHANGED
|
@@ -16,6 +16,7 @@ const reducedTeamSchema = zod_1.z.object({
|
|
|
16
16
|
school: zod_1.z.string().optional(),
|
|
17
17
|
city: zod_1.z.string().optional(),
|
|
18
18
|
stadiumUrl: zod_1.z.string().optional(),
|
|
19
|
+
specialEvent: zod_1.z.boolean().optional(),
|
|
19
20
|
});
|
|
20
21
|
exports.stadiumRatingAggregateSchema = zod_1.z.object({
|
|
21
22
|
avg: zod_1.z.number(),
|