UNPKG

@empathyco/x-components

Version:
17 lines (14 loc) 600 B
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