cohort.module.ts 860B

123456789101112131415161718192021222324
  1. import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
  2. import { RouterModule } from '@angular/router';
  3. import { ZipConnectSharedModule } from 'app/shared';
  4. import {
  5. CohortComponent,
  6. CohortDetailComponent,
  7. CohortUpdateComponent,
  8. CohortDeletePopupComponent,
  9. CohortDeleteDialogComponent,
  10. cohortRoute,
  11. cohortPopupRoute
  12. } from './';
  13. const ENTITY_STATES = [...cohortRoute, ...cohortPopupRoute];
  14. @NgModule({
  15. imports: [ZipConnectSharedModule, RouterModule.forChild(ENTITY_STATES)],
  16. declarations: [CohortComponent, CohortDetailComponent, CohortUpdateComponent, CohortDeleteDialogComponent, CohortDeletePopupComponent],
  17. entryComponents: [CohortComponent, CohortUpdateComponent, CohortDeleteDialogComponent, CohortDeletePopupComponent],
  18. schemas: [CUSTOM_ELEMENTS_SCHEMA]
  19. })
  20. export class ZipConnectCohortModule {}