mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: use new endpoint to get compared achievements
This commit is contained in:
parent
89bb099caa
commit
f0a2bf2f48
10 changed files with 291 additions and 203 deletions
|
@ -342,6 +342,33 @@ export interface GameArtifact {
|
|||
downloadCount: number;
|
||||
}
|
||||
|
||||
export interface ComparedAchievements {
|
||||
ownerUser: {
|
||||
totalAchievementCount: number;
|
||||
unlockedAchievementCount: number;
|
||||
};
|
||||
otherUser: {
|
||||
displayName: string;
|
||||
profileImageUrl: string;
|
||||
totalAchievementCount: number;
|
||||
unlockedAchievementCount: number;
|
||||
};
|
||||
achievements: {
|
||||
hidden: boolean;
|
||||
icon: string;
|
||||
displayName: string;
|
||||
description: string;
|
||||
onwerUserStat?: {
|
||||
unlocked: boolean;
|
||||
unlockTime: number;
|
||||
};
|
||||
otherUserStat: {
|
||||
unlocked: boolean;
|
||||
unlockTime: number;
|
||||
};
|
||||
}[];
|
||||
}
|
||||
|
||||
export * from "./steam.types";
|
||||
export * from "./real-debrid.types";
|
||||
export * from "./ludusavi.types";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue