feat: get friends requests from api

This commit is contained in:
Zamitto
2024-07-10 18:52:08 -03:00
parent 6ff48605da
commit b3f87d5662
8 changed files with 54 additions and 32 deletions

View File

@@ -14,6 +14,7 @@ import type {
RealDebridUser,
DownloadSource,
UserProfile,
PendingFriendRequest,
} from "@types";
import type { DiskSpace } from "check-disk-space";
@@ -132,6 +133,7 @@ declare global {
displayName: string,
newProfileImagePath: string | null
) => Promise<UserProfile>;
getFriendRequests: () => Promise<PendingFriendRequest[] | null>;
}
interface Window {