mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-15 15:19:58 +00:00
fix types
This commit is contained in:
parent
1143246816
commit
a67316a889
7 changed files with 42 additions and 37 deletions
|
@ -239,14 +239,14 @@ export interface Build {
|
|||
version: string;
|
||||
}
|
||||
|
||||
export interface GroupTokenPayload {
|
||||
expiresAt: string;
|
||||
export interface GroupInvitation {
|
||||
expiresAt: Date;
|
||||
token: string;
|
||||
uses: number;
|
||||
}
|
||||
|
||||
export interface GroupTokenResponse {
|
||||
expiresAt: string;
|
||||
token: string;
|
||||
export interface GroupInvitationCreate {
|
||||
expiresAt: Date;
|
||||
uses: number;
|
||||
}
|
||||
|
||||
|
@ -255,6 +255,6 @@ export interface ItemAttachmentToken {
|
|||
}
|
||||
|
||||
export interface TokenResponse {
|
||||
expiresAt: string;
|
||||
expiresAt: Date;
|
||||
token: string;
|
||||
}
|
||||
|
|
|
@ -4,3 +4,7 @@ export enum AttachmentTypes {
|
|||
Warranty = "warranty",
|
||||
Attachment = "attachment",
|
||||
}
|
||||
|
||||
export type Result<T> = {
|
||||
item: T;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue