feat: creating friends section

This commit is contained in:
Zamitto 2024-07-08 22:07:14 -03:00
parent 202f5b60de
commit 6ccbff0160
9 changed files with 307 additions and 52 deletions

View file

@ -269,14 +269,25 @@ export interface UserDetails {
profileImageUrl: string | null;
}
export interface UserFriend {
id: string;
displayName: string;
profileImageUrl: string | null;
}
export interface PendingFriendRequest {
AId: string;
BId: string;
}
export interface UserProfile {
id: string;
displayName: string;
username: string;
profileImageUrl: string | null;
totalPlayTimeInSeconds: number;
libraryGames: UserGame[];
recentGames: UserGame[];
libraryGames: UserGame[] | null;
recentGames: UserGame[] | null;
friends: UserFriend[] | null;
}
export interface DownloadSource {