Changeset 68a1d2f for src/Clients
- Timestamp:
- 10/21/21 21:45:51 (3 years ago)
- Branches:
- dev
- Children:
- 2b66157
- Parents:
- eb21f00
- Location:
- src/Clients/Angular/finki-chattery/src/app
- Files:
-
- 3 added
- 3 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Clients/Angular/finki-chattery/src/app/app.component.html
reb21f00 r68a1d2f 1 1 <main> 2 2 <mat-progress-bar class="global-loader" [class.hidden]="!(loader.isLoading | async)" mode="indeterminate"></mat-progress-bar> 3 <app-header></app-header> 3 4 <router-outlet></router-outlet> 4 5 </main> -
src/Clients/Angular/finki-chattery/src/app/app.module.ts
reb21f00 r68a1d2f 10 10 import { CoreModule } from './core/core.module'; 11 11 import { translateConfiguration, TranslateFromJsonService } from './shared-app/services'; 12 import { SharedMaterialModule } from './shared-material/shared-material.module';13 12 14 13 @NgModule({ … … 18 17 AppRoutingModule, 19 18 CoreModule, 20 SharedMaterialModule,21 19 BrowserAnimationsModule, 22 20 ToastrModule.forRoot(), -
src/Clients/Angular/finki-chattery/src/app/core/core.module.ts
reb21f00 r68a1d2f 11 11 import { GUARDS } from './guards/guards'; 12 12 import { LoaderInterceptor } from './interceptors/loader.interceptor'; 13 import { SERVICES } from './services/services';14 13 import { reducers } from './state'; 15 14 import { TokenInterceptor } from './interceptors/token.interceptor'; … … 21 20 declarations: [COMPONENTS], 22 21 providers: [ 23 SERVICES,24 22 GUARDS, 25 23 { provide: HTTP_INTERCEPTORS, useClass: LoaderInterceptor, multi: true }, … … 39 37 EffectsModule.forRoot([QuestionEffects, CategoriesEffects]) 40 38 ], 41 exports: [HttpClientModule, COMPONENTS]39 exports: [HttpClientModule, SharedAppModule, COMPONENTS] 42 40 }) 43 41 export class CoreModule {} -
src/Clients/Angular/finki-chattery/src/app/core/services/redirect.service.ts
reb21f00 r68a1d2f 20 20 switch (currentUser.userType) { 21 21 case ApplicationUserType.Student: 22 this.router.navigateByUrl(`questioning/preview`); 23 22 24 break; 23 25 case ApplicationUserType.Teacher: -
src/Clients/Angular/finki-chattery/src/app/core/services/services.ts
reb21f00 r68a1d2f 1 export const SERVICES: any[] = []; -
src/Clients/Angular/finki-chattery/src/app/core/state/category-state/category.actions.ts
reb21f00 r68a1d2f 1 1 import { HttpErrorResponse } from '@angular/common/http'; 2 2 import { Action } from '@ngrx/store'; 3 import { CategoryStateViewModel } from 'src/app/shared-app/models'; 3 4 import { CategoryStateResponse } from './category-state.models'; 4 5 … … 20 21 readonly type = CategoryActionTypes.GetCategoriesStateSuccess; 21 22 22 constructor(public payload: CategoryState Response[]) {}23 constructor(public payload: CategoryStateViewModel[]) {} 23 24 } 24 25 -
src/Clients/Angular/finki-chattery/src/app/shared-app/components/components.ts
reb21f00 r68a1d2f 2 2 import { FileUploadComponent } from './generic/file-upload/file-upload.component'; 3 3 import { FormErrorComponent } from './generic/form-error/form-error.component'; 4 import { HeaderComponent } from './generic/header/header.component'; 4 5 import { VoteComponent } from './generic/vote/vote.component'; 5 6 import { QuestionPreviewComponent } from './question/question-preview/question-preview.component'; … … 12 13 QuestionPreviewComponent, 13 14 VoteComponent, 14 StudentCardComponent 15 StudentCardComponent, 16 HeaderComponent 15 17 ];
Note:
See TracChangeset
for help on using the changeset viewer.