From 11a70bc347587219b2ec7b63cf4a6ff69bb4199b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 7 Jul 2017 21:40:15 +0200 Subject: upload files and they show up, then process --- client/actions/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'client/actions/index.js') diff --git a/client/actions/index.js b/client/actions/index.js index fda5a4a..afcd10a 100644 --- a/client/actions/index.js +++ b/client/actions/index.js @@ -62,6 +62,14 @@ export const addFolder = (folder) => ({ type: 'ADD_FOLDER', folder, }) +export const addFile = (file) => ({ + type: 'ADD_FILE', + file, +}) +export const addFiles = (files) => ({ + type: 'ADD_FILES', + files, +}) export const updateFile = (file) => ({ type: 'UPDATE_FILE', file, -- cgit v1.2.3-70-g09d2