rategame-shared 1.1.293 → 1.1.294
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.
|
@@ -1780,6 +1780,7 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
|
|
|
1780
1780
|
username: z.ZodOptional<z.ZodString>;
|
|
1781
1781
|
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">]>>;
|
|
1782
1782
|
q: z.ZodOptional<z.ZodString>;
|
|
1783
|
+
onlyUserRatings: z.ZodOptional<z.ZodBoolean>;
|
|
1783
1784
|
}, "strip", z.ZodTypeAny, {
|
|
1784
1785
|
offset?: string | undefined;
|
|
1785
1786
|
q?: string | undefined;
|
|
@@ -1789,6 +1790,7 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
|
|
|
1789
1790
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
1790
1791
|
userId?: string | undefined;
|
|
1791
1792
|
showEmptyRatings?: string | undefined;
|
|
1793
|
+
onlyUserRatings?: boolean | undefined;
|
|
1792
1794
|
}, {
|
|
1793
1795
|
offset?: string | undefined;
|
|
1794
1796
|
q?: string | undefined;
|
|
@@ -1798,6 +1800,7 @@ export declare const searchStadiumRatingSchema: z.ZodObject<{
|
|
|
1798
1800
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
1799
1801
|
userId?: string | undefined;
|
|
1800
1802
|
showEmptyRatings?: string | undefined;
|
|
1803
|
+
onlyUserRatings?: boolean | undefined;
|
|
1801
1804
|
}>;
|
|
1802
1805
|
export declare const createStadiumRatingSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
1803
1806
|
id: z.ZodString;
|
package/dist/schemas/stadium.js
CHANGED
|
@@ -76,6 +76,7 @@ exports.searchStadiumRatingSchema = zod_1.z.object({
|
|
|
76
76
|
username: zod_1.z.string().optional(),
|
|
77
77
|
league: sharedTypes_1.leagueSlug.optional(),
|
|
78
78
|
q: zod_1.z.string().optional(),
|
|
79
|
+
onlyUserRatings: zod_1.z.boolean().optional(),
|
|
79
80
|
});
|
|
80
81
|
exports.createStadiumRatingSchema = exports.stadiumRatingSchema
|
|
81
82
|
.omit({
|