mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
29 lines
578 B
JavaScript
29 lines
578 B
JavaScript
|
/**
|
||
|
* Name of the Redux store module.
|
||
|
*
|
||
|
* Used by: Reducer, Selector, Index
|
||
|
*
|
||
|
* @type {string}
|
||
|
*/
|
||
|
export const STORE_NAME = 'wc/paypal/style';
|
||
|
|
||
|
/**
|
||
|
* REST path to hydrate data of this module by loading data from the WP DB.
|
||
|
*
|
||
|
* Used by: Resolvers
|
||
|
* See: StylingRestEndpoint.php
|
||
|
*
|
||
|
* @type {string}
|
||
|
*/
|
||
|
export const REST_HYDRATE_PATH = '/wc/v3/wc_paypal/styling';
|
||
|
|
||
|
/**
|
||
|
* REST path to persist data of this module to the WP DB.
|
||
|
*
|
||
|
* Used by: Controls
|
||
|
* See: StylingRestEndpoint.php
|
||
|
*
|
||
|
* @type {string}
|
||
|
*/
|
||
|
export const REST_PERSIST_PATH = '/wc/v3/wc_paypal/styling';
|