rategame-shared 1.1.231 → 1.1.232
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>;
|
|
@@ -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
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
862
867
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
863
868
|
rating: number;
|
|
864
869
|
game: {
|
|
@@ -873,6 +878,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
873
878
|
} | undefined;
|
|
874
879
|
seasonType?: number | undefined;
|
|
875
880
|
};
|
|
881
|
+
location?: string | undefined;
|
|
876
882
|
id?: string | undefined;
|
|
877
883
|
weightedRating?: number | undefined;
|
|
878
884
|
updatedAt?: number | undefined;
|
|
@@ -884,6 +890,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
884
890
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
885
891
|
edited?: boolean | undefined;
|
|
886
892
|
category?: "" | "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
|
|
893
|
+
userLocation?: string | undefined;
|
|
887
894
|
}, {
|
|
888
895
|
rating: number;
|
|
889
896
|
game: {
|
|
@@ -898,6 +905,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
898
905
|
} | undefined;
|
|
899
906
|
seasonType?: number | undefined;
|
|
900
907
|
};
|
|
908
|
+
location?: string | undefined;
|
|
901
909
|
id?: string | undefined;
|
|
902
910
|
weightedRating?: number | undefined;
|
|
903
911
|
updatedAt?: number | undefined;
|
|
@@ -909,6 +917,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
909
917
|
fanCategory?: "homeTeam" | "awayTeam" | "winningTeam" | "losingTeam" | "neutral" | undefined;
|
|
910
918
|
edited?: boolean | undefined;
|
|
911
919
|
category?: "" | "watched" | "attended" | "highlights" | "listened" | "partiallyWatched" | null | undefined;
|
|
920
|
+
userLocation?: string | undefined;
|
|
912
921
|
}>;
|
|
913
922
|
export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
914
923
|
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(),
|
|
@@ -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
|
+
location: (0, zod_1.string)().optional(),
|
|
118
120
|
});
|
|
119
121
|
exports.threadCommentSchema = (0, zod_1.object)({
|
|
120
122
|
id: (0, zod_1.string)(),
|