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.
@@ -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;
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "description": "This package contains shared resources for the Rate Game project.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",