Home Reference Source

application/state.js

import {createStore, combineReducers} from 'redux';

import {users} from './redux/reducers/user-reducers';
import {acls} from './redux/reducers/acl-reducers';
import {content} from './redux/reducers/content-reducers';
import {assignments} from './redux/reducers/assignment-reducers';
import {assignmentComments} from './redux/reducers/assignment-comment-reducers';
import {contentSearch} from './redux/reducers/content-search-reducers';
import {contentVersions} from './redux/reducers/content-version-reducers';
import {workflows} from './redux/reducers/workflow-reducers';
import {workflowSections} from './redux/reducers/workflow-section-reducers';
import {issues} from './redux/reducers/issue-reducers';
import {authors} from './redux/reducers/author-reducers';
import {tags} from './redux/reducers/tag-reducers';
import {sstss} from './redux/reducers/ssts-reducers';
import {containers} from './redux/reducers/container-reducers';
import {snackbar} from './redux/reducers/snackbar-reducers';
import {systemAlert} from './redux/reducers/alert-reducers';
import {globalSearch} from './redux/reducers/global-search-reducers';
import {application} from './redux/reducers/application-reducers';
import {globalHistory} from './redux/reducers/global-history-reducers';
import {uploadCart} from './redux/reducers/upload-cart-reducers';
import {site} from './redux/reducers/site-reducers';
import {channels} from './redux/reducers/channel-reducers';
import {entries} from './redux/reducers/entry-reducers';
import {contentView} from './redux/reducers/content-view-reducers';
import {assignmentView} from './redux/reducers/assignment-view-reducers';
import {noteComments} from './redux/reducers/note-comment-reducers';

const state = combineReducers({
    users,
    acls,
    content,
    assignments,
    assignmentComments,
    contentSearch,
    contentVersions,
    workflows,
    workflowSections,
    issues,
    authors,
    tags,
    containers,
    snackbar,
    systemAlert,
    globalSearch,
    application,
    globalHistory,
    uploadCart,
    site,
    channels,
    entries,
    contentView,
    assignmentView,
    noteComments,
    sstss
});

export default state;