woocommerce/plugins/woocommerce-admin/client/marketplace/components/constants.ts

6 lines
325 B
TypeScript

export const DEFAULT_TAB_KEY = 'discover';
export const MARKETPLACE_API_HOST = 'https://woocommerce.com';
export const MARKETPLACE_PATH = '/extensions';
export const MARKETPLACE_SEARCH_API_PATH = '/wp-json/wccom-extensions/1.0/search';
export const MARKETPLACE_CATEGORY_API_PATH = '/wp-json/wccom-extensions/1.0/categories';