summaryrefslogtreecommitdiff
path: root/frontend/types.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-05-30 17:27:04 +0200
committerJules Laplace <julescarbon@gmail.com>2020-05-30 17:27:04 +0200
commit0890fdd951d021308550a0db2e7b6f2593512957 (patch)
treea0050b153242ccde662fc0a957a79fc7a7edc4b4 /frontend/types.js
initial site copied in
Diffstat (limited to 'frontend/types.js')
-rw-r--r--frontend/types.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/types.js b/frontend/types.js
new file mode 100644
index 0000000..3dcfae7
--- /dev/null
+++ b/frontend/types.js
@@ -0,0 +1,11 @@
+import { with_type, crud_type } from './api/crud.types'
+
+export const collection = crud_type('collection', [])
+
+export const upload = crud_type('upload', [])
+
+export const system = with_type('system', [
+ 'load_site',
+])
+
+export const init = '@@INIT'