feat: refactor

This commit is contained in:
Zamitto
2024-10-09 23:11:28 -03:00
parent 3dcdcae9a7
commit c8022896a6
7 changed files with 111 additions and 50 deletions

View File

@@ -28,6 +28,7 @@ import type {
GameAchievement,
GameArtifact,
LudusaviBackup,
UserAchievement,
} from "@types";
import type { AxiosProgressEvent } from "axios";
import type { DiskSpace } from "check-disk-space";
@@ -68,7 +69,7 @@ declare global {
objectId: string,
shop: GameShop,
userId?: string
) => Promise<GameAchievement[]>;
) => Promise<UserAchievement[]>;
onAchievementUnlocked: (
cb: (
objectId: string,