feat: action buttons on user profile page

This commit is contained in:
Zamitto 2024-07-25 19:27:03 -03:00
parent 102299e42f
commit 304aa011ad
8 changed files with 101 additions and 47 deletions

View file

@ -289,6 +289,14 @@ export interface FriendRequest {
type: "SENT" | "RECEIVED";
}
export interface UserRelation {
AId: string;
BId: string;
status: "ACCEPTED" | "PENDING";
createdAt: string;
updatedAt: string;
}
export interface UserProfile {
id: string;
displayName: string;
@ -298,6 +306,7 @@ export interface UserProfile {
libraryGames: UserGame[];
recentGames: UserGame[];
friends: UserFriends;
relation: UserRelation | null;
}
export interface DownloadSource {