fix types

This commit is contained in:
Hayden 2022-10-03 20:09:26 -08:00
parent 1143246816
commit a67316a889
7 changed files with 42 additions and 37 deletions

View file

@ -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;
}

View file

@ -4,3 +4,7 @@ export enum AttachmentTypes {
Warranty = "warranty",
Attachment = "attachment",
}
export type Result<T> = {
item: T;
};