rategame-shared 1.0.64 → 1.0.65
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
CHANGED
|
@@ -199,6 +199,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
199
199
|
q: import("zod").ZodOptional<import("zod").ZodString>;
|
|
200
200
|
teamId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
201
201
|
round: import("zod").ZodOptional<import("zod").ZodString>;
|
|
202
|
+
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nba">]>;
|
|
202
203
|
createdAt: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"12h">, import("zod").ZodLiteral<"daily">, import("zod").ZodLiteral<"weekly">]>>;
|
|
203
204
|
sortBy: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"rating:asc">, import("zod").ZodLiteral<"rating:desc">, import("zod").ZodLiteral<"createdAt:asc">, import("zod").ZodLiteral<"createdAt:desc">]>>;
|
|
204
205
|
limit: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -206,6 +207,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
206
207
|
gameId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
207
208
|
showEmptyRatings: import("zod").ZodOptional<import("zod").ZodString>;
|
|
208
209
|
}, "strip", import("zod").ZodTypeAny, {
|
|
210
|
+
league: "ncaa" | "nba";
|
|
209
211
|
q?: string | undefined;
|
|
210
212
|
teamId?: string | undefined;
|
|
211
213
|
round?: string | undefined;
|
|
@@ -216,6 +218,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
216
218
|
gameId?: string | undefined;
|
|
217
219
|
showEmptyRatings?: string | undefined;
|
|
218
220
|
}, {
|
|
221
|
+
league: "ncaa" | "nba";
|
|
219
222
|
q?: string | undefined;
|
|
220
223
|
teamId?: string | undefined;
|
|
221
224
|
round?: string | undefined;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -28,6 +28,7 @@ exports.searchRatingSchema = (0, zod_1.object)({
|
|
|
28
28
|
q: (0, zod_1.string)().optional(),
|
|
29
29
|
teamId: (0, zod_1.string)().optional(),
|
|
30
30
|
round: (0, zod_1.string)().optional(),
|
|
31
|
+
league: (0, zod_1.union)([(0, zod_1.literal)("ncaa"), (0, zod_1.literal)("nba")]),
|
|
31
32
|
createdAt: (0, zod_1.union)([
|
|
32
33
|
(0, zod_1.literal)("12h"),
|
|
33
34
|
(0, zod_1.literal)("daily"),
|