mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-16 12:20:13 +01:00
10 lines
284 B
TypeScript
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;
|
|
}
|