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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | 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 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 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 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 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 { CqrsModule } from '@nestjs/cqrs';
import { TypeOrmModule } from '@nestjs/typeorm';
import {
BadgeConfiguration,
Company,
Filter,
HighlightedKpi,
Plan,
PlanDashboard,
PlanForecast,
Rule,
RuleAssignment,
Statement,
Variable,
Workflow,
} from '@amalia/core/models';
import { WorkflowCampaignCoreModule } from '@amalia/payout-calculation/workflow-campaign/core';
import { PlanDashboardsCoreModule } from '@amalia/reporting/plan-dashboards/core';
import { CreatePlanBadgeConfigurationUseCase } from './use-cases/badges/create-badge-configuration/create-plan-badge-configuration.use-case';
import { DeletePlanBadgeConfigurationUseCase } from './use-cases/badges/delete-badge-configuration/delete-plan-badge-configuration.use-case';
import { PatchPlanBadgeConfigurationUseCase } from './use-cases/badges/patch-badge-configuration/patch-plan-badge-configuration.use-case';
import { CreatePlanCategoryUseCase } from './use-cases/categories/create-category/create-plan-category.use-case';
import { DeletePlanCategoryUseCase } from './use-cases/categories/delete-category/delete-plan-category.use-case';
import { PatchPlanCategoryUseCase } from './use-cases/categories/patch-category/patch-plan-category.use-case';
import { IsPlanDeletableUseCase } from './use-cases/delete-plan/is-deletable/is-plan-deletable.use-case';
import { DuplicatePlanUseCase } from './use-cases/duplicate-plan/duplicate-plan.use-case';
import { PatchPlanForecastingConfigurationUseCase } from './use-cases/forecast/patch-plan-forecast-configuration/patch-plan-forecasting-configuration.use-case';
import { SyncTokensToDisplayUseCase } from './use-cases/forecast/sync-tokens-to-display/sync-tokens-to-display.use-case';
import { PutPlanHighlightedKpisUseCase } from './use-cases/kpis/patch-plan-kpis/put-plan-highlighted-kpis.use-case';
import { PatchPlanUseCase } from './use-cases/patch-plan/patch-plan.use-case';
import { PutPlanRulesOrderUseCase } from './use-cases/put-plan-rules-order/put-plan-rules-order.use-case';
import { FindRuleIdWhereTokenIsUsedUseCase } from './use-cases/rules/find-ruleId-where-token-is-used.use-case';
import { GetRulePlanConfigurationUseCase } from './use-cases/rules/get-rule-plan-configuration.use-case';
import { ListRulesUseCase } from './use-cases/rules/list-rules.use-case';
import { PatchRuleAssignmentUseCase } from './use-cases/rules/patch-rule-assignment.use-case';
import { ImportTokenFromOtherPlanUseCase } from './use-cases/tokens/import-token-from-other-plan/import-token-from-other-plan.use-case';
import { IsPlanUnpublishableUseCase } from './use-cases/visibility/is-plan-unpublishable/is-plan-unpublishable.use-case';
import { PatchPlanVisibilityUseCase } from './use-cases/visibility/patch-plan-visibility/patch-plan-visibility.use-case';
import { PatchPlanWorkflowUseCase } from './use-cases/workflows/patch-plan-workflow/patch-plan-workflow.use-case';
export * from './events';
export {
CreatePlanBadgeConfigurationUseCase,
CreatePlanCategoryUseCase,
DeletePlanBadgeConfigurationUseCase,
DeletePlanCategoryUseCase,
DuplicatePlanUseCase,
FindRuleIdWhereTokenIsUsedUseCase,
GetRulePlanConfigurationUseCase,
ImportTokenFromOtherPlanUseCase,
IsPlanDeletableUseCase,
IsPlanUnpublishableUseCase,
ListRulesUseCase,
PatchPlanBadgeConfigurationUseCase,
PatchPlanCategoryUseCase,
PatchPlanForecastingConfigurationUseCase,
PatchPlanUseCase,
PatchPlanVisibilityUseCase,
PatchPlanWorkflowUseCase,
PatchRuleAssignmentUseCase,
PutPlanHighlightedKpisUseCase,
PutPlanRulesOrderUseCase,
SyncTokensToDisplayUseCase,
};
@Module({
imports: [
TypeOrmModule.forFeature([
BadgeConfiguration,
Company,
Filter,
HighlightedKpi,
Plan,
PlanDashboard,
PlanForecast,
Rule,
RuleAssignment,
Statement,
Variable,
Workflow,
]),
CqrsModule,
WorkflowCampaignCoreModule,
PlanDashboardsCoreModule,
],
providers: [
/* Use Cases */
CreatePlanBadgeConfigurationUseCase,
CreatePlanCategoryUseCase,
DeletePlanBadgeConfigurationUseCase,
DeletePlanCategoryUseCase,
DuplicatePlanUseCase,
FindRuleIdWhereTokenIsUsedUseCase,
GetRulePlanConfigurationUseCase,
ImportTokenFromOtherPlanUseCase,
IsPlanDeletableUseCase,
IsPlanUnpublishableUseCase,
ListRulesUseCase,
PatchPlanBadgeConfigurationUseCase,
PatchPlanCategoryUseCase,
PatchPlanForecastingConfigurationUseCase,
PatchPlanUseCase,
PatchPlanVisibilityUseCase,
PatchPlanWorkflowUseCase,
PatchRuleAssignmentUseCase,
PutPlanHighlightedKpisUseCase,
PutPlanRulesOrderUseCase,
SyncTokensToDisplayUseCase,
],
exports: [
/* Use Cases */
CreatePlanBadgeConfigurationUseCase,
CreatePlanCategoryUseCase,
DeletePlanBadgeConfigurationUseCase,
DeletePlanCategoryUseCase,
DuplicatePlanUseCase,
FindRuleIdWhereTokenIsUsedUseCase,
GetRulePlanConfigurationUseCase,
ImportTokenFromOtherPlanUseCase,
IsPlanDeletableUseCase,
IsPlanUnpublishableUseCase,
ListRulesUseCase,
PatchPlanBadgeConfigurationUseCase,
PatchPlanCategoryUseCase,
PatchPlanForecastingConfigurationUseCase,
PatchPlanUseCase,
PatchPlanVisibilityUseCase,
PatchPlanWorkflowUseCase,
PatchRuleAssignmentUseCase,
PutPlanHighlightedKpisUseCase,
PutPlanRulesOrderUseCase,
SyncTokensToDisplayUseCase,
],
})
export class CompensationDefinitionPlansCoreModule {}
|