rategame-shared 1.1.31 → 1.1.32

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.
@@ -1024,7 +1024,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
1024
1024
  avatarUrl?: string | null | undefined;
1025
1025
  }>>>;
1026
1026
  level: import("zod").ZodNumber;
1027
- authorGameRating: import("zod").ZodOptional<import("zod").ZodObject<{
1027
+ authorGameRating: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
1028
1028
  id: import("zod").ZodString;
1029
1029
  value: import("zod").ZodNumber;
1030
1030
  }, "strip", import("zod").ZodTypeAny, {
@@ -1033,7 +1033,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
1033
1033
  }, {
1034
1034
  id: string;
1035
1035
  value: number;
1036
- }>>;
1036
+ }>>>;
1037
1037
  }, "strip", import("zod").ZodTypeAny, {
1038
1038
  id: string;
1039
1039
  content: string;
@@ -1057,7 +1057,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
1057
1057
  authorGameRating?: {
1058
1058
  id: string;
1059
1059
  value: number;
1060
- } | undefined;
1060
+ } | null | undefined;
1061
1061
  }, {
1062
1062
  id: string;
1063
1063
  content: string;
@@ -1081,7 +1081,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
1081
1081
  authorGameRating?: {
1082
1082
  id: string;
1083
1083
  value: number;
1084
- } | undefined;
1084
+ } | null | undefined;
1085
1085
  }>;
1086
1086
  export declare const threadCommentLikeSchema: import("zod").ZodObject<{
1087
1087
  id: import("zod").ZodString;
@@ -118,7 +118,9 @@ exports.threadCommentSchema = (0, zod_1.object)({
118
118
  authorGameRating: (0, zod_1.object)({
119
119
  id: (0, zod_1.string)(),
120
120
  value: (0, zod_1.number)(),
121
- }).optional(),
121
+ })
122
+ .nullable()
123
+ .optional(),
122
124
  });
123
125
  exports.threadCommentLikeSchema = (0, zod_1.object)({
124
126
  id: (0, zod_1.string)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.31",
3
+ "version": "1.1.32",
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",