mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: refactor friends requests
This commit is contained in:
parent
b3f87d5662
commit
ef0699dbea
11 changed files with 74 additions and 34 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue