rategame-shared 1.1.239 → 1.1.240
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/game.d.ts
CHANGED
|
@@ -33978,6 +33978,7 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
33978
33978
|
seasonGroup: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"combined">, z.ZodLiteral<"regularSeason">, z.ZodLiteral<"playoffs">]>>;
|
|
33979
33979
|
gamesType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"topRated">, z.ZodLiteral<"mostRated">]>>;
|
|
33980
33980
|
season: z.ZodOptional<z.ZodString>;
|
|
33981
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
33981
33982
|
}, "strip", z.ZodTypeAny, {
|
|
33982
33983
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
33983
33984
|
offset?: string | undefined;
|
|
@@ -33993,6 +33994,7 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
33993
33994
|
topRatedGames?: string | undefined;
|
|
33994
33995
|
seasonGroup?: "combined" | "regularSeason" | "playoffs" | undefined;
|
|
33995
33996
|
gamesType?: "topRated" | "mostRated" | undefined;
|
|
33997
|
+
userId?: string | undefined;
|
|
33996
33998
|
}, {
|
|
33997
33999
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
33998
34000
|
offset?: string | undefined;
|
|
@@ -34008,6 +34010,7 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
34008
34010
|
topRatedGames?: string | undefined;
|
|
34009
34011
|
seasonGroup?: "combined" | "regularSeason" | "playoffs" | undefined;
|
|
34010
34012
|
gamesType?: "topRated" | "mostRated" | undefined;
|
|
34013
|
+
userId?: string | undefined;
|
|
34011
34014
|
}>;
|
|
34012
34015
|
export declare const creatorPickSchema: z.ZodObject<{
|
|
34013
34016
|
game: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
package/dist/schemas/game.js
CHANGED
|
@@ -338,6 +338,7 @@ exports.searchGameSchema = zod_1.z.object({
|
|
|
338
338
|
.union([zod_1.z.literal("topRated"), zod_1.z.literal("mostRated")])
|
|
339
339
|
.optional(),
|
|
340
340
|
season: zod_1.z.string().optional(),
|
|
341
|
+
userId: zod_1.z.string().optional(),
|
|
341
342
|
});
|
|
342
343
|
exports.creatorPickSchema = zod_1.z.object({
|
|
343
344
|
game: exports.unionGameSchema,
|
|
@@ -400,8 +400,8 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
400
400
|
id: string;
|
|
401
401
|
source: string;
|
|
402
402
|
text: string;
|
|
403
|
-
category: string;
|
|
404
403
|
userId: string;
|
|
404
|
+
category: string;
|
|
405
405
|
initiator: {
|
|
406
406
|
id: string;
|
|
407
407
|
email: string;
|
|
@@ -485,8 +485,8 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
485
485
|
id: string;
|
|
486
486
|
source: string;
|
|
487
487
|
text: string;
|
|
488
|
-
category: string;
|
|
489
488
|
userId: string;
|
|
489
|
+
category: string;
|
|
490
490
|
initiator: {
|
|
491
491
|
id: string;
|
|
492
492
|
email: string;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -399,12 +399,12 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
399
399
|
comment?: string | undefined;
|
|
400
400
|
teamId?: string | undefined;
|
|
401
401
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
402
|
+
userId?: string | undefined;
|
|
402
403
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
403
404
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
404
405
|
userLocation?: string | null | undefined;
|
|
405
406
|
gameId?: string | undefined;
|
|
406
407
|
showEmptyRatings?: string | undefined;
|
|
407
|
-
userId?: string | undefined;
|
|
408
408
|
mlbTeamLeague?: string | undefined;
|
|
409
409
|
division?: string | undefined;
|
|
410
410
|
}, {
|
|
@@ -419,12 +419,12 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
419
419
|
comment?: string | undefined;
|
|
420
420
|
teamId?: string | undefined;
|
|
421
421
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
422
|
+
userId?: string | undefined;
|
|
422
423
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
423
424
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
424
425
|
userLocation?: string | null | undefined;
|
|
425
426
|
gameId?: string | undefined;
|
|
426
427
|
showEmptyRatings?: string | undefined;
|
|
427
|
-
userId?: string | undefined;
|
|
428
428
|
mlbTeamLeague?: string | undefined;
|
|
429
429
|
division?: string | undefined;
|
|
430
430
|
}>;
|