@5minds/processcube_engine_sdk
Advanced tools
Comparing version 4.0.0-feature-006158-ljecmkzd to 4.0.0-feature-3028b7-lkl7hedo
@@ -18,2 +18,3 @@ define(["require", "exports"], function (require, exports) { | ||
(function (EngineEventType) { | ||
EngineEventType["onActivityError"] = "onActivityError"; | ||
EngineEventType["OnEventProcessed"] = "OnEventProcessed"; | ||
@@ -20,0 +21,0 @@ EngineEventType["OnProcessDeployed"] = "OnProcessDeployed"; |
@@ -34,5 +34,2 @@ define(["require", "exports", "../../Errors/index", "../Model/index", "./index"], function (require, exports, index_1, index_2, index_3) { | ||
} | ||
getProcessModelHasLanes() { | ||
throw new index_1.NotImplementedError('Subprocesses cannot have lanes!'); | ||
} | ||
getIncomingSequenceFlowsFor(flowNodeId) { | ||
@@ -144,4 +141,3 @@ const flowNodeExists = this.subProcessActivity.flowNodes.some((flowNode) => flowNode.id === flowNodeId); | ||
} | ||
const matchingLane = super.findLaneForFlowNodeIdFromLaneSet(this.subProcessActivity.id, this.processModel.laneSet); | ||
return matchingLane; | ||
return super.getLaneForFlowNode(this.subProcessActivity.id); | ||
} | ||
@@ -148,0 +144,0 @@ getLinkCatchEventsByLinkName(linkName) { |
@@ -17,2 +17,3 @@ "use strict"; | ||
(function (EngineEventType) { | ||
EngineEventType["onActivityError"] = "onActivityError"; | ||
EngineEventType["OnEventProcessed"] = "OnEventProcessed"; | ||
@@ -19,0 +20,0 @@ EngineEventType["OnProcessDeployed"] = "OnProcessDeployed"; |
@@ -36,5 +36,2 @@ "use strict"; | ||
} | ||
getProcessModelHasLanes() { | ||
throw new index_1.NotImplementedError('Subprocesses cannot have lanes!'); | ||
} | ||
getIncomingSequenceFlowsFor(flowNodeId) { | ||
@@ -146,4 +143,3 @@ const flowNodeExists = this.subProcessActivity.flowNodes.some((flowNode) => flowNode.id === flowNodeId); | ||
} | ||
const matchingLane = super.findLaneForFlowNodeIdFromLaneSet(this.subProcessActivity.id, this.processModel.laneSet); | ||
return matchingLane; | ||
return super.getLaneForFlowNode(this.subProcessActivity.id); | ||
} | ||
@@ -150,0 +146,0 @@ getLinkCatchEventsByLinkName(linkName) { |
@@ -48,2 +48,3 @@ import { RuntimeExpressionParameters } from '..'; | ||
export declare enum EngineEventType { | ||
onActivityError = "onActivityError", | ||
OnEventProcessed = "OnEventProcessed", | ||
@@ -50,0 +51,0 @@ OnProcessDeployed = "OnProcessDeployed", |
import { CronjobEventMessage, CronjobEnabledChangedMessage, EventMessage, ExternalTaskCreatedMessage, ExternalTaskExpiredMessage, ExternalTaskLockedMessage, ExternalTaskUnlockedMessage, MetadataChangedMessage, ProcessDeploymentMessage, ProcessInstancesDeletedMessage, ProcessIsExecutableChangedMessage, UserTaskFinishedMessage } from './EventPayloads/index'; | ||
export type OnActivityErrorCallback = (activityError: EventMessage) => void | Promise<void>; | ||
export type OnProcessDeployedCallback = (message: ProcessDeploymentMessage) => void | Promise<void>; | ||
@@ -3,0 +4,0 @@ export type OnProcessInstancesDeletedCallback = (message: ProcessInstancesDeletedMessage) => void | Promise<void>; |
import { Identity, Messages, Subscription } from '../index'; | ||
export interface INotificationExtensionAdapter { | ||
removeSubscription(subscription: Subscription, identity?: Identity): void; | ||
onActivityError(callback: Messages.CallbackTypes.OnActivityErrorCallback, options?: { | ||
subscribeOnce?: boolean; | ||
identity?: Identity; | ||
}): Promise<Subscription>; | ||
onProcessDeployed(callback: Messages.CallbackTypes.OnProcessDeployedCallback, options?: { | ||
@@ -5,0 +9,0 @@ subscribeOnce?: boolean; |
@@ -15,2 +15,3 @@ import { EngineEventType } from './EngineEvents/index'; | ||
export declare const LogEventType: { | ||
onActivityError: EngineEventType.onActivityError; | ||
OnEventProcessed: EngineEventType.OnEventProcessed; | ||
@@ -17,0 +18,0 @@ OnProcessDeployed: EngineEventType.OnProcessDeployed; |
@@ -12,3 +12,2 @@ import { BpmnType, Model } from '../Model/index'; | ||
getFlowNodeById(flowNodeId: string): Model.Base.FlowNode; | ||
getProcessModelHasLanes(): boolean; | ||
getIncomingSequenceFlowsFor(flowNodeId: string): Array<Model.ProcessElements.SequenceFlow>; | ||
@@ -15,0 +14,0 @@ getOutgoingSequenceFlowsFor(flowNodeId: string): Array<Model.ProcessElements.SequenceFlow>; |
{ | ||
"name": "@5minds/processcube_engine_sdk", | ||
"version": "4.0.0-feature-006158-ljecmkzd", | ||
"version": "4.0.0-feature-3028b7-lkl7hedo", | ||
"description": "Software development kit for the Engine.", | ||
@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js", |
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
1185560