import { XPlugin } from '../../../../plugins' ; import { RecommendationsXStoreModule } from '../types' ; /**
 * Default implementation for the  RecommendationsActions . fetchRecommendations .
 *
 *  param _context - The  https of the actions,
 * provided by Vuex.
 *  param request returns public export const fetchRecommendations = ( _context , request ) => { return request ? XPlugin . adapter . getTopRecommendations ( request ) . then ( ( { results } ) => results ) : [ ] ; } ;