summaryrefslogtreecommitdiff
blob: 337167bc97caf0801199f2b061b668e29e4d69c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * External dependencies
 */
import { registerStore } from '@wordpress/data';

/**
 * Internal dependencies
 */
import * as actions from './actions';
import * as selectors from './selectors';
import applyMiddlewares from './middlewares';
import controls from './controls';
import reducer from './reducer';

const store = registerStore( 'jetpack/publicize', {
	actions,
	controls,
	reducer,
	selectors,
} );

applyMiddlewares( store );

export default store;