rategame-shared 1.0.65 → 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 +3 -0
- package/dist/schemas/game.js +1 -0
- package/package.json +1 -1
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(),
|