Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/graphql / src / endpoints / catalog / defaultParams.ts
Size: Mime:
// import { campaignId, storeId, appid } from '../../bootstrapper/api/config'

const productListParams = {
  // campaignId,
  // locale: 'en_US',
  // storeId,
  // appid,
  offset: 0,
  limit: 5,
  sort: '',
  selectedFacets: '',
}
const searchParams = {
  // campaignId,
  // locale: 'en_US',
  // storeId,
  // appid,
  //offset: 0,
  //limit: 20,
  //sort: '',
  //selectedFacets: '',
}

const searchSuggestionParams = {
  // campaignId,
  // appid,
  // storeId,
  search: 'shoe',
  offset: 0,
  limit: 20,
  locale: 'en_US',
}

const productParams = {
  // campaignId,
  // locale: 'en_US',
  // storeId,
}

export { productListParams, searchParams, searchSuggestionParams, productParams }
export default {
  productListParams,
  searchParams,
  searchSuggestionParams,
  productParams,
}