mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-20 01:33:56 +00:00
feat: handle empty response on update achievements
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { Cracker, DownloadSourceStatus, Downloader } from "@shared";
|
||||
import type { SteamAppDetails } from "./steam.types";
|
||||
import type { Download, Game, Subscription } from "./level.types";
|
||||
import type { GameShop } from "./game.types";
|
||||
import type { GameShop, UnlockedAchievement } from "./game.types";
|
||||
|
||||
export type FriendRequestAction = "ACCEPTED" | "REFUSED" | "CANCEL";
|
||||
|
||||
@@ -237,6 +237,12 @@ export interface UserStats {
|
||||
unlockedAchievementSum?: number;
|
||||
}
|
||||
|
||||
export interface UpdatedUnlockedAchievements {
|
||||
objectId: string;
|
||||
shop: GameShop;
|
||||
achievements: UnlockedAchievement[];
|
||||
}
|
||||
|
||||
export interface AchievementFile {
|
||||
type: Cracker;
|
||||
filePath: string;
|
||||
|
||||
Reference in New Issue
Block a user