rategame-shared 1.0.78 → 1.0.79

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.
@@ -336,6 +336,7 @@ export declare const createAgreeRatingSchema: import("zod").ZodObject<{
336
336
  agree: boolean;
337
337
  }>;
338
338
  export declare const createRatingSchema: import("zod").ZodObject<{
339
+ id: import("zod").ZodString;
339
340
  rating: import("zod").ZodNumber;
340
341
  comment: import("zod").ZodOptional<import("zod").ZodString>;
341
342
  userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -429,6 +430,7 @@ export declare const createRatingSchema: import("zod").ZodObject<{
429
430
  } | undefined;
430
431
  }>;
431
432
  }, "strip", import("zod").ZodTypeAny, {
433
+ id: string;
432
434
  rating: number;
433
435
  game: {
434
436
  id: string;
@@ -443,6 +445,7 @@ export declare const createRatingSchema: import("zod").ZodObject<{
443
445
  comment?: string | undefined;
444
446
  userLikes?: number | undefined;
445
447
  }, {
448
+ id: string;
446
449
  rating: number;
447
450
  game: {
448
451
  id: string;
@@ -66,7 +66,7 @@ exports.createAgreeRatingSchema = (0, zod_1.object)({
66
66
  });
67
67
  exports.createRatingSchema = exports.ratingSchema
68
68
  .omit({
69
- id: true,
69
+ // id: true,
70
70
  createdAt: true,
71
71
  user: true,
72
72
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
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",