summaryrefslogtreecommitdiff
path: root/frontend/site/types.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-03-15 19:09:37 +0100
committerJules Laplace <julescarbon@gmail.com>2021-03-15 19:09:37 +0100
commit8792e9fe1c7ab76c35f9a18d866880ba3da2c13e (patch)
treefbdc78484f654ec344d10814cb83987c873d4360 /frontend/site/types.js
parent7c15f34186622410e25ee85c01d832e48e012140 (diff)
move frontend site folder. add video support
Diffstat (limited to 'frontend/site/types.js')
-rw-r--r--frontend/site/types.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/site/types.js b/frontend/site/types.js
new file mode 100644
index 0000000..23bed98
--- /dev/null
+++ b/frontend/site/types.js
@@ -0,0 +1,11 @@
+import { with_type, crud_type } from 'app/api/crud.types'
+
+export const site = with_type('site', [
+ 'set_site_title', 'loading', 'loaded', 'error',
+])
+
+export const system = with_type('system', [
+ 'load_site',
+])
+
+export const init = '@@INIT'