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

37 lines 1.96 kB
"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. */ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __param = (this && this.__param) || function (paramIndex, decorator) { return function (target, key) { decorator(target, key, paramIndex); } }; Object.defineProperty(exports, "__esModule", { value: true }); exports.StepFunctionManager = void 0; const inversify_1 = require("inversify"); const clientManager_1 = require("../camunda-n-mq/clientManager"); const identifiers_1 = require("../config/constants/identifiers"); const tag_1 = require("../config/constants/tag"); let StepFunctionManager = class StepFunctionManager extends clientManager_1.ClientManager { constructor(client) { super(client); } }; StepFunctionManager = __decorate([ (0, inversify_1.injectable)(), __param(0, (0, inversify_1.inject)(identifiers_1.SERVICE_IDENTIFIER.camunda_client)), __param(0, (0, inversify_1.named)(tag_1.TAG.stepFunction)), __metadata("design:paramtypes", [Object]) ], StepFunctionManager); exports.StepFunctionManager = StepFunctionManager; //# sourceMappingURL=stepFunctionManager.js.map