23 lines
603 B
TypeScript
23 lines
603 B
TypeScript
import { ActionReducerMap } from '@ngrx/store'
|
|
import { LayoutState, layoutReducer } from './layout/layout-reducers'
|
|
import {
|
|
calendarReducer,
|
|
type CalendarState,
|
|
} from './calendar/calendar.reducer'
|
|
import {
|
|
authenticationReducer,
|
|
type AuthenticationState,
|
|
} from './authentication/authentication.reducer'
|
|
|
|
export interface RootReducerState {
|
|
authentication: AuthenticationState
|
|
layout: LayoutState
|
|
Calendar: CalendarState
|
|
}
|
|
|
|
export const rootReducer: ActionReducerMap<RootReducerState> = {
|
|
authentication: authenticationReducer,
|
|
layout: layoutReducer,
|
|
Calendar: calendarReducer,
|
|
}
|