rategame-shared 1.1.31 → 1.1.33
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
CHANGED
|
@@ -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,8 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1033
1033
|
}, {
|
|
1034
1034
|
id: string;
|
|
1035
1035
|
value: number;
|
|
1036
|
-
}
|
|
1036
|
+
}>>>;
|
|
1037
|
+
gameId: import("zod").ZodString;
|
|
1037
1038
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1038
1039
|
id: string;
|
|
1039
1040
|
content: string;
|
|
@@ -1044,6 +1045,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1044
1045
|
avatarUrl?: string | null | undefined;
|
|
1045
1046
|
};
|
|
1046
1047
|
createdAt: number;
|
|
1048
|
+
gameId: string;
|
|
1047
1049
|
ratingId: string;
|
|
1048
1050
|
level: number;
|
|
1049
1051
|
parentId?: string | null | undefined;
|
|
@@ -1057,7 +1059,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1057
1059
|
authorGameRating?: {
|
|
1058
1060
|
id: string;
|
|
1059
1061
|
value: number;
|
|
1060
|
-
} | undefined;
|
|
1062
|
+
} | null | undefined;
|
|
1061
1063
|
}, {
|
|
1062
1064
|
id: string;
|
|
1063
1065
|
content: string;
|
|
@@ -1068,6 +1070,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1068
1070
|
avatarUrl?: string | null | undefined;
|
|
1069
1071
|
};
|
|
1070
1072
|
createdAt: number;
|
|
1073
|
+
gameId: string;
|
|
1071
1074
|
ratingId: string;
|
|
1072
1075
|
level: number;
|
|
1073
1076
|
parentId?: string | null | undefined;
|
|
@@ -1081,7 +1084,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1081
1084
|
authorGameRating?: {
|
|
1082
1085
|
id: string;
|
|
1083
1086
|
value: number;
|
|
1084
|
-
} | undefined;
|
|
1087
|
+
} | null | undefined;
|
|
1085
1088
|
}>;
|
|
1086
1089
|
export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
1087
1090
|
id: import("zod").ZodString;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -118,7 +118,10 @@ 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
|
-
})
|
|
121
|
+
})
|
|
122
|
+
.nullable()
|
|
123
|
+
.optional(),
|
|
124
|
+
gameId: (0, zod_1.string)(),
|
|
122
125
|
});
|
|
123
126
|
exports.threadCommentLikeSchema = (0, zod_1.object)({
|
|
124
127
|
id: (0, zod_1.string)(),
|