2022-04-15 14:24:30 +00:00
|
|
|
export type EventName =
|
|
|
|
| 'LOG_OUT'
|
|
|
|
| 'TOGGLE_SIDEBAR'
|
|
|
|
| 'SHOW_OVERLAY'
|
|
|
|
| 'HIDE_OVERLAY'
|
|
|
|
| 'FOCUS_SEARCH_FIELD'
|
|
|
|
| 'PLAY_YOUTUBE_VIDEO'
|
|
|
|
| 'INIT_EQUALIZER'
|
|
|
|
| 'TOGGLE_VISUALIZER'
|
|
|
|
| 'SEARCH_KEYWORDS_CHANGED'
|
2022-09-08 05:06:49 +00:00
|
|
|
|
2022-04-15 14:24:30 +00:00
|
|
|
| 'SONG_CONTEXT_MENU_REQUESTED'
|
|
|
|
| 'ALBUM_CONTEXT_MENU_REQUESTED'
|
|
|
|
| 'ARTIST_CONTEXT_MENU_REQUESTED'
|
2022-09-08 05:06:49 +00:00
|
|
|
| 'CREATE_NEW_PLAYLIST_CONTEXT_MENU_REQUESTED'
|
|
|
|
| 'PLAYLIST_CONTEXT_MENU_REQUESTED'
|
2022-08-10 14:56:01 +00:00
|
|
|
| 'PLAYLIST_FOLDER_CONTEXT_MENU_REQUESTED'
|
2022-04-30 11:55:54 +00:00
|
|
|
| 'CONTEXT_MENU_OPENED'
|
2022-09-08 05:06:49 +00:00
|
|
|
|
2022-04-15 14:24:30 +00:00
|
|
|
| 'MODAL_SHOW_ADD_USER_FORM'
|
|
|
|
| 'MODAL_SHOW_EDIT_USER_FORM'
|
|
|
|
| 'MODAL_SHOW_EDIT_SONG_FORM'
|
2022-08-10 14:56:01 +00:00
|
|
|
| 'MODAL_SHOW_CREATE_PLAYLIST_FORM'
|
|
|
|
| 'MODAL_SHOW_EDIT_PLAYLIST_FORM'
|
|
|
|
| 'MODAL_SHOW_CREATE_SMART_PLAYLIST_FORM'
|
|
|
|
| 'MODAL_SHOW_CREATE_PLAYLIST_FOLDER_FORM'
|
|
|
|
| 'MODAL_SHOW_EDIT_PLAYLIST_FOLDER_FORM'
|
2022-04-24 08:29:14 +00:00
|
|
|
| 'MODAL_SHOW_ABOUT_KOEL'
|
2022-09-08 05:06:49 +00:00
|
|
|
|
2022-04-15 14:24:30 +00:00
|
|
|
| 'PLAYLIST_DELETE'
|
2022-09-08 05:06:49 +00:00
|
|
|
| 'PLAYLIST_FOLDER_DELETE'
|
2022-10-24 15:27:17 +00:00
|
|
|
| 'PLAYLIST_SONGS_REMOVED'
|
|
|
|
| 'PLAYLIST_UPDATED'
|
2022-07-04 13:24:02 +00:00
|
|
|
| 'SONGS_UPDATED'
|
2022-09-15 09:07:25 +00:00
|
|
|
| 'SONGS_DELETED'
|
2022-08-01 11:40:52 +00:00
|
|
|
| 'SONG_QUEUED_FROM_ROUTE'
|
2022-04-15 14:24:30 +00:00
|
|
|
|
|
|
|
// socket events
|
|
|
|
| 'SOCKET_TOGGLE_PLAYBACK'
|
|
|
|
| 'SOCKET_TOGGLE_FAVORITE'
|
|
|
|
| 'SOCKET_PLAY_NEXT'
|
|
|
|
| 'SOCKET_PLAY_PREV'
|
|
|
|
| 'SOCKET_PLAYBACK_STOPPED'
|
|
|
|
| 'SOCKET_GET_STATUS'
|
|
|
|
| 'SOCKET_STATUS'
|
|
|
|
| 'SOCKET_GET_CURRENT_SONG'
|
|
|
|
| 'SOCKET_SONG'
|
|
|
|
| 'SOCKET_SET_VOLUME'
|
|
|
|
| 'SOCKET_VOLUME_CHANGED'
|