@empathyco/x-components
Version:
Empathy X Components
17 lines (14 loc) • 600 B
JavaScript
import { XPlugin } from '../../../../plugins/x-plugin.js';
/**
* Default implementation for the {@link FacetsActions.fetchFacetsResponse}.
*
* @param _context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions,
* provided by Vuex.
* @param request - The facets request to make.
* @returns A Promise of facets response that resolves when it fetches facets response.
*
* @public
*/
const fetchFacetsResponse = async (_context, request) => XPlugin.adapter.facets(request);
export { fetchFacetsResponse };
//# sourceMappingURL=fetch-facets-response.action.js.map