mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: action buttons on user profile page
This commit is contained in:
parent
102299e42f
commit
304aa011ad
8 changed files with 101 additions and 47 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue