rategame-shared 1.0.41 → 1.0.42

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.
@@ -8,16 +8,19 @@ export declare const ratingSchema: import("zod").ZodObject<{
8
8
  username: import("zod").ZodString;
9
9
  avatarUrl: import("zod").ZodString;
10
10
  email: import("zod").ZodString;
11
+ badge: import("zod").ZodOptional<import("zod").ZodString>;
11
12
  }, "strip", import("zod").ZodTypeAny, {
12
13
  id: string;
13
14
  email: string;
14
15
  username: string;
15
16
  avatarUrl: string;
17
+ badge?: string | undefined;
16
18
  }, {
17
19
  id: string;
18
20
  email: string;
19
21
  username: string;
20
22
  avatarUrl: string;
23
+ badge?: string | undefined;
21
24
  }>;
22
25
  game: import("zod").ZodObject<{
23
26
  id: import("zod").ZodString;
@@ -123,6 +126,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
123
126
  email: string;
124
127
  username: string;
125
128
  avatarUrl: string;
129
+ badge?: string | undefined;
126
130
  };
127
131
  createdAt: number;
128
132
  rating: number;
@@ -157,6 +161,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
157
161
  email: string;
158
162
  username: string;
159
163
  avatarUrl: string;
164
+ badge?: string | undefined;
160
165
  };
161
166
  createdAt: number;
162
167
  rating: number;
@@ -13,6 +13,7 @@ exports.ratingSchema = (0, zod_1.object)({
13
13
  username: (0, zod_1.string)(),
14
14
  avatarUrl: (0, zod_1.string)(),
15
15
  email: (0, zod_1.string)(),
16
+ badge: (0, zod_1.string)().optional(),
16
17
  }),
17
18
  game: (0, zod_1.object)({
18
19
  id: (0, zod_1.string)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
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",