mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-15 15:19:58 +00:00
(wip) init token APIs
This commit is contained in:
parent
c4916ea762
commit
245591cb23
37 changed files with 4286 additions and 131 deletions
|
@ -222,6 +222,7 @@ export interface UserRegistration {
|
|||
groupName: string;
|
||||
name: string;
|
||||
password: string;
|
||||
token: string;
|
||||
}
|
||||
|
||||
export interface ApiSummary {
|
||||
|
@ -238,6 +239,17 @@ export interface Build {
|
|||
version: string;
|
||||
}
|
||||
|
||||
export interface GroupTokenPayload {
|
||||
expiresAt: string;
|
||||
uses: number;
|
||||
}
|
||||
|
||||
export interface GroupTokenResponse {
|
||||
expiresAt: string;
|
||||
token: string;
|
||||
uses: number;
|
||||
}
|
||||
|
||||
export interface ItemAttachmentToken {
|
||||
token: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue