woocommerce/packages/woocommerce-blocks/assets/js/data/schema/index.js

25 lines
499 B
JavaScript
Raw Normal View History

2021-12-10 12:03:04 +00:00
/**
* External dependencies
*/
import { registerStore } from '@wordpress/data';
import { controls } from '@wordpress/data-controls';
/**
* Internal dependencies
*/
import { STORE_KEY } from './constants';
import * as selectors from './selectors';
import * as actions from './actions';
import * as resolvers from './resolvers';
import reducer from './reducers';
registerStore( STORE_KEY, {
reducer,
actions,
controls,
selectors,
resolvers,
} );
export const SCHEMA_STORE_KEY = STORE_KEY;