const base_path = 'blog/'

export default {
  //post
  FETCH_POSTS_REQUEST: base_path + 'fetch_posts_request',
  FETCH_POSTS_SUCCESS: base_path + 'fetch_posts_success',
  FETCH_POSTS_FAIL: base_path + 'fetch_posts_fail',
  CLEAR_POSTS_DATA: base_path + 'clear_posts_data',

  //postDetail
  FETCH_POST_DETAIL_REQUEST: base_path + 'fetch_post_detail_request',
  FETCH_POST_DETAIL_SUCCESS: base_path + 'fetch_post_detail_success',
  FETCH_POST_DETAIL_FAIL: base_path + 'fetch_post_detail_fail',
  CLEAR_POST_DETAIL_DATA: base_path + 'clear_post_detail_data',

  //postSearch
  FETCH_POSTS_SEARCH_REQUEST: base_path + 'fetch_posts_search_request',
  FETCH_POSTS_SEARCH_SUCCESS: base_path + 'fetch_posts_search_success',
  FETCH_POSTS_SEARCH_FAIL: base_path + 'fetch_posts_search_fail',
  CLEAR_POSTS_SEARCH_DATA: base_path + 'clear_posts_search_data',

  //category
  FETCH_CATEGORIES_REQUEST: base_path + 'fetch_categories_request',
  FETCH_CATEGORIES_SUCCESS: base_path + 'fetch_categories_success',
  FETCH_CATEGORIES_FAIL: base_path + 'fetch_categories_fail',
  CLEAR_CATEGORIES_DATA: base_path + 'clear_categories_data',

  UPDATE_CURRENT_CATEGORY: base_path + 'update_current_category',

  //comment
  FETCH_COMMENTS_REQUEST: base_path + 'fetch_comments_request',
  FETCH_COMMENTS_SUCCESS: base_path + 'fetch_comments_success',
  FETCH_COMMENTS_FAIL: base_path + 'fetch_comments_fail',
  CLEAR_COMMENTS_DATA: base_path + 'clear_comments_data',

  SET_COMMENTS_REQUEST: base_path + 'set_comments_request',
  SET_COMMENTS_SUCCESS: base_path + 'set_comments_success',
  SET_COMMENTS_FAIL: base_path + 'set_comments_fail',

  ON_IS_EXTEND: base_path + 'on_is_extend',
  ON_IS_REPLY_EXTEND: base_path + 'on_is_reply_extend',

  //setting
  FETCH_SETTINGS_REQUEST: base_path + 'fetch_settings_request',
  FETCH_SETTINGS_SUCCESS: base_path + 'fetch_settings_success',
  FETCH_SETTINGS_FAIL: base_path + 'fetch_settings_fail',
  CLEAR_SETTINGS_DATA: base_path + 'clear_settings_data',

  FETCH_SHORTCUTS_SUCCESS: 'app/blog/fetch_shortcuts_success',
  FETCH_SLIDER_SUCCESS: 'app/blog/fetch_slider_success',
  UPDATE_SETTINGS_SUCCESS: 'app/blog/update_settings_success',

  //sharing
  FETCH_SHARING_BASICINFO_REQUEST: base_path + 'fetch_sharing_basicinfo_request',
  FETCH_SHARING_BASICINFO_SUCCESS: base_path + 'fetch_sharing_basicinfo_success',
  FETCH_SHARING_BASICINFO_FAIL: base_path + 'fetch_sharing_basicinfo_fail',
  FETCH_POST_SHARING_REQUEST: base_path + 'fetch_post_sharing_request',
  FETCH_POST_SHARING_SUCCESS: base_path + 'fetch_post_sharing_success',
  FETCH_POST_SHARING_FAIL: base_path + 'fetch_post_sharing_fail',

  LIKE_POST_REQUEST: `${base_path}like_post_request`,
  LIKE_POST_SUCCESS: `${base_path}like_post_success`,
  LIKE_POST_FAIL: `${base_path}like_post_fail`,
}
