61 lines
1.4 KiB
JavaScript
61 lines
1.4 KiB
JavaScript
// node_modules
|
|
import { combineReducers } from 'redux'
|
|
import { routerReducer } from 'react-router-redux'
|
|
|
|
// Documents
|
|
import chapters from './chapters'
|
|
import notes from './notes'
|
|
import tags from './tags'
|
|
import currentDocument from './currentDocument'
|
|
import annotationNote from './annotationNote'
|
|
import annotationTag from './annotationTag'
|
|
import searchResults from './searchResults'
|
|
|
|
// User Inputs
|
|
import editorState from './editorState'
|
|
import modalEditorState from './modalEditorState'
|
|
import selectionState from './selectionState'
|
|
import inputs from './inputs'
|
|
// import documentTitleInput from './documentTitleInput'
|
|
// import colorPickerInput from './colorPickerInput'
|
|
// import searchInput from './searchInput'
|
|
|
|
import docType from './docType'
|
|
import mode from './mode'
|
|
// Toggles
|
|
import toggles from './toggles'
|
|
// import highlightToggle from './highlightToggle'
|
|
// import loadingToggle from './loadingToggle'
|
|
|
|
// Validation
|
|
import userErrors from './userErrors'
|
|
|
|
const reduceJoyce = combineReducers({
|
|
routerReducer,
|
|
// Documents
|
|
chapters,
|
|
notes,
|
|
tags,
|
|
currentDocument,
|
|
annotationNote,
|
|
annotationTag,
|
|
searchResults,
|
|
// User Inputs
|
|
editorState,
|
|
modalEditorState,
|
|
selectionState,
|
|
inputs,
|
|
// colorPickerInput,
|
|
// documentTitleInput,
|
|
// searchInput,
|
|
// Toggles
|
|
docType,
|
|
mode,
|
|
toggles,
|
|
// highlightToggle,
|
|
// loadingToggle,
|
|
// Validation
|
|
userErrors,
|
|
})
|
|
|
|
export default reduceJoyce |