All files / libs/payout-calculation/compute-engine/core-plan-template/src/planTemplate planTemplate.module.ts

100% Statements 28/28
100% Branches 1/1
50% Functions 1/2
100% Lines 28/28

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 291x 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 {}