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
36
37
38
39
40
41
|
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', [
'update_transcript',
])
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', 'set_volume',
])
export const viewer = with_type('viewer', [
'load_sections', 'toggle_component',
'set_current_section', 'reached_end_of_section',
'set_nav_style',
'open_vitrine_modal', 'close_vitrine_modal', 'set_vitrine_index',
'open_growl', 'close_growl',
])
export const site = with_type('site', [
])
export const system = with_type('system', [
])
export const init = '@@INIT'
|