rategame-shared 1.1.325 → 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,6 +84365,8 @@ export declare const pickDeleteDtoSchema: z.ZodObject<{
84365
84365
  edited: boolean;
84366
84366
  gameId: string;
84367
84367
  }>;
84368
+ currentHomeTeamPickCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
84369
+ currentAwayTeamPickCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
84368
84370
  }, "strip", z.ZodTypeAny, {
84369
84371
  pick: {
84370
84372
  id: string;
@@ -85604,6 +85606,8 @@ export declare const pickDeleteDtoSchema: z.ZodObject<{
85604
85606
  edited: boolean;
85605
85607
  gameId: string;
85606
85608
  };
85609
+ currentHomeTeamPickCount?: number | null | undefined;
85610
+ currentAwayTeamPickCount?: number | null | undefined;
85607
85611
  }, {
85608
85612
  pick: {
85609
85613
  id: string;
@@ -86843,6 +86847,8 @@ export declare const pickDeleteDtoSchema: z.ZodObject<{
86843
86847
  edited: boolean;
86844
86848
  gameId: string;
86845
86849
  };
86850
+ currentHomeTeamPickCount?: number | null | undefined;
86851
+ currentAwayTeamPickCount?: number | null | undefined;
86846
86852
  }>;
86847
86853
  export declare const pickDeleteResponseDtoSchema: z.ZodObject<{
86848
86854
  success: z.ZodBoolean;
@@ -101,9 +101,11 @@ exports.gamePickUsersPaginatedResponseDtoSchema = zod_1.z.object({
101
101
  nextCursor: zod_1.z.string().nullable(),
102
102
  hasMore: zod_1.z.boolean(),
103
103
  });
104
- // Pick delete DTO (contains the existing pick to avoid fetching from DB)
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().nullable().optional(),
108
+ currentAwayTeamPickCount: zod_1.z.number().nullable().optional(),
107
109
  });
108
110
  // Pick delete response DTO
109
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.325",
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",