preservation-planning-deposit.module.ts 1.39 KB
Newer Older
1
2
3
4
5
import {NgModule} from "@angular/core";
import {SharedModule} from "@app/shared/shared.module";
import {TranslateModule} from "@ngx-translate/core";
import {NgxsModule} from "@ngxs/store";
import {PreservationPlanningDepositListRoutable} from "@preservation-planning/deposit/components/routables/deposit-list/preservation-planning-deposit-list.routable";
Florent POITTEVIN's avatar
Florent POITTEVIN committed
6
7
import {PreservationPlanningDepositRoutingModule} from "@preservation-planning/deposit/preservation-planning-deposit-routing.module";
import {PreservationPlanningDepositState} from "@preservation-planning/deposit/stores/preservation-planning-deposit.state";
8
import {PreservationPlanningDepositStatusHistoryState} from "@preservation-planning/deposit/stores/status-history/preservation-planning-deposit-status-history.state";
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

const routables = [
  PreservationPlanningDepositListRoutable,
];
const containers = [];
const dialogs = [];
const presentationals = [
];

@NgModule({
  declarations: [
    ...routables,
    ...containers,
    ...dialogs,
    ...presentationals,
  ],
  imports: [
    SharedModule,
    PreservationPlanningDepositRoutingModule,
    TranslateModule.forChild({}),
    NgxsModule.forFeature([
      PreservationPlanningDepositState,
31
      PreservationPlanningDepositStatusHistoryState,
32
33
34
35
36
37
38
39
40
41
42
43
    ]),
  ],
  entryComponents: [
    ...dialogs,
  ],
  exports: [
    ...routables,
  ],
  providers: [],
})
export class PreservationPlanningDepositModule {
}