rategame-shared 1.0.8 → 1.0.9

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.
@@ -4,13 +4,13 @@ export declare const ratingSchema: import("zod").ZodObject<{
4
4
  createdAt: import("zod").ZodNumber;
5
5
  rating: import("zod").ZodNumber;
6
6
  user: import("zod").ZodObject<{
7
- id: import("zod").ZodRecord<import("zod").ZodNumber, import("zod").ZodNumber>;
7
+ id: import("zod").ZodString;
8
8
  username: import("zod").ZodNumber;
9
9
  }, "strip", import("zod").ZodTypeAny, {
10
- id: Record<number, number>;
10
+ id: string;
11
11
  username: number;
12
12
  }, {
13
- id: Record<number, number>;
13
+ id: string;
14
14
  username: number;
15
15
  }>;
16
16
  round: import("zod").ZodNumber;
@@ -101,7 +101,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
101
101
  id: string;
102
102
  round: number;
103
103
  user: {
104
- id: Record<number, number>;
104
+ id: string;
105
105
  username: number;
106
106
  };
107
107
  createdAt: number;
@@ -130,7 +130,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
130
130
  id: string;
131
131
  round: number;
132
132
  user: {
133
- id: Record<number, number>;
133
+ id: string;
134
134
  username: number;
135
135
  };
136
136
  createdAt: number;
@@ -9,7 +9,7 @@ exports.ratingSchema = (0, zod_1.object)({
9
9
  createdAt: (0, zod_1.number)(),
10
10
  rating: (0, zod_1.number)(),
11
11
  user: (0, zod_1.object)({
12
- id: (0, zod_1.record)((0, zod_1.number)(), (0, zod_1.number)()),
12
+ id: (0, zod_1.string)(),
13
13
  username: (0, zod_1.number)(),
14
14
  }),
15
15
  round: (0, zod_1.number)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
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",