rategame-shared 1.0.37 → 1.0.38

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.
@@ -115,7 +115,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
115
115
  isWinner?: boolean | undefined;
116
116
  };
117
117
  }>;
118
- ratingLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
118
+ userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
119
119
  }, "strip", import("zod").ZodTypeAny, {
120
120
  id: string;
121
121
  user: {
@@ -149,7 +149,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
149
149
  };
150
150
  };
151
151
  comment?: string | undefined;
152
- ratingLikes?: number | undefined;
152
+ userLikes?: number | undefined;
153
153
  }, {
154
154
  id: string;
155
155
  user: {
@@ -183,7 +183,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
183
183
  };
184
184
  };
185
185
  comment?: string | undefined;
186
- ratingLikes?: number | undefined;
186
+ userLikes?: number | undefined;
187
187
  }>;
188
188
  export declare const searchRatingSchema: import("zod").ZodObject<{
189
189
  q: import("zod").ZodOptional<import("zod").ZodString>;
@@ -266,7 +266,7 @@ export declare const createAgreeRatingSchema: import("zod").ZodObject<{
266
266
  export declare const createRatingSchema: import("zod").ZodObject<{
267
267
  rating: import("zod").ZodNumber;
268
268
  comment: import("zod").ZodOptional<import("zod").ZodString>;
269
- ratingLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
269
+ userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
270
270
  game: import("zod").ZodObject<Omit<{
271
271
  id: import("zod").ZodString;
272
272
  round: import("zod").ZodNumber;
@@ -331,12 +331,12 @@ export declare const createRatingSchema: import("zod").ZodObject<{
331
331
  id: string;
332
332
  };
333
333
  comment?: string | undefined;
334
- ratingLikes?: number | undefined;
334
+ userLikes?: number | undefined;
335
335
  }, {
336
336
  rating: number;
337
337
  game: {
338
338
  id: string;
339
339
  };
340
340
  comment?: string | undefined;
341
- ratingLikes?: number | undefined;
341
+ userLikes?: number | undefined;
342
342
  }>;
@@ -20,7 +20,7 @@ exports.ratingSchema = (0, zod_1.object)({
20
20
  homeTeam: game_1.gameTeamSchema,
21
21
  awayTeam: game_1.gameTeamSchema,
22
22
  }),
23
- ratingLikes: (0, zod_1.number)().optional(),
23
+ userLikes: (0, zod_1.number)().optional(),
24
24
  });
25
25
  exports.searchRatingSchema = (0, zod_1.object)({
26
26
  q: (0, zod_1.string)().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
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",