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 episode = crud_type('episode', []) export const venue = crud_type('venue', []) 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', 'toggle_nav_component', 'set_current_section', 'reached_end_of_section', 'set_nav_style', 'set_media_title', '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'