feat: update typing to match get me endpoint

This commit is contained in:
Zamitto
2024-09-16 11:22:26 -03:00
parent ee02811aea
commit 1de3a9836c
6 changed files with 53 additions and 62 deletions

View File

@@ -23,6 +23,7 @@ import type {
GameStats,
TrendingGame,
UserStats,
UserDetails,
} from "@types";
import type { DiskSpace } from "check-disk-space";
@@ -153,7 +154,7 @@ declare global {
) => Promise<void>;
/* Profile */
getMe: () => Promise<UserProfile | null>;
getMe: () => Promise<UserDetails | null>;
undoFriendship: (userId: string) => Promise<void>;
updateProfile: (
updateProfile: UpdateProfileRequest