1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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', 'toggle_muted',
])
export const viewer = with_type('viewer', [
'load_sections', 'toggle_section'
])
export const site = with_type('site', [
])
export const system = with_type('system', [
])
export const init = '@@INIT'
|