rategame-shared 1.1.69 → 1.1.70

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.
@@ -3865,7 +3865,7 @@ export declare const searchGameSchema: z.ZodObject<{
3865
3865
  teamId: z.ZodOptional<z.ZodString>;
3866
3866
  round: z.ZodOptional<z.ZodString>;
3867
3867
  league: z.ZodUnion<[z.ZodLiteral<"ncaa">, z.ZodLiteral<"nba">, z.ZodLiteral<"mlb">, z.ZodLiteral<"nfl">, z.ZodLiteral<"nhl">, z.ZodLiteral<"mls">, z.ZodLiteral<"cfb">, z.ZodLiteral<"cbb">, z.ZodLiteral<"epl">]>;
3868
- createdAt: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"12h">, z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">]>>;
3868
+ createdAt: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Today">, z.ZodLiteral<"This Week">, z.ZodLiteral<"All">, z.ZodLiteral<"12h">, z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">]>>;
3869
3869
  sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"rating.avg:asc">, z.ZodLiteral<"rating.avg:desc">, z.ZodLiteral<"startedAt:asc">, z.ZodLiteral<"startedAt:desc">]>>;
3870
3870
  limit: z.ZodOptional<z.ZodString>;
3871
3871
  offset: z.ZodOptional<z.ZodString>;
@@ -3874,7 +3874,7 @@ export declare const searchGameSchema: z.ZodObject<{
3874
3874
  offset?: string | undefined;
3875
3875
  round?: string | undefined;
3876
3876
  q?: string | undefined;
3877
- createdAt?: "12h" | "daily" | "weekly" | undefined;
3877
+ createdAt?: "Today" | "This Week" | "All" | "12h" | "daily" | "weekly" | undefined;
3878
3878
  teamId?: string | undefined;
3879
3879
  sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
3880
3880
  limit?: string | undefined;
@@ -3883,7 +3883,7 @@ export declare const searchGameSchema: z.ZodObject<{
3883
3883
  offset?: string | undefined;
3884
3884
  round?: string | undefined;
3885
3885
  q?: string | undefined;
3886
- createdAt?: "12h" | "daily" | "weekly" | undefined;
3886
+ createdAt?: "Today" | "This Week" | "All" | "12h" | "daily" | "weekly" | undefined;
3887
3887
  teamId?: string | undefined;
3888
3888
  sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
3889
3889
  limit?: string | undefined;
@@ -283,7 +283,14 @@ exports.searchGameSchema = zod_1.z.object({
283
283
  zod_1.z.literal("epl"),
284
284
  ]),
285
285
  createdAt: zod_1.z
286
- .union([zod_1.z.literal("12h"), zod_1.z.literal("daily"), zod_1.z.literal("weekly")])
286
+ .union([
287
+ zod_1.z.literal("Today"),
288
+ zod_1.z.literal("This Week"),
289
+ zod_1.z.literal("All"),
290
+ zod_1.z.literal("12h"),
291
+ zod_1.z.literal("daily"),
292
+ zod_1.z.literal("weekly"),
293
+ ])
287
294
  .optional(),
288
295
  sortBy: zod_1.z
289
296
  .union([
@@ -300,7 +300,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
300
300
  round?: string | undefined;
301
301
  q?: string | undefined;
302
302
  username?: string | undefined;
303
- createdAt?: "12h" | "daily" | "weekly" | "Today" | "This Week" | "All" | undefined;
303
+ createdAt?: "Today" | "This Week" | "All" | "12h" | "daily" | "weekly" | undefined;
304
304
  teamId?: string | undefined;
305
305
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
306
306
  limit?: string | undefined;
@@ -317,7 +317,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
317
317
  round?: string | undefined;
318
318
  q?: string | undefined;
319
319
  username?: string | undefined;
320
- createdAt?: "12h" | "daily" | "weekly" | "Today" | "This Week" | "All" | undefined;
320
+ createdAt?: "Today" | "This Week" | "All" | "12h" | "daily" | "weekly" | undefined;
321
321
  teamId?: string | undefined;
322
322
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
323
323
  limit?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.69",
3
+ "version": "1.1.70",
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",