feat: set profile visibility

This commit is contained in:
Zamitto
2024-08-06 23:17:12 -03:00
parent 42a78802a6
commit 6806787ca0
15 changed files with 276 additions and 194 deletions

View File

@@ -139,10 +139,7 @@ declare global {
/* Profile */
getMe: () => Promise<UserProfile | null>;
undoFriendship: (userId: string) => Promise<void>;
updateProfile: (
displayName: string,
newProfileImagePath: string | null
) => Promise<UserProfile>;
updateProfile: (updateProfile: UpdateProfileProps) => Promise<UserProfile>;
getFriendRequests: () => Promise<FriendRequest[]>;
updateFriendRequest: (
userId: string,