@lubusin/wp-frappe-data-store / createFrappeDataStore
Function: createFrappeDataStore()
createFrappeDataStore(
config?):FrappeDataStore
Defined in: src/store/index.ts:16
Creates a standalone @wordpress/data Redux store descriptor configured for Frappe APIs. Does not automatically register the store with the default global data registry.
Parameters
config?
FrappeStoreConfig = {}
Configuration options specifying storeName, baseUrl, apiPath, or custom request transport.
Returns
Store descriptor object ready for registration.