Changeset 6d639c9 for src


Ignore:
Timestamp:
10/14/21 19:17:36 (3 years ago)
Author:
Стојков Марко <mst@…>
Branches:
dev
Children:
f9983f5
Parents:
7f1a891
Message:

Ngrx store for question

Location:
src/Clients/Angular/finki-chattery/src/app
Files:
9 added
3 edited

Legend:

Unmodified
Added
Removed
  • src/Clients/Angular/finki-chattery/src/app/core/core.module.ts

    r7f1a891 r6d639c9  
    1414import { reducers } from './state';
    1515import { TokenInterceptor } from './interceptors/token.interceptor';
     16import { EffectsModule } from '@ngrx/effects';
     17import { QuestionEffects } from './state/question-state/question.effects';
    1618
    1719@NgModule({
     
    3335      maxAge: 25,
    3436      logOnly: !environment.production
    35     })
     37    }),
     38    EffectsModule.forRoot([QuestionEffects])
    3639  ],
    3740  exports: [HttpClientModule, COMPONENTS]
  • src/Clients/Angular/finki-chattery/src/app/core/state/index.ts

    r7f1a891 r6d639c9  
    11import { ActionReducerMap } from '@ngrx/store';
     2import { QuestionState } from './question-state/question.state';
     3import { reducer as questionReducer } from './question-state/question.reducers';
    24
    3 export interface State {}
     5export interface State {
     6  question: QuestionState;
     7}
    48
    5 export const reducers: ActionReducerMap<State, any> = {};
     9export const reducers: ActionReducerMap<State, any> = {
     10  question: questionReducer
     11};
  • src/Clients/Angular/finki-chattery/src/app/shared-app/models/index.ts

    r7f1a891 r6d639c9  
    11export * from './error.models';
    22export * from './user.models';
     3export * from './question-state-view-models.models';
Note: See TracChangeset for help on using the changeset viewer.