rategame-shared 1.0.51 → 1.0.53

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.
@@ -239,7 +239,7 @@ export declare const searchGameSchema: z.ZodObject<{
239
239
  teamId: z.ZodOptional<z.ZodString>;
240
240
  round: z.ZodOptional<z.ZodString>;
241
241
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"12h">, z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">]>>;
242
- sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"rating:asc">, z.ZodLiteral<"rating:desc">, z.ZodLiteral<"createdAt:asc">, z.ZodLiteral<"createdAt:desc">]>>;
242
+ sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"rating.avg:asc">, z.ZodLiteral<"rating.avg:desc">, z.ZodLiteral<"startedAt:asc">, z.ZodLiteral<"startedAt:desc">]>>;
243
243
  limit: z.ZodOptional<z.ZodString>;
244
244
  offset: z.ZodOptional<z.ZodString>;
245
245
  }, "strip", z.ZodTypeAny, {
@@ -247,7 +247,7 @@ export declare const searchGameSchema: z.ZodObject<{
247
247
  teamId?: string | undefined;
248
248
  round?: string | undefined;
249
249
  createdAt?: "12h" | "daily" | "weekly" | undefined;
250
- sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | undefined;
250
+ sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
251
251
  limit?: string | undefined;
252
252
  offset?: string | undefined;
253
253
  }, {
@@ -255,7 +255,7 @@ export declare const searchGameSchema: z.ZodObject<{
255
255
  teamId?: string | undefined;
256
256
  round?: string | undefined;
257
257
  createdAt?: "12h" | "daily" | "weekly" | undefined;
258
- sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | undefined;
258
+ sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
259
259
  limit?: string | undefined;
260
260
  offset?: string | undefined;
261
261
  }>;
@@ -52,10 +52,10 @@ exports.searchGameSchema = zod_1.z.object({
52
52
  .optional(),
53
53
  sortBy: zod_1.z
54
54
  .union([
55
- zod_1.z.literal("rating:asc"),
56
- zod_1.z.literal("rating:desc"),
57
- zod_1.z.literal("createdAt:asc"),
58
- zod_1.z.literal("createdAt:desc"),
55
+ zod_1.z.literal("rating.avg:asc"),
56
+ zod_1.z.literal("rating.avg:desc"),
57
+ zod_1.z.literal("startedAt:asc"),
58
+ zod_1.z.literal("startedAt:desc"),
59
59
  ])
60
60
  .optional(),
61
61
  limit: zod_1.z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
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",