mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: add featureBaseJwt to type
This commit is contained in:
parent
b494b28f6f
commit
d016f5e475
3 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,7 @@ export const getUserData = () => {
|
||||||
expiresAt: loggedUser.subscription.expiresAt,
|
expiresAt: loggedUser.subscription.expiresAt,
|
||||||
}
|
}
|
||||||
: null,
|
: null,
|
||||||
|
featurebaseJwt: "",
|
||||||
} as UserDetails;
|
} as UserDetails;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,6 +78,7 @@ export function useUserDetails() {
|
||||||
...response,
|
...response,
|
||||||
username: userDetails?.username || "",
|
username: userDetails?.username || "",
|
||||||
subscription: userDetails?.subscription || null,
|
subscription: userDetails?.subscription || null,
|
||||||
|
featurebaseJwt: userDetails?.featurebaseJwt || "",
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
[updateUserDetails, userDetails?.username, userDetails?.subscription]
|
[updateUserDetails, userDetails?.username, userDetails?.subscription]
|
||||||
|
|
|
@ -267,6 +267,7 @@ export interface UserDetails {
|
||||||
backgroundImageUrl: string | null;
|
backgroundImageUrl: string | null;
|
||||||
profileVisibility: ProfileVisibility;
|
profileVisibility: ProfileVisibility;
|
||||||
bio: string;
|
bio: string;
|
||||||
|
featurebaseJwt: string;
|
||||||
subscription: Subscription | null;
|
subscription: Subscription | null;
|
||||||
quirks?: {
|
quirks?: {
|
||||||
backupsPerGameLimit: number;
|
backupsPerGameLimit: number;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue