mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🔥 Common store: Clean up
This commit is contained in:
parent
4f5b254452
commit
657eb9e772
2 changed files with 2 additions and 13 deletions
|
@ -17,16 +17,4 @@ export default {
|
|||
// Activity management (advanced solution that replaces the isBusy state).
|
||||
START_ACTIVITY: 'ppcp/common/START_ACTIVITY',
|
||||
STOP_ACTIVITY: 'ppcp/common/STOP_ACTIVITY',
|
||||
|
||||
// Controls - always start with "DO_".
|
||||
DO_PERSIST_DATA: 'ppcp/common/DO_PERSIST_DATA',
|
||||
DO_DIRECT_API_AUTHENTICATION: 'ppcp/common/DO_DIRECT_API_AUTHENTICATION',
|
||||
DO_OAUTH_AUTHENTICATION: 'ppcp/common/DO_OAUTH_AUTHENTICATION',
|
||||
DO_DISCONNECT_MERCHANT: 'ppcp/common/DO_DISCONNECT_MERCHANT',
|
||||
DO_GENERATE_ONBOARDING_URL: 'ppcp/common/DO_GENERATE_ONBOARDING_URL',
|
||||
DO_REFRESH_MERCHANT: 'ppcp/common/DO_REFRESH_MERCHANT',
|
||||
DO_REFRESH_FEATURES: 'ppcp/common/DO_REFRESH_FEATURES',
|
||||
DO_RESUBSCRIBE_WEBHOOKS: 'ppcp/common/DO_RESUBSCRIBE_WEBHOOKS',
|
||||
DO_START_WEBHOOK_SIMULATION: 'ppcp/common/DO_START_WEBHOOK_SIMULATION',
|
||||
DO_CHECK_WEBHOOK_SIMULATION: 'ppcp/common/DO_CHECK_WEBHOOK_SIMULATION',
|
||||
};
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
import apiFetch from '@wordpress/api-fetch';
|
||||
|
||||
import {
|
||||
REST_CONNECTION_URL_PATH,
|
||||
REST_DIRECT_AUTHENTICATION_PATH,
|
||||
|
@ -9,7 +11,6 @@ import {
|
|||
REST_WEBHOOKS,
|
||||
REST_WEBHOOKS_SIMULATE,
|
||||
} from './constants';
|
||||
import apiFetch from '@wordpress/api-fetch';
|
||||
|
||||
/**
|
||||
* Side effect. Saves the persistent details to the WP database.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue