rategame-shared 1.1.30 → 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.
- package/dist/schemas/rating.d.ts +18 -0
- package/dist/schemas/rating.js +6 -0
- package/package.json +1 -1
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -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").ZodNullable<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
|
+
} | null | 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
|
+
} | null | undefined;
|
|
1067
1085
|
}>;
|
|
1068
1086
|
export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
1069
1087
|
id: import("zod").ZodString;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -115,6 +115,12 @@ 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
|
+
})
|
|
122
|
+
.nullable()
|
|
123
|
+
.optional(),
|
|
118
124
|
});
|
|
119
125
|
exports.threadCommentLikeSchema = (0, zod_1.object)({
|
|
120
126
|
id: (0, zod_1.string)(),
|