text: export const SEARCH = 'SEARCH';
  export const SET_ORDER_BY = 'SET_ORDER_BY';
  export const TOGGLE_AGENCY_FILTER = 'TOGGLE_AGENCY_FILTER';
  export const TOGGLE_CATEGORY_FILTER = 'TOGGLE_CATEGORY_FILTER';
  export const TOGGLE_FILTER_DRAWER = 'TOGGLE_FILTER_DRAWER';
  export const TOGGLE_INTRO = 'TOGGLE_INTRO';
  export const TOGGLE_RECOMMENDATION = 'TOGGLE_RECOMMENDATION';
  export const TOGGLE_STATUS_FILTER = 'TOGGLE_STATUS_FILTER';
  
  export const search = function searchActionCreator(q) {
    return {
      type: SEARCH,
      q,
    };
  };
  
  export const toggleAgencyFilter = function toggleAgencyFilterActionCreator(
    filter,
    initialFilters,
    initialRender,
  ) {
    return {
      type: TOGGLE_AGENCY_FILTER,
      filter,
      initialFilters,
      initialRender,
    };
  };
  
  export const toggleCategoryFilter = function toggleCategoryFilterActionCreator(
    filter,
    initialFilters,
    initialRender,
  ) {
    return {
      type: TOGGLE_CATEGORY_FILTER,
      filter,
      initialFilters,
      initialRender,
    };
  };
  
  export const toggleStatusFilter = function toggleStatusFilterActionCreator(
    filter,
    initialFilters,
    initialRender,
  ) {
    return {
      type: TOGGLE_STATUS_FILTER,
      filter,
      initialFilters,
      initialRender,
    };
  };
  
  export const toggleRecommendation = function toggleRecommendationActionCreator(
    r,
    detailId,
    initialRender,
  ) {
    return {
      type: TOGGLE_RECOMMENDATION,
      recommendation: r,
      detailId,
      initialRender,
    };
  };
  
  export const toggleFilterDrawer = function toggleFilterDrawerActionCreator() {
    return {
      type: TOGGLE_FILTER_DRAWER,
    };
  };
  
  export const setOrderBy = function setOrderByActionCreator(
    orderBy,
    direction,
  ) {
    return {
      type: SET_ORDER_BY,
      orderBy,
      direction,
    };
  };
  
  export const toggleIntro = function toggleIntroActionCreator() {
    return {
      type: TOGGLE_INTRO,
    };
  };
  