| 1 |
import { createReduxStore, register } from '@wordpress/data'; |
| 2 |
|
| 3 |
import * as actions from './actions'; |
| 4 |
import * as controls from './controls'; |
| 5 |
import reducer from './reducer'; |
| 6 |
import * as resolvers from './resolvers'; |
| 7 |
import * as selectors from './selectors'; |
| 8 |
|
| 9 |
const store = createReduxStore('ghostkit/base/images', { |
| 10 |
reducer, |
| 11 |
selectors, |
| 12 |
actions, |
| 13 |
controls, |
| 14 |
resolvers, |
| 15 |
}); |
| 16 |
|
| 17 |
register(store); |
| 18 |
|