rategame-shared 1.1.226 → 1.1.227
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.
|
@@ -259,7 +259,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
259
259
|
listCount: z.ZodOptional<z.ZodNumber>;
|
|
260
260
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
261
261
|
edited: z.ZodOptional<z.ZodBoolean>;
|
|
262
|
-
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"watched">, z.ZodLiteral<"attended">, z.ZodLiteral<"highlights">]>>;
|
|
262
|
+
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"watched">, z.ZodLiteral<"attended">, z.ZodLiteral<"highlights">, z.ZodLiteral<"listened">, z.ZodLiteral<"partiallyWatched">]>>;
|
|
263
263
|
}, "strip", z.ZodTypeAny, {
|
|
264
264
|
id: string;
|
|
265
265
|
user: {
|
|
@@ -325,7 +325,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
325
325
|
weight?: number | undefined;
|
|
326
326
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
327
327
|
edited?: boolean | undefined;
|
|
328
|
-
category?: "watched" | "attended" | "highlights" | undefined;
|
|
328
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
329
329
|
}, {
|
|
330
330
|
id: string;
|
|
331
331
|
user: {
|
|
@@ -391,7 +391,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
391
391
|
weight?: number | undefined;
|
|
392
392
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
393
393
|
edited?: boolean | undefined;
|
|
394
|
-
category?: "watched" | "attended" | "highlights" | undefined;
|
|
394
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
395
395
|
}>>;
|
|
396
396
|
}, "strip", z.ZodTypeAny, {
|
|
397
397
|
id: string;
|
|
@@ -474,7 +474,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
474
474
|
weight?: number | undefined;
|
|
475
475
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
476
476
|
edited?: boolean | undefined;
|
|
477
|
-
category?: "watched" | "attended" | "highlights" | undefined;
|
|
477
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
478
478
|
} | undefined;
|
|
479
479
|
linkText?: string | undefined;
|
|
480
480
|
}, {
|
|
@@ -558,7 +558,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
558
558
|
weight?: number | undefined;
|
|
559
559
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
560
560
|
edited?: boolean | undefined;
|
|
561
|
-
category?: "watched" | "attended" | "highlights" | undefined;
|
|
561
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
562
562
|
} | undefined;
|
|
563
563
|
linkText?: string | undefined;
|
|
564
564
|
}>;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ratingCategorySchema: import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>;
|
|
1
|
+
export declare const ratingCategorySchema: import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">, import("zod").ZodLiteral<"listened">, import("zod").ZodLiteral<"partiallyWatched">]>;
|
|
2
2
|
export declare const ratingSchema: import("zod").ZodObject<{
|
|
3
3
|
id: import("zod").ZodString;
|
|
4
4
|
createdAt: import("zod").ZodNumber;
|
|
@@ -230,7 +230,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
230
230
|
listCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
231
231
|
updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
232
232
|
edited: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
233
|
-
category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>>;
|
|
233
|
+
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">]>>;
|
|
234
234
|
}, "strip", import("zod").ZodTypeAny, {
|
|
235
235
|
id: string;
|
|
236
236
|
user: {
|
|
@@ -296,7 +296,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
296
296
|
weight?: number | undefined;
|
|
297
297
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
298
298
|
edited?: boolean | undefined;
|
|
299
|
-
category?: "watched" | "attended" | "highlights" | undefined;
|
|
299
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
300
300
|
}, {
|
|
301
301
|
id: string;
|
|
302
302
|
user: {
|
|
@@ -362,7 +362,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
362
362
|
weight?: number | undefined;
|
|
363
363
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
364
364
|
edited?: boolean | undefined;
|
|
365
|
-
category?: "watched" | "attended" | "highlights" | undefined;
|
|
365
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
366
366
|
}>;
|
|
367
367
|
export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
368
368
|
q: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -382,7 +382,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
382
382
|
mlbTeamLeague: import("zod").ZodOptional<import("zod").ZodString>;
|
|
383
383
|
division: import("zod").ZodOptional<import("zod").ZodString>;
|
|
384
384
|
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">]>>;
|
|
385
|
-
category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>>;
|
|
385
|
+
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">]>>;
|
|
386
386
|
}, "strip", import("zod").ZodTypeAny, {
|
|
387
387
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
388
388
|
offset?: string | undefined;
|
|
@@ -395,7 +395,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
395
395
|
teamId?: string | undefined;
|
|
396
396
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
397
397
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
398
|
-
category?: "watched" | "attended" | "highlights" | undefined;
|
|
398
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
399
399
|
gameId?: string | undefined;
|
|
400
400
|
showEmptyRatings?: string | undefined;
|
|
401
401
|
following?: string | undefined;
|
|
@@ -414,7 +414,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
414
414
|
teamId?: string | undefined;
|
|
415
415
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
416
416
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
417
|
-
category?: "watched" | "attended" | "highlights" | undefined;
|
|
417
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
418
418
|
gameId?: string | undefined;
|
|
419
419
|
showEmptyRatings?: string | undefined;
|
|
420
420
|
following?: string | undefined;
|
|
@@ -719,7 +719,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
719
719
|
listCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
720
720
|
updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
721
721
|
edited: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
722
|
-
category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>>;
|
|
722
|
+
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">]>>;
|
|
723
723
|
}, "id" | "user" | "createdAt">, {
|
|
724
724
|
game: import("zod").ZodObject<Omit<{
|
|
725
725
|
id: import("zod").ZodString;
|
|
@@ -855,7 +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
|
+
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<"">]>>>;
|
|
859
859
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
860
860
|
rating: number;
|
|
861
861
|
game: {
|
|
@@ -880,7 +880,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
880
880
|
weight?: number | undefined;
|
|
881
881
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
882
882
|
edited?: boolean | undefined;
|
|
883
|
-
category?: "" | "watched" | "attended" | "highlights" | null | undefined;
|
|
883
|
+
category?: "" | "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
|
|
884
884
|
}, {
|
|
885
885
|
rating: number;
|
|
886
886
|
game: {
|
|
@@ -905,7 +905,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
905
905
|
weight?: number | undefined;
|
|
906
906
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
907
907
|
edited?: boolean | undefined;
|
|
908
|
-
category?: "" | "watched" | "attended" | "highlights" | null | undefined;
|
|
908
|
+
category?: "" | "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
|
|
909
909
|
}>;
|
|
910
910
|
export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
911
911
|
id: import("zod").ZodString;
|
|
@@ -2670,15 +2670,15 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2670
2670
|
authorGameRating: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2671
2671
|
id: import("zod").ZodString;
|
|
2672
2672
|
value: import("zod").ZodNumber;
|
|
2673
|
-
category: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"watched">, import("zod").ZodLiteral<"attended">, import("zod").ZodLiteral<"highlights">]>>>;
|
|
2673
|
+
category: import("zod").ZodNullable<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">]>>>;
|
|
2674
2674
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2675
2675
|
id: string;
|
|
2676
2676
|
value: number;
|
|
2677
|
-
category?: "watched" | "attended" | "highlights" | null | undefined;
|
|
2677
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
|
|
2678
2678
|
}, {
|
|
2679
2679
|
id: string;
|
|
2680
2680
|
value: number;
|
|
2681
|
-
category?: "watched" | "attended" | "highlights" | null | undefined;
|
|
2681
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
|
|
2682
2682
|
}>>>;
|
|
2683
2683
|
gameId: import("zod").ZodString;
|
|
2684
2684
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -2707,7 +2707,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2707
2707
|
authorGameRating?: {
|
|
2708
2708
|
id: string;
|
|
2709
2709
|
value: number;
|
|
2710
|
-
category?: "watched" | "attended" | "highlights" | null | undefined;
|
|
2710
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
|
|
2711
2711
|
} | null | undefined;
|
|
2712
2712
|
}, {
|
|
2713
2713
|
id: string;
|
|
@@ -2735,7 +2735,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2735
2735
|
authorGameRating?: {
|
|
2736
2736
|
id: string;
|
|
2737
2737
|
value: number;
|
|
2738
|
-
category?: "watched" | "attended" | "highlights" | null | undefined;
|
|
2738
|
+
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
|
|
2739
2739
|
} | null | undefined;
|
|
2740
2740
|
}>;
|
|
2741
2741
|
export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
package/dist/schemas/rating.js
CHANGED
|
@@ -9,6 +9,8 @@ exports.ratingCategorySchema = (0, zod_1.union)([
|
|
|
9
9
|
(0, zod_1.literal)("watched"),
|
|
10
10
|
(0, zod_1.literal)("attended"),
|
|
11
11
|
(0, zod_1.literal)("highlights"),
|
|
12
|
+
(0, zod_1.literal)("listened"),
|
|
13
|
+
(0, zod_1.literal)("partiallyWatched"),
|
|
12
14
|
]);
|
|
13
15
|
exports.ratingSchema = (0, zod_1.object)({
|
|
14
16
|
id: (0, zod_1.string)(),
|