woocommerce/plugins/woocommerce-admin/client/marketing/data/index.js

23 lines
454 B
JavaScript

/**
* External dependencies
*/
import { controls } from '@wordpress/data-controls';
import { registerStore } from '@wordpress/data';
/**
* Internal dependencies
*/
import { STORE_KEY } from './constants';
import * as actions from './actions';
import * as selectors from './selectors';
import * as resolvers from './resolvers';
import reducer from './reducer';
registerStore( STORE_KEY, {
actions,
selectors,
resolvers,
controls,
reducer,
} );