update api, add loading states
This commit is contained in:
parent
6ff45b81bf
commit
63e99885a4
4 changed files with 52 additions and 21 deletions
|
|
@ -1,3 +1,3 @@
|
|||
# Update schema
|
||||
|
||||
`pnpm dlx openapi-typescript http://localhost:8000/openapi.json -o ./schema.d.ts`
|
||||
`pnpm dlx openapi-typescript http://localhost:8000/openapi.json -o ./schema.ts`
|
||||
|
|
|
|||
|
|
@ -132,18 +132,16 @@ export interface components {
|
|||
*/
|
||||
activity_state: "unknown" | "locking" | "unlocking" | "stable";
|
||||
};
|
||||
/** UserInfo */
|
||||
UserInfo: {
|
||||
/** Username */
|
||||
username: string;
|
||||
};
|
||||
/** UserStatus */
|
||||
UserStatus: {
|
||||
/** Is Logged In */
|
||||
is_logged_in: boolean;
|
||||
/** Is Authorized */
|
||||
is_authorized: boolean;
|
||||
/** Guaranteed Session Until */
|
||||
guaranteed_session_until: string | null;
|
||||
user_info: components["schemas"]["UserInfo"] | null;
|
||||
/** Username */
|
||||
username: string | null;
|
||||
};
|
||||
/** ValidationError */
|
||||
ValidationError: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue