rategame-shared 1.0.9 → 1.0.10

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