@5minds/processcube_engine_sdk
Advanced tools
Comparing version 6.1.0-develop-c89ad8-m2ipl4zp to 6.1.0-develop-c9b242-m6i99i4q
@@ -9,2 +9,3 @@ "use strict"; | ||
DataObjectSortableColumns["processModelId"] = "processModelId"; | ||
DataObjectSortableColumns["embeddedProcessModelId"] = "embeddedProcessModelId"; | ||
DataObjectSortableColumns["processInstanceId"] = "processInstanceId"; | ||
@@ -11,0 +12,0 @@ DataObjectSortableColumns["flowNodeInstanceId"] = "flowNodeInstanceId"; |
@@ -41,2 +41,4 @@ "use strict"; | ||
FlowNodeInstanceSortableColumns["processModelId"] = "processModelId"; | ||
FlowNodeInstanceSortableColumns["embeddedProcessModelId"] = "embeddedProcessModelId"; | ||
FlowNodeInstanceSortableColumns["processModelName"] = "processModelName"; | ||
FlowNodeInstanceSortableColumns["processInstanceId"] = "processInstanceId"; | ||
@@ -43,0 +45,0 @@ FlowNodeInstanceSortableColumns["correlationId"] = "correlationId"; |
@@ -18,9 +18,19 @@ "use strict"; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importStar = (this && this.__importStar) || (function () { | ||
var ownKeys = function(o) { | ||
ownKeys = Object.getOwnPropertyNames || function (o) { | ||
var ar = []; | ||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; | ||
return ar; | ||
}; | ||
return ownKeys(o); | ||
}; | ||
return function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
})(); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
@@ -27,0 +37,0 @@ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); |
@@ -13,2 +13,3 @@ "use strict"; | ||
ProcessInstanceSortableColumns["processModelHash"] = "processModelHash"; | ||
ProcessInstanceSortableColumns["embeddedProcessModelId"] = "embeddedProcessModelId"; | ||
ProcessInstanceSortableColumns["ownerId"] = "ownerId"; | ||
@@ -15,0 +16,0 @@ ProcessInstanceSortableColumns["startedByRootAccessToken"] = "startedByRootAccessToken"; |
@@ -17,5 +17,5 @@ "use strict"; | ||
(function (EngineEventType) { | ||
EngineEventType["OnActivityError"] = "OnActivityError"; | ||
EngineEventType["OnEventProcessed"] = "OnEventProcessed"; | ||
EngineEventType["OnMessageTriggered"] = "OnMessageTriggered"; | ||
EngineEventType["OnSignalTriggered"] = "OnSignalTriggered"; | ||
EngineEventType["OnProcessDeployed"] = "OnProcessDeployed"; | ||
@@ -37,5 +37,3 @@ EngineEventType["OnProcessUndeployed"] = "OnProcessUndeployed"; | ||
EngineEventType["OnFlowNodeCallActivityResponseReceived"] = "OnFlowNodeCallActivityResponseReceived"; | ||
EngineEventType["OnFlowNodeEventSending"] = "OnFlowNodeEventSending"; | ||
EngineEventType["OnFlowNodeEventRetrySending"] = "OnFlowNodeEventRetrySending"; | ||
EngineEventType["OnFlowNodeEventResponseReceived"] = "OnFlowNodeEventResponseReceived"; | ||
EngineEventType["OnFlowNodeSubProcessResponseReceived"] = "OnFlowNodeSubProcessResponseReceived"; | ||
EngineEventType["OnFlowNodeTimerStarted"] = "OnFlowNodeTimerStarted"; | ||
@@ -42,0 +40,0 @@ EngineEventType["OnFlowNodeTimerRemoved"] = "OnFlowNodeTimerRemoved"; |
@@ -18,9 +18,19 @@ "use strict"; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importStar = (this && this.__importStar) || (function () { | ||
var ownKeys = function(o) { | ||
ownKeys = Object.getOwnPropertyNames || function (o) { | ||
var ar = []; | ||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; | ||
return ar; | ||
}; | ||
return ownKeys(o); | ||
}; | ||
return function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
})(); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
@@ -27,0 +37,0 @@ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); |
@@ -18,9 +18,19 @@ "use strict"; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importStar = (this && this.__importStar) || (function () { | ||
var ownKeys = function(o) { | ||
ownKeys = Object.getOwnPropertyNames || function (o) { | ||
var ar = []; | ||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; | ||
return ar; | ||
}; | ||
return ownKeys(o); | ||
}; | ||
return function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -27,0 +37,0 @@ exports.BaseError = void 0; |
@@ -18,9 +18,19 @@ "use strict"; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importStar = (this && this.__importStar) || (function () { | ||
var ownKeys = function(o) { | ||
ownKeys = Object.getOwnPropertyNames || function (o) { | ||
var ar = []; | ||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; | ||
return ar; | ||
}; | ||
return ownKeys(o); | ||
}; | ||
return function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
})(); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
@@ -27,0 +37,0 @@ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); |
@@ -57,7 +57,9 @@ "use strict"; | ||
extensionElements; | ||
embeddedSubProcesses; | ||
/** | ||
* Returns all StartEvents contained in this process. | ||
*/ | ||
getStartEvents() { | ||
return this.flowNodes.filter((entry) => entry.bpmnType === Constants_1.BpmnType.startEvent); | ||
getStartEvents(includeEmbeddedSubProcess = false) { | ||
const flowNodes = includeEmbeddedSubProcess ? this.getAllFlowNodes() : this.flowNodes; | ||
return flowNodes.filter((entry) => entry.bpmnType === Constants_1.BpmnType.startEvent); | ||
} | ||
@@ -67,4 +69,5 @@ /** | ||
*/ | ||
getEndEvents() { | ||
return this.flowNodes.filter((entry) => entry.bpmnType === Constants_1.BpmnType.endEvent); | ||
getEndEvents(includeEmbeddedSubProcess = false) { | ||
const flowNodes = includeEmbeddedSubProcess ? this.getAllFlowNodes() : this.flowNodes; | ||
return flowNodes.filter((entry) => entry.bpmnType === Constants_1.BpmnType.endEvent); | ||
} | ||
@@ -74,7 +77,40 @@ /** | ||
*/ | ||
getFlowNodesByType(bpmnType) { | ||
return this.flowNodes.filter((entry) => entry.bpmnType === bpmnType); | ||
getFlowNodesByType(bpmnType, includeEmbeddedSubProcess = false) { | ||
const flowNodes = includeEmbeddedSubProcess ? this.getAllFlowNodes() : this.flowNodes; | ||
return flowNodes.filter((entry) => entry.bpmnType === bpmnType); | ||
} | ||
/** | ||
* Returns all SubProcess Activities in this process; | ||
*/ | ||
getAllEmbeddedSubProcesses() { | ||
if (!this.embeddedSubProcesses) { | ||
const findSubSubProcesses = (subProcess) => { | ||
const subSubProcesses = subProcess.flowNodes.filter((entry) => entry.bpmnType === Constants_1.BpmnType.subProcess); | ||
return [subProcess, ...subSubProcesses.flatMap(findSubSubProcesses)]; | ||
}; | ||
const embeddedSubProcesses = this.flowNodes.filter((entry) => entry.bpmnType === Constants_1.BpmnType.subProcess).flatMap(findSubSubProcesses); | ||
this.embeddedSubProcesses = embeddedSubProcesses; | ||
} | ||
return this.embeddedSubProcesses; | ||
} | ||
/** | ||
* Returns FlowNodes of the Model and all embedded Models | ||
*/ | ||
getAllFlowNodes() { | ||
return [this.flowNodes, this.getAllEmbeddedSubProcesses().map((subProcess) => subProcess.flowNodes)].flat(2); | ||
} | ||
/** | ||
* Returns SequenceFlows of the Model and all embedded Models | ||
*/ | ||
getAllSequenceFlows() { | ||
return [this.sequenceFlows, this.getAllEmbeddedSubProcesses().map((subProcess) => subProcess.sequenceFlows)].flat(2); | ||
} | ||
/** | ||
* Returns DataObjectReferences of the Model and all embedded Models | ||
*/ | ||
getAllDataObjectReferences() { | ||
return [this.dataObjectReferences, this.getAllEmbeddedSubProcesses().map((subProcess) => subProcess.dataObjectReferences)].flat(2); | ||
} | ||
} | ||
exports.Process = Process; | ||
//# sourceMappingURL=Process.js.map |
@@ -18,3 +18,2 @@ "use strict"; | ||
__exportStar(require("./ProcessModelFacade"), exports); | ||
__exportStar(require("./SubProcessModelFacade"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -6,7 +6,7 @@ "use strict"; | ||
const index_2 = require("../Model/index"); | ||
const index_3 = require("./index"); | ||
const isUniqueFlowNode = (fn, index, array) => array.findIndex((fn2) => fn2.id === fn.id) === index; | ||
class ProcessModelFacade { | ||
processModel; | ||
constructor(processModel) { | ||
parentFacade; | ||
constructor(processModel, parentFacade) { | ||
if (!processModel) { | ||
@@ -16,2 +16,3 @@ throw new index_1.BadRequestError('Must provide a ProcessModel in order to use the ProcessModelFacade!'); | ||
this.processModel = processModel; | ||
this.parentFacade = parentFacade; | ||
} | ||
@@ -21,11 +22,8 @@ getIsExecutable() { | ||
} | ||
getSubProcessModelFacade(subProcessNode) { | ||
return new index_3.SubProcessModelFacade(this.processModel, subProcessNode); | ||
getFlowNodesByType(flowNodeType, includeEmbeddedSubProcess = false) { | ||
return this.processModel.getFlowNodesByType(flowNodeType, includeEmbeddedSubProcess); | ||
} | ||
getFlowNodesByType(flowNodeType) { | ||
return this.processModel.getFlowNodesByType(flowNodeType); | ||
getStartEvents(includeEmbeddedSubProcess = false) { | ||
return this.processModel.getStartEvents(includeEmbeddedSubProcess); | ||
} | ||
getStartEvents() { | ||
return this.filterFlowNodesByType(index_2.BpmnType.startEvent); | ||
} | ||
getSingleStartEvent() { | ||
@@ -35,4 +33,4 @@ const startEvents = this.getStartEvents(); | ||
} | ||
getStartEventById(startEventId) { | ||
const startEvents = this.getStartEvents(); | ||
getStartEventById(startEventId, includeEmbeddedSubProcess = false) { | ||
const startEvents = this.getStartEvents(includeEmbeddedSubProcess); | ||
const matchingStartEvent = startEvents.find((startEvent) => startEvent.id === startEventId); | ||
@@ -44,10 +42,11 @@ if (!matchingStartEvent) { | ||
} | ||
getEndEvents() { | ||
return this.filterFlowNodesByType(index_2.BpmnType.endEvent); | ||
getEndEvents(includeEmbeddedSubProcess = false) { | ||
return this.processModel.getEndEvents(includeEmbeddedSubProcess); | ||
} | ||
getUserTasks() { | ||
return this.filterFlowNodesByType(index_2.BpmnType.userTask); | ||
getUserTasks(includeEmbeddedSubProcess = false) { | ||
return this.processModel.getFlowNodesByType(index_2.BpmnType.userTask, includeEmbeddedSubProcess); | ||
} | ||
getFlowNodeById(flowNodeId) { | ||
return this.processModel.flowNodes.find((currentFlowNode) => currentFlowNode.id === flowNodeId); | ||
getFlowNodeById(flowNodeId, includeEmbeddedSubProcess = false) { | ||
const flowNodes = includeEmbeddedSubProcess ? this.processModel.getAllFlowNodes() : this.processModel.flowNodes; | ||
return flowNodes.find((currentFlowNode) => currentFlowNode.id === flowNodeId); | ||
} | ||
@@ -62,3 +61,4 @@ getProcessModelHasLanes() { | ||
} | ||
const matchingLane = this.findLaneForFlowNodeIdFromLaneSet(flowNodeId, this.processModel.laneSet); | ||
const isFlowNodeInSubProcess = this.getFlowNodeById(flowNodeId) === undefined; | ||
const matchingLane = this.findLaneForFlowNodeIdFromLaneSet(isFlowNodeInSubProcess ? this.findParentSubProcessNode(flowNodeId, this.getFlowNodesByType(index_2.BpmnType.subProcess, true)) : flowNodeId, this.processModel.laneSet); | ||
return matchingLane; | ||
@@ -91,4 +91,5 @@ } | ||
} | ||
getBoundaryEventsFor(flowNode) { | ||
const boundaryEvents = this.processModel.flowNodes.filter((currentFlowNode) => { | ||
getBoundaryEventsFor(flowNode, includeEmbeddedSubProcess = false) { | ||
const flowNodes = includeEmbeddedSubProcess ? this.processModel.getAllFlowNodes() : this.processModel.flowNodes; | ||
const boundaryEvents = flowNodes.filter((currentFlowNode) => { | ||
const isBoundaryEvent = currentFlowNode.bpmnType === index_2.BpmnType.boundaryEvent; | ||
@@ -100,7 +101,15 @@ const boundaryEventIsAttachedToFlowNode = currentFlowNode.attachedToRef === flowNode.id; | ||
} | ||
getPreviousFlowNodesFor(flowNode, stopAtBoundaryEvent = false) { | ||
getPreviousFlowNodesFor(flowNode, stopAtBoundaryEvent = false, includeEmbeddedSubProcess = false) { | ||
// First find the SequenceFlows that contain the FlowNodes next targets | ||
const sequenceFlows = this.processModel.sequenceFlows.filter((sf) => sf.targetRef === flowNode.id); | ||
const allSequenceFlows = includeEmbeddedSubProcess ? this.processModel.getAllSequenceFlows() : this.processModel.sequenceFlows; | ||
const allFlowNodes = includeEmbeddedSubProcess ? this.processModel.getAllFlowNodes() : this.processModel.flowNodes; | ||
const sequenceFlows = allSequenceFlows.filter((sf) => sf.targetRef === flowNode.id); | ||
const flowHasNoSource = sequenceFlows.length === 0; | ||
if (flowHasNoSource) { | ||
if (includeEmbeddedSubProcess && flowNode.bpmnType === index_2.BpmnType.startEvent) { | ||
const subProcessActivity = this.processModel.getAllEmbeddedSubProcesses().find((subProcess) => { | ||
return subProcess.flowNodes.find((fn) => fn.id === flowNode.id); | ||
}); | ||
return subProcessActivity ? [subProcessActivity] : []; | ||
} | ||
return undefined; | ||
@@ -110,7 +119,7 @@ } | ||
const previousFlowNodes = sequenceFlows.map((sf) => { | ||
const sourceNode = this.processModel.flowNodes.find((fn) => fn.id === sf.sourceRef); | ||
const sourceNode = allFlowNodes.find((fn) => fn.id === sf.sourceRef); | ||
// If the sourceNode happens to be a BoundaryEvent, return the Node that the BoundaryEvent is attached to. | ||
const sourceNodeIsBoundaryEvent = sourceNode.bpmnType === index_2.BpmnType.boundaryEvent; | ||
if (!stopAtBoundaryEvent && sourceNodeIsBoundaryEvent) { | ||
return this.processModel.flowNodes.find((fn) => fn.id === sourceNode.attachedToRef); | ||
return allFlowNodes.find((fn) => fn.id === sourceNode.attachedToRef); | ||
} | ||
@@ -218,2 +227,5 @@ return sourceNode; | ||
} | ||
getDataObjectReferenceById(id) { | ||
return this.processModel.dataObjectReferences.find((dataObjectRef) => dataObjectRef.id === id); | ||
} | ||
getInputDataObjectReferences() { | ||
@@ -227,11 +239,17 @@ return this.processModel.dataObjectReferences; | ||
} | ||
const dataStoreRefs = this.processModel.dataStoreReferences.map((ds) => ds.id); | ||
const connectedDataObjectReferences = flowNode.dataOutputAssociations | ||
?.map((dataOutputAssociation) => dataOutputAssociation.targetRef) | ||
.map((dataObjectRefId) => this.processModel.dataObjectReferences.find((dataObjectRef) => dataObjectRef.id === dataObjectRefId)) | ||
.filter((entry) => entry != undefined); | ||
.map((dataObjectRefId) => { | ||
const dataObjectRef = this.getDataObjectReferenceById(dataObjectRefId) ?? this.parentFacade?.getDataObjectReferenceById(dataObjectRefId); | ||
if (!dataObjectRef && !dataStoreRefs.includes(dataObjectRefId)) { | ||
throw new Error(`Invalid access at DataObject ${dataObjectRefId}.`); | ||
} | ||
return dataObjectRef; | ||
}) | ||
.filter((ref) => ref !== undefined); | ||
return connectedDataObjectReferences ?? []; | ||
} | ||
filterFlowNodesByType(type) { | ||
const flowNodes = this.processModel.flowNodes.filter((flowNode) => flowNode.bpmnType === type); | ||
return flowNodes; | ||
return this.processModel.getFlowNodesByType(type); | ||
} | ||
@@ -291,4 +309,12 @@ /** | ||
} | ||
findParentSubProcessNode(flowNodeId, subProcesses) { | ||
const subProcess = subProcesses.find((sp) => sp.flowNodes.some((fn) => fn.id === flowNodeId)); | ||
if (!subProcess) { | ||
return flowNodeId; | ||
} | ||
const isTopLevel = this.getFlowNodeById(subProcess.id) !== undefined; | ||
return isTopLevel ? subProcess.id : this.findParentSubProcessNode(subProcess.id, subProcesses); | ||
} | ||
} | ||
exports.ProcessModelFacade = ProcessModelFacade; | ||
//# sourceMappingURL=ProcessModelFacade.js.map |
@@ -18,9 +18,19 @@ "use strict"; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importStar = (this && this.__importStar) || (function () { | ||
var ownKeys = function(o) { | ||
ownKeys = Object.getOwnPropertyNames || function (o) { | ||
var ar = []; | ||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; | ||
return ar; | ||
}; | ||
return ownKeys(o); | ||
}; | ||
return function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -27,0 +37,0 @@ exports.BpmnModelParser = void 0; |
@@ -18,9 +18,19 @@ "use strict"; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importStar = (this && this.__importStar) || (function () { | ||
var ownKeys = function(o) { | ||
ownKeys = Object.getOwnPropertyNames || function (o) { | ||
var ar = []; | ||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; | ||
return ar; | ||
}; | ||
return ownKeys(o); | ||
}; | ||
return function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -27,0 +37,0 @@ exports.ActivityParsers = void 0; |
@@ -53,2 +53,3 @@ "use strict"; | ||
assignMessageChannel(event); | ||
assignSignalChannel(event); | ||
assignDataInputAssociations(event, eventRaw); | ||
@@ -76,2 +77,5 @@ assignDataOutputAssociations(event, eventRaw); | ||
} | ||
function isSignalEvent(event) { | ||
return event !== undefined; | ||
} | ||
function parseBoundaryEvents(processData) { | ||
@@ -99,2 +103,3 @@ const events = []; | ||
assignMessageChannel(boundaryEvent); | ||
assignSignalChannel(boundaryEvent); | ||
assignEventDefinition(boundaryEvent, boundaryEventRaw); | ||
@@ -128,2 +133,7 @@ setTriggerValueInEventPayload(boundaryEvent); | ||
} | ||
function assignSignalChannel(event) { | ||
if (isSignalEvent(event)) { | ||
event.signalChannel = (0, ExtensionPropertyParser_1.findCamundaExtensionPropertyByName)('engine.setSignalChannel', event.extensionElements.camundaExtensionProperties)?.value; | ||
} | ||
} | ||
function assignDataInputAssociations(instance, rawData) { | ||
@@ -130,0 +140,0 @@ const dataInputAssociationsRaw = (0, TypeFactory_1.getModelPropertyAsArray)(rawData, index_2.BpmnTags.FlowElementProperty.DataInputAssociation) ?? []; |
@@ -18,9 +18,19 @@ "use strict"; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importStar = (this && this.__importStar) || (function () { | ||
var ownKeys = function(o) { | ||
ownKeys = Object.getOwnPropertyNames || function (o) { | ||
var ar = []; | ||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; | ||
return ar; | ||
}; | ||
return ownKeys(o); | ||
}; | ||
return function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
})(); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -27,0 +37,0 @@ exports.FlowNodeParsers = void 0; |
@@ -14,2 +14,3 @@ "use strict"; | ||
messageChannel; | ||
signalChannel; | ||
constructor(boundaryEvent, processModel) { | ||
@@ -24,2 +25,3 @@ super(boundaryEvent, processModel); | ||
this.messageChannel = boundaryEvent.messageChannel; | ||
this.signalChannel = boundaryEvent.signalChannel; | ||
} | ||
@@ -26,0 +28,0 @@ } |
@@ -27,2 +27,5 @@ "use strict"; | ||
* type: string | ||
* signalChannel: | ||
* description: The channel to which the Signal End Event will send its signal. | ||
* type: string | ||
*/ | ||
@@ -34,2 +37,3 @@ class EndEventViewModel extends EventBaseViewModel_1.EventViewModel { | ||
messageChannel; | ||
signalChannel; | ||
constructor(endEvent, processModel) { | ||
@@ -41,2 +45,3 @@ super(endEvent, processModel); | ||
this.messageChannel = endEvent.messageChannel; | ||
this.signalChannel = endEvent.signalChannel; | ||
} | ||
@@ -43,0 +48,0 @@ } |
@@ -12,2 +12,3 @@ "use strict"; | ||
messageChannel; | ||
signalChannel; | ||
constructor(intermediateCatchEvent, processModel) { | ||
@@ -20,2 +21,3 @@ super(intermediateCatchEvent, processModel); | ||
this.messageChannel = intermediateCatchEvent.messageChannel; | ||
this.signalChannel = intermediateCatchEvent.signalChannel; | ||
} | ||
@@ -22,0 +24,0 @@ } |
@@ -8,2 +8,3 @@ "use strict"; | ||
messageChannel; | ||
signalChannel; | ||
constructor(intermediateThrowEvent, processModel) { | ||
@@ -13,2 +14,3 @@ super(intermediateThrowEvent, processModel); | ||
this.messageChannel = intermediateThrowEvent.messageChannel; | ||
this.signalChannel = intermediateThrowEvent.signalChannel; | ||
} | ||
@@ -15,0 +17,0 @@ } |
@@ -25,2 +25,5 @@ "use strict"; | ||
* type: string | ||
* signalChannel: | ||
* description: The channel on which the Signal Start Event will listen for signals. | ||
* type: string | ||
*/ | ||
@@ -31,2 +34,3 @@ class StartEventViewModel extends EventBaseViewModel_1.EventViewModel { | ||
messageChannel; | ||
signalChannel; | ||
constructor(startEvent, processModel) { | ||
@@ -37,2 +41,3 @@ super(startEvent, processModel); | ||
this.messageChannel = startEvent.messageChannel; | ||
this.signalChannel = startEvent.signalChannel; | ||
} | ||
@@ -39,0 +44,0 @@ } |
@@ -27,2 +27,5 @@ /** | ||
* type: string | ||
* embeddedProcessModelId: | ||
* description: The ID of the SubProcess that contains the data object | ||
* type: string | ||
* processInstanceId: | ||
@@ -48,2 +51,3 @@ * description: The ID of the process instance that contains the data object | ||
processModelId: string; | ||
embeddedProcessModelId?: string; | ||
processInstanceId: string; | ||
@@ -83,2 +87,3 @@ flowNodeInstanceId: string; | ||
processModelId?: Array<string> | string; | ||
embeddedProcessModelId?: Array<string> | string; | ||
processInstanceId?: Array<string> | string; | ||
@@ -92,2 +97,3 @@ flowNodeInstanceId?: Array<string> | string; | ||
processModelId = "processModelId", | ||
embeddedProcessModelId = "embeddedProcessModelId", | ||
processInstanceId = "processInstanceId", | ||
@@ -94,0 +100,0 @@ flowNodeInstanceId = "flowNodeInstanceId", |
@@ -46,2 +46,5 @@ /** | ||
* type: string | ||
* embeddedProcessModelId: | ||
* description: The ID of the SubProcess that contains the ExternalTask. | ||
* type: string | ||
* processInstanceId: | ||
@@ -92,2 +95,3 @@ * description: The ID of the ProcessInstance the ExternalTask belongs to. | ||
processModelId?: string; | ||
embeddedProcessModelId?: string; | ||
processInstanceId: string; | ||
@@ -94,0 +98,0 @@ ownerId: string; |
@@ -78,2 +78,8 @@ import { BpmnType, EventType } from '../../ProcessModel/index'; | ||
* type: string | ||
* embeddedProcessModelId: | ||
* description: The ID of the SubProcess that contains this FlowNodeInstance | ||
* type: string | ||
* processModelName: | ||
* description: The Name of the ProcessModel that contains this FlowNodeInstance | ||
* type: string | ||
* processInstanceId: | ||
@@ -145,2 +151,4 @@ * description: The ID of the ProcessInstance that contains this FlowNodeInstance | ||
processModelId: string; | ||
embeddedProcessModelId?: string; | ||
processModelName?: string; | ||
processInstanceId: string; | ||
@@ -205,2 +213,4 @@ correlationId: string; | ||
processModelId = "processModelId", | ||
embeddedProcessModelId = "embeddedProcessModelId", | ||
processModelName = "processModelName", | ||
processInstanceId = "processInstanceId", | ||
@@ -207,0 +217,0 @@ correlationId = "correlationId", |
@@ -11,2 +11,4 @@ import { BpmnType, EventType } from '../../ProcessModel/index'; | ||
processModelId?: Array<string> | string; | ||
embeddedProcessModelId?: Array<string> | string; | ||
processModelName?: Array<string> | string; | ||
processInstanceId?: Array<string> | string; | ||
@@ -13,0 +15,0 @@ correlationId?: Array<string> | string; |
@@ -58,2 +58,5 @@ import { EventType } from '../../ProcessModel/index'; | ||
* type: string | ||
* embeddedProcessModelId: | ||
* description: The id of the SubProcess that contains the executed process model. | ||
* type: string | ||
* processModelName: | ||
@@ -137,2 +140,3 @@ * description: The name of the executed process model. | ||
processModelId: string; | ||
embeddedProcessModelId?: string; | ||
processModelName?: string; | ||
@@ -139,0 +143,0 @@ processModelVersion?: string; |
@@ -66,2 +66,3 @@ import { EventType } from '../../ProcessModel/index'; | ||
processModelHash?: Array<string> | string | SearchQuery; | ||
embeddedProcessModelId?: Array<string> | string | SearchQuery; | ||
processModelVersion?: Array<string> | string | SearchQuery; | ||
@@ -103,2 +104,3 @@ ownerId?: Array<string> | string | SearchQuery; | ||
processModelHash = "processModelHash", | ||
embeddedProcessModelId = "embeddedProcessModelId", | ||
ownerId = "ownerId", | ||
@@ -105,0 +107,0 @@ startedByRootAccessToken = "startedByRootAccessToken", |
@@ -272,3 +272,3 @@ import * as express from 'express'; | ||
* @param correlationId Optional: The ID of a correlation to which the message should belong. | ||
* @param messageChannel Optional: The message channel to which the message is being sent. | ||
* @param messageChannel Optional: The message channel to which the message is being sent. | ||
* @returns A guid to identify the corresponding acknowledgement event. | ||
@@ -285,3 +285,3 @@ */ | ||
* @param correlationId Optional: The ID of a correlation to which the message should belong. | ||
* @param messageChannel Optional: The message channel to which the message is being sent. | ||
* @param messageChannel Optional: The message channel to which the message is being sent. | ||
* @returns A guid to identify the corresponding acknowledgement event. | ||
@@ -299,5 +299,6 @@ */ | ||
* @param correlationId Optional: The ID of a correlation to which the signal should belong. | ||
* @param signalChannel Optional: The signal channel to which the signal is being sent. | ||
* @returns A guid to identify the corresponding acknowledgement event. | ||
*/ | ||
triggerSignalEvent: <TPayload extends object>(signalName: string, payload?: TPayload, processInstanceId?: string, identity?: Identity, correlationId?: string) => Promise<string>; | ||
triggerSignalEvent: <TPayload extends object>(signalName: string, payload?: TPayload, processInstanceId?: string, identity?: Identity, correlationId?: string, signalChannel?: string) => Promise<string>; | ||
/** | ||
@@ -311,5 +312,7 @@ * Triggers a signal start event. | ||
* @param correlationId Optional: The ID of a correlation to which the signal should belong. | ||
* @param signalChannel Optional: The signal channel to which the signal is being sent. | ||
* @returns A guid to identify the corresponding acknowledgement event. | ||
*/ | ||
triggerSignalStartEvent: <TPayload extends object>(signalName: string, payload?: TPayload, identity?: Identity, correlationId?: string) => Promise<string>; | ||
triggerSignalStartEvent: <TPayload extends object>(signalName: string, payload?: TPayload, identity?: Identity, correlationId?: string, signalChannel?: string) => Promise<string>; | ||
/** | ||
@@ -316,0 +319,0 @@ * Returns a distinct list of all message events currently deployed to the engine. |
@@ -16,2 +16,3 @@ import { LogLevel } from './EngineEvents'; | ||
database: DatabaseConfig; | ||
runtimeExpressions?: RuntimeExpressionConfig; | ||
logging?: LoggingConfiguration; | ||
@@ -27,2 +28,6 @@ tls?: TlsConfig; | ||
}; | ||
export declare type RuntimeExpressionConfig = { | ||
timeoutInMiliseconds?: number; | ||
workerPoolSize?: number; | ||
}; | ||
export declare type DatabaseConfig = { | ||
@@ -83,2 +88,3 @@ username?: string; | ||
host?: string; | ||
allowedCorsOrigins?: string[]; | ||
}; | ||
@@ -85,0 +91,0 @@ export declare type IAMConfiguration = { |
@@ -18,3 +18,5 @@ import { RuntimeExpressionParameters } from '..'; | ||
export declare type EngineEvent = { | ||
eventId?: string; | ||
eventType: EngineEventType; | ||
logLevel: LogLevel; | ||
timestamp: Date; | ||
@@ -26,16 +28,44 @@ processStartedAt?: Date; | ||
processModelId: string; | ||
embeddedProcessModelId?: string; | ||
processModelName: string; | ||
processDefinitionId: string; | ||
processDefinitionHash: string; | ||
processInstanceId: string; | ||
parentProcessInstanceId?: string; | ||
correlationId: string; | ||
/** | ||
* Only included with OnFlowNodeXX events. | ||
*/ | ||
flowNodeId?: string; | ||
/** | ||
* Only included with OnFlowNodeXX events. | ||
*/ | ||
flowNodeInstanceId?: string; | ||
/** | ||
* Only included with OnFlowNodeXX events. | ||
*/ | ||
flowNodeType?: BpmnType; | ||
/** | ||
* Only included with OnFlowNodeXX events. | ||
*/ | ||
currentFlowNode?: BaseElementViewModel; | ||
processInstanceId: string; | ||
parentProcessInstanceId?: string; | ||
correlationId: string; | ||
logLevel: LogLevel; | ||
tokenPayload?: object; | ||
eventId?: string; | ||
/** | ||
* For "OnFlowNodeXX" Events, this will contain the current token on the FlowNodeInstance. | ||
* For "OnProcessXX" Events, this will contain either the ProcessInstance's initial token, or its end token. | ||
*/ | ||
tokenPayload?: Record<string, any>; | ||
/** | ||
* Only included with OnFlowNodeExited events. | ||
*/ | ||
writtenDataObjectValues?: Record<string, any>; | ||
/** | ||
* Only included with OnFlowNodeEntered events. | ||
*/ | ||
writtenCorrelationMetadata?: Record<string, string>; | ||
/** | ||
* Only included with OnFlowNodeEntered events. | ||
*/ | ||
writtenProcessInstanceMetadata?: Record<string, string>; | ||
messageChannel?: string; | ||
signalChannel?: string; | ||
}; | ||
@@ -51,5 +81,5 @@ export declare type EngineEventContext = FlowNodeExpressionEngineEventContext | undefined; | ||
export declare enum EngineEventType { | ||
OnActivityError = "OnActivityError", | ||
OnEventProcessed = "OnEventProcessed", | ||
OnMessageTriggered = "OnMessageTriggered", | ||
OnSignalTriggered = "OnSignalTriggered", | ||
OnProcessDeployed = "OnProcessDeployed", | ||
@@ -71,5 +101,3 @@ OnProcessUndeployed = "OnProcessUndeployed", | ||
OnFlowNodeCallActivityResponseReceived = "OnFlowNodeCallActivityResponseReceived", | ||
OnFlowNodeEventSending = "OnFlowNodeEventSending", | ||
OnFlowNodeEventRetrySending = "OnFlowNodeEventRetrySending", | ||
OnFlowNodeEventResponseReceived = "OnFlowNodeEventResponseReceived", | ||
OnFlowNodeSubProcessResponseReceived = "OnFlowNodeSubProcessResponseReceived", | ||
OnFlowNodeTimerStarted = "OnFlowNodeTimerStarted", | ||
@@ -76,0 +104,0 @@ OnFlowNodeTimerRemoved = "OnFlowNodeTimerRemoved" |
@@ -26,2 +26,5 @@ import { BpmnType, EventType } from '../../ProcessModel/index'; | ||
* type: string | ||
* embeddedProcessModelId: | ||
* description: The ID of the SubProcess containing the ProcessModel that the event belongs to. | ||
* type: string | ||
* processModelName: | ||
@@ -77,2 +80,3 @@ * description: The name of the ProcessModel that the event belongs to. | ||
processModelId: string; | ||
embeddedProcessModelId?: string; | ||
processModelName?: string; | ||
@@ -79,0 +83,0 @@ processModelVersion?: string; |
@@ -20,3 +20,10 @@ import { DataModels, Identity, Messages, Subscription } from '../index'; | ||
identity?: Identity; | ||
signalChannel?: string; | ||
}): Promise<void>; | ||
/** | ||
* @requires Engine v19 | ||
*/ | ||
triggerTimerEvent(flowNodeInstanceId: string, options?: { | ||
identity?: Identity; | ||
}): Promise<void>; | ||
onBoundaryEventTriggered(callback: Messages.CallbackTypes.OnBoundaryEventTriggeredCallback, options?: { | ||
@@ -23,0 +30,0 @@ subscribeOnce?: boolean; |
@@ -15,5 +15,5 @@ import { EngineEventType } from './EngineEvents/index'; | ||
export declare const LogEventType: { | ||
OnActivityError: EngineEventType.OnActivityError; | ||
OnEventProcessed: EngineEventType.OnEventProcessed; | ||
OnMessageTriggered: EngineEventType.OnMessageTriggered; | ||
OnSignalTriggered: EngineEventType.OnSignalTriggered; | ||
OnProcessDeployed: EngineEventType.OnProcessDeployed; | ||
@@ -35,7 +35,5 @@ OnProcessUndeployed: EngineEventType.OnProcessUndeployed; | ||
OnFlowNodeCallActivityResponseReceived: EngineEventType.OnFlowNodeCallActivityResponseReceived; | ||
OnFlowNodeEventSending: EngineEventType.OnFlowNodeEventSending; | ||
OnFlowNodeEventRetrySending: EngineEventType.OnFlowNodeEventRetrySending; | ||
OnFlowNodeEventResponseReceived: EngineEventType.OnFlowNodeEventResponseReceived; | ||
OnFlowNodeSubProcessResponseReceived: EngineEventType.OnFlowNodeSubProcessResponseReceived; | ||
OnFlowNodeTimerStarted: EngineEventType.OnFlowNodeTimerStarted; | ||
OnFlowNodeTimerRemoved: EngineEventType.OnFlowNodeTimerRemoved; | ||
}; |
@@ -23,2 +23,3 @@ import { EventType } from '../Constants'; | ||
signalEventDefinition: SignalEventDefinition; | ||
signalChannel?: string; | ||
}; | ||
@@ -25,0 +26,0 @@ export type SignalBoundaryEvent = BoundaryEvent & SignalEvent; |
@@ -0,1 +1,2 @@ | ||
import { SubProcess } from './Activities'; | ||
import { BaseElement, ExtensionElements, FlowNode } from './Base/index'; | ||
@@ -57,14 +58,31 @@ import { BpmnType } from './Constants'; | ||
extensionElements?: ExtensionElements; | ||
private embeddedSubProcesses?; | ||
/** | ||
* Returns all StartEvents contained in this process. | ||
*/ | ||
getStartEvents(): Array<StartEvent>; | ||
getStartEvents(includeEmbeddedSubProcess?: boolean): Array<StartEvent>; | ||
/** | ||
* Returns all EndEvents contained in this process. | ||
*/ | ||
getEndEvents(): Array<EndEvent>; | ||
getEndEvents(includeEmbeddedSubProcess?: boolean): Array<EndEvent>; | ||
/** | ||
* Returns all FlowNodes that match the given type. | ||
*/ | ||
getFlowNodesByType(bpmnType: BpmnType): Array<FlowNode>; | ||
getFlowNodesByType(bpmnType: BpmnType, includeEmbeddedSubProcess?: boolean): Array<FlowNode>; | ||
/** | ||
* Returns all SubProcess Activities in this process; | ||
*/ | ||
getAllEmbeddedSubProcesses(): Array<SubProcess>; | ||
/** | ||
* Returns FlowNodes of the Model and all embedded Models | ||
*/ | ||
getAllFlowNodes(): Array<FlowNode>; | ||
/** | ||
* Returns SequenceFlows of the Model and all embedded Models | ||
*/ | ||
getAllSequenceFlows(): Array<SequenceFlow>; | ||
/** | ||
* Returns DataObjectReferences of the Model and all embedded Models | ||
*/ | ||
getAllDataObjectReferences(): Array<DataObjectReference>; | ||
} |
export * from './ProcessModelFacade'; | ||
export * from './SubProcessModelFacade'; |
import { BpmnType, Model } from '../Model/index'; | ||
import { SubProcessModelFacade } from './index'; | ||
export declare class ProcessModelFacade { | ||
protected processModel: Model.Process; | ||
constructor(processModel: Model.Process); | ||
protected parentFacade?: ProcessModelFacade; | ||
constructor(processModel: Model.Process, parentFacade?: ProcessModelFacade); | ||
getIsExecutable(): boolean; | ||
getSubProcessModelFacade(subProcessNode: Model.Activities.SubProcess): SubProcessModelFacade; | ||
getFlowNodesByType<TFlowNode extends Model.Base.FlowNode>(flowNodeType: BpmnType): Array<TFlowNode>; | ||
getStartEvents(): Array<Model.Events.StartEvent>; | ||
getFlowNodesByType<TFlowNode extends Model.Base.FlowNode>(flowNodeType: BpmnType, includeEmbeddedSubProcess?: boolean): Array<TFlowNode>; | ||
getStartEvents(includeEmbeddedSubProcess?: boolean): Array<Model.Events.StartEvent>; | ||
getSingleStartEvent(): Model.Events.StartEvent; | ||
getStartEventById(startEventId: string): Model.Events.StartEvent; | ||
getEndEvents(): Array<Model.Events.EndEvent>; | ||
getUserTasks(): Array<Model.Activities.UserTask>; | ||
getFlowNodeById(flowNodeId: string): Model.Base.FlowNode; | ||
getStartEventById(startEventId: string, includeEmbeddedSubProcess?: boolean): Model.Events.StartEvent; | ||
getEndEvents(includeEmbeddedSubProcess?: boolean): Array<Model.Events.EndEvent>; | ||
getUserTasks(includeEmbeddedSubProcess?: boolean): Array<Model.Activities.UserTask>; | ||
getFlowNodeById(flowNodeId: string, includeEmbeddedSubProcess?: boolean): Model.Base.FlowNode; | ||
getProcessModelHasLanes(): boolean; | ||
@@ -20,4 +19,4 @@ getLaneForFlowNode(flowNodeId: string): Model.ProcessElements.Lane; | ||
getSequenceFlowBetween(sourceNode: Model.Base.FlowNode, targetNode: Model.Base.FlowNode): Model.ProcessElements.SequenceFlow; | ||
getBoundaryEventsFor(flowNode: Model.Base.FlowNode): Array<Model.Events.BoundaryEvent>; | ||
getPreviousFlowNodesFor(flowNode: Model.Base.FlowNode, stopAtBoundaryEvent?: boolean): Array<Model.Base.FlowNode>; | ||
getBoundaryEventsFor(flowNode: Model.Base.FlowNode, includeEmbeddedSubProcess?: boolean): Array<Model.Events.BoundaryEvent>; | ||
getPreviousFlowNodesFor(flowNode: Model.Base.FlowNode, stopAtBoundaryEvent?: boolean, includeEmbeddedSubProcess?: boolean): Array<Model.Base.FlowNode>; | ||
traversePreviousFlowNodesFor(flowNode: Model.Base.FlowNode, visitedNodes?: Set<string>): Array<Model.Base.FlowNode> | undefined; | ||
@@ -28,2 +27,3 @@ getNextFlowNodesFor(flowNode: Model.Base.FlowNode): Array<Model.Base.FlowNode>; | ||
getDataObjects(): Array<Model.ProcessElements.DataObject>; | ||
getDataObjectReferenceById(id: string): Model.ProcessElements.DataObjectReference | undefined; | ||
getInputDataObjectReferences(): Array<Model.ProcessElements.DataObjectReference>; | ||
@@ -46,2 +46,3 @@ getOutputDataObjectReferencesForFlowNode(flowNodeId: string): Array<Model.ProcessElements.DataObjectReference>; | ||
private getJoinGatewaysForCurrentBranchByType; | ||
private findParentSubProcessNode; | ||
} |
@@ -12,3 +12,4 @@ import { BoundaryEvent } from '../../Model/Events/index'; | ||
messageChannel?: string; | ||
signalChannel?: string; | ||
constructor(boundaryEvent: BoundaryEvent, processModel: ProcessModelLike); | ||
} |
@@ -26,2 +26,5 @@ import { EndEvent } from '../../Model/Events/index'; | ||
* type: string | ||
* signalChannel: | ||
* description: The channel to which the Signal End Event will send its signal. | ||
* type: string | ||
*/ | ||
@@ -33,3 +36,4 @@ export declare class EndEventViewModel extends EventViewModel { | ||
messageChannel?: string; | ||
signalChannel?: string; | ||
constructor(endEvent: EndEvent, processModel: ProcessModelLike); | ||
} |
@@ -10,3 +10,4 @@ import { IntermediateCatchEvent } from '../../Model/Events/index'; | ||
messageChannel?: string; | ||
signalChannel?: string; | ||
constructor(intermediateCatchEvent: IntermediateCatchEvent, processModel: ProcessModelLike); | ||
} |
@@ -7,3 +7,4 @@ import { IntermediateThrowEvent } from '../../Model/Events/index'; | ||
messageChannel?: string; | ||
signalChannel?: string; | ||
constructor(intermediateThrowEvent: IntermediateThrowEvent, processModel: ProcessModelLike); | ||
} |
@@ -23,2 +23,5 @@ import { StartEvent } from '../../Model/Events/index'; | ||
* type: string | ||
* signalChannel: | ||
* description: The channel on which the Signal Start Event will listen for signals. | ||
* type: string | ||
*/ | ||
@@ -29,3 +32,4 @@ export declare class StartEventViewModel extends EventViewModel { | ||
messageChannel?: string; | ||
signalChannel?: string; | ||
constructor(startEvent: StartEvent, processModel: ProcessModelLike); | ||
} |
{ | ||
"name": "@5minds/processcube_engine_sdk", | ||
"version": "6.1.0-develop-c89ad8-m2ipl4zp", | ||
"version": "6.1.0-develop-c9b242-m6i99i4q", | ||
"description": "Software development kit for the Engine.", | ||
@@ -41,3 +41,3 @@ "main": "dist/commonjs/index.js", | ||
"devDependencies": { | ||
"@trivago/prettier-plugin-sort-imports": "^4.2.0", | ||
"@trivago/prettier-plugin-sort-imports": "^5.0.0", | ||
"@types/express": "^5.0.0", | ||
@@ -51,4 +51,4 @@ "@types/mocha": "^10.0.3", | ||
"ts-mocha": "^10.0.0", | ||
"typescript": "~5.6.0" | ||
"typescript": "~5.7.0" | ||
} | ||
} |
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
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
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
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11550
652456
600