feat: refactor

This commit is contained in:
Zamitto 2024-09-26 15:33:32 -03:00
parent c72eefdb77
commit 780ab5f909
10 changed files with 68 additions and 131 deletions

View file

@ -1,4 +1,4 @@
import type { DownloadSourceStatus, Downloader } from "@shared";
import type { Cracker, DownloadSourceStatus, Downloader } from "@shared";
import type { SteamAppDetails } from "./steam.types";
export type GameStatus =
@ -265,5 +265,19 @@ export interface UserStats {
friendsCount: number;
}
export interface UnlockedAchievement {
name: string;
unlockTime: number;
}
export interface AchievementFile {
type: Cracker;
filePath: string;
}
export type GameAchievementFiles = {
[id: string]: AchievementFile[];
};
export * from "./steam.types";
export * from "./real-debrid.types";