feat: add getUserFriends event

This commit is contained in:
Zamitto 2024-07-23 18:37:19 -03:00
parent 380143c780
commit 010f07373d
4 changed files with 15 additions and 9 deletions

View file

@ -16,6 +16,7 @@ import type {
UserProfile,
FriendRequest,
FriendRequestAction,
UserFriends,
} from "@types";
import type { DiskSpace } from "check-disk-space";
@ -127,6 +128,7 @@ declare global {
/* User */
getUser: (userId: string) => Promise<UserProfile | null>;
getUserFriends: (userId: string) => Promise<UserFriends>;
/* Profile */
getMe: () => Promise<UserProfile | null>;