App Reducer
Create application reducer and meta reducer.
import { ActionReducerMap, MetaReducer } from '@ngrx/store';
import { IEntityState } from '@briebug/ngrx-auto-entity';
import { environment } from '../../environments/environment';
export interface IAppState {
// todo: add each entity state interface to our application state interface
}
export type AppState = IAppState;
export const appReducer: ActionReducerMap<AppState> = {
// todo: add each entity reducer
};Last updated