rategame-shared 1.1.231 → 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.
|
@@ -260,6 +260,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
260
260
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
261
261
|
edited: z.ZodOptional<z.ZodBoolean>;
|
|
262
262
|
category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"watched">, z.ZodLiteral<"attended">, z.ZodLiteral<"highlights">, z.ZodLiteral<"listened">, z.ZodLiteral<"partiallyWatched">]>>;
|
|
263
|
+
userLocation: z.ZodOptional<z.ZodString>;
|
|
263
264
|
}, "strip", z.ZodTypeAny, {
|
|
264
265
|
id: string;
|
|
265
266
|
user: {
|
|
@@ -326,6 +327,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
326
327
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
327
328
|
edited?: boolean | undefined;
|
|
328
329
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
330
|
+
userLocation?: string | undefined;
|
|
329
331
|
}, {
|
|
330
332
|
id: string;
|
|
331
333
|
user: {
|
|
@@ -392,6 +394,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
392
394
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
393
395
|
edited?: boolean | undefined;
|
|
394
396
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
397
|
+
userLocation?: string | undefined;
|
|
395
398
|
}>>;
|
|
396
399
|
}, "strip", z.ZodTypeAny, {
|
|
397
400
|
id: string;
|
|
@@ -475,6 +478,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
475
478
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
476
479
|
edited?: boolean | undefined;
|
|
477
480
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
481
|
+
userLocation?: string | undefined;
|
|
478
482
|
} | undefined;
|
|
479
483
|
linkText?: string | undefined;
|
|
480
484
|
}, {
|
|
@@ -559,6 +563,7 @@ export declare const internalNotification: z.ZodObject<{
|
|
|
559
563
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
560
564
|
edited?: boolean | undefined;
|
|
561
565
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
566
|
+
userLocation?: string | undefined;
|
|
562
567
|
} | undefined;
|
|
563
568
|
linkText?: string | undefined;
|
|
564
569
|
}>;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -231,6 +231,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
231
231
|
updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
232
232
|
edited: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
233
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
|
+
userLocation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
234
235
|
}, "strip", import("zod").ZodTypeAny, {
|
|
235
236
|
id: string;
|
|
236
237
|
user: {
|
|
@@ -297,6 +298,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
297
298
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
298
299
|
edited?: boolean | undefined;
|
|
299
300
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
301
|
+
userLocation?: string | undefined;
|
|
300
302
|
}, {
|
|
301
303
|
id: string;
|
|
302
304
|
user: {
|
|
@@ -363,6 +365,7 @@ export declare const ratingSchema: import("zod").ZodObject<{
|
|
|
363
365
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
364
366
|
edited?: boolean | undefined;
|
|
365
367
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
368
|
+
userLocation?: string | undefined;
|
|
366
369
|
}>;
|
|
367
370
|
export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
368
371
|
q: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -383,11 +386,10 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
383
386
|
division: import("zod").ZodOptional<import("zod").ZodString>;
|
|
384
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">]>>;
|
|
385
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">]>>;
|
|
386
|
-
|
|
389
|
+
userLocation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
387
390
|
}, "strip", import("zod").ZodTypeAny, {
|
|
388
391
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
389
392
|
offset?: string | undefined;
|
|
390
|
-
location?: string | undefined;
|
|
391
393
|
round?: string | undefined;
|
|
392
394
|
q?: string | undefined;
|
|
393
395
|
username?: string | undefined;
|
|
@@ -398,6 +400,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
398
400
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
399
401
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
400
402
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
403
|
+
userLocation?: string | undefined;
|
|
401
404
|
gameId?: string | undefined;
|
|
402
405
|
showEmptyRatings?: string | undefined;
|
|
403
406
|
following?: string | undefined;
|
|
@@ -407,7 +410,6 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
407
410
|
}, {
|
|
408
411
|
league: "global" | "nba" | "ncaa" | "nfl" | "nhl" | "mlb" | "cbb" | "cfb" | "epl" | "mls" | "wnba" | "cwc";
|
|
409
412
|
offset?: string | undefined;
|
|
410
|
-
location?: string | undefined;
|
|
411
413
|
round?: string | undefined;
|
|
412
414
|
q?: string | undefined;
|
|
413
415
|
username?: string | undefined;
|
|
@@ -418,6 +420,7 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
418
420
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
419
421
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
420
422
|
category?: "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | undefined;
|
|
423
|
+
userLocation?: string | undefined;
|
|
421
424
|
gameId?: string | undefined;
|
|
422
425
|
showEmptyRatings?: string | undefined;
|
|
423
426
|
following?: string | undefined;
|
|
@@ -723,6 +726,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
723
726
|
updatedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
724
727
|
edited: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
725
728
|
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">]>>;
|
|
729
|
+
userLocation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
726
730
|
}, "id" | "user" | "createdAt">, {
|
|
727
731
|
game: import("zod").ZodObject<Omit<{
|
|
728
732
|
id: import("zod").ZodString;
|
|
@@ -859,6 +863,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
859
863
|
}>;
|
|
860
864
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
861
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
|
+
userLocation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
862
867
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
863
868
|
rating: number;
|
|
864
869
|
game: {
|
|
@@ -884,6 +889,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
884
889
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
885
890
|
edited?: boolean | undefined;
|
|
886
891
|
category?: "" | "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
|
|
892
|
+
userLocation?: string | undefined;
|
|
887
893
|
}, {
|
|
888
894
|
rating: number;
|
|
889
895
|
game: {
|
|
@@ -909,6 +915,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
909
915
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
910
916
|
edited?: boolean | undefined;
|
|
911
917
|
category?: "" | "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
|
|
918
|
+
userLocation?: string | undefined;
|
|
912
919
|
}>;
|
|
913
920
|
export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
914
921
|
id: import("zod").ZodString;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -51,6 +51,7 @@ exports.ratingSchema = (0, zod_1.object)({
|
|
|
51
51
|
updatedAt: (0, zod_1.number)().optional(),
|
|
52
52
|
edited: (0, zod_1.boolean)().optional(),
|
|
53
53
|
category: exports.ratingCategorySchema.optional(),
|
|
54
|
+
userLocation: (0, zod_1.string)().optional(),
|
|
54
55
|
});
|
|
55
56
|
exports.searchRatingSchema = (0, zod_1.object)({
|
|
56
57
|
q: (0, zod_1.string)().optional(),
|
|
@@ -77,7 +78,7 @@ exports.searchRatingSchema = (0, zod_1.object)({
|
|
|
77
78
|
(0, zod_1.literal)("awayTeam"),
|
|
78
79
|
]).optional(),
|
|
79
80
|
category: exports.ratingCategorySchema.optional(),
|
|
80
|
-
|
|
81
|
+
userLocation: (0, zod_1.string)().optional(),
|
|
81
82
|
});
|
|
82
83
|
exports.ratingLikeSchema = (0, zod_1.object)({
|
|
83
84
|
ratingId: (0, zod_1.string)(),
|
|
@@ -115,6 +116,7 @@ exports.createRatingSchema = exports.ratingSchema
|
|
|
115
116
|
category: (0, zod_1.union)([exports.ratingCategorySchema, (0, zod_1.literal)("")])
|
|
116
117
|
.nullable()
|
|
117
118
|
.optional(),
|
|
119
|
+
userLocation: (0, zod_1.string)().optional(),
|
|
118
120
|
});
|
|
119
121
|
exports.threadCommentSchema = (0, zod_1.object)({
|
|
120
122
|
id: (0, zod_1.string)(),
|