import { XPlugin } from '../../../../plugins/x-plugin' ; import { PopularSearchesXStoreModule } from '../types' ; /**
 * Default implementation for the  PopularSearchesActions . fetchSuggestions .
 *
 *  param _context - The  https of the actions,
 * provided by Vuex.
 *  param request returns public export const fetchSuggestions = ( _context , request ) => { return XPlugin . adapter . getSuggestions ( request , { requestId : 'popularSearches' } ) . then ( ( { suggestions } ) => suggestions ) ; } ;