source: src/Clients/Angular/finki-chattery/src/app/core/state/index.ts

dev
Last change on this file was 31c006c, checked in by Стојков Марко <mst@…>, 3 years ago

Add categories endpoint and state for categories, added questions preview component

  • Property mode set to 100644
File size: 539 bytes
Line 
1import { ActionReducerMap } from '@ngrx/store';
2import { QuestionState } from './question-state/question.state';
3import { reducer as questionReducer } from './question-state/question.reducers';
4import { CategoryState } from './category-state/category.state';
5import { reducer as categoryReducer } from './category-state/category.reducers';
6
7export interface State {
8 question: QuestionState;
9 category: CategoryState;
10}
11
12export const reducers: ActionReducerMap<State, any> = {
13 question: questionReducer,
14 category: categoryReducer
15};
Note: See TracBrowser for help on using the repository browser.