2023-12-14 11:45:40 +00:00
|
|
|
/**
|
|
|
|
* Internal dependencies
|
|
|
|
*/
|
|
|
|
import { ADMIN_URL } from '../../utils/admin-settings';
|
|
|
|
|
2023-07-20 13:53:06 +00:00
|
|
|
export const DEFAULT_TAB_KEY = 'discover';
|
2023-11-06 08:15:34 +00:00
|
|
|
export const MARKETPLACE_HOST = 'https://woo.com';
|
2023-07-20 16:00:22 +00:00
|
|
|
export const MARKETPLACE_PATH = '/extensions';
|
2023-09-04 14:45:24 +00:00
|
|
|
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';
|
2023-10-04 16:59:34 +00:00
|
|
|
export const MARKETPLACE_ITEMS_PER_PAGE = 60;
|
2023-10-17 16:32:23 +00:00
|
|
|
export const MARKETPLACE_SEARCH_RESULTS_PER_PAGE = 8;
|
2023-10-27 04:08:27 +00:00
|
|
|
export const MARKETPLACE_CART_PATH = MARKETPLACE_HOST + '/cart/';
|
2023-11-21 07:08:26 +00:00
|
|
|
export const MARKETPLACE_COLLABORATION_PATH =
|
|
|
|
MARKETPLACE_HOST +
|
|
|
|
'/document/managing-woocommerce-com-subscriptions/#transfer-a-woocommerce-com-subscription';
|
2023-12-14 11:45:40 +00:00
|
|
|
export const WP_ADMIN_PLUGIN_LIST_URL = ADMIN_URL + '/plugins.php';
|