woocommerce/plugins/woocommerce-blocks/assets/js/settings/blocks/endpoints.js

7 lines
169 B
JavaScript

const NAMESPACE = '/wc/blocks';
export const ENDPOINTS = {
root: NAMESPACE,
products: `${ NAMESPACE }/products`,
categories: `${ NAMESPACE }/products/categories`,
};