1
0
Fork 0
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:
muerwre 2019-08-07 15:09:28 +07:00
parent caf85c104f
commit 3872ff5903
9 changed files with 180 additions and 80 deletions

View file

@ -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 {