post.module.ts 909B

12345678910111213141516171819202122232425
  1. import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
  2. import { RouterModule } from '@angular/router';
  3. import { ZipConnectSharedModule } from 'app/shared';
  4. import { ZipConnectAdminModule } from 'app/admin/admin.module';
  5. import {
  6. PostComponent,
  7. PostDetailComponent,
  8. PostUpdateComponent,
  9. PostDeletePopupComponent,
  10. PostDeleteDialogComponent,
  11. postRoute,
  12. postPopupRoute
  13. } from './';
  14. const ENTITY_STATES = [...postRoute, ...postPopupRoute];
  15. @NgModule({
  16. imports: [ZipConnectSharedModule, ZipConnectAdminModule, RouterModule.forChild(ENTITY_STATES)],
  17. declarations: [PostComponent, PostDetailComponent, PostUpdateComponent, PostDeleteDialogComponent, PostDeletePopupComponent],
  18. entryComponents: [PostComponent, PostUpdateComponent, PostDeleteDialogComponent, PostDeletePopupComponent],
  19. schemas: [CUSTOM_ELEMENTS_SCHEMA]
  20. })
  21. export class ZipConnectPostModule {}