rategame-shared 1.0.64 → 1.0.66
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/game.d.ts
CHANGED
|
@@ -288,11 +288,13 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
288
288
|
q: z.ZodOptional<z.ZodString>;
|
|
289
289
|
teamId: z.ZodOptional<z.ZodString>;
|
|
290
290
|
round: z.ZodOptional<z.ZodString>;
|
|
291
|
+
league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">]>;
|
|
291
292
|
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"12h">, z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">]>>;
|
|
292
293
|
sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"rating.avg:asc">, z.ZodLiteral<"rating.avg:desc">, z.ZodLiteral<"startedAt:asc">, z.ZodLiteral<"startedAt:desc">]>>;
|
|
293
294
|
limit: z.ZodOptional<z.ZodString>;
|
|
294
295
|
offset: z.ZodOptional<z.ZodString>;
|
|
295
296
|
}, "strip", z.ZodTypeAny, {
|
|
297
|
+
league: "ncaa" | "nba";
|
|
296
298
|
q?: string | undefined;
|
|
297
299
|
teamId?: string | undefined;
|
|
298
300
|
round?: string | undefined;
|
|
@@ -301,6 +303,7 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
301
303
|
limit?: string | undefined;
|
|
302
304
|
offset?: string | undefined;
|
|
303
305
|
}, {
|
|
306
|
+
league: "ncaa" | "nba";
|
|
304
307
|
q?: string | undefined;
|
|
305
308
|
teamId?: string | undefined;
|
|
306
309
|
round?: string | undefined;
|
package/dist/schemas/game.js
CHANGED
|
@@ -56,6 +56,7 @@ exports.searchGameSchema = zod_1.z.object({
|
|
|
56
56
|
q: zod_1.z.string().optional(),
|
|
57
57
|
teamId: zod_1.z.string().optional(),
|
|
58
58
|
round: zod_1.z.string().optional(),
|
|
59
|
+
league: zod_1.z.union([zod_1.z.literal("ncaa"), zod_1.z.literal("nba")]),
|
|
59
60
|
createdAt: zod_1.z
|
|
60
61
|
.union([zod_1.z.literal("12h"), zod_1.z.literal("daily"), zod_1.z.literal("weekly")])
|
|
61
62
|
.optional(),
|
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"),
|