| 1 |
/** |
| 2 |
* WordPress dependencies |
| 3 |
*/ |
| 4 |
import { createReduxStore } from '@wordpress/data'; |
| 5 |
|
| 6 |
/** |
| 7 |
* Internal dependencies |
| 8 |
*/ |
| 9 |
import actions from './actions'; |
| 10 |
import reducer from './reducer'; |
| 11 |
import selectors from './selectors'; |
| 12 |
|
| 13 |
export const DEFAULT_STATE = { |
| 14 |
generateAudioEdited: false, |
| 15 |
}; |
| 16 |
|
| 17 |
const store = { |
| 18 |
reducer, |
| 19 |
actions, |
| 20 |
selectors, |
| 21 |
controls: {}, |
| 22 |
resolvers: {}, |
| 23 |
}; |
| 24 |
|
| 25 |
export default createReduxStore( 'beyondwords/interactions', store ); |
| 26 |
|