feat: refactor friends requests

This commit is contained in:
Zamitto 2024-07-10 19:52:57 -03:00
parent b3f87d5662
commit ef0699dbea
11 changed files with 74 additions and 34 deletions

View file

@ -10,6 +10,8 @@ export type GameStatus =
export type GameShop = "steam" | "epic";
export type FriendRequestAction = "ACCEPTED" | "REFUSED" | "CANCEL";
export interface SteamGenre {
id: string;
name: string;
@ -275,7 +277,7 @@ export interface UserFriend {
profileImageUrl: string | null;
}
export interface PendingFriendRequest {
export interface FriendRequest {
userId: string;
displayName: string;
profileImageUrl: string | null;