rategame-shared 1.1.326 → 1.1.328

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({
@@ -4701,14 +4701,17 @@ export declare const profileRatingStatsSchema: import("zod").ZodObject<{
4701
4701
  avgRating: import("zod").ZodString;
4702
4702
  ratedGames: import("zod").ZodString;
4703
4703
  stadiumRatings: import("zod").ZodNumber;
4704
+ experienceRatings: import("zod").ZodNumber;
4704
4705
  }, "strip", import("zod").ZodTypeAny, {
4705
4706
  avgRating: string;
4706
4707
  ratedGames: string;
4707
4708
  stadiumRatings: number;
4709
+ experienceRatings: number;
4708
4710
  }, {
4709
4711
  avgRating: string;
4710
4712
  ratedGames: string;
4711
4713
  stadiumRatings: number;
4714
+ experienceRatings: number;
4712
4715
  }>;
4713
4716
  export declare const seasonStatsSchema: import("zod").ZodObject<{
4714
4717
  season: import("zod").ZodString;
@@ -156,6 +156,7 @@ exports.profileRatingStatsSchema = (0, zod_1.object)({
156
156
  avgRating: (0, zod_1.string)(),
157
157
  ratedGames: (0, zod_1.string)(),
158
158
  stadiumRatings: (0, zod_1.number)(),
159
+ experienceRatings: (0, zod_1.number)(),
159
160
  });
160
161
  exports.seasonStatsSchema = (0, zod_1.object)({
161
162
  season: (0, zod_1.string)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.326",
3
+ "version": "1.1.328",
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",