woocommerce-paypal-payments/modules/ppcp-settings/resources/js/data/onboarding/constants.js

29 lines
595 B
JavaScript
Raw Normal View History

2024-11-18 16:25:57 +01:00
/**
* Name of the Redux store module.
2024-11-18 16:25:57 +01:00
*
* Used by: Reducer, Selector, Index
*
* @type {string}
*/
export const STORE_NAME = 'wc/paypal/onboarding';
2024-11-18 16:25:57 +01:00
2024-11-18 16:32:45 +01:00
/**
* REST path to hydrate data of this module by loading data from the WP DB.
2024-11-18 16:32:45 +01:00
*
* Used by: Resolvers
* See: OnboardingRestEndpoint.php
*
* @type {string}
*/
2024-11-20 16:48:50 +01:00
export const REST_HYDRATE_PATH = '/wc/v3/wc_paypal/onboarding';
2024-11-18 16:32:45 +01:00
/**
* REST path to persist data of this module to the WP DB.
*
* Used by: Controls
* See: OnboardingRestEndpoint.php
*
* @type {string}
*/
2024-11-20 16:48:50 +01:00
export const REST_PERSIST_PATH = '/wc/v3/wc_paypal/onboarding';