summaryrefslogtreecommitdiff
path: root/frontend/types.js
diff options
context:
space:
mode:
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'