rategame-shared 1.1.332 → 1.1.333
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
|
@@ -722,6 +722,9 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
722
722
|
fanCategory: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"winningTeam">, import("zod").ZodLiteral<"losingTeam">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"homeTeam">, import("zod").ZodLiteral<"awayTeam">]>>;
|
|
723
723
|
category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">, import("zod").ZodLiteral<"listened">, import("zod").ZodLiteral<"partiallyWatched">]>>;
|
|
724
724
|
userLocation: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
725
|
+
includeExperienceRatings: import("zod").ZodOptional<import("zod").ZodString>;
|
|
726
|
+
experienceRatingsLimit: import("zod").ZodOptional<import("zod").ZodString>;
|
|
727
|
+
experienceRatingsOffset: import("zod").ZodOptional<import("zod").ZodString>;
|
|
725
728
|
}, "strip", import("zod").ZodTypeAny, {
|
|
726
729
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
727
730
|
offset?: string | undefined;
|
|
@@ -742,6 +745,9 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
742
745
|
showEmptyRatings?: string | undefined;
|
|
743
746
|
mlbTeamLeague?: string | undefined;
|
|
744
747
|
division?: string | undefined;
|
|
748
|
+
includeExperienceRatings?: string | undefined;
|
|
749
|
+
experienceRatingsLimit?: string | undefined;
|
|
750
|
+
experienceRatingsOffset?: string | undefined;
|
|
745
751
|
}, {
|
|
746
752
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
747
753
|
offset?: string | undefined;
|
|
@@ -762,6 +768,9 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
762
768
|
showEmptyRatings?: string | undefined;
|
|
763
769
|
mlbTeamLeague?: string | undefined;
|
|
764
770
|
division?: string | undefined;
|
|
771
|
+
includeExperienceRatings?: string | undefined;
|
|
772
|
+
experienceRatingsLimit?: string | undefined;
|
|
773
|
+
experienceRatingsOffset?: string | undefined;
|
|
765
774
|
}>;
|
|
766
775
|
export declare const ratingLikeSchema: import("zod").ZodObject<{
|
|
767
776
|
ratingId: import("zod").ZodString;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -106,6 +106,10 @@ exports.searchRatingSchema = (0, zod_1.object)({
|
|
|
106
106
|
]).optional(),
|
|
107
107
|
category: exports.ratingCategorySchema.optional(),
|
|
108
108
|
userLocation: (0, zod_1.string)().optional().nullable(),
|
|
109
|
+
// Experience ratings params - when set, include experience ratings in response
|
|
110
|
+
includeExperienceRatings: (0, zod_1.string)().optional(),
|
|
111
|
+
experienceRatingsLimit: (0, zod_1.string)().optional(),
|
|
112
|
+
experienceRatingsOffset: (0, zod_1.string)().optional(),
|
|
109
113
|
});
|
|
110
114
|
exports.ratingLikeSchema = (0, zod_1.object)({
|
|
111
115
|
ratingId: (0, zod_1.string)(),
|