UNPKG

@bitloops/bl-transpiler

Version:
26 lines 767 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BoundedContextModuleBuilder = void 0; class BoundedContextModuleBuilder { boundedContext; module; withBoundedContext(boundedContext) { this.boundedContext = boundedContext; return this; } withModule(module) { this.module = module; return this; } build() { const boundedContextModule = { boundedContextModule: { boundedContextName: this.boundedContext, moduleName: this.module, }, }; return boundedContextModule; } } exports.BoundedContextModuleBuilder = BoundedContextModuleBuilder; //# sourceMappingURL=boundedContextModuleBuilder.js.map