diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-07-07 21:40:15 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-07-07 21:40:15 +0200 |
| commit | 11a70bc347587219b2ec7b63cf4a6ff69bb4199b (patch) | |
| tree | 855a25211d35ae1dc1533200f90381ec7702896b /client/actions | |
| parent | 84774bfb162eda1e09495a6c55fb86393deedfe8 (diff) | |
upload files and they show up, then process
Diffstat (limited to 'client/actions')
| -rw-r--r-- | client/actions/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
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, |
