Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { StatementCalculationCacheModule } from '@amalia/payout-calculation/compute-engine/core-statement-calculation-cache';
import { DesignerModule } from '@amalia/payout-definition/designer/core';
import { AdminScopesAuthModule } from '@amalia/tenants/companies/admin-scopes/auth';
import { CompaniesModule } from '@amalia/tenants/companies/core';
import { ComputePlanTemplateHandler } from './cqrs/compute-plan-template.handler';
import { BuildAndSavePlanTemplateUseCase } from './cqrs/use-cases/build-and-save-plan-template.use-case';
import { PlanTemplateController } from './planTemplate.controller';
import { PlanTemplateService } from './planTemplate.service';
export { BuildAndSavePlanTemplateUseCase, PlanTemplateService };
@Module({
imports: [
TypeOrmModule.forFeature([]),
CompaniesModule,
DesignerModule,
StatementCalculationCacheModule,
AdminScopesAuthModule,
],
providers: [PlanTemplateService, ComputePlanTemplateHandler, BuildAndSavePlanTemplateUseCase],
controllers: [PlanTemplateController],
exports: [PlanTemplateService, BuildAndSavePlanTemplateUseCase],
})
export class PlanTemplateModule {}
|