rategame-shared 1.1.218 → 1.1.219
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
|
@@ -855,6 +855,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
855
855
|
seasonType?: number | undefined;
|
|
856
856
|
}>;
|
|
857
857
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
858
|
+
category: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>, import("zod").ZodLiteral<"">]>>>;
|
|
858
859
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
859
860
|
rating: number;
|
|
860
861
|
game: {
|
|
@@ -879,7 +880,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
879
880
|
weight?: number | undefined;
|
|
880
881
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
881
882
|
edited?: boolean | undefined;
|
|
882
|
-
category?: "watched" | "attended" | "highlights" | undefined;
|
|
883
|
+
category?: "" | "watched" | "attended" | "highlights" | null | undefined;
|
|
883
884
|
}, {
|
|
884
885
|
rating: number;
|
|
885
886
|
game: {
|
|
@@ -904,7 +905,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
904
905
|
weight?: number | undefined;
|
|
905
906
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
906
907
|
edited?: boolean | undefined;
|
|
907
|
-
category?: "watched" | "attended" | "highlights" | undefined;
|
|
908
|
+
category?: "" | "watched" | "attended" | "highlights" | null | undefined;
|
|
908
909
|
}>;
|
|
909
910
|
export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
910
911
|
id: import("zod").ZodString;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -109,6 +109,9 @@ exports.createRatingSchema = exports.ratingSchema
|
|
|
109
109
|
roundName: true,
|
|
110
110
|
}),
|
|
111
111
|
id: (0, zod_1.string)().optional(),
|
|
112
|
+
category: (0, zod_1.union)([exports.ratingCategorySchema, (0, zod_1.literal)("")])
|
|
113
|
+
.nullable()
|
|
114
|
+
.optional(),
|
|
112
115
|
});
|
|
113
116
|
exports.threadCommentSchema = (0, zod_1.object)({
|
|
114
117
|
id: (0, zod_1.string)(),
|