rategame-shared 1.1.251 → 1.1.253
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/chat.d.ts +105 -0
- package/dist/schemas/game.d.ts +420 -0
- package/dist/schemas/list.d.ts +105 -0
- package/dist/schemas/moderation.d.ts +84 -0
- package/dist/schemas/rating.d.ts +63 -0
- package/dist/schemas/user.d.ts +99 -0
- package/dist/schemas/user.js +9 -0
- package/dist/schemas/userEvent.d.ts +63 -0
- package/dist/schemas/voting.d.ts +63 -0
- package/package.json +1 -1
package/dist/schemas/list.d.ts
CHANGED
|
@@ -902,6 +902,27 @@ export declare const listSchema: z.ZodObject<{
|
|
|
902
902
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
903
903
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
904
904
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
905
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
906
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
907
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
908
|
+
profilePicture: z.ZodBoolean;
|
|
909
|
+
bio: z.ZodBoolean;
|
|
910
|
+
favoriteTeam: z.ZodBoolean;
|
|
911
|
+
pinnedRatings: z.ZodBoolean;
|
|
912
|
+
gradientColor: z.ZodBoolean;
|
|
913
|
+
}, "strip", z.ZodTypeAny, {
|
|
914
|
+
bio: boolean;
|
|
915
|
+
profilePicture: boolean;
|
|
916
|
+
favoriteTeam: boolean;
|
|
917
|
+
pinnedRatings: boolean;
|
|
918
|
+
gradientColor: boolean;
|
|
919
|
+
}, {
|
|
920
|
+
bio: boolean;
|
|
921
|
+
profilePicture: boolean;
|
|
922
|
+
favoriteTeam: boolean;
|
|
923
|
+
pinnedRatings: boolean;
|
|
924
|
+
gradientColor: boolean;
|
|
925
|
+
}>>;
|
|
905
926
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
906
927
|
id: string;
|
|
907
928
|
email: string;
|
|
@@ -1863,6 +1884,27 @@ export declare const listCreateSchema: z.ZodObject<Omit<{
|
|
|
1863
1884
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
1864
1885
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
1865
1886
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
1887
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
1888
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
1889
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
1890
|
+
profilePicture: z.ZodBoolean;
|
|
1891
|
+
bio: z.ZodBoolean;
|
|
1892
|
+
favoriteTeam: z.ZodBoolean;
|
|
1893
|
+
pinnedRatings: z.ZodBoolean;
|
|
1894
|
+
gradientColor: z.ZodBoolean;
|
|
1895
|
+
}, "strip", z.ZodTypeAny, {
|
|
1896
|
+
bio: boolean;
|
|
1897
|
+
profilePicture: boolean;
|
|
1898
|
+
favoriteTeam: boolean;
|
|
1899
|
+
pinnedRatings: boolean;
|
|
1900
|
+
gradientColor: boolean;
|
|
1901
|
+
}, {
|
|
1902
|
+
bio: boolean;
|
|
1903
|
+
profilePicture: boolean;
|
|
1904
|
+
favoriteTeam: boolean;
|
|
1905
|
+
pinnedRatings: boolean;
|
|
1906
|
+
gradientColor: boolean;
|
|
1907
|
+
}>>;
|
|
1866
1908
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1867
1909
|
id: string;
|
|
1868
1910
|
email: string;
|
|
@@ -2816,6 +2858,27 @@ export declare const listCommentSchema: z.ZodObject<{
|
|
|
2816
2858
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
2817
2859
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
2818
2860
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
2861
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
2862
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
2863
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
2864
|
+
profilePicture: z.ZodBoolean;
|
|
2865
|
+
bio: z.ZodBoolean;
|
|
2866
|
+
favoriteTeam: z.ZodBoolean;
|
|
2867
|
+
pinnedRatings: z.ZodBoolean;
|
|
2868
|
+
gradientColor: z.ZodBoolean;
|
|
2869
|
+
}, "strip", z.ZodTypeAny, {
|
|
2870
|
+
bio: boolean;
|
|
2871
|
+
profilePicture: boolean;
|
|
2872
|
+
favoriteTeam: boolean;
|
|
2873
|
+
pinnedRatings: boolean;
|
|
2874
|
+
gradientColor: boolean;
|
|
2875
|
+
}, {
|
|
2876
|
+
bio: boolean;
|
|
2877
|
+
profilePicture: boolean;
|
|
2878
|
+
favoriteTeam: boolean;
|
|
2879
|
+
pinnedRatings: boolean;
|
|
2880
|
+
gradientColor: boolean;
|
|
2881
|
+
}>>;
|
|
2819
2882
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2820
2883
|
id: string;
|
|
2821
2884
|
email: string;
|
|
@@ -3729,6 +3792,27 @@ export declare const listCommentSchema: z.ZodObject<{
|
|
|
3729
3792
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
3730
3793
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
3731
3794
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
3795
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
3796
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
3797
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
3798
|
+
profilePicture: z.ZodBoolean;
|
|
3799
|
+
bio: z.ZodBoolean;
|
|
3800
|
+
favoriteTeam: z.ZodBoolean;
|
|
3801
|
+
pinnedRatings: z.ZodBoolean;
|
|
3802
|
+
gradientColor: z.ZodBoolean;
|
|
3803
|
+
}, "strip", z.ZodTypeAny, {
|
|
3804
|
+
bio: boolean;
|
|
3805
|
+
profilePicture: boolean;
|
|
3806
|
+
favoriteTeam: boolean;
|
|
3807
|
+
pinnedRatings: boolean;
|
|
3808
|
+
gradientColor: boolean;
|
|
3809
|
+
}, {
|
|
3810
|
+
bio: boolean;
|
|
3811
|
+
profilePicture: boolean;
|
|
3812
|
+
favoriteTeam: boolean;
|
|
3813
|
+
pinnedRatings: boolean;
|
|
3814
|
+
gradientColor: boolean;
|
|
3815
|
+
}>>;
|
|
3732
3816
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3733
3817
|
id: string;
|
|
3734
3818
|
email: string;
|
|
@@ -4687,6 +4771,27 @@ export declare const listCommentLikeSchema: z.ZodObject<{
|
|
|
4687
4771
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
4688
4772
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
4689
4773
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
4774
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
4775
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
4776
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
4777
|
+
profilePicture: z.ZodBoolean;
|
|
4778
|
+
bio: z.ZodBoolean;
|
|
4779
|
+
favoriteTeam: z.ZodBoolean;
|
|
4780
|
+
pinnedRatings: z.ZodBoolean;
|
|
4781
|
+
gradientColor: z.ZodBoolean;
|
|
4782
|
+
}, "strip", z.ZodTypeAny, {
|
|
4783
|
+
bio: boolean;
|
|
4784
|
+
profilePicture: boolean;
|
|
4785
|
+
favoriteTeam: boolean;
|
|
4786
|
+
pinnedRatings: boolean;
|
|
4787
|
+
gradientColor: boolean;
|
|
4788
|
+
}, {
|
|
4789
|
+
bio: boolean;
|
|
4790
|
+
profilePicture: boolean;
|
|
4791
|
+
favoriteTeam: boolean;
|
|
4792
|
+
pinnedRatings: boolean;
|
|
4793
|
+
gradientColor: boolean;
|
|
4794
|
+
}>>;
|
|
4690
4795
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4691
4796
|
id: string;
|
|
4692
4797
|
email: string;
|
|
@@ -915,6 +915,27 @@ export declare const banInfoSchema: z.ZodObject<{
|
|
|
915
915
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
916
916
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
917
917
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
918
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
919
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
920
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
921
|
+
profilePicture: z.ZodBoolean;
|
|
922
|
+
bio: z.ZodBoolean;
|
|
923
|
+
favoriteTeam: z.ZodBoolean;
|
|
924
|
+
pinnedRatings: z.ZodBoolean;
|
|
925
|
+
gradientColor: z.ZodBoolean;
|
|
926
|
+
}, "strip", z.ZodTypeAny, {
|
|
927
|
+
bio: boolean;
|
|
928
|
+
profilePicture: boolean;
|
|
929
|
+
favoriteTeam: boolean;
|
|
930
|
+
pinnedRatings: boolean;
|
|
931
|
+
gradientColor: boolean;
|
|
932
|
+
}, {
|
|
933
|
+
bio: boolean;
|
|
934
|
+
profilePicture: boolean;
|
|
935
|
+
favoriteTeam: boolean;
|
|
936
|
+
pinnedRatings: boolean;
|
|
937
|
+
gradientColor: boolean;
|
|
938
|
+
}>>;
|
|
918
939
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
919
940
|
id: string;
|
|
920
941
|
email: string;
|
|
@@ -1855,6 +1876,27 @@ export declare const bannedUserSchema: z.ZodObject<{
|
|
|
1855
1876
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
1856
1877
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
1857
1878
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
1879
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
1880
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
1881
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
1882
|
+
profilePicture: z.ZodBoolean;
|
|
1883
|
+
bio: z.ZodBoolean;
|
|
1884
|
+
favoriteTeam: z.ZodBoolean;
|
|
1885
|
+
pinnedRatings: z.ZodBoolean;
|
|
1886
|
+
gradientColor: z.ZodBoolean;
|
|
1887
|
+
}, "strip", z.ZodTypeAny, {
|
|
1888
|
+
bio: boolean;
|
|
1889
|
+
profilePicture: boolean;
|
|
1890
|
+
favoriteTeam: boolean;
|
|
1891
|
+
pinnedRatings: boolean;
|
|
1892
|
+
gradientColor: boolean;
|
|
1893
|
+
}, {
|
|
1894
|
+
bio: boolean;
|
|
1895
|
+
profilePicture: boolean;
|
|
1896
|
+
favoriteTeam: boolean;
|
|
1897
|
+
pinnedRatings: boolean;
|
|
1898
|
+
gradientColor: boolean;
|
|
1899
|
+
}>>;
|
|
1858
1900
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1859
1901
|
id: string;
|
|
1860
1902
|
email: string;
|
|
@@ -2831,6 +2873,27 @@ export declare const bannedUsersResponseSchema: z.ZodObject<{
|
|
|
2831
2873
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
2832
2874
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
2833
2875
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
2876
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
2877
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
2878
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
2879
|
+
profilePicture: z.ZodBoolean;
|
|
2880
|
+
bio: z.ZodBoolean;
|
|
2881
|
+
favoriteTeam: z.ZodBoolean;
|
|
2882
|
+
pinnedRatings: z.ZodBoolean;
|
|
2883
|
+
gradientColor: z.ZodBoolean;
|
|
2884
|
+
}, "strip", z.ZodTypeAny, {
|
|
2885
|
+
bio: boolean;
|
|
2886
|
+
profilePicture: boolean;
|
|
2887
|
+
favoriteTeam: boolean;
|
|
2888
|
+
pinnedRatings: boolean;
|
|
2889
|
+
gradientColor: boolean;
|
|
2890
|
+
}, {
|
|
2891
|
+
bio: boolean;
|
|
2892
|
+
profilePicture: boolean;
|
|
2893
|
+
favoriteTeam: boolean;
|
|
2894
|
+
pinnedRatings: boolean;
|
|
2895
|
+
gradientColor: boolean;
|
|
2896
|
+
}>>;
|
|
2834
2897
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2835
2898
|
id: string;
|
|
2836
2899
|
email: string;
|
|
@@ -3851,6 +3914,27 @@ export declare const banStatusResponseSchema: z.ZodObject<{
|
|
|
3851
3914
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
3852
3915
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
3853
3916
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
3917
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
3918
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
3919
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
3920
|
+
profilePicture: z.ZodBoolean;
|
|
3921
|
+
bio: z.ZodBoolean;
|
|
3922
|
+
favoriteTeam: z.ZodBoolean;
|
|
3923
|
+
pinnedRatings: z.ZodBoolean;
|
|
3924
|
+
gradientColor: z.ZodBoolean;
|
|
3925
|
+
}, "strip", z.ZodTypeAny, {
|
|
3926
|
+
bio: boolean;
|
|
3927
|
+
profilePicture: boolean;
|
|
3928
|
+
favoriteTeam: boolean;
|
|
3929
|
+
pinnedRatings: boolean;
|
|
3930
|
+
gradientColor: boolean;
|
|
3931
|
+
}, {
|
|
3932
|
+
bio: boolean;
|
|
3933
|
+
profilePicture: boolean;
|
|
3934
|
+
favoriteTeam: boolean;
|
|
3935
|
+
pinnedRatings: boolean;
|
|
3936
|
+
gradientColor: boolean;
|
|
3937
|
+
}>>;
|
|
3854
3938
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3855
3939
|
id: string;
|
|
3856
3940
|
email: string;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -1818,6 +1818,27 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1818
1818
|
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1819
1819
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1820
1820
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1821
|
+
headerColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1822
|
+
profileCompletionTrackerDismissed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1823
|
+
profileCompletionStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1824
|
+
profilePicture: import("zod").ZodBoolean;
|
|
1825
|
+
bio: import("zod").ZodBoolean;
|
|
1826
|
+
favoriteTeam: import("zod").ZodBoolean;
|
|
1827
|
+
pinnedRatings: import("zod").ZodBoolean;
|
|
1828
|
+
gradientColor: import("zod").ZodBoolean;
|
|
1829
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1830
|
+
bio: boolean;
|
|
1831
|
+
profilePicture: boolean;
|
|
1832
|
+
favoriteTeam: boolean;
|
|
1833
|
+
pinnedRatings: boolean;
|
|
1834
|
+
gradientColor: boolean;
|
|
1835
|
+
}, {
|
|
1836
|
+
bio: boolean;
|
|
1837
|
+
profilePicture: boolean;
|
|
1838
|
+
favoriteTeam: boolean;
|
|
1839
|
+
pinnedRatings: boolean;
|
|
1840
|
+
gradientColor: boolean;
|
|
1841
|
+
}>>;
|
|
1821
1842
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
1822
1843
|
id: string;
|
|
1823
1844
|
email: string;
|
|
@@ -2731,6 +2752,27 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2731
2752
|
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2732
2753
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2733
2754
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2755
|
+
headerColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2756
|
+
profileCompletionTrackerDismissed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2757
|
+
profileCompletionStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2758
|
+
profilePicture: import("zod").ZodBoolean;
|
|
2759
|
+
bio: import("zod").ZodBoolean;
|
|
2760
|
+
favoriteTeam: import("zod").ZodBoolean;
|
|
2761
|
+
pinnedRatings: import("zod").ZodBoolean;
|
|
2762
|
+
gradientColor: import("zod").ZodBoolean;
|
|
2763
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2764
|
+
bio: boolean;
|
|
2765
|
+
profilePicture: boolean;
|
|
2766
|
+
favoriteTeam: boolean;
|
|
2767
|
+
pinnedRatings: boolean;
|
|
2768
|
+
gradientColor: boolean;
|
|
2769
|
+
}, {
|
|
2770
|
+
bio: boolean;
|
|
2771
|
+
profilePicture: boolean;
|
|
2772
|
+
favoriteTeam: boolean;
|
|
2773
|
+
pinnedRatings: boolean;
|
|
2774
|
+
gradientColor: boolean;
|
|
2775
|
+
}>>;
|
|
2734
2776
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
2735
2777
|
id: string;
|
|
2736
2778
|
email: string;
|
|
@@ -3715,6 +3757,27 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
3715
3757
|
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3716
3758
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3717
3759
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3760
|
+
headerColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3761
|
+
profileCompletionTrackerDismissed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3762
|
+
profileCompletionStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3763
|
+
profilePicture: import("zod").ZodBoolean;
|
|
3764
|
+
bio: import("zod").ZodBoolean;
|
|
3765
|
+
favoriteTeam: import("zod").ZodBoolean;
|
|
3766
|
+
pinnedRatings: import("zod").ZodBoolean;
|
|
3767
|
+
gradientColor: import("zod").ZodBoolean;
|
|
3768
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3769
|
+
bio: boolean;
|
|
3770
|
+
profilePicture: boolean;
|
|
3771
|
+
favoriteTeam: boolean;
|
|
3772
|
+
pinnedRatings: boolean;
|
|
3773
|
+
gradientColor: boolean;
|
|
3774
|
+
}, {
|
|
3775
|
+
bio: boolean;
|
|
3776
|
+
profilePicture: boolean;
|
|
3777
|
+
favoriteTeam: boolean;
|
|
3778
|
+
pinnedRatings: boolean;
|
|
3779
|
+
gradientColor: boolean;
|
|
3780
|
+
}>>;
|
|
3718
3781
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
3719
3782
|
id: string;
|
|
3720
3783
|
email: string;
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -1093,6 +1093,27 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1093
1093
|
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1094
1094
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1095
1095
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1096
|
+
headerColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1097
|
+
profileCompletionTrackerDismissed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1098
|
+
profileCompletionStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1099
|
+
profilePicture: import("zod").ZodBoolean;
|
|
1100
|
+
bio: import("zod").ZodBoolean;
|
|
1101
|
+
favoriteTeam: import("zod").ZodBoolean;
|
|
1102
|
+
pinnedRatings: import("zod").ZodBoolean;
|
|
1103
|
+
gradientColor: import("zod").ZodBoolean;
|
|
1104
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1105
|
+
bio: boolean;
|
|
1106
|
+
profilePicture: boolean;
|
|
1107
|
+
favoriteTeam: boolean;
|
|
1108
|
+
pinnedRatings: boolean;
|
|
1109
|
+
gradientColor: boolean;
|
|
1110
|
+
}, {
|
|
1111
|
+
bio: boolean;
|
|
1112
|
+
profilePicture: boolean;
|
|
1113
|
+
favoriteTeam: boolean;
|
|
1114
|
+
pinnedRatings: boolean;
|
|
1115
|
+
gradientColor: boolean;
|
|
1116
|
+
}>>;
|
|
1096
1117
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1097
1118
|
id: string;
|
|
1098
1119
|
email: string;
|
|
@@ -1306,6 +1327,15 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1306
1327
|
viewedToS?: boolean | undefined;
|
|
1307
1328
|
banned?: boolean | undefined;
|
|
1308
1329
|
lowercaseUsername?: string | undefined;
|
|
1330
|
+
headerColor?: string | undefined;
|
|
1331
|
+
profileCompletionTrackerDismissed?: boolean | undefined;
|
|
1332
|
+
profileCompletionStatus?: {
|
|
1333
|
+
bio: boolean;
|
|
1334
|
+
profilePicture: boolean;
|
|
1335
|
+
favoriteTeam: boolean;
|
|
1336
|
+
pinnedRatings: boolean;
|
|
1337
|
+
gradientColor: boolean;
|
|
1338
|
+
} | undefined;
|
|
1309
1339
|
}, {
|
|
1310
1340
|
id: string;
|
|
1311
1341
|
email: string;
|
|
@@ -1519,6 +1549,15 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1519
1549
|
viewedToS?: boolean | undefined;
|
|
1520
1550
|
banned?: boolean | undefined;
|
|
1521
1551
|
lowercaseUsername?: string | undefined;
|
|
1552
|
+
headerColor?: string | undefined;
|
|
1553
|
+
profileCompletionTrackerDismissed?: boolean | undefined;
|
|
1554
|
+
profileCompletionStatus?: {
|
|
1555
|
+
bio: boolean;
|
|
1556
|
+
profilePicture: boolean;
|
|
1557
|
+
favoriteTeam: boolean;
|
|
1558
|
+
pinnedRatings: boolean;
|
|
1559
|
+
gradientColor: boolean;
|
|
1560
|
+
} | undefined;
|
|
1522
1561
|
}>;
|
|
1523
1562
|
export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
1524
1563
|
id: import("zod").ZodString;
|
|
@@ -2417,6 +2456,27 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2417
2456
|
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2418
2457
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2419
2458
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2459
|
+
headerColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2460
|
+
profileCompletionTrackerDismissed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2461
|
+
profileCompletionStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2462
|
+
profilePicture: import("zod").ZodBoolean;
|
|
2463
|
+
bio: import("zod").ZodBoolean;
|
|
2464
|
+
favoriteTeam: import("zod").ZodBoolean;
|
|
2465
|
+
pinnedRatings: import("zod").ZodBoolean;
|
|
2466
|
+
gradientColor: import("zod").ZodBoolean;
|
|
2467
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2468
|
+
bio: boolean;
|
|
2469
|
+
profilePicture: boolean;
|
|
2470
|
+
favoriteTeam: boolean;
|
|
2471
|
+
pinnedRatings: boolean;
|
|
2472
|
+
gradientColor: boolean;
|
|
2473
|
+
}, {
|
|
2474
|
+
bio: boolean;
|
|
2475
|
+
profilePicture: boolean;
|
|
2476
|
+
favoriteTeam: boolean;
|
|
2477
|
+
pinnedRatings: boolean;
|
|
2478
|
+
gradientColor: boolean;
|
|
2479
|
+
}>>;
|
|
2420
2480
|
}, "id" | "totalRatedGames" | "avgRating" | "createdAt" | "updatedAt" | "deviceTokens" | "askedForPushNotifications" | "acceptedPushNotifications">, "strip", import("zod").ZodTypeAny, {
|
|
2421
2481
|
email: string;
|
|
2422
2482
|
username: string;
|
|
@@ -2619,6 +2679,15 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2619
2679
|
viewedToS?: boolean | undefined;
|
|
2620
2680
|
banned?: boolean | undefined;
|
|
2621
2681
|
lowercaseUsername?: string | undefined;
|
|
2682
|
+
headerColor?: string | undefined;
|
|
2683
|
+
profileCompletionTrackerDismissed?: boolean | undefined;
|
|
2684
|
+
profileCompletionStatus?: {
|
|
2685
|
+
bio: boolean;
|
|
2686
|
+
profilePicture: boolean;
|
|
2687
|
+
favoriteTeam: boolean;
|
|
2688
|
+
pinnedRatings: boolean;
|
|
2689
|
+
gradientColor: boolean;
|
|
2690
|
+
} | undefined;
|
|
2622
2691
|
}, {
|
|
2623
2692
|
email: string;
|
|
2624
2693
|
username: string;
|
|
@@ -2821,6 +2890,15 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2821
2890
|
viewedToS?: boolean | undefined;
|
|
2822
2891
|
banned?: boolean | undefined;
|
|
2823
2892
|
lowercaseUsername?: string | undefined;
|
|
2893
|
+
headerColor?: string | undefined;
|
|
2894
|
+
profileCompletionTrackerDismissed?: boolean | undefined;
|
|
2895
|
+
profileCompletionStatus?: {
|
|
2896
|
+
bio: boolean;
|
|
2897
|
+
profilePicture: boolean;
|
|
2898
|
+
favoriteTeam: boolean;
|
|
2899
|
+
pinnedRatings: boolean;
|
|
2900
|
+
gradientColor: boolean;
|
|
2901
|
+
} | undefined;
|
|
2824
2902
|
}>;
|
|
2825
2903
|
export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
2826
2904
|
id: import("zod").ZodString;
|
|
@@ -3719,6 +3797,27 @@ export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
|
3719
3797
|
viewedToS: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3720
3798
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3721
3799
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3800
|
+
headerColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3801
|
+
profileCompletionTrackerDismissed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3802
|
+
profileCompletionStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3803
|
+
profilePicture: import("zod").ZodBoolean;
|
|
3804
|
+
bio: import("zod").ZodBoolean;
|
|
3805
|
+
favoriteTeam: import("zod").ZodBoolean;
|
|
3806
|
+
pinnedRatings: import("zod").ZodBoolean;
|
|
3807
|
+
gradientColor: import("zod").ZodBoolean;
|
|
3808
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3809
|
+
bio: boolean;
|
|
3810
|
+
profilePicture: boolean;
|
|
3811
|
+
favoriteTeam: boolean;
|
|
3812
|
+
pinnedRatings: boolean;
|
|
3813
|
+
gradientColor: boolean;
|
|
3814
|
+
}, {
|
|
3815
|
+
bio: boolean;
|
|
3816
|
+
profilePicture: boolean;
|
|
3817
|
+
favoriteTeam: boolean;
|
|
3818
|
+
pinnedRatings: boolean;
|
|
3819
|
+
gradientColor: boolean;
|
|
3820
|
+
}>>;
|
|
3722
3821
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
3723
3822
|
id: string;
|
|
3724
3823
|
email: string;
|
package/dist/schemas/user.js
CHANGED
|
@@ -211,6 +211,15 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
211
211
|
viewedToS: (0, zod_1.boolean)().optional(),
|
|
212
212
|
banned: (0, zod_1.boolean)().optional(),
|
|
213
213
|
lowercaseUsername: (0, zod_1.string)().optional(),
|
|
214
|
+
headerColor: (0, zod_1.string)().optional(),
|
|
215
|
+
profileCompletionTrackerDismissed: (0, zod_1.boolean)().optional(),
|
|
216
|
+
profileCompletionStatus: (0, zod_1.object)({
|
|
217
|
+
profilePicture: (0, zod_1.boolean)(),
|
|
218
|
+
bio: (0, zod_1.boolean)(),
|
|
219
|
+
favoriteTeam: (0, zod_1.boolean)(),
|
|
220
|
+
pinnedRatings: (0, zod_1.boolean)(),
|
|
221
|
+
gradientColor: (0, zod_1.boolean)(),
|
|
222
|
+
}).optional(),
|
|
214
223
|
});
|
|
215
224
|
exports.createUserSchema = exports.userSchema.omit({
|
|
216
225
|
id: true,
|
|
@@ -1001,6 +1001,27 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
1001
1001
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
1002
1002
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
1003
1003
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
1004
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
1005
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
1006
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
1007
|
+
profilePicture: z.ZodBoolean;
|
|
1008
|
+
bio: z.ZodBoolean;
|
|
1009
|
+
favoriteTeam: z.ZodBoolean;
|
|
1010
|
+
pinnedRatings: z.ZodBoolean;
|
|
1011
|
+
gradientColor: z.ZodBoolean;
|
|
1012
|
+
}, "strip", z.ZodTypeAny, {
|
|
1013
|
+
bio: boolean;
|
|
1014
|
+
profilePicture: boolean;
|
|
1015
|
+
favoriteTeam: boolean;
|
|
1016
|
+
pinnedRatings: boolean;
|
|
1017
|
+
gradientColor: boolean;
|
|
1018
|
+
}, {
|
|
1019
|
+
bio: boolean;
|
|
1020
|
+
profilePicture: boolean;
|
|
1021
|
+
favoriteTeam: boolean;
|
|
1022
|
+
pinnedRatings: boolean;
|
|
1023
|
+
gradientColor: boolean;
|
|
1024
|
+
}>>;
|
|
1004
1025
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1005
1026
|
id: string;
|
|
1006
1027
|
email: string;
|
|
@@ -1914,6 +1935,27 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
1914
1935
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
1915
1936
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
1916
1937
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
1938
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
1939
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
1940
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
1941
|
+
profilePicture: z.ZodBoolean;
|
|
1942
|
+
bio: z.ZodBoolean;
|
|
1943
|
+
favoriteTeam: z.ZodBoolean;
|
|
1944
|
+
pinnedRatings: z.ZodBoolean;
|
|
1945
|
+
gradientColor: z.ZodBoolean;
|
|
1946
|
+
}, "strip", z.ZodTypeAny, {
|
|
1947
|
+
bio: boolean;
|
|
1948
|
+
profilePicture: boolean;
|
|
1949
|
+
favoriteTeam: boolean;
|
|
1950
|
+
pinnedRatings: boolean;
|
|
1951
|
+
gradientColor: boolean;
|
|
1952
|
+
}, {
|
|
1953
|
+
bio: boolean;
|
|
1954
|
+
profilePicture: boolean;
|
|
1955
|
+
favoriteTeam: boolean;
|
|
1956
|
+
pinnedRatings: boolean;
|
|
1957
|
+
gradientColor: boolean;
|
|
1958
|
+
}>>;
|
|
1917
1959
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1918
1960
|
id: string;
|
|
1919
1961
|
email: string;
|
|
@@ -2880,6 +2922,27 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
|
|
|
2880
2922
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
2881
2923
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
2882
2924
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
2925
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
2926
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
2927
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
2928
|
+
profilePicture: z.ZodBoolean;
|
|
2929
|
+
bio: z.ZodBoolean;
|
|
2930
|
+
favoriteTeam: z.ZodBoolean;
|
|
2931
|
+
pinnedRatings: z.ZodBoolean;
|
|
2932
|
+
gradientColor: z.ZodBoolean;
|
|
2933
|
+
}, "strip", z.ZodTypeAny, {
|
|
2934
|
+
bio: boolean;
|
|
2935
|
+
profilePicture: boolean;
|
|
2936
|
+
favoriteTeam: boolean;
|
|
2937
|
+
pinnedRatings: boolean;
|
|
2938
|
+
gradientColor: boolean;
|
|
2939
|
+
}, {
|
|
2940
|
+
bio: boolean;
|
|
2941
|
+
profilePicture: boolean;
|
|
2942
|
+
favoriteTeam: boolean;
|
|
2943
|
+
pinnedRatings: boolean;
|
|
2944
|
+
gradientColor: boolean;
|
|
2945
|
+
}>>;
|
|
2883
2946
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2884
2947
|
id: string;
|
|
2885
2948
|
email: string;
|
package/dist/schemas/voting.d.ts
CHANGED
|
@@ -898,6 +898,27 @@ export declare const playerVoteSchema: z.ZodObject<{
|
|
|
898
898
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
899
899
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
900
900
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
901
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
902
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
903
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
904
|
+
profilePicture: z.ZodBoolean;
|
|
905
|
+
bio: z.ZodBoolean;
|
|
906
|
+
favoriteTeam: z.ZodBoolean;
|
|
907
|
+
pinnedRatings: z.ZodBoolean;
|
|
908
|
+
gradientColor: z.ZodBoolean;
|
|
909
|
+
}, "strip", z.ZodTypeAny, {
|
|
910
|
+
bio: boolean;
|
|
911
|
+
profilePicture: boolean;
|
|
912
|
+
favoriteTeam: boolean;
|
|
913
|
+
pinnedRatings: boolean;
|
|
914
|
+
gradientColor: boolean;
|
|
915
|
+
}, {
|
|
916
|
+
bio: boolean;
|
|
917
|
+
profilePicture: boolean;
|
|
918
|
+
favoriteTeam: boolean;
|
|
919
|
+
pinnedRatings: boolean;
|
|
920
|
+
gradientColor: boolean;
|
|
921
|
+
}>>;
|
|
901
922
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
902
923
|
id: string;
|
|
903
924
|
email: string;
|
|
@@ -1929,6 +1950,27 @@ export declare const voteSubmissionDtoSchema: z.ZodObject<{
|
|
|
1929
1950
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
1930
1951
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
1931
1952
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
1953
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
1954
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
1955
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
1956
|
+
profilePicture: z.ZodBoolean;
|
|
1957
|
+
bio: z.ZodBoolean;
|
|
1958
|
+
favoriteTeam: z.ZodBoolean;
|
|
1959
|
+
pinnedRatings: z.ZodBoolean;
|
|
1960
|
+
gradientColor: z.ZodBoolean;
|
|
1961
|
+
}, "strip", z.ZodTypeAny, {
|
|
1962
|
+
bio: boolean;
|
|
1963
|
+
profilePicture: boolean;
|
|
1964
|
+
favoriteTeam: boolean;
|
|
1965
|
+
pinnedRatings: boolean;
|
|
1966
|
+
gradientColor: boolean;
|
|
1967
|
+
}, {
|
|
1968
|
+
bio: boolean;
|
|
1969
|
+
profilePicture: boolean;
|
|
1970
|
+
favoriteTeam: boolean;
|
|
1971
|
+
pinnedRatings: boolean;
|
|
1972
|
+
gradientColor: boolean;
|
|
1973
|
+
}>>;
|
|
1932
1974
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1933
1975
|
id: string;
|
|
1934
1976
|
email: string;
|
|
@@ -3444,6 +3486,27 @@ export declare const userVoteResponseDtoSchema: z.ZodObject<{
|
|
|
3444
3486
|
viewedToS: z.ZodOptional<z.ZodBoolean>;
|
|
3445
3487
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
3446
3488
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
3489
|
+
headerColor: z.ZodOptional<z.ZodString>;
|
|
3490
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
3491
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
3492
|
+
profilePicture: z.ZodBoolean;
|
|
3493
|
+
bio: z.ZodBoolean;
|
|
3494
|
+
favoriteTeam: z.ZodBoolean;
|
|
3495
|
+
pinnedRatings: z.ZodBoolean;
|
|
3496
|
+
gradientColor: z.ZodBoolean;
|
|
3497
|
+
}, "strip", z.ZodTypeAny, {
|
|
3498
|
+
bio: boolean;
|
|
3499
|
+
profilePicture: boolean;
|
|
3500
|
+
favoriteTeam: boolean;
|
|
3501
|
+
pinnedRatings: boolean;
|
|
3502
|
+
gradientColor: boolean;
|
|
3503
|
+
}, {
|
|
3504
|
+
bio: boolean;
|
|
3505
|
+
profilePicture: boolean;
|
|
3506
|
+
favoriteTeam: boolean;
|
|
3507
|
+
pinnedRatings: boolean;
|
|
3508
|
+
gradientColor: boolean;
|
|
3509
|
+
}>>;
|
|
3447
3510
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3448
3511
|
id: string;
|
|
3449
3512
|
email: string;
|