UNPKG

@notjustcoders/ioc-arise

Version:

Arise type-safe IoC containers from your code. Zero overhead, zero coupling.

30 lines 1.11 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ContainerAggregator = void 0; /** * Responsible for aggregating module containers into a single container. */ const shared_1 = require("../shared"); class ContainerAggregator { /** * Generates the aggregated container code. */ generateAggregatedContainer(sortedModules) { return shared_1.InstantiationUtils.generateAggregatedContainer(sortedModules); } /** * Generates the type export for the container. */ generateModularTypeExport() { return shared_1.InstantiationUtils.generateModularContainerTypeExport(); } /** * Generates the type export for the container with path injection utilities. * @param outputPath Path to the container file to check for existing onInit content */ generateModularTypeExportWithPathUtils(outputPath) { return shared_1.InstantiationUtils.generateModularContainerTypeExportWithPathUtils(outputPath); } } exports.ContainerAggregator = ContainerAggregator; //# sourceMappingURL=container-aggregator.js.map