rategame-shared 1.1.232 → 1.1.233
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
|
@@ -386,11 +386,10 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
386
386
|
division: import("zod").ZodOptional<import("zod").ZodString>;
|
|
387
387
|
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">]>>;
|
|
388
388
|
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">]>>;
|
|
389
|
-
|
|
389
|
+
userLocation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
390
390
|
}, "strip", import("zod").ZodTypeAny, {
|
|
391
391
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
392
392
|
offset?: string | undefined;
|
|
393
|
-
location?: string | undefined;
|
|
394
393
|
round?: string | undefined;
|
|
395
394
|
q?: string | undefined;
|
|
396
395
|
username?: string | undefined;
|
|
@@ -401,6 +400,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
401
400
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
402
401
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
403
402
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
403
|
+
userLocation?: string | undefined;
|
|
404
404
|
gameId?: string | undefined;
|
|
405
405
|
showEmptyRatings?: string | undefined;
|
|
406
406
|
following?: string | undefined;
|
|
@@ -410,7 +410,6 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
410
410
|
}, {
|
|
411
411
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
412
412
|
offset?: string | undefined;
|
|
413
|
-
location?: string | undefined;
|
|
414
413
|
round?: string | undefined;
|
|
415
414
|
q?: string | undefined;
|
|
416
415
|
username?: string | undefined;
|
|
@@ -421,6 +420,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
421
420
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
422
421
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
423
422
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
423
|
+
userLocation?: string | undefined;
|
|
424
424
|
gameId?: string | undefined;
|
|
425
425
|
showEmptyRatings?: string | undefined;
|
|
426
426
|
following?: string | undefined;
|
|
@@ -863,7 +863,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
863
863
|
}>;
|
|
864
864
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
865
865
|
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<"listened">, import("zod").ZodLiteral<"partiallyWatched">]>, import("zod").ZodLiteral<"">]>>>;
|
|
866
|
-
|
|
866
|
+
userLocation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
867
867
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
868
868
|
rating: number;
|
|
869
869
|
game: {
|
|
@@ -878,7 +878,6 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
878
878
|
} | undefined;
|
|
879
879
|
seasonType?: number | undefined;
|
|
880
880
|
};
|
|
881
|
-
location?: string | undefined;
|
|
882
881
|
id?: string | undefined;
|
|
883
882
|
weightedRating?: number | undefined;
|
|
884
883
|
updatedAt?: number | undefined;
|
|
@@ -905,7 +904,6 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
905
904
|
} | undefined;
|
|
906
905
|
seasonType?: number | undefined;
|
|
907
906
|
};
|
|
908
|
-
location?: string | undefined;
|
|
909
907
|
id?: string | undefined;
|
|
910
908
|
weightedRating?: number | undefined;
|
|
911
909
|
updatedAt?: number | undefined;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -78,7 +78,7 @@ exports.searchRatingSchema = (0, zod_1.object)({
|
|
|
78
78
|
(0, zod_1.literal)("awayTeam"),
|
|
79
79
|
]).optional(),
|
|
80
80
|
category: exports.ratingCategorySchema.optional(),
|
|
81
|
-
|
|
81
|
+
userLocation: (0, zod_1.string)().optional(),
|
|
82
82
|
});
|
|
83
83
|
exports.ratingLikeSchema = (0, zod_1.object)({
|
|
84
84
|
ratingId: (0, zod_1.string)(),
|
|
@@ -116,7 +116,7 @@ exports.createRatingSchema = exports.ratingSchema
|
|
|
116
116
|
category: (0, zod_1.union)([exports.ratingCategorySchema, (0, zod_1.literal)("")])
|
|
117
117
|
.nullable()
|
|
118
118
|
.optional(),
|
|
119
|
-
|
|
119
|
+
userLocation: (0, zod_1.string)().optional(),
|
|
120
120
|
});
|
|
121
121
|
exports.threadCommentSchema = (0, zod_1.object)({
|
|
122
122
|
id: (0, zod_1.string)(),
|