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

@ -37,15 +37,34 @@ export interface AchievementData {
hidden: boolean;
}
export interface UserAchievement {
name: string;
hidden: boolean;
displayName: string;
description?: string;
unlocked: boolean;
unlockTime: number | null;
icon: string;
}
export interface RemoteUnlockedAchievement {
name: string;
hidden: boolean;
icon: string;
displayName: string;
description?: string;
unlockTime: number;
}
export interface GameAchievement {
name: string;
hidden: boolean;
displayName: string;
description?: string;
unlocked: boolean;
unlockTime: number | null;
icon: string;
icongray: string;
hidden: boolean;
}
export type ShopDetails = SteamAppDetails & {