rategame-shared 1.1.276 → 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/stadium.d.ts +43 -14
- package/dist/schemas/stadium.js +1 -0
- 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;
|
|
@@ -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(),
|