rategame-shared 1.1.326 → 1.1.327

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.
@@ -84365,8 +84365,8 @@ export declare const pickDeleteDtoSchema: z.ZodObject<{
84365
84365
  edited: boolean;
84366
84366
  gameId: string;
84367
84367
  }>;
84368
- currentHomeTeamPickCount: z.ZodNumber;
84369
- currentAwayTeamPickCount: z.ZodNumber;
84368
+ currentHomeTeamPickCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
84369
+ currentAwayTeamPickCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
84370
84370
  }, "strip", z.ZodTypeAny, {
84371
84371
  pick: {
84372
84372
  id: string;
@@ -85606,8 +85606,8 @@ export declare const pickDeleteDtoSchema: z.ZodObject<{
85606
85606
  edited: boolean;
85607
85607
  gameId: string;
85608
85608
  };
85609
- currentHomeTeamPickCount: number;
85610
- currentAwayTeamPickCount: number;
85609
+ currentHomeTeamPickCount?: number | null | undefined;
85610
+ currentAwayTeamPickCount?: number | null | undefined;
85611
85611
  }, {
85612
85612
  pick: {
85613
85613
  id: string;
@@ -86847,8 +86847,8 @@ export declare const pickDeleteDtoSchema: z.ZodObject<{
86847
86847
  edited: boolean;
86848
86848
  gameId: string;
86849
86849
  };
86850
- currentHomeTeamPickCount: number;
86851
- currentAwayTeamPickCount: number;
86850
+ currentHomeTeamPickCount?: number | null | undefined;
86851
+ currentAwayTeamPickCount?: number | null | undefined;
86852
86852
  }>;
86853
86853
  export declare const pickDeleteResponseDtoSchema: z.ZodObject<{
86854
86854
  success: z.ZodBoolean;
@@ -104,8 +104,8 @@ exports.gamePickUsersPaginatedResponseDtoSchema = zod_1.z.object({
104
104
  // Pick delete DTO (contains the existing pick and current RTDB pick counts)
105
105
  exports.pickDeleteDtoSchema = zod_1.z.object({
106
106
  pick: exports.pickSchema,
107
- currentHomeTeamPickCount: zod_1.z.number(),
108
- currentAwayTeamPickCount: zod_1.z.number(),
107
+ currentHomeTeamPickCount: zod_1.z.number().nullable().optional(),
108
+ currentAwayTeamPickCount: zod_1.z.number().nullable().optional(),
109
109
  });
110
110
  // Pick delete response DTO
111
111
  exports.pickDeleteResponseDtoSchema = zod_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.326",
3
+ "version": "1.1.327",
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",