mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 21:44:55 +03:00
fix: types
This commit is contained in:
parent
09af1d1f89
commit
ce239e0e20
@ -13,7 +13,7 @@ import { publishNewAchievementNotification } from "../notifications";
|
|||||||
const saveAchievementsOnLocal = async (
|
const saveAchievementsOnLocal = async (
|
||||||
objectId: string,
|
objectId: string,
|
||||||
shop: GameShop,
|
shop: GameShop,
|
||||||
achievements: any[],
|
achievements: UnlockedAchievement[],
|
||||||
sendUpdateEvent: boolean
|
sendUpdateEvent: boolean
|
||||||
) => {
|
) => {
|
||||||
return gameAchievementRepository
|
return gameAchievementRepository
|
||||||
|
@ -259,10 +259,7 @@ export interface UserProfile {
|
|||||||
profileImageUrl: string | null;
|
profileImageUrl: string | null;
|
||||||
backgroundImageUrl: string | null;
|
backgroundImageUrl: string | null;
|
||||||
profileVisibility: ProfileVisibility;
|
profileVisibility: ProfileVisibility;
|
||||||
libraryGames: (UserGame & {
|
libraryGames: UserGame[];
|
||||||
unlockedAchievementCount: number;
|
|
||||||
achievementCount: number;
|
|
||||||
})[];
|
|
||||||
recentGames: UserGame[];
|
recentGames: UserGame[];
|
||||||
friends: UserFriend[];
|
friends: UserFriend[];
|
||||||
totalFriends: number;
|
totalFriends: number;
|
||||||
|
Loading…
Reference in New Issue
Block a user