rategame-shared 1.1.252 → 1.1.254
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 +115 -0
- package/dist/schemas/game.d.ts +460 -0
- package/dist/schemas/list.d.ts +115 -0
- package/dist/schemas/moderation.d.ts +92 -0
- package/dist/schemas/rating.d.ts +69 -0
- package/dist/schemas/user.d.ts +105 -0
- package/dist/schemas/user.js +9 -0
- package/dist/schemas/userEvent.d.ts +69 -0
- package/dist/schemas/voting.d.ts +69 -0
- package/package.json +1 -1
package/dist/schemas/list.d.ts
CHANGED
|
@@ -903,6 +903,29 @@ export declare const listSchema: z.ZodObject<{
|
|
|
903
903
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
904
904
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
905
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
|
+
favoriteGames: z.ZodBoolean;
|
|
913
|
+
gradientColor: z.ZodBoolean;
|
|
914
|
+
}, "strip", z.ZodTypeAny, {
|
|
915
|
+
bio: boolean;
|
|
916
|
+
profilePicture: boolean;
|
|
917
|
+
favoriteTeam: boolean;
|
|
918
|
+
pinnedRatings: boolean;
|
|
919
|
+
favoriteGames: boolean;
|
|
920
|
+
gradientColor: boolean;
|
|
921
|
+
}, {
|
|
922
|
+
bio: boolean;
|
|
923
|
+
profilePicture: boolean;
|
|
924
|
+
favoriteTeam: boolean;
|
|
925
|
+
pinnedRatings: boolean;
|
|
926
|
+
favoriteGames: boolean;
|
|
927
|
+
gradientColor: boolean;
|
|
928
|
+
}>>;
|
|
906
929
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
907
930
|
id: string;
|
|
908
931
|
email: string;
|
|
@@ -1865,6 +1888,29 @@ export declare const listCreateSchema: z.ZodObject<Omit<{
|
|
|
1865
1888
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
1866
1889
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
1867
1890
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
1891
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
1892
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
1893
|
+
profilePicture: z.ZodBoolean;
|
|
1894
|
+
bio: z.ZodBoolean;
|
|
1895
|
+
favoriteTeam: z.ZodBoolean;
|
|
1896
|
+
pinnedRatings: z.ZodBoolean;
|
|
1897
|
+
favoriteGames: z.ZodBoolean;
|
|
1898
|
+
gradientColor: z.ZodBoolean;
|
|
1899
|
+
}, "strip", z.ZodTypeAny, {
|
|
1900
|
+
bio: boolean;
|
|
1901
|
+
profilePicture: boolean;
|
|
1902
|
+
favoriteTeam: boolean;
|
|
1903
|
+
pinnedRatings: boolean;
|
|
1904
|
+
favoriteGames: boolean;
|
|
1905
|
+
gradientColor: boolean;
|
|
1906
|
+
}, {
|
|
1907
|
+
bio: boolean;
|
|
1908
|
+
profilePicture: boolean;
|
|
1909
|
+
favoriteTeam: boolean;
|
|
1910
|
+
pinnedRatings: boolean;
|
|
1911
|
+
favoriteGames: boolean;
|
|
1912
|
+
gradientColor: boolean;
|
|
1913
|
+
}>>;
|
|
1868
1914
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1869
1915
|
id: string;
|
|
1870
1916
|
email: string;
|
|
@@ -2819,6 +2865,29 @@ export declare const listCommentSchema: z.ZodObject<{
|
|
|
2819
2865
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
2820
2866
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
2821
2867
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
2868
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
2869
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
2870
|
+
profilePicture: z.ZodBoolean;
|
|
2871
|
+
bio: z.ZodBoolean;
|
|
2872
|
+
favoriteTeam: z.ZodBoolean;
|
|
2873
|
+
pinnedRatings: z.ZodBoolean;
|
|
2874
|
+
favoriteGames: z.ZodBoolean;
|
|
2875
|
+
gradientColor: z.ZodBoolean;
|
|
2876
|
+
}, "strip", z.ZodTypeAny, {
|
|
2877
|
+
bio: boolean;
|
|
2878
|
+
profilePicture: boolean;
|
|
2879
|
+
favoriteTeam: boolean;
|
|
2880
|
+
pinnedRatings: boolean;
|
|
2881
|
+
favoriteGames: boolean;
|
|
2882
|
+
gradientColor: boolean;
|
|
2883
|
+
}, {
|
|
2884
|
+
bio: boolean;
|
|
2885
|
+
profilePicture: boolean;
|
|
2886
|
+
favoriteTeam: boolean;
|
|
2887
|
+
pinnedRatings: boolean;
|
|
2888
|
+
favoriteGames: boolean;
|
|
2889
|
+
gradientColor: boolean;
|
|
2890
|
+
}>>;
|
|
2822
2891
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2823
2892
|
id: string;
|
|
2824
2893
|
email: string;
|
|
@@ -3733,6 +3802,29 @@ export declare const listCommentSchema: z.ZodObject<{
|
|
|
3733
3802
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
3734
3803
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
3735
3804
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
3805
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
3806
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
3807
|
+
profilePicture: z.ZodBoolean;
|
|
3808
|
+
bio: z.ZodBoolean;
|
|
3809
|
+
favoriteTeam: z.ZodBoolean;
|
|
3810
|
+
pinnedRatings: z.ZodBoolean;
|
|
3811
|
+
favoriteGames: z.ZodBoolean;
|
|
3812
|
+
gradientColor: z.ZodBoolean;
|
|
3813
|
+
}, "strip", z.ZodTypeAny, {
|
|
3814
|
+
bio: boolean;
|
|
3815
|
+
profilePicture: boolean;
|
|
3816
|
+
favoriteTeam: boolean;
|
|
3817
|
+
pinnedRatings: boolean;
|
|
3818
|
+
favoriteGames: boolean;
|
|
3819
|
+
gradientColor: boolean;
|
|
3820
|
+
}, {
|
|
3821
|
+
bio: boolean;
|
|
3822
|
+
profilePicture: boolean;
|
|
3823
|
+
favoriteTeam: boolean;
|
|
3824
|
+
pinnedRatings: boolean;
|
|
3825
|
+
favoriteGames: boolean;
|
|
3826
|
+
gradientColor: boolean;
|
|
3827
|
+
}>>;
|
|
3736
3828
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3737
3829
|
id: string;
|
|
3738
3830
|
email: string;
|
|
@@ -4692,6 +4784,29 @@ export declare const listCommentLikeSchema: z.ZodObject<{
|
|
|
4692
4784
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
4693
4785
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
4694
4786
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
4787
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
4788
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
4789
|
+
profilePicture: z.ZodBoolean;
|
|
4790
|
+
bio: z.ZodBoolean;
|
|
4791
|
+
favoriteTeam: z.ZodBoolean;
|
|
4792
|
+
pinnedRatings: z.ZodBoolean;
|
|
4793
|
+
favoriteGames: z.ZodBoolean;
|
|
4794
|
+
gradientColor: z.ZodBoolean;
|
|
4795
|
+
}, "strip", z.ZodTypeAny, {
|
|
4796
|
+
bio: boolean;
|
|
4797
|
+
profilePicture: boolean;
|
|
4798
|
+
favoriteTeam: boolean;
|
|
4799
|
+
pinnedRatings: boolean;
|
|
4800
|
+
favoriteGames: boolean;
|
|
4801
|
+
gradientColor: boolean;
|
|
4802
|
+
}, {
|
|
4803
|
+
bio: boolean;
|
|
4804
|
+
profilePicture: boolean;
|
|
4805
|
+
favoriteTeam: boolean;
|
|
4806
|
+
pinnedRatings: boolean;
|
|
4807
|
+
favoriteGames: boolean;
|
|
4808
|
+
gradientColor: boolean;
|
|
4809
|
+
}>>;
|
|
4695
4810
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
4696
4811
|
id: string;
|
|
4697
4812
|
email: string;
|
|
@@ -916,6 +916,29 @@ export declare const banInfoSchema: z.ZodObject<{
|
|
|
916
916
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
917
917
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
918
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
|
+
favoriteGames: z.ZodBoolean;
|
|
926
|
+
gradientColor: z.ZodBoolean;
|
|
927
|
+
}, "strip", z.ZodTypeAny, {
|
|
928
|
+
bio: boolean;
|
|
929
|
+
profilePicture: boolean;
|
|
930
|
+
favoriteTeam: boolean;
|
|
931
|
+
pinnedRatings: boolean;
|
|
932
|
+
favoriteGames: boolean;
|
|
933
|
+
gradientColor: boolean;
|
|
934
|
+
}, {
|
|
935
|
+
bio: boolean;
|
|
936
|
+
profilePicture: boolean;
|
|
937
|
+
favoriteTeam: boolean;
|
|
938
|
+
pinnedRatings: boolean;
|
|
939
|
+
favoriteGames: boolean;
|
|
940
|
+
gradientColor: boolean;
|
|
941
|
+
}>>;
|
|
919
942
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
920
943
|
id: string;
|
|
921
944
|
email: string;
|
|
@@ -1857,6 +1880,29 @@ export declare const bannedUserSchema: z.ZodObject<{
|
|
|
1857
1880
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
1858
1881
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
1859
1882
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
1883
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
1884
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
1885
|
+
profilePicture: z.ZodBoolean;
|
|
1886
|
+
bio: z.ZodBoolean;
|
|
1887
|
+
favoriteTeam: z.ZodBoolean;
|
|
1888
|
+
pinnedRatings: z.ZodBoolean;
|
|
1889
|
+
favoriteGames: z.ZodBoolean;
|
|
1890
|
+
gradientColor: z.ZodBoolean;
|
|
1891
|
+
}, "strip", z.ZodTypeAny, {
|
|
1892
|
+
bio: boolean;
|
|
1893
|
+
profilePicture: boolean;
|
|
1894
|
+
favoriteTeam: boolean;
|
|
1895
|
+
pinnedRatings: boolean;
|
|
1896
|
+
favoriteGames: boolean;
|
|
1897
|
+
gradientColor: boolean;
|
|
1898
|
+
}, {
|
|
1899
|
+
bio: boolean;
|
|
1900
|
+
profilePicture: boolean;
|
|
1901
|
+
favoriteTeam: boolean;
|
|
1902
|
+
pinnedRatings: boolean;
|
|
1903
|
+
favoriteGames: boolean;
|
|
1904
|
+
gradientColor: boolean;
|
|
1905
|
+
}>>;
|
|
1860
1906
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1861
1907
|
id: string;
|
|
1862
1908
|
email: string;
|
|
@@ -2834,6 +2880,29 @@ export declare const bannedUsersResponseSchema: z.ZodObject<{
|
|
|
2834
2880
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
2835
2881
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
2836
2882
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
2883
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
2884
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
2885
|
+
profilePicture: z.ZodBoolean;
|
|
2886
|
+
bio: z.ZodBoolean;
|
|
2887
|
+
favoriteTeam: z.ZodBoolean;
|
|
2888
|
+
pinnedRatings: z.ZodBoolean;
|
|
2889
|
+
favoriteGames: z.ZodBoolean;
|
|
2890
|
+
gradientColor: z.ZodBoolean;
|
|
2891
|
+
}, "strip", z.ZodTypeAny, {
|
|
2892
|
+
bio: boolean;
|
|
2893
|
+
profilePicture: boolean;
|
|
2894
|
+
favoriteTeam: boolean;
|
|
2895
|
+
pinnedRatings: boolean;
|
|
2896
|
+
favoriteGames: boolean;
|
|
2897
|
+
gradientColor: boolean;
|
|
2898
|
+
}, {
|
|
2899
|
+
bio: boolean;
|
|
2900
|
+
profilePicture: boolean;
|
|
2901
|
+
favoriteTeam: boolean;
|
|
2902
|
+
pinnedRatings: boolean;
|
|
2903
|
+
favoriteGames: boolean;
|
|
2904
|
+
gradientColor: boolean;
|
|
2905
|
+
}>>;
|
|
2837
2906
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2838
2907
|
id: string;
|
|
2839
2908
|
email: string;
|
|
@@ -3855,6 +3924,29 @@ export declare const banStatusResponseSchema: z.ZodObject<{
|
|
|
3855
3924
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
3856
3925
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
3857
3926
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
3927
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
3928
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
3929
|
+
profilePicture: z.ZodBoolean;
|
|
3930
|
+
bio: z.ZodBoolean;
|
|
3931
|
+
favoriteTeam: z.ZodBoolean;
|
|
3932
|
+
pinnedRatings: z.ZodBoolean;
|
|
3933
|
+
favoriteGames: z.ZodBoolean;
|
|
3934
|
+
gradientColor: z.ZodBoolean;
|
|
3935
|
+
}, "strip", z.ZodTypeAny, {
|
|
3936
|
+
bio: boolean;
|
|
3937
|
+
profilePicture: boolean;
|
|
3938
|
+
favoriteTeam: boolean;
|
|
3939
|
+
pinnedRatings: boolean;
|
|
3940
|
+
favoriteGames: boolean;
|
|
3941
|
+
gradientColor: boolean;
|
|
3942
|
+
}, {
|
|
3943
|
+
bio: boolean;
|
|
3944
|
+
profilePicture: boolean;
|
|
3945
|
+
favoriteTeam: boolean;
|
|
3946
|
+
pinnedRatings: boolean;
|
|
3947
|
+
favoriteGames: boolean;
|
|
3948
|
+
gradientColor: boolean;
|
|
3949
|
+
}>>;
|
|
3858
3950
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
3859
3951
|
id: string;
|
|
3860
3952
|
email: string;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -1819,6 +1819,29 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
1819
1819
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1820
1820
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1821
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
|
+
favoriteGames: import("zod").ZodBoolean;
|
|
1829
|
+
gradientColor: import("zod").ZodBoolean;
|
|
1830
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1831
|
+
bio: boolean;
|
|
1832
|
+
profilePicture: boolean;
|
|
1833
|
+
favoriteTeam: boolean;
|
|
1834
|
+
pinnedRatings: boolean;
|
|
1835
|
+
favoriteGames: boolean;
|
|
1836
|
+
gradientColor: boolean;
|
|
1837
|
+
}, {
|
|
1838
|
+
bio: boolean;
|
|
1839
|
+
profilePicture: boolean;
|
|
1840
|
+
favoriteTeam: boolean;
|
|
1841
|
+
pinnedRatings: boolean;
|
|
1842
|
+
favoriteGames: boolean;
|
|
1843
|
+
gradientColor: boolean;
|
|
1844
|
+
}>>;
|
|
1822
1845
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
1823
1846
|
id: string;
|
|
1824
1847
|
email: string;
|
|
@@ -2733,6 +2756,29 @@ export declare const threadCommentSchema: import("zod").ZodObject<{
|
|
|
2733
2756
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2734
2757
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2735
2758
|
headerColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2759
|
+
profileCompletionTrackerDismissed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2760
|
+
profileCompletionStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2761
|
+
profilePicture: import("zod").ZodBoolean;
|
|
2762
|
+
bio: import("zod").ZodBoolean;
|
|
2763
|
+
favoriteTeam: import("zod").ZodBoolean;
|
|
2764
|
+
pinnedRatings: import("zod").ZodBoolean;
|
|
2765
|
+
favoriteGames: import("zod").ZodBoolean;
|
|
2766
|
+
gradientColor: import("zod").ZodBoolean;
|
|
2767
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2768
|
+
bio: boolean;
|
|
2769
|
+
profilePicture: boolean;
|
|
2770
|
+
favoriteTeam: boolean;
|
|
2771
|
+
pinnedRatings: boolean;
|
|
2772
|
+
favoriteGames: boolean;
|
|
2773
|
+
gradientColor: boolean;
|
|
2774
|
+
}, {
|
|
2775
|
+
bio: boolean;
|
|
2776
|
+
profilePicture: boolean;
|
|
2777
|
+
favoriteTeam: boolean;
|
|
2778
|
+
pinnedRatings: boolean;
|
|
2779
|
+
favoriteGames: boolean;
|
|
2780
|
+
gradientColor: boolean;
|
|
2781
|
+
}>>;
|
|
2736
2782
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
2737
2783
|
id: string;
|
|
2738
2784
|
email: string;
|
|
@@ -3718,6 +3764,29 @@ export declare const threadCommentLikeSchema: import("zod").ZodObject<{
|
|
|
3718
3764
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3719
3765
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3720
3766
|
headerColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3767
|
+
profileCompletionTrackerDismissed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3768
|
+
profileCompletionStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3769
|
+
profilePicture: import("zod").ZodBoolean;
|
|
3770
|
+
bio: import("zod").ZodBoolean;
|
|
3771
|
+
favoriteTeam: import("zod").ZodBoolean;
|
|
3772
|
+
pinnedRatings: import("zod").ZodBoolean;
|
|
3773
|
+
favoriteGames: import("zod").ZodBoolean;
|
|
3774
|
+
gradientColor: import("zod").ZodBoolean;
|
|
3775
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3776
|
+
bio: boolean;
|
|
3777
|
+
profilePicture: boolean;
|
|
3778
|
+
favoriteTeam: boolean;
|
|
3779
|
+
pinnedRatings: boolean;
|
|
3780
|
+
favoriteGames: boolean;
|
|
3781
|
+
gradientColor: boolean;
|
|
3782
|
+
}, {
|
|
3783
|
+
bio: boolean;
|
|
3784
|
+
profilePicture: boolean;
|
|
3785
|
+
favoriteTeam: boolean;
|
|
3786
|
+
pinnedRatings: boolean;
|
|
3787
|
+
favoriteGames: boolean;
|
|
3788
|
+
gradientColor: boolean;
|
|
3789
|
+
}>>;
|
|
3721
3790
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
3722
3791
|
id: string;
|
|
3723
3792
|
email: string;
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -1094,6 +1094,29 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1094
1094
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1095
1095
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1096
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
|
+
favoriteGames: import("zod").ZodBoolean;
|
|
1104
|
+
gradientColor: import("zod").ZodBoolean;
|
|
1105
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1106
|
+
bio: boolean;
|
|
1107
|
+
profilePicture: boolean;
|
|
1108
|
+
favoriteTeam: boolean;
|
|
1109
|
+
pinnedRatings: boolean;
|
|
1110
|
+
favoriteGames: boolean;
|
|
1111
|
+
gradientColor: boolean;
|
|
1112
|
+
}, {
|
|
1113
|
+
bio: boolean;
|
|
1114
|
+
profilePicture: boolean;
|
|
1115
|
+
favoriteTeam: boolean;
|
|
1116
|
+
pinnedRatings: boolean;
|
|
1117
|
+
favoriteGames: boolean;
|
|
1118
|
+
gradientColor: boolean;
|
|
1119
|
+
}>>;
|
|
1097
1120
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1098
1121
|
id: string;
|
|
1099
1122
|
email: string;
|
|
@@ -1308,6 +1331,15 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1308
1331
|
banned?: boolean | undefined;
|
|
1309
1332
|
lowercaseUsername?: string | undefined;
|
|
1310
1333
|
headerColor?: string | undefined;
|
|
1334
|
+
profileCompletionTrackerDismissed?: boolean | undefined;
|
|
1335
|
+
profileCompletionStatus?: {
|
|
1336
|
+
bio: boolean;
|
|
1337
|
+
profilePicture: boolean;
|
|
1338
|
+
favoriteTeam: boolean;
|
|
1339
|
+
pinnedRatings: boolean;
|
|
1340
|
+
favoriteGames: boolean;
|
|
1341
|
+
gradientColor: boolean;
|
|
1342
|
+
} | undefined;
|
|
1311
1343
|
}, {
|
|
1312
1344
|
id: string;
|
|
1313
1345
|
email: string;
|
|
@@ -1522,6 +1554,15 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
1522
1554
|
banned?: boolean | undefined;
|
|
1523
1555
|
lowercaseUsername?: string | undefined;
|
|
1524
1556
|
headerColor?: string | undefined;
|
|
1557
|
+
profileCompletionTrackerDismissed?: boolean | undefined;
|
|
1558
|
+
profileCompletionStatus?: {
|
|
1559
|
+
bio: boolean;
|
|
1560
|
+
profilePicture: boolean;
|
|
1561
|
+
favoriteTeam: boolean;
|
|
1562
|
+
pinnedRatings: boolean;
|
|
1563
|
+
favoriteGames: boolean;
|
|
1564
|
+
gradientColor: boolean;
|
|
1565
|
+
} | undefined;
|
|
1525
1566
|
}>;
|
|
1526
1567
|
export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
1527
1568
|
id: import("zod").ZodString;
|
|
@@ -2421,6 +2462,29 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2421
2462
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2422
2463
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2423
2464
|
headerColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2465
|
+
profileCompletionTrackerDismissed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2466
|
+
profileCompletionStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2467
|
+
profilePicture: import("zod").ZodBoolean;
|
|
2468
|
+
bio: import("zod").ZodBoolean;
|
|
2469
|
+
favoriteTeam: import("zod").ZodBoolean;
|
|
2470
|
+
pinnedRatings: import("zod").ZodBoolean;
|
|
2471
|
+
favoriteGames: import("zod").ZodBoolean;
|
|
2472
|
+
gradientColor: import("zod").ZodBoolean;
|
|
2473
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2474
|
+
bio: boolean;
|
|
2475
|
+
profilePicture: boolean;
|
|
2476
|
+
favoriteTeam: boolean;
|
|
2477
|
+
pinnedRatings: boolean;
|
|
2478
|
+
favoriteGames: boolean;
|
|
2479
|
+
gradientColor: boolean;
|
|
2480
|
+
}, {
|
|
2481
|
+
bio: boolean;
|
|
2482
|
+
profilePicture: boolean;
|
|
2483
|
+
favoriteTeam: boolean;
|
|
2484
|
+
pinnedRatings: boolean;
|
|
2485
|
+
favoriteGames: boolean;
|
|
2486
|
+
gradientColor: boolean;
|
|
2487
|
+
}>>;
|
|
2424
2488
|
}, "id" | "totalRatedGames" | "avgRating" | "createdAt" | "updatedAt" | "deviceTokens" | "askedForPushNotifications" | "acceptedPushNotifications">, "strip", import("zod").ZodTypeAny, {
|
|
2425
2489
|
email: string;
|
|
2426
2490
|
username: string;
|
|
@@ -2624,6 +2688,15 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2624
2688
|
banned?: boolean | undefined;
|
|
2625
2689
|
lowercaseUsername?: string | undefined;
|
|
2626
2690
|
headerColor?: string | undefined;
|
|
2691
|
+
profileCompletionTrackerDismissed?: boolean | undefined;
|
|
2692
|
+
profileCompletionStatus?: {
|
|
2693
|
+
bio: boolean;
|
|
2694
|
+
profilePicture: boolean;
|
|
2695
|
+
favoriteTeam: boolean;
|
|
2696
|
+
pinnedRatings: boolean;
|
|
2697
|
+
favoriteGames: boolean;
|
|
2698
|
+
gradientColor: boolean;
|
|
2699
|
+
} | undefined;
|
|
2627
2700
|
}, {
|
|
2628
2701
|
email: string;
|
|
2629
2702
|
username: string;
|
|
@@ -2827,6 +2900,15 @@ export declare const createUserSchema: import("zod").ZodObject<Omit<{
|
|
|
2827
2900
|
banned?: boolean | undefined;
|
|
2828
2901
|
lowercaseUsername?: string | undefined;
|
|
2829
2902
|
headerColor?: string | undefined;
|
|
2903
|
+
profileCompletionTrackerDismissed?: boolean | undefined;
|
|
2904
|
+
profileCompletionStatus?: {
|
|
2905
|
+
bio: boolean;
|
|
2906
|
+
profilePicture: boolean;
|
|
2907
|
+
favoriteTeam: boolean;
|
|
2908
|
+
pinnedRatings: boolean;
|
|
2909
|
+
favoriteGames: boolean;
|
|
2910
|
+
gradientColor: boolean;
|
|
2911
|
+
} | undefined;
|
|
2830
2912
|
}>;
|
|
2831
2913
|
export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
2832
2914
|
id: import("zod").ZodString;
|
|
@@ -3726,6 +3808,29 @@ export declare const reducedUserSchema: import("zod").ZodObject<Pick<{
|
|
|
3726
3808
|
banned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3727
3809
|
lowercaseUsername: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3728
3810
|
headerColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3811
|
+
profileCompletionTrackerDismissed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3812
|
+
profileCompletionStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3813
|
+
profilePicture: import("zod").ZodBoolean;
|
|
3814
|
+
bio: import("zod").ZodBoolean;
|
|
3815
|
+
favoriteTeam: import("zod").ZodBoolean;
|
|
3816
|
+
pinnedRatings: import("zod").ZodBoolean;
|
|
3817
|
+
favoriteGames: import("zod").ZodBoolean;
|
|
3818
|
+
gradientColor: import("zod").ZodBoolean;
|
|
3819
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3820
|
+
bio: boolean;
|
|
3821
|
+
profilePicture: boolean;
|
|
3822
|
+
favoriteTeam: boolean;
|
|
3823
|
+
pinnedRatings: boolean;
|
|
3824
|
+
favoriteGames: boolean;
|
|
3825
|
+
gradientColor: boolean;
|
|
3826
|
+
}, {
|
|
3827
|
+
bio: boolean;
|
|
3828
|
+
profilePicture: boolean;
|
|
3829
|
+
favoriteTeam: boolean;
|
|
3830
|
+
pinnedRatings: boolean;
|
|
3831
|
+
favoriteGames: boolean;
|
|
3832
|
+
gradientColor: boolean;
|
|
3833
|
+
}>>;
|
|
3729
3834
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", import("zod").ZodTypeAny, {
|
|
3730
3835
|
id: string;
|
|
3731
3836
|
email: string;
|
package/dist/schemas/user.js
CHANGED
|
@@ -212,6 +212,15 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
212
212
|
banned: (0, zod_1.boolean)().optional(),
|
|
213
213
|
lowercaseUsername: (0, zod_1.string)().optional(),
|
|
214
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
|
+
favoriteGames: (0, zod_1.boolean)(),
|
|
222
|
+
gradientColor: (0, zod_1.boolean)(),
|
|
223
|
+
}).optional(),
|
|
215
224
|
});
|
|
216
225
|
exports.createUserSchema = exports.userSchema.omit({
|
|
217
226
|
id: true,
|
|
@@ -1002,6 +1002,29 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
1002
1002
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
1003
1003
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
1004
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
|
+
favoriteGames: z.ZodBoolean;
|
|
1012
|
+
gradientColor: z.ZodBoolean;
|
|
1013
|
+
}, "strip", z.ZodTypeAny, {
|
|
1014
|
+
bio: boolean;
|
|
1015
|
+
profilePicture: boolean;
|
|
1016
|
+
favoriteTeam: boolean;
|
|
1017
|
+
pinnedRatings: boolean;
|
|
1018
|
+
favoriteGames: boolean;
|
|
1019
|
+
gradientColor: boolean;
|
|
1020
|
+
}, {
|
|
1021
|
+
bio: boolean;
|
|
1022
|
+
profilePicture: boolean;
|
|
1023
|
+
favoriteTeam: boolean;
|
|
1024
|
+
pinnedRatings: boolean;
|
|
1025
|
+
favoriteGames: boolean;
|
|
1026
|
+
gradientColor: boolean;
|
|
1027
|
+
}>>;
|
|
1005
1028
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1006
1029
|
id: string;
|
|
1007
1030
|
email: string;
|
|
@@ -1916,6 +1939,29 @@ export declare const userEventCommentSchema: z.ZodObject<{
|
|
|
1916
1939
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
1917
1940
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
1918
1941
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
1942
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
1943
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
1944
|
+
profilePicture: z.ZodBoolean;
|
|
1945
|
+
bio: z.ZodBoolean;
|
|
1946
|
+
favoriteTeam: z.ZodBoolean;
|
|
1947
|
+
pinnedRatings: z.ZodBoolean;
|
|
1948
|
+
favoriteGames: z.ZodBoolean;
|
|
1949
|
+
gradientColor: z.ZodBoolean;
|
|
1950
|
+
}, "strip", z.ZodTypeAny, {
|
|
1951
|
+
bio: boolean;
|
|
1952
|
+
profilePicture: boolean;
|
|
1953
|
+
favoriteTeam: boolean;
|
|
1954
|
+
pinnedRatings: boolean;
|
|
1955
|
+
favoriteGames: boolean;
|
|
1956
|
+
gradientColor: boolean;
|
|
1957
|
+
}, {
|
|
1958
|
+
bio: boolean;
|
|
1959
|
+
profilePicture: boolean;
|
|
1960
|
+
favoriteTeam: boolean;
|
|
1961
|
+
pinnedRatings: boolean;
|
|
1962
|
+
favoriteGames: boolean;
|
|
1963
|
+
gradientColor: boolean;
|
|
1964
|
+
}>>;
|
|
1919
1965
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
1920
1966
|
id: string;
|
|
1921
1967
|
email: string;
|
|
@@ -2883,6 +2929,29 @@ export declare const userEventCommentLikeSchema: z.ZodObject<{
|
|
|
2883
2929
|
banned: z.ZodOptional<z.ZodBoolean>;
|
|
2884
2930
|
lowercaseUsername: z.ZodOptional<z.ZodString>;
|
|
2885
2931
|
headerColor: z.ZodOptional<z.ZodString>;
|
|
2932
|
+
profileCompletionTrackerDismissed: z.ZodOptional<z.ZodBoolean>;
|
|
2933
|
+
profileCompletionStatus: z.ZodOptional<z.ZodObject<{
|
|
2934
|
+
profilePicture: z.ZodBoolean;
|
|
2935
|
+
bio: z.ZodBoolean;
|
|
2936
|
+
favoriteTeam: z.ZodBoolean;
|
|
2937
|
+
pinnedRatings: z.ZodBoolean;
|
|
2938
|
+
favoriteGames: z.ZodBoolean;
|
|
2939
|
+
gradientColor: z.ZodBoolean;
|
|
2940
|
+
}, "strip", z.ZodTypeAny, {
|
|
2941
|
+
bio: boolean;
|
|
2942
|
+
profilePicture: boolean;
|
|
2943
|
+
favoriteTeam: boolean;
|
|
2944
|
+
pinnedRatings: boolean;
|
|
2945
|
+
favoriteGames: boolean;
|
|
2946
|
+
gradientColor: boolean;
|
|
2947
|
+
}, {
|
|
2948
|
+
bio: boolean;
|
|
2949
|
+
profilePicture: boolean;
|
|
2950
|
+
favoriteTeam: boolean;
|
|
2951
|
+
pinnedRatings: boolean;
|
|
2952
|
+
favoriteGames: boolean;
|
|
2953
|
+
gradientColor: boolean;
|
|
2954
|
+
}>>;
|
|
2886
2955
|
}, "id" | "email" | "username" | "avatarUrl" | "badge">, "strip", z.ZodTypeAny, {
|
|
2887
2956
|
id: string;
|
|
2888
2957
|
email: string;
|