yapi/client/reducer/modules/reducer.js
2017-10-26 13:57:12 +08:00

29 lines
609 B
JavaScript
Executable File

import { combineReducers } from 'redux';
import user from './user.js'
import group from './group.js'
import project from './project.js'
import inter from './interface.js'
import interfaceCol from './interfaceCol.js'
import news from './news.js'
import addInterface from './addInterface.js'
import menu from './menu.js'
import follow from './follow.js'
import { emitHook } from 'client/plugin.js'
const reducerModules = {
group,
user,
inter,
interfaceCol,
project,
news,
addInterface,
menu,
follow
}
emitHook('add_reducer', reducerModules);
export default combineReducers(reducerModules)