dev
Last change
on this file was 31c006c, checked in by Стојков Марко <mst@…>, 4 years ago |
Add categories endpoint and state for categories, added questions preview component
|
-
Property mode
set to
100644
|
File size:
539 bytes
|
Line | |
---|
1 | import { ActionReducerMap } from '@ngrx/store';
|
---|
2 | import { QuestionState } from './question-state/question.state';
|
---|
3 | import { reducer as questionReducer } from './question-state/question.reducers';
|
---|
4 | import { CategoryState } from './category-state/category.state';
|
---|
5 | import { reducer as categoryReducer } from './category-state/category.reducers';
|
---|
6 |
|
---|
7 | export interface State {
|
---|
8 | question: QuestionState;
|
---|
9 | category: CategoryState;
|
---|
10 | }
|
---|
11 |
|
---|
12 | export const reducers: ActionReducerMap<State, any> = {
|
---|
13 | question: questionReducer,
|
---|
14 | category: categoryReducer
|
---|
15 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.