rategame-shared 1.1.276 → 1.1.278
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.
|
@@ -162,6 +162,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
162
162
|
seasonType: z.ZodOptional<z.ZodNumber>;
|
|
163
163
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
164
164
|
roundName: z.ZodOptional<z.ZodString>;
|
|
165
|
+
finishedAt: z.ZodOptional<z.ZodNumber>;
|
|
165
166
|
}, "strip", z.ZodTypeAny, {
|
|
166
167
|
id: string;
|
|
167
168
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
@@ -198,6 +199,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
198
199
|
round?: number | undefined;
|
|
199
200
|
week?: number | undefined;
|
|
200
201
|
startedAt?: number | undefined;
|
|
202
|
+
finishedAt?: number | undefined;
|
|
201
203
|
seriesInfo?: {
|
|
202
204
|
maxLength?: number | null | undefined;
|
|
203
205
|
homeTeamWins?: number | null | undefined;
|
|
@@ -242,6 +244,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
242
244
|
round?: number | undefined;
|
|
243
245
|
week?: number | undefined;
|
|
244
246
|
startedAt?: number | undefined;
|
|
247
|
+
finishedAt?: number | undefined;
|
|
245
248
|
seriesInfo?: {
|
|
246
249
|
maxLength?: number | null | undefined;
|
|
247
250
|
homeTeamWins?: number | null | undefined;
|
|
@@ -308,6 +311,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
308
311
|
round?: number | undefined;
|
|
309
312
|
week?: number | undefined;
|
|
310
313
|
startedAt?: number | undefined;
|
|
314
|
+
finishedAt?: number | undefined;
|
|
311
315
|
seriesInfo?: {
|
|
312
316
|
maxLength?: number | null | undefined;
|
|
313
317
|
homeTeamWins?: number | null | undefined;
|
|
@@ -375,6 +379,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
375
379
|
round?: number | undefined;
|
|
376
380
|
week?: number | undefined;
|
|
377
381
|
startedAt?: number | undefined;
|
|
382
|
+
finishedAt?: number | undefined;
|
|
378
383
|
seriesInfo?: {
|
|
379
384
|
maxLength?: number | null | undefined;
|
|
380
385
|
homeTeamWins?: number | null | undefined;
|
|
@@ -459,6 +464,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
459
464
|
round?: number | undefined;
|
|
460
465
|
week?: number | undefined;
|
|
461
466
|
startedAt?: number | undefined;
|
|
467
|
+
finishedAt?: number | undefined;
|
|
462
468
|
seriesInfo?: {
|
|
463
469
|
maxLength?: number | null | undefined;
|
|
464
470
|
homeTeamWins?: number | null | undefined;
|
|
@@ -544,6 +550,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
544
550
|
round?: number | undefined;
|
|
545
551
|
week?: number | undefined;
|
|
546
552
|
startedAt?: number | undefined;
|
|
553
|
+
finishedAt?: number | undefined;
|
|
547
554
|
seriesInfo?: {
|
|
548
555
|
maxLength?: number | null | undefined;
|
|
549
556
|
homeTeamWins?: number | null | undefined;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -133,6 +133,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
133
133
|
seasonType: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
134
134
|
startedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
135
135
|
roundName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
136
|
+
finishedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
136
137
|
}, "strip", import("zod").ZodTypeAny, {
|
|
137
138
|
id: string;
|
|
138
139
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
@@ -169,6 +170,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
169
170
|
round?: number | undefined;
|
|
170
171
|
week?: number | undefined;
|
|
171
172
|
startedAt?: number | undefined;
|
|
173
|
+
finishedAt?: number | undefined;
|
|
172
174
|
seriesInfo?: {
|
|
173
175
|
maxLength?: number | null | undefined;
|
|
174
176
|
homeTeamWins?: number | null | undefined;
|
|
@@ -213,6 +215,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
213
215
|
round?: number | undefined;
|
|
214
216
|
week?: number | undefined;
|
|
215
217
|
startedAt?: number | undefined;
|
|
218
|
+
finishedAt?: number | undefined;
|
|
216
219
|
seriesInfo?: {
|
|
217
220
|
maxLength?: number | null | undefined;
|
|
218
221
|
homeTeamWins?: number | null | undefined;
|
|
@@ -279,6 +282,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
279
282
|
round?: number | undefined;
|
|
280
283
|
week?: number | undefined;
|
|
281
284
|
startedAt?: number | undefined;
|
|
285
|
+
finishedAt?: number | undefined;
|
|
282
286
|
seriesInfo?: {
|
|
283
287
|
maxLength?: number | null | undefined;
|
|
284
288
|
homeTeamWins?: number | null | undefined;
|
|
@@ -346,6 +350,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
346
350
|
round?: number | undefined;
|
|
347
351
|
week?: number | undefined;
|
|
348
352
|
startedAt?: number | undefined;
|
|
353
|
+
finishedAt?: number | undefined;
|
|
349
354
|
seriesInfo?: {
|
|
350
355
|
maxLength?: number | null | undefined;
|
|
351
356
|
homeTeamWins?: number | null | undefined;
|
|
@@ -628,6 +633,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
628
633
|
seasonType: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
629
634
|
startedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
630
635
|
roundName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
636
|
+
finishedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
631
637
|
}, "strip", import("zod").ZodTypeAny, {
|
|
632
638
|
id: string;
|
|
633
639
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
@@ -664,6 +670,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
664
670
|
round?: number | undefined;
|
|
665
671
|
week?: number | undefined;
|
|
666
672
|
startedAt?: number | undefined;
|
|
673
|
+
finishedAt?: number | undefined;
|
|
667
674
|
seriesInfo?: {
|
|
668
675
|
maxLength?: number | null | undefined;
|
|
669
676
|
homeTeamWins?: number | null | undefined;
|
|
@@ -708,6 +715,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
708
715
|
round?: number | undefined;
|
|
709
716
|
week?: number | undefined;
|
|
710
717
|
startedAt?: number | undefined;
|
|
718
|
+
finishedAt?: number | undefined;
|
|
711
719
|
seriesInfo?: {
|
|
712
720
|
maxLength?: number | null | undefined;
|
|
713
721
|
homeTeamWins?: number | null | undefined;
|
|
@@ -838,10 +846,12 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
838
846
|
seasonType: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
839
847
|
startedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
840
848
|
roundName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
849
|
+
finishedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
841
850
|
}, "round" | "startedAt" | "homeTeam" | "awayTeam" | "roundName">, "strip", import("zod").ZodTypeAny, {
|
|
842
851
|
id: string;
|
|
843
852
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
844
853
|
week?: number | undefined;
|
|
854
|
+
finishedAt?: number | undefined;
|
|
845
855
|
seriesInfo?: {
|
|
846
856
|
maxLength?: number | null | undefined;
|
|
847
857
|
homeTeamWins?: number | null | undefined;
|
|
@@ -853,6 +863,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
853
863
|
id: string;
|
|
854
864
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
855
865
|
week?: number | undefined;
|
|
866
|
+
finishedAt?: number | undefined;
|
|
856
867
|
seriesInfo?: {
|
|
857
868
|
maxLength?: number | null | undefined;
|
|
858
869
|
homeTeamWins?: number | null | undefined;
|
|
@@ -870,6 +881,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
870
881
|
id: string;
|
|
871
882
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
872
883
|
week?: number | undefined;
|
|
884
|
+
finishedAt?: number | undefined;
|
|
873
885
|
seriesInfo?: {
|
|
874
886
|
maxLength?: number | null | undefined;
|
|
875
887
|
homeTeamWins?: number | null | undefined;
|
|
@@ -896,6 +908,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
896
908
|
id: string;
|
|
897
909
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
898
910
|
week?: number | undefined;
|
|
911
|
+
finishedAt?: number | undefined;
|
|
899
912
|
seriesInfo?: {
|
|
900
913
|
maxLength?: number | null | undefined;
|
|
901
914
|
homeTeamWins?: number | null | undefined;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -35,6 +35,7 @@ exports.ratingSchema = (0, zod_1.object)({
|
|
|
35
35
|
seasonType: (0, zod_1.number)().optional(),
|
|
36
36
|
startedAt: (0, zod_1.number)().optional(),
|
|
37
37
|
roundName: (0, zod_1.string)().optional(),
|
|
38
|
+
finishedAt: (0, zod_1.number)().optional(),
|
|
38
39
|
}),
|
|
39
40
|
userLikes: (0, zod_1.number)().optional(),
|
|
40
41
|
isInitialWindowRating: (0, zod_1.boolean)().optional(),
|
|
@@ -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;
|
|
@@ -1262,6 +1272,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1262
1272
|
school: z.ZodOptional<z.ZodString>;
|
|
1263
1273
|
city: z.ZodOptional<z.ZodString>;
|
|
1264
1274
|
stadiumUrl: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
1265
1276
|
}, "strip", z.ZodTypeAny, {
|
|
1266
1277
|
name: string;
|
|
1267
1278
|
image: string;
|
|
@@ -1271,6 +1282,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1271
1282
|
stadiumUrl?: string | undefined;
|
|
1272
1283
|
school?: string | undefined;
|
|
1273
1284
|
city?: string | undefined;
|
|
1285
|
+
specialEvent?: boolean | undefined;
|
|
1274
1286
|
}, {
|
|
1275
1287
|
name: string;
|
|
1276
1288
|
image: string;
|
|
@@ -1280,6 +1292,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1280
1292
|
stadiumUrl?: string | undefined;
|
|
1281
1293
|
school?: string | undefined;
|
|
1282
1294
|
city?: string | undefined;
|
|
1295
|
+
specialEvent?: boolean | undefined;
|
|
1283
1296
|
}>, "many">;
|
|
1284
1297
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1285
1298
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1321,6 +1334,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1321
1334
|
stadiumUrl?: string | undefined;
|
|
1322
1335
|
school?: string | undefined;
|
|
1323
1336
|
city?: string | undefined;
|
|
1337
|
+
specialEvent?: boolean | undefined;
|
|
1324
1338
|
}[];
|
|
1325
1339
|
id?: string | undefined;
|
|
1326
1340
|
rating?: {
|
|
@@ -1330,9 +1344,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1330
1344
|
options: Record<number, number>;
|
|
1331
1345
|
};
|
|
1332
1346
|
} | undefined;
|
|
1347
|
+
specialEvent?: boolean | undefined;
|
|
1333
1348
|
teamIds?: string[] | undefined;
|
|
1334
1349
|
teamLeagues?: string[] | undefined;
|
|
1335
|
-
specialEvent?: boolean | undefined;
|
|
1336
1350
|
}, {
|
|
1337
1351
|
city: string;
|
|
1338
1352
|
venueName: string;
|
|
@@ -1345,6 +1359,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1345
1359
|
stadiumUrl?: string | undefined;
|
|
1346
1360
|
school?: string | undefined;
|
|
1347
1361
|
city?: string | undefined;
|
|
1362
|
+
specialEvent?: boolean | undefined;
|
|
1348
1363
|
}[];
|
|
1349
1364
|
id?: string | undefined;
|
|
1350
1365
|
rating?: {
|
|
@@ -1354,9 +1369,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1354
1369
|
options: Record<number, number>;
|
|
1355
1370
|
};
|
|
1356
1371
|
} | undefined;
|
|
1372
|
+
specialEvent?: boolean | undefined;
|
|
1357
1373
|
teamIds?: string[] | undefined;
|
|
1358
1374
|
teamLeagues?: string[] | undefined;
|
|
1359
|
-
specialEvent?: boolean | undefined;
|
|
1360
1375
|
}>;
|
|
1361
1376
|
gamesAttended: z.ZodOptional<z.ZodNumber>;
|
|
1362
1377
|
type: z.ZodUnion<[z.ZodLiteral<"stadium">, z.ZodLiteral<"game">]>;
|
|
@@ -1587,6 +1602,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1587
1602
|
stadiumUrl?: string | undefined;
|
|
1588
1603
|
school?: string | undefined;
|
|
1589
1604
|
city?: string | undefined;
|
|
1605
|
+
specialEvent?: boolean | undefined;
|
|
1590
1606
|
}[];
|
|
1591
1607
|
id?: string | undefined;
|
|
1592
1608
|
rating?: {
|
|
@@ -1596,9 +1612,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1596
1612
|
options: Record<number, number>;
|
|
1597
1613
|
};
|
|
1598
1614
|
} | undefined;
|
|
1615
|
+
specialEvent?: boolean | undefined;
|
|
1599
1616
|
teamIds?: string[] | undefined;
|
|
1600
1617
|
teamLeagues?: string[] | undefined;
|
|
1601
|
-
specialEvent?: boolean | undefined;
|
|
1602
1618
|
};
|
|
1603
1619
|
updatedAt?: number | undefined;
|
|
1604
1620
|
comment?: string | undefined;
|
|
@@ -1675,6 +1691,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1675
1691
|
stadiumUrl?: string | undefined;
|
|
1676
1692
|
school?: string | undefined;
|
|
1677
1693
|
city?: string | undefined;
|
|
1694
|
+
specialEvent?: boolean | undefined;
|
|
1678
1695
|
}[];
|
|
1679
1696
|
id?: string | undefined;
|
|
1680
1697
|
rating?: {
|
|
@@ -1684,9 +1701,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1684
1701
|
options: Record<number, number>;
|
|
1685
1702
|
};
|
|
1686
1703
|
} | undefined;
|
|
1704
|
+
specialEvent?: boolean | undefined;
|
|
1687
1705
|
teamIds?: string[] | undefined;
|
|
1688
1706
|
teamLeagues?: string[] | undefined;
|
|
1689
|
-
specialEvent?: boolean | undefined;
|
|
1690
1707
|
};
|
|
1691
1708
|
updatedAt?: number | undefined;
|
|
1692
1709
|
comment?: string | undefined;
|
|
@@ -2799,6 +2816,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2799
2816
|
school: z.ZodOptional<z.ZodString>;
|
|
2800
2817
|
city: z.ZodOptional<z.ZodString>;
|
|
2801
2818
|
stadiumUrl: z.ZodOptional<z.ZodString>;
|
|
2819
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
2802
2820
|
}, "strip", z.ZodTypeAny, {
|
|
2803
2821
|
name: string;
|
|
2804
2822
|
image: string;
|
|
@@ -2808,6 +2826,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2808
2826
|
stadiumUrl?: string | undefined;
|
|
2809
2827
|
school?: string | undefined;
|
|
2810
2828
|
city?: string | undefined;
|
|
2829
|
+
specialEvent?: boolean | undefined;
|
|
2811
2830
|
}, {
|
|
2812
2831
|
name: string;
|
|
2813
2832
|
image: string;
|
|
@@ -2817,6 +2836,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2817
2836
|
stadiumUrl?: string | undefined;
|
|
2818
2837
|
school?: string | undefined;
|
|
2819
2838
|
city?: string | undefined;
|
|
2839
|
+
specialEvent?: boolean | undefined;
|
|
2820
2840
|
}>, "many">;
|
|
2821
2841
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2822
2842
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2858,6 +2878,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2858
2878
|
stadiumUrl?: string | undefined;
|
|
2859
2879
|
school?: string | undefined;
|
|
2860
2880
|
city?: string | undefined;
|
|
2881
|
+
specialEvent?: boolean | undefined;
|
|
2861
2882
|
}[];
|
|
2862
2883
|
id?: string | undefined;
|
|
2863
2884
|
rating?: {
|
|
@@ -2867,9 +2888,9 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2867
2888
|
options: Record<number, number>;
|
|
2868
2889
|
};
|
|
2869
2890
|
} | undefined;
|
|
2891
|
+
specialEvent?: boolean | undefined;
|
|
2870
2892
|
teamIds?: string[] | undefined;
|
|
2871
2893
|
teamLeagues?: string[] | undefined;
|
|
2872
|
-
specialEvent?: boolean | undefined;
|
|
2873
2894
|
}, {
|
|
2874
2895
|
city: string;
|
|
2875
2896
|
venueName: string;
|
|
@@ -2882,6 +2903,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2882
2903
|
stadiumUrl?: string | undefined;
|
|
2883
2904
|
school?: string | undefined;
|
|
2884
2905
|
city?: string | undefined;
|
|
2906
|
+
specialEvent?: boolean | undefined;
|
|
2885
2907
|
}[];
|
|
2886
2908
|
id?: string | undefined;
|
|
2887
2909
|
rating?: {
|
|
@@ -2891,9 +2913,9 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
2891
2913
|
options: Record<number, number>;
|
|
2892
2914
|
};
|
|
2893
2915
|
} | undefined;
|
|
2916
|
+
specialEvent?: boolean | undefined;
|
|
2894
2917
|
teamIds?: string[] | undefined;
|
|
2895
2918
|
teamLeagues?: string[] | undefined;
|
|
2896
|
-
specialEvent?: boolean | undefined;
|
|
2897
2919
|
}>;
|
|
2898
2920
|
gamesAttended: z.ZodOptional<z.ZodNumber>;
|
|
2899
2921
|
type: z.ZodUnion<[z.ZodLiteral<"stadium">, z.ZodLiteral<"game">]>;
|
|
@@ -3114,6 +3136,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3114
3136
|
school: z.ZodOptional<z.ZodString>;
|
|
3115
3137
|
city: z.ZodOptional<z.ZodString>;
|
|
3116
3138
|
stadiumUrl: z.ZodOptional<z.ZodString>;
|
|
3139
|
+
specialEvent: z.ZodOptional<z.ZodBoolean>;
|
|
3117
3140
|
}, "strip", z.ZodTypeAny, {
|
|
3118
3141
|
name: string;
|
|
3119
3142
|
image: string;
|
|
@@ -3123,6 +3146,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3123
3146
|
stadiumUrl?: string | undefined;
|
|
3124
3147
|
school?: string | undefined;
|
|
3125
3148
|
city?: string | undefined;
|
|
3149
|
+
specialEvent?: boolean | undefined;
|
|
3126
3150
|
}, {
|
|
3127
3151
|
name: string;
|
|
3128
3152
|
image: string;
|
|
@@ -3132,6 +3156,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3132
3156
|
stadiumUrl?: string | undefined;
|
|
3133
3157
|
school?: string | undefined;
|
|
3134
3158
|
city?: string | undefined;
|
|
3159
|
+
specialEvent?: boolean | undefined;
|
|
3135
3160
|
}>, "many">;
|
|
3136
3161
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3137
3162
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3173,11 +3198,12 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3173
3198
|
stadiumUrl?: string | undefined;
|
|
3174
3199
|
school?: string | undefined;
|
|
3175
3200
|
city?: string | undefined;
|
|
3201
|
+
specialEvent?: boolean | undefined;
|
|
3176
3202
|
}[];
|
|
3177
3203
|
id?: string | undefined;
|
|
3204
|
+
specialEvent?: boolean | undefined;
|
|
3178
3205
|
teamIds?: string[] | undefined;
|
|
3179
3206
|
teamLeagues?: string[] | undefined;
|
|
3180
|
-
specialEvent?: boolean | undefined;
|
|
3181
3207
|
}, {
|
|
3182
3208
|
city: string;
|
|
3183
3209
|
venueName: string;
|
|
@@ -3190,11 +3216,12 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3190
3216
|
stadiumUrl?: string | undefined;
|
|
3191
3217
|
school?: string | undefined;
|
|
3192
3218
|
city?: string | undefined;
|
|
3219
|
+
specialEvent?: boolean | undefined;
|
|
3193
3220
|
}[];
|
|
3194
3221
|
id?: string | undefined;
|
|
3222
|
+
specialEvent?: boolean | undefined;
|
|
3195
3223
|
teamIds?: string[] | undefined;
|
|
3196
3224
|
teamLeagues?: string[] | undefined;
|
|
3197
|
-
specialEvent?: boolean | undefined;
|
|
3198
3225
|
}>;
|
|
3199
3226
|
}>, "strip", z.ZodTypeAny, {
|
|
3200
3227
|
type: "stadium" | "game";
|
|
@@ -3219,11 +3246,12 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3219
3246
|
stadiumUrl?: string | undefined;
|
|
3220
3247
|
school?: string | undefined;
|
|
3221
3248
|
city?: string | undefined;
|
|
3249
|
+
specialEvent?: boolean | undefined;
|
|
3222
3250
|
}[];
|
|
3223
3251
|
id?: string | undefined;
|
|
3252
|
+
specialEvent?: boolean | undefined;
|
|
3224
3253
|
teamIds?: string[] | undefined;
|
|
3225
3254
|
teamLeagues?: string[] | undefined;
|
|
3226
|
-
specialEvent?: boolean | undefined;
|
|
3227
3255
|
};
|
|
3228
3256
|
updatedAt?: number | undefined;
|
|
3229
3257
|
comment?: string | undefined;
|
|
@@ -3299,11 +3327,12 @@ export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
3299
3327
|
stadiumUrl?: string | undefined;
|
|
3300
3328
|
school?: string | undefined;
|
|
3301
3329
|
city?: string | undefined;
|
|
3330
|
+
specialEvent?: boolean | undefined;
|
|
3302
3331
|
}[];
|
|
3303
3332
|
id?: string | undefined;
|
|
3333
|
+
specialEvent?: boolean | undefined;
|
|
3304
3334
|
teamIds?: string[] | undefined;
|
|
3305
3335
|
teamLeagues?: string[] | undefined;
|
|
3306
|
-
specialEvent?: boolean | undefined;
|
|
3307
3336
|
};
|
|
3308
3337
|
updatedAt?: number | undefined;
|
|
3309
3338
|
comment?: string | 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(),
|