rategame-shared 1.1.543 → 1.1.544
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 +16 -0
- package/dist/schemas/stadium.js +1 -0
- package/package.json +1 -1
|
@@ -73,6 +73,7 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
73
73
|
}>, "many">;
|
|
74
74
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
75
75
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76
|
+
homeLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76
77
|
rating: z.ZodOptional<z.ZodObject<{
|
|
77
78
|
avg: z.ZodNumber;
|
|
78
79
|
votes: z.ZodObject<{
|
|
@@ -162,6 +163,7 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
162
163
|
specialEvent?: boolean | undefined;
|
|
163
164
|
country?: string | null | undefined;
|
|
164
165
|
teamLeagues?: string[] | undefined;
|
|
166
|
+
homeLeagues?: string[] | undefined;
|
|
165
167
|
capacity?: number | null | undefined;
|
|
166
168
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
167
169
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
@@ -203,6 +205,7 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
203
205
|
specialEvent?: boolean | undefined;
|
|
204
206
|
country?: string | null | undefined;
|
|
205
207
|
teamLeagues?: string[] | undefined;
|
|
208
|
+
homeLeagues?: string[] | undefined;
|
|
206
209
|
capacity?: number | null | undefined;
|
|
207
210
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
208
211
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
@@ -247,6 +250,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
|
|
|
247
250
|
}>, "many">;
|
|
248
251
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
249
252
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
253
|
+
homeLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
250
254
|
rating: z.ZodOptional<z.ZodObject<{
|
|
251
255
|
avg: z.ZodNumber;
|
|
252
256
|
votes: z.ZodObject<{
|
|
@@ -323,6 +327,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
|
|
|
323
327
|
specialEvent?: boolean | undefined;
|
|
324
328
|
country?: string | null | undefined;
|
|
325
329
|
teamLeagues?: string[] | undefined;
|
|
330
|
+
homeLeagues?: string[] | undefined;
|
|
326
331
|
capacity?: number | null | undefined;
|
|
327
332
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
328
333
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
@@ -351,6 +356,7 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
|
|
|
351
356
|
specialEvent?: boolean | undefined;
|
|
352
357
|
country?: string | null | undefined;
|
|
353
358
|
teamLeagues?: string[] | undefined;
|
|
359
|
+
homeLeagues?: string[] | undefined;
|
|
354
360
|
capacity?: number | null | undefined;
|
|
355
361
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
356
362
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
@@ -2059,6 +2065,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
2059
2065
|
}>, "many">;
|
|
2060
2066
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2061
2067
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2068
|
+
homeLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2062
2069
|
rating: z.ZodOptional<z.ZodObject<{
|
|
2063
2070
|
avg: z.ZodNumber;
|
|
2064
2071
|
votes: z.ZodObject<{
|
|
@@ -2148,6 +2155,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
2148
2155
|
specialEvent?: boolean | undefined;
|
|
2149
2156
|
country?: string | null | undefined;
|
|
2150
2157
|
teamLeagues?: string[] | undefined;
|
|
2158
|
+
homeLeagues?: string[] | undefined;
|
|
2151
2159
|
capacity?: number | null | undefined;
|
|
2152
2160
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
2153
2161
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
@@ -2189,6 +2197,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
2189
2197
|
specialEvent?: boolean | undefined;
|
|
2190
2198
|
country?: string | null | undefined;
|
|
2191
2199
|
teamLeagues?: string[] | undefined;
|
|
2200
|
+
homeLeagues?: string[] | undefined;
|
|
2192
2201
|
capacity?: number | null | undefined;
|
|
2193
2202
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
2194
2203
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
@@ -2541,6 +2550,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
2541
2550
|
specialEvent?: boolean | undefined;
|
|
2542
2551
|
country?: string | null | undefined;
|
|
2543
2552
|
teamLeagues?: string[] | undefined;
|
|
2553
|
+
homeLeagues?: string[] | undefined;
|
|
2544
2554
|
capacity?: number | null | undefined;
|
|
2545
2555
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
2546
2556
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
@@ -2669,6 +2679,7 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
2669
2679
|
specialEvent?: boolean | undefined;
|
|
2670
2680
|
country?: string | null | undefined;
|
|
2671
2681
|
teamLeagues?: string[] | undefined;
|
|
2682
|
+
homeLeagues?: string[] | undefined;
|
|
2672
2683
|
capacity?: number | null | undefined;
|
|
2673
2684
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
2674
2685
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
@@ -4803,6 +4814,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<{
|
|
|
4803
4814
|
}>, "many">;
|
|
4804
4815
|
teamIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4805
4816
|
teamLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4817
|
+
homeLeagues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4806
4818
|
rating: z.ZodOptional<z.ZodObject<{
|
|
4807
4819
|
avg: z.ZodNumber;
|
|
4808
4820
|
votes: z.ZodObject<{
|
|
@@ -4879,6 +4891,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<{
|
|
|
4879
4891
|
specialEvent?: boolean | undefined;
|
|
4880
4892
|
country?: string | null | undefined;
|
|
4881
4893
|
teamLeagues?: string[] | undefined;
|
|
4894
|
+
homeLeagues?: string[] | undefined;
|
|
4882
4895
|
capacity?: number | null | undefined;
|
|
4883
4896
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
4884
4897
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
@@ -4907,6 +4920,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<{
|
|
|
4907
4920
|
specialEvent?: boolean | undefined;
|
|
4908
4921
|
country?: string | null | undefined;
|
|
4909
4922
|
teamLeagues?: string[] | undefined;
|
|
4923
|
+
homeLeagues?: string[] | undefined;
|
|
4910
4924
|
capacity?: number | null | undefined;
|
|
4911
4925
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
4912
4926
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
@@ -4947,6 +4961,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<{
|
|
|
4947
4961
|
specialEvent?: boolean | undefined;
|
|
4948
4962
|
country?: string | null | undefined;
|
|
4949
4963
|
teamLeagues?: string[] | undefined;
|
|
4964
|
+
homeLeagues?: string[] | undefined;
|
|
4950
4965
|
capacity?: number | null | undefined;
|
|
4951
4966
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
4952
4967
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
@@ -5060,6 +5075,7 @@ export declare const createStadiumRatingSchema: z.ZodObject<{
|
|
|
5060
5075
|
specialEvent?: boolean | undefined;
|
|
5061
5076
|
country?: string | null | undefined;
|
|
5062
5077
|
teamLeagues?: string[] | undefined;
|
|
5078
|
+
homeLeagues?: string[] | undefined;
|
|
5063
5079
|
capacity?: number | null | undefined;
|
|
5064
5080
|
capacityByLeague?: Record<string, number> | null | undefined;
|
|
5065
5081
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
package/dist/schemas/stadium.js
CHANGED
|
@@ -59,6 +59,7 @@ exports.stadiumSchema = zod_1.z.object({
|
|
|
59
59
|
teams: zod_1.z.array(reducedTeamSchema),
|
|
60
60
|
teamIds: zod_1.z.array(zod_1.z.string()).optional(),
|
|
61
61
|
teamLeagues: zod_1.z.array(zod_1.z.string()).optional(),
|
|
62
|
+
homeLeagues: zod_1.z.array(zod_1.z.string()).optional(),
|
|
62
63
|
rating: exports.stadiumRatingAggregateSchema.optional(),
|
|
63
64
|
ratingTagCounts: game_1.ratingTagCountsSchema.optional(),
|
|
64
65
|
communityTags: zod_1.z.array(zod_1.z.string()).optional(),
|