rategame-shared 1.0.28 → 1.0.29

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.
@@ -180,27 +180,27 @@ export declare const ratingSchema: import("zod").ZodObject<{
180
180
  export declare const searchRatingSchema: import("zod").ZodObject<{
181
181
  q: import("zod").ZodOptional<import("zod").ZodString>;
182
182
  teamId: import("zod").ZodOptional<import("zod").ZodString>;
183
- round: import("zod").ZodOptional<import("zod").ZodNumber>;
183
+ round: import("zod").ZodOptional<import("zod").ZodString>;
184
184
  createdAt: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"12h">, import("zod").ZodLiteral<"daily">, import("zod").ZodLiteral<"weekly">]>>;
185
185
  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">]>>;
186
- limit: import("zod").ZodOptional<import("zod").ZodNumber>;
187
- offset: import("zod").ZodOptional<import("zod").ZodNumber>;
186
+ limit: import("zod").ZodOptional<import("zod").ZodString>;
187
+ offset: import("zod").ZodOptional<import("zod").ZodString>;
188
188
  }, "strip", import("zod").ZodTypeAny, {
189
189
  q?: string | undefined;
190
190
  teamId?: string | undefined;
191
- round?: number | undefined;
191
+ round?: string | undefined;
192
192
  createdAt?: "12h" | "daily" | "weekly" | undefined;
193
193
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | undefined;
194
- limit?: number | undefined;
195
- offset?: number | undefined;
194
+ limit?: string | undefined;
195
+ offset?: string | undefined;
196
196
  }, {
197
197
  q?: string | undefined;
198
198
  teamId?: string | undefined;
199
- round?: number | undefined;
199
+ round?: string | undefined;
200
200
  createdAt?: "12h" | "daily" | "weekly" | undefined;
201
201
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | undefined;
202
- limit?: number | undefined;
203
- offset?: number | undefined;
202
+ limit?: string | undefined;
203
+ offset?: string | undefined;
204
204
  }>;
205
205
  export declare const ratingLikeSchema: import("zod").ZodObject<{
206
206
  id: import("zod").ZodString;
@@ -23,7 +23,7 @@ exports.ratingSchema = (0, zod_1.object)({
23
23
  exports.searchRatingSchema = (0, zod_1.object)({
24
24
  q: (0, zod_1.string)().optional(),
25
25
  teamId: (0, zod_1.string)().optional(),
26
- round: (0, zod_1.number)().optional(),
26
+ round: (0, zod_1.string)().optional(),
27
27
  createdAt: (0, zod_1.union)([
28
28
  (0, zod_1.literal)("12h"),
29
29
  (0, zod_1.literal)("daily"),
@@ -35,8 +35,8 @@ exports.searchRatingSchema = (0, zod_1.object)({
35
35
  (0, zod_1.literal)("createdAt:asc"),
36
36
  (0, zod_1.literal)("createdAt:desc"),
37
37
  ]).optional(),
38
- limit: (0, zod_1.number)().optional(),
39
- offset: (0, zod_1.number)().optional(),
38
+ limit: (0, zod_1.string)().optional(),
39
+ offset: (0, zod_1.string)().optional(),
40
40
  });
41
41
  exports.ratingLikeSchema = (0, zod_1.object)({
42
42
  id: (0, zod_1.string)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
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",