summaryrefslogtreecommitdiff
path: root/client/actions/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/actions/index.js')
-rw-r--r--client/actions/index.js8
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,