feat: pass userId to modal

This commit is contained in:
Zamitto
2024-07-23 20:27:38 -03:00
parent 010f07373d
commit a196b91cb9
9 changed files with 104 additions and 31 deletions

View File

@@ -128,7 +128,11 @@ declare global {
/* User */
getUser: (userId: string) => Promise<UserProfile | null>;
getUserFriends: (userId: string) => Promise<UserFriends>;
getUserFriends: (
userId: string,
take: number,
skip: number
) => Promise<UserFriends>;
/* Profile */
getMe: () => Promise<UserProfile | null>;