rategame-shared 1.1.269 → 1.1.270
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.
|
@@ -1665,8 +1665,10 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
|
|
|
1665
1665
|
showEmptyRatings: z.ZodOptional<z.ZodString>;
|
|
1666
1666
|
userId: z.ZodOptional<z.ZodString>;
|
|
1667
1667
|
username: z.ZodOptional<z.ZodString>;
|
|
1668
|
+
league: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"nba">, z.ZodLiteral<"ncaa">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mlb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"cfb">, z.ZodLiteral<"epl">, z.ZodLiteral<"mls">, z.ZodLiteral<"wnba">, z.ZodLiteral<"cwc">, z.ZodLiteral<"global">]>>;
|
|
1668
1669
|
}, "strip", z.ZodTypeAny, {
|
|
1669
1670
|
offset?: string | undefined;
|
|
1671
|
+
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
1670
1672
|
username?: string | undefined;
|
|
1671
1673
|
limit?: string | undefined;
|
|
1672
1674
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
@@ -1674,6 +1676,7 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
|
|
|
1674
1676
|
showEmptyRatings?: string | undefined;
|
|
1675
1677
|
}, {
|
|
1676
1678
|
offset?: string | undefined;
|
|
1679
|
+
league?: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc" | undefined;
|
|
1677
1680
|
username?: string | undefined;
|
|
1678
1681
|
limit?: string | undefined;
|
|
1679
1682
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
package/dist/schemas/stadium.js
CHANGED
|
@@ -71,6 +71,7 @@ exports.searchStadiumRatingSchema = zod_1.z.object({
|
|
|
71
71
|
showEmptyRatings: zod_1.z.string().optional(),
|
|
72
72
|
userId: zod_1.z.string().optional(),
|
|
73
73
|
username: zod_1.z.string().optional(),
|
|
74
|
+
league: sharedTypes_1.leagueSlug.optional(),
|
|
74
75
|
});
|
|
75
76
|
exports.createStadiumRatingSchema = exports.stadiumRatingSchema
|
|
76
77
|
.omit({
|