rategame-shared 1.0.50 → 1.0.51

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,7 +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
+ userIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
152
152
  }, "strip", z.ZodTypeAny, {
153
153
  round: number;
154
154
  status: "live" | "scheduled" | "final";
@@ -189,8 +189,8 @@ export declare const gameSchema: z.ZodObject<{
189
189
  options: Record<number, number>;
190
190
  };
191
191
  };
192
- userIds: string[];
193
192
  id?: string | undefined;
193
+ userIds?: string[] | undefined;
194
194
  }, {
195
195
  round: number;
196
196
  status: "live" | "scheduled" | "final";
@@ -231,8 +231,8 @@ export declare const gameSchema: z.ZodObject<{
231
231
  options: Record<number, number>;
232
232
  };
233
233
  };
234
- userIds: string[];
235
234
  id?: string | undefined;
235
+ userIds?: string[] | undefined;
236
236
  }>;
237
237
  export declare const searchGameSchema: z.ZodObject<{
238
238
  q: z.ZodOptional<z.ZodString>;
@@ -41,7 +41,7 @@ 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
+ userIds: zod_1.z.array(zod_1.z.string()).optional(),
45
45
  });
46
46
  exports.searchGameSchema = zod_1.z.object({
47
47
  q: zod_1.z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
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",