mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: update compare achievement response
This commit is contained in:
parent
1d7858438d
commit
33e91e2007
6 changed files with 43 additions and 29 deletions
|
@ -343,11 +343,11 @@ export interface GameArtifact {
|
|||
}
|
||||
|
||||
export interface ComparedAchievements {
|
||||
ownerUser: {
|
||||
owner: {
|
||||
totalAchievementCount: number;
|
||||
unlockedAchievementCount: number;
|
||||
};
|
||||
otherUser: {
|
||||
target: {
|
||||
displayName: string;
|
||||
profileImageUrl: string;
|
||||
totalAchievementCount: number;
|
||||
|
@ -358,11 +358,11 @@ export interface ComparedAchievements {
|
|||
icon: string;
|
||||
displayName: string;
|
||||
description: string;
|
||||
onwerUserStat?: {
|
||||
ownerStat?: {
|
||||
unlocked: boolean;
|
||||
unlockTime: number;
|
||||
};
|
||||
otherUserStat: {
|
||||
targetStat: {
|
||||
unlocked: boolean;
|
||||
unlockTime: number;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue