feat: create use details functions

This commit is contained in:
Zamitto
2024-09-16 13:50:58 -03:00
parent 09d0e5b4ef
commit ec16efed2f
9 changed files with 53 additions and 16 deletions

View File

@@ -24,6 +24,7 @@ import type {
TrendingGame,
UserStats,
UserDetails,
FriendRequestSync,
} from "@types";
import type { DiskSpace } from "check-disk-space";
@@ -164,6 +165,7 @@ declare global {
path: string
) => Promise<{ imagePath: string; mimeType: string }>;
getFriendRequests: () => Promise<FriendRequest[]>;
syncFriendRequests: () => Promise<FriendRequestSync>;
updateFriendRequest: (
userId: string,
action: FriendRequestAction