mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-16 00:43:00 -03:00
fix: types
This commit is contained in:
@@ -13,7 +13,7 @@ import { publishNewAchievementNotification } from "../notifications";
|
||||
const saveAchievementsOnLocal = async (
|
||||
objectId: string,
|
||||
shop: GameShop,
|
||||
achievements: any[],
|
||||
achievements: UnlockedAchievement[],
|
||||
sendUpdateEvent: boolean
|
||||
) => {
|
||||
return gameAchievementRepository
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user