summaryrefslogtreecommitdiff
path: root/frontend/types.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-06-03 20:32:38 +0200
committerJules Laplace <julescarbon@gmail.com>2020-06-03 20:32:38 +0200
commit03e76928e3747167dceac3d92759a3abe5b685c7 (patch)
tree51578ee4bc38569da71ad97baf9fb5d3e9969174 /frontend/types.js
parente52dcc61ed433980d760a050ff14852a05676b96 (diff)
positioning tiles
Diffstat (limited to 'frontend/types.js')
-rw-r--r--frontend/types.js8
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', [