rategame-shared 1.1.28 → 1.1.29
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
|
@@ -762,9 +762,9 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
762
762
|
avatarUrl?: string | null | undefined;
|
|
763
763
|
}>;
|
|
764
764
|
ratingId: import("zod").ZodString;
|
|
765
|
-
parentId: import("zod").ZodString
|
|
765
|
+
parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
766
766
|
isReply: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
767
|
-
replyTo: import("zod").ZodOptional<import("zod").ZodObject<Pick<{
|
|
767
|
+
replyTo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<Pick<{
|
|
768
768
|
id: import("zod").ZodString;
|
|
769
769
|
email: import("zod").ZodString;
|
|
770
770
|
username: import("zod").ZodString;
|
|
@@ -1022,7 +1022,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1022
1022
|
email: string;
|
|
1023
1023
|
username: string;
|
|
1024
1024
|
avatarUrl?: string | null | undefined;
|
|
1025
|
-
}
|
|
1025
|
+
}>>>;
|
|
1026
1026
|
level: import("zod").ZodNumber;
|
|
1027
1027
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1028
1028
|
id: string;
|
|
@@ -1035,15 +1035,15 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1035
1035
|
};
|
|
1036
1036
|
createdAt: number;
|
|
1037
1037
|
ratingId: string;
|
|
1038
|
-
parentId: string;
|
|
1039
1038
|
level: number;
|
|
1039
|
+
parentId?: string | null | undefined;
|
|
1040
1040
|
isReply?: boolean | undefined;
|
|
1041
1041
|
replyTo?: {
|
|
1042
1042
|
id: string;
|
|
1043
1043
|
email: string;
|
|
1044
1044
|
username: string;
|
|
1045
1045
|
avatarUrl?: string | null | undefined;
|
|
1046
|
-
} | undefined;
|
|
1046
|
+
} | null | undefined;
|
|
1047
1047
|
}, {
|
|
1048
1048
|
id: string;
|
|
1049
1049
|
content: string;
|
|
@@ -1055,13 +1055,13 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1055
1055
|
};
|
|
1056
1056
|
createdAt: number;
|
|
1057
1057
|
ratingId: string;
|
|
1058
|
-
parentId: string;
|
|
1059
1058
|
level: number;
|
|
1059
|
+
parentId?: string | null | undefined;
|
|
1060
1060
|
isReply?: boolean | undefined;
|
|
1061
1061
|
replyTo?: {
|
|
1062
1062
|
id: string;
|
|
1063
1063
|
email: string;
|
|
1064
1064
|
username: string;
|
|
1065
1065
|
avatarUrl?: string | null | undefined;
|
|
1066
|
-
} | undefined;
|
|
1066
|
+
} | null | undefined;
|
|
1067
1067
|
}>;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -111,8 +111,8 @@ exports.threadCommentSchema = (0, zod_1.object)({
|
|
|
111
111
|
content: (0, zod_1.string)(),
|
|
112
112
|
user: user_1.reducedUserSchema,
|
|
113
113
|
ratingId: (0, zod_1.string)(),
|
|
114
|
-
parentId: (0, zod_1.string)(),
|
|
114
|
+
parentId: (0, zod_1.string)().nullable().optional(),
|
|
115
115
|
isReply: (0, zod_1.boolean)().optional(),
|
|
116
|
-
replyTo: user_1.reducedUserSchema.optional(),
|
|
116
|
+
replyTo: user_1.reducedUserSchema.nullable().optional(),
|
|
117
117
|
level: (0, zod_1.number)(),
|
|
118
118
|
});
|