diff options
Diffstat (limited to 'frontend/types.js')
| -rw-r--r-- | frontend/types.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/frontend/types.js b/frontend/types.js index 4a1b39d..a0d83a1 100644 --- a/frontend/types.js +++ b/frontend/types.js @@ -1,17 +1,23 @@ import { with_type, crud_type } from './api/crud.types' export const api = crud_type('api', []) + export const graph = crud_type('graph', [ 'show_add_page_form', 'hide_add_page_form', 'show_edit_page_form', 'hide_edit_page_form', 'update_graph_page', ]) + export const page = crud_type('page', [ 'show_add_tile_form', 'hide_add_tile_form', 'show_edit_tile_form', 'hide_edit_tile_form', 'update_page_tile', ]) -export const tile = crud_type('tile', []) + +export const tile = crud_type('tile', [ + 'update_temporary_tile', 'remove_temporary_tile', +]) + export const upload = crud_type('upload', []) export const site = with_type('site', [ |
