1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-16 12:20:13 +01:00
pingvin-share/src/types/File.type.ts
2022-04-30 23:30:23 +02:00

10 lines
284 B
TypeScript

import { Models } from "appwrite";
export type FileUpload = File & { uploadingState?: UploadState };
export type UploadState = "finished" | "inProgress" | undefined;
export interface AppwriteFileWithPreview extends Models.File {
uploadingState?: UploadState;
preview: Buffer;
}