feat: refactor

This commit is contained in:
Zamitto
2024-10-20 21:29:17 -03:00
parent 33e91e2007
commit 36e6a8cef7
37 changed files with 151 additions and 254 deletions

View File

@@ -66,11 +66,6 @@ declare global {
searchGameRepacks: (query: string) => Promise<GameRepack[]>;
getGameStats: (objectId: string, shop: GameShop) => Promise<GameStats>;
getTrendingGames: () => Promise<TrendingGame[]>;
getGameAchievements: (
objectId: string,
shop: GameShop,
userId?: string
) => Promise<UserAchievement[]>;
onAchievementUnlocked: (
cb: (
objectId: string,
@@ -208,6 +203,10 @@ declare global {
shop: GameShop,
userId: string
) => Promise<ComparedAchievements>;
getUnlockedAchievements: (
objectId: string,
shop: GameShop
) => Promise<UserAchievement[]>;
/* Profile */
getMe: () => Promise<UserDetails | null>;