mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: types
This commit is contained in:
parent
09af1d1f89
commit
ce239e0e20
2 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue