rategame-shared 1.1.30 → 1.1.31

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,6 +1024,16 @@ 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<{
1028
+ id: import("zod").ZodString;
1029
+ value: import("zod").ZodNumber;
1030
+ }, "strip", import("zod").ZodTypeAny, {
1031
+ id: string;
1032
+ value: number;
1033
+ }, {
1034
+ id: string;
1035
+ value: number;
1036
+ }>>;
1027
1037
  }, "strip", import("zod").ZodTypeAny, {
1028
1038
  id: string;
1029
1039
  content: string;
@@ -1044,6 +1054,10 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
1044
1054
  username: string;
1045
1055
  avatarUrl?: string | null | undefined;
1046
1056
  } | null | undefined;
1057
+ authorGameRating?: {
1058
+ id: string;
1059
+ value: number;
1060
+ } | undefined;
1047
1061
  }, {
1048
1062
  id: string;
1049
1063
  content: string;
@@ -1064,6 +1078,10 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
1064
1078
  username: string;
1065
1079
  avatarUrl?: string | null | undefined;
1066
1080
  } | null | undefined;
1081
+ authorGameRating?: {
1082
+ id: string;
1083
+ value: number;
1084
+ } | undefined;
1067
1085
  }>;
1068
1086
  export declare const threadCommentLikeSchema: import("zod").ZodObject<{
1069
1087
  id: import("zod").ZodString;
@@ -115,6 +115,10 @@ exports.threadCommentSchema = (0, zod_1.object)({
115
115
  isReply: (0, zod_1.boolean)().optional(),
116
116
  replyTo: user_1.reducedUserSchema.nullable().optional(),
117
117
  level: (0, zod_1.number)(),
118
+ authorGameRating: (0, zod_1.object)({
119
+ id: (0, zod_1.string)(),
120
+ value: (0, zod_1.number)(),
121
+ }).optional(),
118
122
  });
119
123
  exports.threadCommentLikeSchema = (0, zod_1.object)({
120
124
  id: (0, zod_1.string)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.30",
3
+ "version": "1.1.31",
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",