16 lines
438 B
TypeScript
16 lines
438 B
TypeScript
import { combineReducers } from 'redux';
|
|
import { flagsReducer, FlagsState } from './flags';
|
|
import { authReducer, AuthState } from './auth';
|
|
import { workgroupsReducer, WorkgroupsState } from './workgroups';
|
|
|
|
export interface RootState {
|
|
auth: AuthState,
|
|
flags: FlagsState,
|
|
workgroups: WorkgroupsState,
|
|
}
|
|
|
|
export const rootReducer = combineReducers({
|
|
flags: flagsReducer,
|
|
auth: authReducer,
|
|
workgroups: workgroupsReducer,
|
|
}); |