1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

file uploading template

This commit is contained in:
muerwre 2019-08-06 21:23:31 +07:00
parent cfe4731ded
commit 8dc43c77b7
7 changed files with 57 additions and 10 deletions

View file

@ -1,5 +1,11 @@
import { IFile } from "~/redux/types";
const prefix = 'UPLOAD.';
export const UPLOAD_ACTIONS = {
UPLOAD_FILES: `${prefix}UPLOAD_FILES`,
};
export const EMPTY_FILE: IFile = {
id: null,
user_id: null,
@ -11,4 +17,4 @@ export const EMPTY_FILE: IFile = {
size: 2400000,
type: 'image',
mime: 'image/jpeg',
};
};