From a17b76ac75f506f5da6fe8adf9c36632b60d4226 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 26 Sep 2020 14:56:02 +0200 Subject: refactor to use app-rooted js imports --- frontend/app/site/types.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 frontend/app/site/types.js (limited to 'frontend/app/site/types.js') diff --git a/frontend/app/site/types.js b/frontend/app/site/types.js new file mode 100644 index 0000000..23bed98 --- /dev/null +++ b/frontend/app/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' -- cgit v1.2.3-70-g09d2