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

10 lines
284 B
TypeScript
Raw Normal View History

2022-04-25 15:15:17 +02:00
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;
}