mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 16:24:33 +08:00
♻️ Refactor onboarding actions to use controls
This commit is contained in:
parent
cf3798f610
commit
84d2af5f39
4 changed files with 105 additions and 62 deletions
|
@ -8,3 +8,22 @@
|
|||
*/
|
||||
export const STORE_KEY = 'onboarding';
|
||||
|
||||
/**
|
||||
* REST path to persist data of this module to the WP DB.
|
||||
*
|
||||
* Used by: Controls
|
||||
* See: OnboardingRestEndpoint.php
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const REST_PERSIST_PATH = 'onboarding';
|
||||
|
||||
/**
|
||||
* REST path to perform the manual connection check, using client ID and secret,
|
||||
*
|
||||
* Used by: Controls
|
||||
* See: ConnectManualRestEndpoint.php
|
||||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const REST_MANUAL_CONNECTION_PATH = 'connect_manual';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue