rategame-shared 1.1.217 → 1.1.218
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
|
@@ -2667,15 +2667,15 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2667
2667
|
authorGameRating: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2668
2668
|
id: import("zod").ZodString;
|
|
2669
2669
|
value: import("zod").ZodNumber;
|
|
2670
|
-
category: import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]
|
|
2670
|
+
category: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>>>;
|
|
2671
2671
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2672
2672
|
id: string;
|
|
2673
2673
|
value: number;
|
|
2674
|
-
category
|
|
2674
|
+
category?: "watched" | "attended" | "highlights" | null | undefined;
|
|
2675
2675
|
}, {
|
|
2676
2676
|
id: string;
|
|
2677
2677
|
value: number;
|
|
2678
|
-
category
|
|
2678
|
+
category?: "watched" | "attended" | "highlights" | null | undefined;
|
|
2679
2679
|
}>>>;
|
|
2680
2680
|
gameId: import("zod").ZodString;
|
|
2681
2681
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -2704,7 +2704,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2704
2704
|
authorGameRating?: {
|
|
2705
2705
|
id: string;
|
|
2706
2706
|
value: number;
|
|
2707
|
-
category
|
|
2707
|
+
category?: "watched" | "attended" | "highlights" | null | undefined;
|
|
2708
2708
|
} | null | undefined;
|
|
2709
2709
|
}, {
|
|
2710
2710
|
id: string;
|
|
@@ -2732,7 +2732,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2732
2732
|
authorGameRating?: {
|
|
2733
2733
|
id: string;
|
|
2734
2734
|
value: number;
|
|
2735
|
-
category
|
|
2735
|
+
category?: "watched" | "attended" | "highlights" | null | undefined;
|
|
2736
2736
|
} | null | undefined;
|
|
2737
2737
|
}>;
|
|
2738
2738
|
export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
package/dist/schemas/rating.js
CHANGED
|
@@ -123,7 +123,7 @@ exports.threadCommentSchema = (0, zod_1.object)({
|
|
|
123
123
|
authorGameRating: (0, zod_1.object)({
|
|
124
124
|
id: (0, zod_1.string)(),
|
|
125
125
|
value: (0, zod_1.number)(),
|
|
126
|
-
category: exports.ratingCategorySchema,
|
|
126
|
+
category: exports.ratingCategorySchema.optional().nullable(),
|
|
127
127
|
})
|
|
128
128
|
.nullable()
|
|
129
129
|
.optional(),
|