rategame-shared 1.1.453 → 1.1.455
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/rating.d.ts +6 -0
- package/dist/schemas/rating.js +2 -0
- package/dist/schemas/stadium.d.ts +12 -12
- package/package.json +1 -1
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -813,6 +813,8 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
813
813
|
customDateFrom: import("zod").ZodOptional<import("zod").ZodString>;
|
|
814
814
|
customDateTo: import("zod").ZodOptional<import("zod").ZodString>;
|
|
815
815
|
seasonGroup: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"combined">, import("zod").ZodLiteral<"regularSeason">, import("zod").ZodLiteral<"playoffs">]>>;
|
|
816
|
+
teamIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
817
|
+
multiTeamSearch: import("zod").ZodOptional<import("zod").ZodString>;
|
|
816
818
|
}, "strip", import("zod").ZodTypeAny, {
|
|
817
819
|
offset?: string | undefined;
|
|
818
820
|
round?: string | undefined;
|
|
@@ -841,6 +843,8 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
841
843
|
showEmptyRatings?: string | undefined;
|
|
842
844
|
mlbTeamLeague?: string | undefined;
|
|
843
845
|
division?: string | undefined;
|
|
846
|
+
teamIds?: string[] | undefined;
|
|
847
|
+
multiTeamSearch?: string | undefined;
|
|
844
848
|
}, {
|
|
845
849
|
offset?: string | undefined;
|
|
846
850
|
round?: string | undefined;
|
|
@@ -869,6 +873,8 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
869
873
|
showEmptyRatings?: string | undefined;
|
|
870
874
|
mlbTeamLeague?: string | undefined;
|
|
871
875
|
division?: string | undefined;
|
|
876
|
+
teamIds?: string[] | undefined;
|
|
877
|
+
multiTeamSearch?: string | undefined;
|
|
872
878
|
}>;
|
|
873
879
|
export declare const ratingLikeSchema: import("zod").ZodObject<{
|
|
874
880
|
ratingId: import("zod").ZodString;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -134,6 +134,8 @@ exports.searchRatingSchema = (0, zod_1.object)({
|
|
|
134
134
|
customDateFrom: (0, zod_1.string)().optional(),
|
|
135
135
|
customDateTo: (0, zod_1.string)().optional(),
|
|
136
136
|
seasonGroup: sharedTypes_1.seasonGroupingSchema.optional(),
|
|
137
|
+
teamIds: (0, zod_1.array)((0, zod_1.string)()).optional(),
|
|
138
|
+
multiTeamSearch: (0, zod_1.string)().optional(),
|
|
137
139
|
});
|
|
138
140
|
exports.ratingLikeSchema = (0, zod_1.object)({
|
|
139
141
|
ratingId: (0, zod_1.string)(),
|
|
@@ -138,9 +138,9 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
138
138
|
options: Record<number, number>;
|
|
139
139
|
};
|
|
140
140
|
} | undefined;
|
|
141
|
+
teamIds?: string[] | undefined;
|
|
141
142
|
specialEvent?: boolean | undefined;
|
|
142
143
|
country?: string | null | undefined;
|
|
143
|
-
teamIds?: string[] | undefined;
|
|
144
144
|
teamLeagues?: string[] | undefined;
|
|
145
145
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
146
146
|
weightedScore?: number | undefined;
|
|
@@ -171,9 +171,9 @@ export declare const stadiumSchema: z.ZodObject<{
|
|
|
171
171
|
options: Record<number, number>;
|
|
172
172
|
};
|
|
173
173
|
} | undefined;
|
|
174
|
+
teamIds?: string[] | undefined;
|
|
174
175
|
specialEvent?: boolean | undefined;
|
|
175
176
|
country?: string | null | undefined;
|
|
176
|
-
teamIds?: string[] | undefined;
|
|
177
177
|
teamLeagues?: string[] | undefined;
|
|
178
178
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
179
179
|
weightedScore?: number | undefined;
|
|
@@ -275,9 +275,9 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
|
|
|
275
275
|
geoLong: number;
|
|
276
276
|
} | null | undefined;
|
|
277
277
|
id?: string | undefined;
|
|
278
|
+
teamIds?: string[] | undefined;
|
|
278
279
|
specialEvent?: boolean | undefined;
|
|
279
280
|
country?: string | null | undefined;
|
|
280
|
-
teamIds?: string[] | undefined;
|
|
281
281
|
teamLeagues?: string[] | undefined;
|
|
282
282
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
283
283
|
weightedScore?: number | undefined;
|
|
@@ -301,9 +301,9 @@ export declare const stadiumForRatingSchema: z.ZodObject<Omit<{
|
|
|
301
301
|
geoLong: number;
|
|
302
302
|
} | null | undefined;
|
|
303
303
|
id?: string | undefined;
|
|
304
|
+
teamIds?: string[] | undefined;
|
|
304
305
|
specialEvent?: boolean | undefined;
|
|
305
306
|
country?: string | null | undefined;
|
|
306
|
-
teamIds?: string[] | undefined;
|
|
307
307
|
teamLeagues?: string[] | undefined;
|
|
308
308
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
309
309
|
weightedScore?: number | undefined;
|
|
@@ -1598,9 +1598,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1598
1598
|
options: Record<number, number>;
|
|
1599
1599
|
};
|
|
1600
1600
|
} | undefined;
|
|
1601
|
+
teamIds?: string[] | undefined;
|
|
1601
1602
|
specialEvent?: boolean | undefined;
|
|
1602
1603
|
country?: string | null | undefined;
|
|
1603
|
-
teamIds?: string[] | undefined;
|
|
1604
1604
|
teamLeagues?: string[] | undefined;
|
|
1605
1605
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
1606
1606
|
weightedScore?: number | undefined;
|
|
@@ -1631,9 +1631,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1631
1631
|
options: Record<number, number>;
|
|
1632
1632
|
};
|
|
1633
1633
|
} | undefined;
|
|
1634
|
+
teamIds?: string[] | undefined;
|
|
1634
1635
|
specialEvent?: boolean | undefined;
|
|
1635
1636
|
country?: string | null | undefined;
|
|
1636
|
-
teamIds?: string[] | undefined;
|
|
1637
1637
|
teamLeagues?: string[] | undefined;
|
|
1638
1638
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
1639
1639
|
weightedScore?: number | undefined;
|
|
@@ -1945,9 +1945,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
1945
1945
|
options: Record<number, number>;
|
|
1946
1946
|
};
|
|
1947
1947
|
} | undefined;
|
|
1948
|
+
teamIds?: string[] | undefined;
|
|
1948
1949
|
specialEvent?: boolean | undefined;
|
|
1949
1950
|
country?: string | null | undefined;
|
|
1950
|
-
teamIds?: string[] | undefined;
|
|
1951
1951
|
teamLeagues?: string[] | undefined;
|
|
1952
1952
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
1953
1953
|
weightedScore?: number | undefined;
|
|
@@ -2058,9 +2058,9 @@ export declare const stadiumRatingSchema: z.ZodObject<{
|
|
|
2058
2058
|
options: Record<number, number>;
|
|
2059
2059
|
};
|
|
2060
2060
|
} | undefined;
|
|
2061
|
+
teamIds?: string[] | undefined;
|
|
2061
2062
|
specialEvent?: boolean | undefined;
|
|
2062
2063
|
country?: string | null | undefined;
|
|
2063
|
-
teamIds?: string[] | undefined;
|
|
2064
2064
|
teamLeagues?: string[] | undefined;
|
|
2065
2065
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
2066
2066
|
weightedScore?: number | undefined;
|
|
@@ -3733,9 +3733,9 @@ export declare const createStadiumRatingSchema: z.ZodObject<{
|
|
|
3733
3733
|
geoLong: number;
|
|
3734
3734
|
} | null | undefined;
|
|
3735
3735
|
id?: string | undefined;
|
|
3736
|
+
teamIds?: string[] | undefined;
|
|
3736
3737
|
specialEvent?: boolean | undefined;
|
|
3737
3738
|
country?: string | null | undefined;
|
|
3738
|
-
teamIds?: string[] | undefined;
|
|
3739
3739
|
teamLeagues?: string[] | undefined;
|
|
3740
3740
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
3741
3741
|
weightedScore?: number | undefined;
|
|
@@ -3759,9 +3759,9 @@ export declare const createStadiumRatingSchema: z.ZodObject<{
|
|
|
3759
3759
|
geoLong: number;
|
|
3760
3760
|
} | null | undefined;
|
|
3761
3761
|
id?: string | undefined;
|
|
3762
|
+
teamIds?: string[] | undefined;
|
|
3762
3763
|
specialEvent?: boolean | undefined;
|
|
3763
3764
|
country?: string | null | undefined;
|
|
3764
|
-
teamIds?: string[] | undefined;
|
|
3765
3765
|
teamLeagues?: string[] | undefined;
|
|
3766
3766
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
3767
3767
|
weightedScore?: number | undefined;
|
|
@@ -3797,9 +3797,9 @@ export declare const createStadiumRatingSchema: z.ZodObject<{
|
|
|
3797
3797
|
geoLong: number;
|
|
3798
3798
|
} | null | undefined;
|
|
3799
3799
|
id?: string | undefined;
|
|
3800
|
+
teamIds?: string[] | undefined;
|
|
3800
3801
|
specialEvent?: boolean | undefined;
|
|
3801
3802
|
country?: string | null | undefined;
|
|
3802
|
-
teamIds?: string[] | undefined;
|
|
3803
3803
|
teamLeagues?: string[] | undefined;
|
|
3804
3804
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
3805
3805
|
weightedScore?: number | undefined;
|
|
@@ -3902,9 +3902,9 @@ export declare const createStadiumRatingSchema: z.ZodObject<{
|
|
|
3902
3902
|
geoLong: number;
|
|
3903
3903
|
} | null | undefined;
|
|
3904
3904
|
id?: string | undefined;
|
|
3905
|
+
teamIds?: string[] | undefined;
|
|
3905
3906
|
specialEvent?: boolean | undefined;
|
|
3906
3907
|
country?: string | null | undefined;
|
|
3907
|
-
teamIds?: string[] | undefined;
|
|
3908
3908
|
teamLeagues?: string[] | undefined;
|
|
3909
3909
|
locationVerificationFlag?: "missingLocation" | "verified" | "verifiedIdMatchNameDiffers" | "verifiedNameMatchOnly" | "needsReview" | "sportsdataMissingCoords" | "manualLocation" | "minorDrift" | null | undefined;
|
|
3910
3910
|
weightedScore?: number | undefined;
|