mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
tried to make upload sagas
This commit is contained in:
parent
caf85c104f
commit
3872ff5903
9 changed files with 180 additions and 80 deletions
|
@ -4,7 +4,14 @@ import { UUID } from "../types";
|
|||
import { UPLOAD_HANDLERS } from "./handlers";
|
||||
|
||||
export interface IUploadStatus {
|
||||
progress: number; is_loading: boolean; error: string;
|
||||
is_uploading: boolean;
|
||||
error: string;
|
||||
preview: string;
|
||||
uuid: UUID;
|
||||
url: string;
|
||||
thumbnail_url: string;
|
||||
type: string;
|
||||
progress: number;
|
||||
}
|
||||
|
||||
export interface IUploadState {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue