diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-07-22 14:05:15 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-07-22 14:05:15 +0200 |
| commit | ef78bc6a084f92b4794e987b5832240d85b6479e (patch) | |
| tree | b314b630800db6aa60f28ef0b115625e6ca176db /animism-align/frontend/app/types.js | |
| parent | 85d4cb9addf9ca887d3440b2786665d67d9917c4 (diff) | |
refactor app using babel module-resolver
Diffstat (limited to 'animism-align/frontend/app/types.js')
| -rw-r--r-- | animism-align/frontend/app/types.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/animism-align/frontend/app/types.js b/animism-align/frontend/app/types.js new file mode 100644 index 0000000..7fb368c --- /dev/null +++ b/animism-align/frontend/app/types.js @@ -0,0 +1,31 @@ +import { with_type, crud_type } from 'app/api/crud.types' + +export const api = crud_type('api', []) + +export const upload = crud_type('upload', []) +export const media = crud_type('media', []) +export const peaks = crud_type('peaks', []) +export const text = crud_type('text', []) +export const annotation = crud_type('annotation', []) +export const paragraph = crud_type('paragraph', []) +export const vimeo = crud_type('vimeo', []) +export const align = crud_type('align', [ + 'set_display_setting', + 'set_temporary_annotation', + 'update_temporary_annotation', + 'update_temporary_annotation_settings', + 'set_selected_annotation', + 'clear_selected_annotation', +]) + +export const audio = with_type('audio', [ + 'play', 'pause', 'update_time', +]) + +export const site = with_type('site', [ +]) + +export const system = with_type('system', [ +]) + +export const init = '@@INIT' |
