rategame-shared 1.0.47 → 1.0.49

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.
@@ -148,6 +148,7 @@ export declare const gameSchema: z.ZodObject<{
148
148
  options: Record<number, number>;
149
149
  };
150
150
  }>;
151
+ userIds: z.ZodArray<z.ZodString, "many">;
151
152
  }, "strip", z.ZodTypeAny, {
152
153
  round: number;
153
154
  status: "live" | "scheduled" | "final";
@@ -188,6 +189,7 @@ export declare const gameSchema: z.ZodObject<{
188
189
  options: Record<number, number>;
189
190
  };
190
191
  };
192
+ userIds: string[];
191
193
  id?: string | undefined;
192
194
  }, {
193
195
  round: number;
@@ -229,5 +231,6 @@ export declare const gameSchema: z.ZodObject<{
229
231
  options: Record<number, number>;
230
232
  };
231
233
  };
234
+ userIds: string[];
232
235
  id?: string | undefined;
233
236
  }>;
@@ -41,4 +41,5 @@ exports.gameSchema = zod_1.z.object({
41
41
  periodNumber: zod_1.z.number(),
42
42
  })),
43
43
  rating: exports.gameRatingAggregateSchema,
44
+ userIds: zod_1.z.array(zod_1.z.string()),
44
45
  });
@@ -199,7 +199,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
199
199
  limit: import("zod").ZodOptional<import("zod").ZodString>;
200
200
  offset: import("zod").ZodOptional<import("zod").ZodString>;
201
201
  gameId: import("zod").ZodOptional<import("zod").ZodString>;
202
- showEmptyRatings: import("zod").ZodOptional<import("zod").ZodBoolean>;
202
+ showEmptyRatings: import("zod").ZodOptional<import("zod").ZodString>;
203
203
  }, "strip", import("zod").ZodTypeAny, {
204
204
  q?: string | undefined;
205
205
  teamId?: string | undefined;
@@ -209,7 +209,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
209
209
  limit?: string | undefined;
210
210
  offset?: string | undefined;
211
211
  gameId?: string | undefined;
212
- showEmptyRatings?: boolean | undefined;
212
+ showEmptyRatings?: string | undefined;
213
213
  }, {
214
214
  q?: string | undefined;
215
215
  teamId?: string | undefined;
@@ -219,7 +219,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
219
219
  limit?: string | undefined;
220
220
  offset?: string | undefined;
221
221
  gameId?: string | undefined;
222
- showEmptyRatings?: boolean | undefined;
222
+ showEmptyRatings?: string | undefined;
223
223
  }>;
224
224
  export declare const ratingLikeSchema: import("zod").ZodObject<{
225
225
  ratingId: import("zod").ZodString;
@@ -41,7 +41,7 @@ exports.searchRatingSchema = (0, zod_1.object)({
41
41
  limit: (0, zod_1.string)().optional(),
42
42
  offset: (0, zod_1.string)().optional(),
43
43
  gameId: (0, zod_1.string)().optional(),
44
- showEmptyRatings: (0, zod_1.boolean)().optional(),
44
+ showEmptyRatings: (0, zod_1.string)().optional(),
45
45
  });
46
46
  exports.ratingLikeSchema = (0, zod_1.object)({
47
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.47",
3
+ "version": "1.0.49",
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",