♻️ Apply new code style to “common” store

This commit is contained in:
Philipp Stracker 2024-11-20 17:21:09 +01:00
parent 8f12e978f3
commit 7ae4184d30
No known key found for this signature in database
9 changed files with 130 additions and 109 deletions

View file

@ -5,7 +5,7 @@
*
* @type {string}
*/
export const STORE_KEY = 'common';
export const STORE_NAME = 'wc/paypal/common';
/**
* REST path to hydrate data of this module by loading data from the WP DB..
@ -14,7 +14,7 @@ export const STORE_KEY = 'common';
*
* @type {string}
*/
export const REST_HYDRATE_PATH = 'common';
export const REST_HYDRATE_PATH = '/wc/v3/wc_paypal/common';
/**
* REST path to persist data of this module to the WP DB.
@ -23,4 +23,4 @@ export const REST_HYDRATE_PATH = 'common';
*
* @type {string}
*/
export const REST_PERSIST_PATH = 'common';
export const REST_PERSIST_PATH = '/wc/v3/wc_paypal/common';