rategame-shared 1.1.27 → 1.1.29
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 +17 -17
- package/dist/schemas/rating.js +2 -2
- package/dist/schemas/user.d.ts +9 -9
- package/dist/schemas/user.js +1 -1
- package/package.json +1 -1
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -506,7 +506,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
506
506
|
id: import("zod").ZodString;
|
|
507
507
|
email: import("zod").ZodString;
|
|
508
508
|
username: import("zod").ZodString;
|
|
509
|
-
avatarUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
509
|
+
avatarUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
510
510
|
createdAt: import("zod").ZodNumber;
|
|
511
511
|
updatedAt: import("zod").ZodNumber;
|
|
512
512
|
leagues: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -754,21 +754,21 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
754
754
|
id: string;
|
|
755
755
|
email: string;
|
|
756
756
|
username: string;
|
|
757
|
-
avatarUrl?: string | undefined;
|
|
757
|
+
avatarUrl?: string | null | undefined;
|
|
758
758
|
}, {
|
|
759
759
|
id: string;
|
|
760
760
|
email: string;
|
|
761
761
|
username: string;
|
|
762
|
-
avatarUrl?: string | undefined;
|
|
762
|
+
avatarUrl?: string | null | undefined;
|
|
763
763
|
}>;
|
|
764
764
|
ratingId: import("zod").ZodString;
|
|
765
|
-
parentId: import("zod").ZodString
|
|
765
|
+
parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
766
766
|
isReply: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
767
|
-
replyTo: import("zod").ZodOptional<import("zod").ZodObject<Pick<{
|
|
767
|
+
replyTo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<Pick<{
|
|
768
768
|
id: import("zod").ZodString;
|
|
769
769
|
email: import("zod").ZodString;
|
|
770
770
|
username: import("zod").ZodString;
|
|
771
|
-
avatarUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
771
|
+
avatarUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
772
772
|
createdAt: import("zod").ZodNumber;
|
|
773
773
|
updatedAt: import("zod").ZodNumber;
|
|
774
774
|
leagues: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -1016,13 +1016,13 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1016
1016
|
id: string;
|
|
1017
1017
|
email: string;
|
|
1018
1018
|
username: string;
|
|
1019
|
-
avatarUrl?: string | undefined;
|
|
1019
|
+
avatarUrl?: string | null | undefined;
|
|
1020
1020
|
}, {
|
|
1021
1021
|
id: string;
|
|
1022
1022
|
email: string;
|
|
1023
1023
|
username: string;
|
|
1024
|
-
avatarUrl?: string | undefined;
|
|
1025
|
-
}
|
|
1024
|
+
avatarUrl?: string | null | undefined;
|
|
1025
|
+
}>>>;
|
|
1026
1026
|
level: import("zod").ZodNumber;
|
|
1027
1027
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1028
1028
|
id: string;
|
|
@@ -1031,19 +1031,19 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1031
1031
|
id: string;
|
|
1032
1032
|
email: string;
|
|
1033
1033
|
username: string;
|
|
1034
|
-
avatarUrl?: string | undefined;
|
|
1034
|
+
avatarUrl?: string | null | undefined;
|
|
1035
1035
|
};
|
|
1036
1036
|
createdAt: number;
|
|
1037
1037
|
ratingId: string;
|
|
1038
|
-
parentId: string;
|
|
1039
1038
|
level: number;
|
|
1039
|
+
parentId?: string | null | undefined;
|
|
1040
1040
|
isReply?: boolean | undefined;
|
|
1041
1041
|
replyTo?: {
|
|
1042
1042
|
id: string;
|
|
1043
1043
|
email: string;
|
|
1044
1044
|
username: string;
|
|
1045
|
-
avatarUrl?: string | undefined;
|
|
1046
|
-
} | undefined;
|
|
1045
|
+
avatarUrl?: string | null | undefined;
|
|
1046
|
+
} | null | undefined;
|
|
1047
1047
|
}, {
|
|
1048
1048
|
id: string;
|
|
1049
1049
|
content: string;
|
|
@@ -1051,17 +1051,17 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1051
1051
|
id: string;
|
|
1052
1052
|
email: string;
|
|
1053
1053
|
username: string;
|
|
1054
|
-
avatarUrl?: string | undefined;
|
|
1054
|
+
avatarUrl?: string | null | undefined;
|
|
1055
1055
|
};
|
|
1056
1056
|
createdAt: number;
|
|
1057
1057
|
ratingId: string;
|
|
1058
|
-
parentId: string;
|
|
1059
1058
|
level: number;
|
|
1059
|
+
parentId?: string | null | undefined;
|
|
1060
1060
|
isReply?: boolean | undefined;
|
|
1061
1061
|
replyTo?: {
|
|
1062
1062
|
id: string;
|
|
1063
1063
|
email: string;
|
|
1064
1064
|
username: string;
|
|
1065
|
-
avatarUrl?: string | undefined;
|
|
1066
|
-
} | undefined;
|
|
1065
|
+
avatarUrl?: string | null | undefined;
|
|
1066
|
+
} | null | undefined;
|
|
1067
1067
|
}>;
|
package/dist/schemas/rating.js
CHANGED
|
@@ -111,8 +111,8 @@ exports.threadCommentSchema = (0, zod_1.object)({
|
|
|
111
111
|
content: (0, zod_1.string)(),
|
|
112
112
|
user: user_1.reducedUserSchema,
|
|
113
113
|
ratingId: (0, zod_1.string)(),
|
|
114
|
-
parentId: (0, zod_1.string)(),
|
|
114
|
+
parentId: (0, zod_1.string)().nullable().optional(),
|
|
115
115
|
isReply: (0, zod_1.boolean)().optional(),
|
|
116
|
-
replyTo: user_1.reducedUserSchema.optional(),
|
|
116
|
+
replyTo: user_1.reducedUserSchema.nullable().optional(),
|
|
117
117
|
level: (0, zod_1.number)(),
|
|
118
118
|
});
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
15
15
|
id: import("zod").ZodString;
|
|
16
16
|
email: import("zod").ZodString;
|
|
17
17
|
username: import("zod").ZodString;
|
|
18
|
-
avatarUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
18
|
+
avatarUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
19
19
|
createdAt: import("zod").ZodNumber;
|
|
20
20
|
updatedAt: import("zod").ZodNumber;
|
|
21
21
|
leagues: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -271,7 +271,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
271
271
|
}>;
|
|
272
272
|
askedForPushNotifications: boolean;
|
|
273
273
|
acceptedPushNotifications: boolean;
|
|
274
|
-
avatarUrl?: string | undefined;
|
|
274
|
+
avatarUrl?: string | null | undefined;
|
|
275
275
|
leagues?: {
|
|
276
276
|
nba: {
|
|
277
277
|
totalRatedGames: number;
|
|
@@ -349,7 +349,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
349
349
|
}>;
|
|
350
350
|
askedForPushNotifications: boolean;
|
|
351
351
|
acceptedPushNotifications: boolean;
|
|
352
|
-
avatarUrl?: string | undefined;
|
|
352
|
+
avatarUrl?: string | null | undefined;
|
|
353
353
|
leagues?: {
|
|
354
354
|
nba: {
|
|
355
355
|
totalRatedGames: number;
|
|
@@ -420,7 +420,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
420
420
|
id: import("zod").ZodString;
|
|
421
421
|
email: import("zod").ZodString;
|
|
422
422
|
username: import("zod").ZodString;
|
|
423
|
-
avatarUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
423
|
+
avatarUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
424
424
|
createdAt: import("zod").ZodNumber;
|
|
425
425
|
updatedAt: import("zod").ZodNumber;
|
|
426
426
|
leagues: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -669,7 +669,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
669
669
|
username: string;
|
|
670
670
|
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
671
671
|
commentsLeft?: number | undefined;
|
|
672
|
-
avatarUrl?: string | undefined;
|
|
672
|
+
avatarUrl?: string | null | undefined;
|
|
673
673
|
leagues?: {
|
|
674
674
|
nba: {
|
|
675
675
|
totalRatedGames: number;
|
|
@@ -736,7 +736,7 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
736
736
|
username: string;
|
|
737
737
|
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
738
738
|
commentsLeft?: number | undefined;
|
|
739
|
-
avatarUrl?: string | undefined;
|
|
739
|
+
avatarUrl?: string | null | undefined;
|
|
740
740
|
leagues?: {
|
|
741
741
|
nba: {
|
|
742
742
|
totalRatedGames: number;
|
|
@@ -803,7 +803,7 @@ export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
|
803
803
|
id: import("zod").ZodString;
|
|
804
804
|
email: import("zod").ZodString;
|
|
805
805
|
username: import("zod").ZodString;
|
|
806
|
-
avatarUrl: import("zod").ZodOptional<import("zod").ZodString
|
|
806
|
+
avatarUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
807
807
|
createdAt: import("zod").ZodNumber;
|
|
808
808
|
updatedAt: import("zod").ZodNumber;
|
|
809
809
|
leagues: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -1051,10 +1051,10 @@ export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
|
1051
1051
|
id: string;
|
|
1052
1052
|
email: string;
|
|
1053
1053
|
username: string;
|
|
1054
|
-
avatarUrl?: string | undefined;
|
|
1054
|
+
avatarUrl?: string | null | undefined;
|
|
1055
1055
|
}, {
|
|
1056
1056
|
id: string;
|
|
1057
1057
|
email: string;
|
|
1058
1058
|
username: string;
|
|
1059
|
-
avatarUrl?: string | undefined;
|
|
1059
|
+
avatarUrl?: string | null | undefined;
|
|
1060
1060
|
}>;
|
package/dist/schemas/user.js
CHANGED
|
@@ -11,7 +11,7 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
11
11
|
id: (0, zod_1.string)(),
|
|
12
12
|
email: (0, zod_1.string)(),
|
|
13
13
|
username: (0, zod_1.string)(),
|
|
14
|
-
avatarUrl: (0, zod_1.string)().optional(),
|
|
14
|
+
avatarUrl: (0, zod_1.string)().nullable().optional(),
|
|
15
15
|
createdAt: (0, zod_1.number)(),
|
|
16
16
|
updatedAt: (0, zod_1.number)(),
|
|
17
17
|
leagues: (0, zod_1.object)({
|