rategame-shared 1.1.26 → 1.1.27
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 +10 -10
- 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").ZodString
|
|
509
|
+
avatarUrl: import("zod").ZodOptional<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,12 +754,12 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
754
754
|
id: string;
|
|
755
755
|
email: string;
|
|
756
756
|
username: string;
|
|
757
|
-
avatarUrl
|
|
757
|
+
avatarUrl?: string | undefined;
|
|
758
758
|
}, {
|
|
759
759
|
id: string;
|
|
760
760
|
email: string;
|
|
761
761
|
username: string;
|
|
762
|
-
avatarUrl
|
|
762
|
+
avatarUrl?: string | undefined;
|
|
763
763
|
}>;
|
|
764
764
|
ratingId: import("zod").ZodString;
|
|
765
765
|
parentId: import("zod").ZodString;
|
|
@@ -768,7 +768,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
768
768
|
id: import("zod").ZodString;
|
|
769
769
|
email: import("zod").ZodString;
|
|
770
770
|
username: import("zod").ZodString;
|
|
771
|
-
avatarUrl: import("zod").ZodString
|
|
771
|
+
avatarUrl: import("zod").ZodOptional<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,12 +1016,12 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1016
1016
|
id: string;
|
|
1017
1017
|
email: string;
|
|
1018
1018
|
username: string;
|
|
1019
|
-
avatarUrl
|
|
1019
|
+
avatarUrl?: string | undefined;
|
|
1020
1020
|
}, {
|
|
1021
1021
|
id: string;
|
|
1022
1022
|
email: string;
|
|
1023
1023
|
username: string;
|
|
1024
|
-
avatarUrl
|
|
1024
|
+
avatarUrl?: string | undefined;
|
|
1025
1025
|
}>>;
|
|
1026
1026
|
level: import("zod").ZodNumber;
|
|
1027
1027
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -1031,7 +1031,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1031
1031
|
id: string;
|
|
1032
1032
|
email: string;
|
|
1033
1033
|
username: string;
|
|
1034
|
-
avatarUrl
|
|
1034
|
+
avatarUrl?: string | undefined;
|
|
1035
1035
|
};
|
|
1036
1036
|
createdAt: number;
|
|
1037
1037
|
ratingId: string;
|
|
@@ -1042,7 +1042,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1042
1042
|
id: string;
|
|
1043
1043
|
email: string;
|
|
1044
1044
|
username: string;
|
|
1045
|
-
avatarUrl
|
|
1045
|
+
avatarUrl?: string | undefined;
|
|
1046
1046
|
} | undefined;
|
|
1047
1047
|
}, {
|
|
1048
1048
|
id: string;
|
|
@@ -1051,7 +1051,7 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1051
1051
|
id: string;
|
|
1052
1052
|
email: string;
|
|
1053
1053
|
username: string;
|
|
1054
|
-
avatarUrl
|
|
1054
|
+
avatarUrl?: string | undefined;
|
|
1055
1055
|
};
|
|
1056
1056
|
createdAt: number;
|
|
1057
1057
|
ratingId: string;
|
|
@@ -1062,6 +1062,6 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1062
1062
|
id: string;
|
|
1063
1063
|
email: string;
|
|
1064
1064
|
username: string;
|
|
1065
|
-
avatarUrl
|
|
1065
|
+
avatarUrl?: string | undefined;
|
|
1066
1066
|
} | undefined;
|
|
1067
1067
|
}>;
|
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").ZodString
|
|
18
|
+
avatarUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
19
|
createdAt: import("zod").ZodNumber;
|
|
20
20
|
updatedAt: import("zod").ZodNumber;
|
|
21
21
|
leagues: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -263,7 +263,6 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
263
263
|
id: string;
|
|
264
264
|
email: string;
|
|
265
265
|
username: string;
|
|
266
|
-
avatarUrl: string;
|
|
267
266
|
createdAt: number;
|
|
268
267
|
updatedAt: number;
|
|
269
268
|
deviceTokens: Record<string, {
|
|
@@ -272,6 +271,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
272
271
|
}>;
|
|
273
272
|
askedForPushNotifications: boolean;
|
|
274
273
|
acceptedPushNotifications: boolean;
|
|
274
|
+
avatarUrl?: string | undefined;
|
|
275
275
|
leagues?: {
|
|
276
276
|
nba: {
|
|
277
277
|
totalRatedGames: number;
|
|
@@ -341,7 +341,6 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
341
341
|
id: string;
|
|
342
342
|
email: string;
|
|
343
343
|
username: string;
|
|
344
|
-
avatarUrl: string;
|
|
345
344
|
createdAt: number;
|
|
346
345
|
updatedAt: number;
|
|
347
346
|
deviceTokens: Record<string, {
|
|
@@ -350,6 +349,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
350
349
|
}>;
|
|
351
350
|
askedForPushNotifications: boolean;
|
|
352
351
|
acceptedPushNotifications: boolean;
|
|
352
|
+
avatarUrl?: string | 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").ZodString
|
|
423
|
+
avatarUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
424
424
|
createdAt: import("zod").ZodNumber;
|
|
425
425
|
updatedAt: import("zod").ZodNumber;
|
|
426
426
|
leagues: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -667,9 +667,9 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
667
667
|
}, "id" | "totalRatedGames" | "avgRating" | "createdAt" | "updatedAt" | "deviceTokens" | "askedForPushNotifications" | "acceptedPushNotifications">, "strip", import("zod").ZodTypeAny, {
|
|
668
668
|
email: string;
|
|
669
669
|
username: string;
|
|
670
|
-
avatarUrl: string;
|
|
671
670
|
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
672
671
|
commentsLeft?: number | undefined;
|
|
672
|
+
avatarUrl?: string | undefined;
|
|
673
673
|
leagues?: {
|
|
674
674
|
nba: {
|
|
675
675
|
totalRatedGames: number;
|
|
@@ -734,9 +734,9 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
734
734
|
}, {
|
|
735
735
|
email: string;
|
|
736
736
|
username: string;
|
|
737
|
-
avatarUrl: string;
|
|
738
737
|
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
739
738
|
commentsLeft?: number | undefined;
|
|
739
|
+
avatarUrl?: string | 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").ZodString
|
|
806
|
+
avatarUrl: import("zod").ZodOptional<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
|
|
1054
|
+
avatarUrl?: string | undefined;
|
|
1055
1055
|
}, {
|
|
1056
1056
|
id: string;
|
|
1057
1057
|
email: string;
|
|
1058
1058
|
username: string;
|
|
1059
|
-
avatarUrl
|
|
1059
|
+
avatarUrl?: string | 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)(),
|
|
14
|
+
avatarUrl: (0, zod_1.string)().optional(),
|
|
15
15
|
createdAt: (0, zod_1.number)(),
|
|
16
16
|
updatedAt: (0, zod_1.number)(),
|
|
17
17
|
leagues: (0, zod_1.object)({
|