feature/share-libs
ts 31 lines 1.32 KB
Raw
1 export const TAURI_DOWNLOAD_RESULT_FILES = 'download_result_files'
2
3 // Player commands
4 export const TAURI_PLAYER_PREPARE = 'player_prepare'
5 export const TAURI_PLAYER_SET_VOLUME = 'player_set_volume'
6 export const TAURI_PLAYER_UNMOUNT = 'player_unmount'
7 export const TAURI_PLAYER_RECORD = 'player_record'
8 export const TAURI_PLAYER_RECORD_STOP = 'player_record_stop'
9 export const TAURI_PLAYER_PLAY = 'player_play'
10 export const TAURI_PLAYER_PAUSED = 'player_paused'
11 export const TAURI_PLAYER_RESUMED = 'player_resumed'
12 export const TAURI_PLAYER_STOP = 'player_stop'
13 export const TAURI_PLAYER_RECORDING_LENGTH = 'player_recording_length' // in seconds
14
15 // Account
16 export const TAURI_ACCOUNT_LOGIN = 'account_login'
17 export const TAURI_ACCOUNT_LOGOUT = 'account_logout'
18 export const TAURI_ACCOUNT_REGISTER = 'account_register'
19 export const TAURI_ACCOUNT_PROFILE = 'account_profile'
20
21 // Contents
22 export const TAURI_CONTENT_CAROUSEL = 'content_carousel'
23 export const TAURI_CONTENT_READY_TO_PLAY = 'content_ready_to_play'
24 export const TAURI_CONTENT_SONG_BRIDGE_DETAIL = 'content_song_bridge_detail'
25 export const TAURI_CONTENT_TOP_VOTED = 'content_top_voted'
26 export const TAURI_CONTENT_SONG_BRIDGE_VOTE = 'content_song_bridge_vote'
27
28 // Settings
29 export const TAURI_SET_ENVIRONMENT = 'set_environment'
30 export const TAURI_GET_ENVIRONMENT = 'get_environment'
31