UNPKG

@villedemontreal/workit

Version:

Worker for Node.js system with pluggable clients that works with both AWS Step function and Camunda platform powered by TypeScript

16 lines 857 B
"use strict"; /* * Copyright (c) 2025 Ville de Montreal. All rights reserved. * Licensed under the MIT license. * See LICENSE file in the project root for full license information. */ Object.defineProperty(exports, "__esModule", { value: true }); const workit_bpm_client_1 = require("@villedemontreal/workit-bpm-client"); const workit_core_1 = require("@villedemontreal/workit-core"); const constants_1 = require("./constants"); const identifiers_1 = require("./constants/identifiers"); workit_core_1.kernel.bind(identifiers_1.SERVICE_IDENTIFIER.logger).toConstantValue(workit_bpm_client_1.camundaLogger).whenDefault(); Object.values(constants_1.constants.envs).forEach((env) => { workit_core_1.kernel.bind(identifiers_1.SERVICE_IDENTIFIER.logger).toConstantValue(workit_bpm_client_1.logger).whenNamed(env); }); //# sourceMappingURL=container.js.map