From 91e8fdb99e321496c54288fe5a3db6397c768c10 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 11 Jul 2020 00:50:00 +0200 Subject: building basic site. need to include cursors, etc --- frontend/site/types.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 frontend/site/types.js (limited to 'frontend/site/types.js') diff --git a/frontend/site/types.js b/frontend/site/types.js new file mode 100644 index 0000000..8388eff --- /dev/null +++ b/frontend/site/types.js @@ -0,0 +1,11 @@ +import { with_type, crud_type } from '../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' -- cgit v1.2.3-70-g09d2