export const EVENT_BUS_TYPE = {
  // library
  CURRENT_LIBRARY_CHANGED: 'current_library_changed',
  SEARCH_LIBRARY_CONTENT: 'search_library_content',

  // group
  ADD_NEW_GROUP: 'add_new_group',
  ADD_SHARED_REPO_INTO_GROUP: 'add_shared_repo_into_group',
  UNSHARE_REPO_TO_GROUP: 'unshare_repo_to_group',

  RESTORE_IMAGE: 'restore_image',
  OPEN_MARKDOWN: 'open_markdown',

  // migrate tags
  OPEN_TREE_PANEL: 'open_tree_panel',
  OPEN_LIBRARY_SETTINGS_TAGS: 'open_library_settings_tags',

  // tags
  TAG_STATUS: 'tag_status',
  TAGS_DATA: 'tags_data',
  SELECT_TAG: 'select_tag',
  UPDATE_SELECTED_TAG: 'update_selected_tag',
};
