rategame-shared 1.0.78 → 1.0.80

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.
@@ -428,6 +428,7 @@ export declare const createRatingSchema: import("zod").ZodObject<{
428
428
  gameNumber: number;
429
429
  } | undefined;
430
430
  }>;
431
+ id: import("zod").ZodOptional<import("zod").ZodString>;
431
432
  }, "strip", import("zod").ZodTypeAny, {
432
433
  rating: number;
433
434
  game: {
@@ -442,6 +443,7 @@ export declare const createRatingSchema: import("zod").ZodObject<{
442
443
  };
443
444
  comment?: string | undefined;
444
445
  userLikes?: number | undefined;
446
+ id?: string | undefined;
445
447
  }, {
446
448
  rating: number;
447
449
  game: {
@@ -456,4 +458,5 @@ export declare const createRatingSchema: import("zod").ZodObject<{
456
458
  };
457
459
  comment?: string | undefined;
458
460
  userLikes?: number | undefined;
461
+ id?: string | undefined;
459
462
  }>;
@@ -76,4 +76,5 @@ exports.createRatingSchema = exports.ratingSchema
76
76
  homeTeam: true,
77
77
  awayTeam: true,
78
78
  }),
79
+ id: (0, zod_1.string)().optional(),
79
80
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
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",