fix: types

This commit is contained in:
Zamitto 2024-10-31 17:34:13 -03:00
parent 09af1d1f89
commit ce239e0e20
2 changed files with 2 additions and 5 deletions

View File

@ -13,7 +13,7 @@ import { publishNewAchievementNotification } from "../notifications";
const saveAchievementsOnLocal = async (
objectId: string,
shop: GameShop,
achievements: any[],
achievements: UnlockedAchievement[],
sendUpdateEvent: boolean
) => {
return gameAchievementRepository

View File

@ -259,10 +259,7 @@ export interface UserProfile {
profileImageUrl: string | null;
backgroundImageUrl: string | null;
profileVisibility: ProfileVisibility;
libraryGames: (UserGame & {
unlockedAchievementCount: number;
achievementCount: number;
})[];
libraryGames: UserGame[];
recentGames: UserGame[];
friends: UserFriend[];
totalFriends: number;