rategame-shared 1.0.44 → 1.0.46

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.
@@ -198,6 +198,8 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
198
198
  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">]>>;
199
199
  limit: import("zod").ZodOptional<import("zod").ZodString>;
200
200
  offset: import("zod").ZodOptional<import("zod").ZodString>;
201
+ gameId: import("zod").ZodOptional<import("zod").ZodString>;
202
+ showComments: import("zod").ZodOptional<import("zod").ZodBoolean>;
201
203
  }, "strip", import("zod").ZodTypeAny, {
202
204
  q?: string | undefined;
203
205
  teamId?: string | undefined;
@@ -206,6 +208,8 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
206
208
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | undefined;
207
209
  limit?: string | undefined;
208
210
  offset?: string | undefined;
211
+ gameId?: string | undefined;
212
+ showComments?: boolean | undefined;
209
213
  }, {
210
214
  q?: string | undefined;
211
215
  teamId?: string | undefined;
@@ -214,6 +218,8 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
214
218
  sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | undefined;
215
219
  limit?: string | undefined;
216
220
  offset?: string | undefined;
221
+ gameId?: string | undefined;
222
+ showComments?: boolean | undefined;
217
223
  }>;
218
224
  export declare const ratingLikeSchema: import("zod").ZodObject<{
219
225
  ratingId: import("zod").ZodString;
@@ -40,6 +40,8 @@ exports.searchRatingSchema = (0, zod_1.object)({
40
40
  ]).optional(),
41
41
  limit: (0, zod_1.string)().optional(),
42
42
  offset: (0, zod_1.string)().optional(),
43
+ gameId: (0, zod_1.string)().optional(),
44
+ showComments: (0, zod_1.boolean)().optional(),
43
45
  });
44
46
  exports.ratingLikeSchema = (0, zod_1.object)({
45
47
  ratingId: (0, zod_1.string)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
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",