import { XPlugin } from '../../../../plugins/x-plugin' ; import { SearchXStoreModule } from '../types' ; /**
 * Default implementation for the  SearchActions . fetchSearchResponse .
 *
 *  param _context - The  https of the actions,
 * provided by Vuex.
 *  param request returns public export const fetchSearchResponse = ( _context , request ) => { return request ? XPlugin . adapter . search ( request ) : { banners : [ ] , facets : [ ] , partialResults : [ ] , promoteds : [ ] , queryTagging : { params : { } , url : '' } , redirections : [ ] , results : [ ] , spellcheck : '' , totalResults : 0 } ; } ;