improved file uploads
This commit is contained in:
@@ -9,3 +9,14 @@ export type DirectoryEntry = {
|
||||
name: string;
|
||||
fileType: FileType;
|
||||
};
|
||||
|
||||
export type UploadStatus =
|
||||
| 'not_uploaded'
|
||||
| 'uploading'
|
||||
| 'completed'
|
||||
| 'failed';
|
||||
|
||||
export type UploadFile = {
|
||||
status: UploadStatus;
|
||||
data: File;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user