feat: use power toast

This commit is contained in:
Zamitto 2024-10-25 18:06:09 -03:00
parent 0a86ec89aa
commit 9fa9f6d85a
7 changed files with 85 additions and 5 deletions

View file

@ -94,8 +94,6 @@ export interface UserGame {
cover: string;
playTimeInSeconds: number;
lastTimePlayed: Date | null;
unlockedAchievementCount: number;
achievementCount: number;
}
export interface DownloadQueue {
@ -258,7 +256,10 @@ export interface UserProfile {
profileImageUrl: string | null;
backgroundImageUrl: string | null;
profileVisibility: ProfileVisibility;
libraryGames: UserGame[];
libraryGames: (UserGame & {
unlockedAchievementCount: number;
achievementCount: number;
})[];
recentGames: UserGame[];
friends: UserFriend[];
totalFriends: number;