New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@5minds/processcube_engine_sdk

Package Overview
Dependencies
Maintainers
4
Versions
949
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@5minds/processcube_engine_sdk - npm Package Compare versions

Comparing version 3.4.0-develop-f7c9c4-lj4ai9zk to 3.4.0-feature-d3d959-lje712dp

dist/amd/DataModels/FlowNodeInstance/BusinessRuleTaskInstance.js

3

dist/amd/DataModels/FlowNodeInstance/index.js

@@ -15,3 +15,3 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

};
define(["require", "exports", "./FlowNodeInstance", "./FlowNodeInstanceResult", "./ProcessToken", "./Queries", "./TokenHistory", "./CallActivityInstance", "./EmptyActivityInstance", "./EventInstance", "./ManualTaskInstance", "./ReceiveTaskInstance", "./ServiceTaskInstance", "./SubprocessInstance", "./UserTaskInstance"], function (require, exports, FlowNodeInstance_1, FlowNodeInstanceResult_1, ProcessToken_1, Queries_1, TokenHistory_1, CallActivityInstance_1, EmptyActivityInstance_1, EventInstance_1, ManualTaskInstance_1, ReceiveTaskInstance_1, ServiceTaskInstance_1, SubprocessInstance_1, UserTaskInstance_1) {
define(["require", "exports", "./FlowNodeInstance", "./FlowNodeInstanceResult", "./ProcessToken", "./Queries", "./TokenHistory", "./BusinessRuleTaskInstance", "./CallActivityInstance", "./EmptyActivityInstance", "./EventInstance", "./ManualTaskInstance", "./ReceiveTaskInstance", "./ServiceTaskInstance", "./SubprocessInstance", "./UserTaskInstance"], function (require, exports, FlowNodeInstance_1, FlowNodeInstanceResult_1, ProcessToken_1, Queries_1, TokenHistory_1, BusinessRuleTaskInstance_1, CallActivityInstance_1, EmptyActivityInstance_1, EventInstance_1, ManualTaskInstance_1, ReceiveTaskInstance_1, ServiceTaskInstance_1, SubprocessInstance_1, UserTaskInstance_1) {
"use strict";

@@ -24,2 +24,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

__exportStar(TokenHistory_1, exports);
__exportStar(BusinessRuleTaskInstance_1, exports);
__exportStar(CallActivityInstance_1, exports);

@@ -26,0 +27,0 @@ __exportStar(EmptyActivityInstance_1, exports);

@@ -28,3 +28,3 @@ define(["require", "exports", "../../../../Model/index", "../../../TypeFactory", "./ActivityFactory", "./ExtensionPropertyParser"], function (require, exports, index_1, TypeFactory_1, ActivityFactory_1, ExtensionPropertyParser_1) {

function parseBusinessRuleTask(businessRuletasksRaw) {
var _a, _b, _c;
var _a, _b, _c, _d, _e, _f, _g;
const businessRuleTask = (0, ActivityFactory_1.createActivityInstance)(businessRuletasksRaw, index_1.Model.Activities.BusinessRuleTask);

@@ -34,2 +34,6 @@ businessRuleTask.decisionRef = (_a = (0, ExtensionPropertyParser_1.findExtensionPropertyByName)('decisionRef', businessRuleTask.extensionElements.camundaExtensionProperties)) === null || _a === void 0 ? void 0 : _a.value;

businessRuleTask.decisionRefVersion = (_c = (0, ExtensionPropertyParser_1.findExtensionPropertyByName)('decisionRefVersion', businessRuleTask.extensionElements.camundaExtensionProperties)) === null || _c === void 0 ? void 0 : _c.value;
businessRuleTask.topic = businessRuletasksRaw[index_1.BpmnTags.CamundaProperty.Topic];
const extensionProperties = (_e = (_d = businessRuleTask.extensionElements) === null || _d === void 0 ? void 0 : _d.camundaExtensionProperties) !== null && _e !== void 0 ? _e : [];
businessRuleTask.payload = (_f = (0, ExtensionPropertyParser_1.findExtensionPropertyByName)('payload', extensionProperties)) === null || _f === void 0 ? void 0 : _f.value;
businessRuleTask.isSingleTry = ((_g = (0, ExtensionPropertyParser_1.findExtensionPropertyByName)('engine.isSingleTry', extensionProperties)) === null || _g === void 0 ? void 0 : _g.value) === 'true';
return businessRuleTask;

@@ -36,0 +40,0 @@ }

@@ -6,2 +6,8 @@ define(["require", "exports", "./ActivityViewModel"], function (require, exports, ActivityViewModel_1) {

class BusinessRuleTaskViewModel extends ActivityViewModel_1.ActivityViewModel {
constructor(businessRuleTask, processModel) {
super(businessRuleTask, processModel);
this.topic = businessRuleTask.topic;
this.payload = businessRuleTask.payload;
this.isSingleTry = businessRuleTask.isSingleTry;
}
}

@@ -8,0 +14,0 @@ exports.BusinessRuleTaskViewModel = BusinessRuleTaskViewModel;

@@ -22,2 +22,3 @@ "use strict";

__exportStar(require("./TokenHistory"), exports);
__exportStar(require("./BusinessRuleTaskInstance"), exports);
__exportStar(require("./CallActivityInstance"), exports);

@@ -24,0 +25,0 @@ __exportStar(require("./EmptyActivityInstance"), exports);

@@ -31,3 +31,3 @@ "use strict";

function parseBusinessRuleTask(businessRuletasksRaw) {
var _a, _b, _c;
var _a, _b, _c, _d, _e, _f, _g;
const businessRuleTask = (0, ActivityFactory_1.createActivityInstance)(businessRuletasksRaw, index_1.Model.Activities.BusinessRuleTask);

@@ -37,4 +37,8 @@ businessRuleTask.decisionRef = (_a = (0, ExtensionPropertyParser_1.findExtensionPropertyByName)('decisionRef', businessRuleTask.extensionElements.camundaExtensionProperties)) === null || _a === void 0 ? void 0 : _a.value;

businessRuleTask.decisionRefVersion = (_c = (0, ExtensionPropertyParser_1.findExtensionPropertyByName)('decisionRefVersion', businessRuleTask.extensionElements.camundaExtensionProperties)) === null || _c === void 0 ? void 0 : _c.value;
businessRuleTask.topic = businessRuletasksRaw[index_1.BpmnTags.CamundaProperty.Topic];
const extensionProperties = (_e = (_d = businessRuleTask.extensionElements) === null || _d === void 0 ? void 0 : _d.camundaExtensionProperties) !== null && _e !== void 0 ? _e : [];
businessRuleTask.payload = (_f = (0, ExtensionPropertyParser_1.findExtensionPropertyByName)('payload', extensionProperties)) === null || _f === void 0 ? void 0 : _f.value;
businessRuleTask.isSingleTry = ((_g = (0, ExtensionPropertyParser_1.findExtensionPropertyByName)('engine.isSingleTry', extensionProperties)) === null || _g === void 0 ? void 0 : _g.value) === 'true';
return businessRuleTask;
}
//# sourceMappingURL=BusinessRuleTaskParser.js.map

@@ -6,4 +6,10 @@ "use strict";

class BusinessRuleTaskViewModel extends ActivityViewModel_1.ActivityViewModel {
constructor(businessRuleTask, processModel) {
super(businessRuleTask, processModel);
this.topic = businessRuleTask.topic;
this.payload = businessRuleTask.payload;
this.isSingleTry = businessRuleTask.isSingleTry;
}
}
exports.BusinessRuleTaskViewModel = BusinessRuleTaskViewModel;
//# sourceMappingURL=BusinessRuleTaskViewModel.js.map

@@ -6,2 +6,3 @@ export * from './FlowNodeInstance';

export * from './TokenHistory';
export * from './BusinessRuleTaskInstance';
export * from './CallActivityInstance';

@@ -8,0 +9,0 @@ export * from './EmptyActivityInstance';

@@ -10,2 +10,14 @@ import { BpmnType } from '../Constants';

get bpmnType(): BpmnType;
/**
* The topic to use in conjunction with external ServiceTasks.
*/
topic?: string;
/**
* The payload to use in conjunction with external ServiceTasks.
*/
payload?: string;
/**
* If set to 'true', the Service Task will fail, if it is not processed after the first lock ends.
*/
isSingleTry?: boolean;
decisionRef: string;

@@ -12,0 +24,0 @@ decisionRefBinding: string;

@@ -0,3 +1,9 @@

import { BusinessRuleTask } from '../../Model/Activities';
import { ProcessModelLike } from '../BaseElementViewModel';
import { ActivityViewModel } from './ActivityViewModel';
export declare class BusinessRuleTaskViewModel extends ActivityViewModel {
topic?: string;
payload?: string;
isSingleTry?: boolean;
constructor(businessRuleTask: BusinessRuleTask, processModel: ProcessModelLike);
}
{
"name": "@5minds/processcube_engine_sdk",
"version": "3.4.0-develop-f7c9c4-lj4ai9zk",
"version": "3.4.0-feature-d3d959-lje712dp",
"description": "Software development kit for the Engine.",

@@ -9,3 +9,3 @@ "main": "dist/commonjs/index.js",

"type": "git",
"url": "git+https://github.com/atlas-engine/AtlasEngine.SDK.git"
"url": "git+https://github.com/atlas-engine/Engine.SDK.git"
},

@@ -23,5 +23,5 @@ "author": {

"license": "MIT",
"homepage": "https://github.com/atlas-engine/AtlasEngine.SDK#readme",
"homepage": "https://github.com/atlas-engine/Engine.SDK#readme",
"bugs": {
"url": "https://github.com/atlas-engine/AtlasEngine.SDK/issues"
"url": "https://github.com/atlas-engine/Engine.SDK/issues"
},

@@ -28,0 +28,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc