bpmn-elements 17.3.0 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/Api.js +83 -0
- package/dist/Context.js +228 -22
- package/dist/Environment.js +111 -31
- package/dist/EventBroker.js +57 -1
- package/dist/Expressions.js +3 -4
- package/dist/MessageFormatter.js +29 -16
- package/dist/Timers.js +13 -9
- package/dist/Tracker.js +1 -0
- package/dist/activity/Activity.js +434 -233
- package/dist/activity/ActivityExecution.js +113 -40
- package/dist/activity/Dummy.js +6 -1
- package/dist/activity/Escalation.js +36 -24
- package/dist/activity/ExecutionScope.js +1 -1
- package/dist/activity/Message.js +36 -24
- package/dist/activity/Signal.js +36 -24
- package/dist/activity/outbound-evaluator.js +1 -1
- package/dist/condition.js +12 -6
- package/dist/constants.js +21 -0
- package/dist/definition/Definition.js +182 -64
- package/dist/definition/DefinitionExecution.js +195 -82
- package/dist/error/BpmnError.js +12 -1
- package/dist/error/Errors.js +50 -9
- package/dist/eventDefinitions/CancelEventDefinition.js +29 -11
- package/dist/eventDefinitions/CompensateEventDefinition.js +51 -31
- package/dist/eventDefinitions/ConditionalEventDefinition.js +21 -9
- package/dist/eventDefinitions/ErrorEventDefinition.js +46 -30
- package/dist/eventDefinitions/EscalationEventDefinition.js +44 -27
- package/dist/eventDefinitions/EventDefinitionExecution.js +30 -23
- package/dist/eventDefinitions/LinkEventDefinition.js +45 -120
- package/dist/eventDefinitions/MessageEventDefinition.js +44 -29
- package/dist/eventDefinitions/SignalEventDefinition.js +46 -31
- package/dist/eventDefinitions/TerminateEventDefinition.js +10 -1
- package/dist/eventDefinitions/TimerEventDefinition.js +57 -37
- package/dist/eventDefinitions/index.js +20 -21
- package/dist/events/BoundaryEvent.js +52 -40
- package/dist/events/EndEvent.js +22 -8
- package/dist/events/IntermediateCatchEvent.js +26 -8
- package/dist/events/IntermediateThrowEvent.js +24 -9
- package/dist/events/StartEvent.js +30 -14
- package/dist/events/index.js +10 -11
- package/dist/flows/Association.js +50 -7
- package/dist/flows/MessageFlow.js +49 -10
- package/dist/flows/SequenceFlow.js +93 -22
- package/dist/flows/index.js +6 -7
- package/dist/gateways/EventBasedGateway.js +29 -15
- package/dist/gateways/ExclusiveGateway.js +20 -5
- package/dist/gateways/InclusiveGateway.js +21 -5
- package/dist/gateways/ParallelGateway.js +253 -15
- package/dist/gateways/index.js +8 -9
- package/dist/getPropertyValue.js +1 -1
- package/dist/index.js +42 -43
- package/dist/io/BpmnIO.js +15 -1
- package/dist/io/EnvironmentDataObject.js +29 -1
- package/dist/io/EnvironmentDataStore.js +24 -1
- package/dist/io/EnvironmentDataStoreReference.js +24 -1
- package/dist/io/InputOutputSpecification.js +21 -11
- package/dist/io/Properties.js +28 -17
- package/dist/messageHelper.js +41 -4
- package/dist/process/Lane.js +15 -4
- package/dist/process/Process.js +174 -76
- package/dist/process/ProcessExecution.js +362 -177
- package/dist/shared.js +2 -0
- package/dist/tasks/CallActivity.js +19 -4
- package/dist/tasks/LoopCharacteristics.js +94 -9
- package/dist/tasks/ReceiveTask.js +36 -21
- package/dist/tasks/ScriptTask.js +22 -6
- package/dist/tasks/ServiceImplementation.js +7 -4
- package/dist/tasks/ServiceTask.js +19 -4
- package/dist/tasks/SignalTask.js +19 -4
- package/dist/tasks/StandardLoopCharacteristics.js +8 -4
- package/dist/tasks/SubProcess.js +44 -29
- package/dist/tasks/Task.js +19 -4
- package/dist/tasks/Transaction.js +8 -4
- package/dist/tasks/index.js +16 -18
- package/package.json +31 -13
- package/src/Api.js +70 -0
- package/src/Context.js +200 -19
- package/src/Environment.js +99 -30
- package/src/EventBroker.js +46 -1
- package/src/Expressions.js +2 -3
- package/src/MessageFormatter.js +24 -16
- package/src/Timers.js +12 -9
- package/src/Tracker.js +1 -0
- package/src/activity/Activity.js +372 -218
- package/src/activity/ActivityExecution.js +93 -42
- package/src/activity/Dummy.js +6 -1
- package/src/activity/Escalation.js +25 -18
- package/src/activity/ExecutionScope.js +1 -1
- package/src/activity/Message.js +25 -18
- package/src/activity/Signal.js +25 -18
- package/src/activity/outbound-evaluator.js +1 -1
- package/src/condition.js +11 -5
- package/src/constants.js +15 -0
- package/src/definition/Definition.js +157 -62
- package/src/definition/DefinitionExecution.js +161 -83
- package/src/error/BpmnError.js +11 -1
- package/src/error/Errors.js +44 -5
- package/src/eventDefinitions/CancelEventDefinition.js +27 -13
- package/src/eventDefinitions/CompensateEventDefinition.js +48 -32
- package/src/eventDefinitions/ConditionalEventDefinition.js +20 -10
- package/src/eventDefinitions/ErrorEventDefinition.js +44 -33
- package/src/eventDefinitions/EscalationEventDefinition.js +39 -26
- package/src/eventDefinitions/EventDefinitionExecution.js +30 -24
- package/src/eventDefinitions/LinkEventDefinition.js +34 -120
- package/src/eventDefinitions/MessageEventDefinition.js +42 -31
- package/src/eventDefinitions/SignalEventDefinition.js +43 -32
- package/src/eventDefinitions/TerminateEventDefinition.js +9 -1
- package/src/eventDefinitions/TimerEventDefinition.js +53 -35
- package/src/eventDefinitions/index.js +10 -23
- package/src/events/BoundaryEvent.js +50 -39
- package/src/events/EndEvent.js +19 -7
- package/src/events/IntermediateCatchEvent.js +24 -8
- package/src/events/IntermediateThrowEvent.js +24 -8
- package/src/events/StartEvent.js +25 -14
- package/src/events/index.js +5 -18
- package/src/flows/Association.js +43 -9
- package/src/flows/MessageFlow.js +41 -10
- package/src/flows/SequenceFlow.js +82 -19
- package/src/flows/index.js +3 -4
- package/src/gateways/EventBasedGateway.js +27 -15
- package/src/gateways/ExclusiveGateway.js +16 -3
- package/src/gateways/InclusiveGateway.js +16 -3
- package/src/gateways/ParallelGateway.js +301 -10
- package/src/gateways/index.js +4 -4
- package/src/getPropertyValue.js +1 -1
- package/src/index.js +19 -19
- package/src/io/BpmnIO.js +13 -1
- package/src/io/EnvironmentDataObject.js +26 -1
- package/src/io/EnvironmentDataStore.js +22 -1
- package/src/io/EnvironmentDataStoreReference.js +22 -1
- package/src/io/InputOutputSpecification.js +17 -8
- package/src/io/Properties.js +23 -13
- package/src/messageHelper.js +36 -4
- package/src/process/Lane.js +14 -4
- package/src/process/Process.js +154 -72
- package/src/process/ProcessExecution.js +326 -175
- package/src/shared.js +1 -0
- package/src/tasks/CallActivity.js +16 -2
- package/src/tasks/LoopCharacteristics.js +77 -11
- package/src/tasks/ReceiveTask.js +33 -22
- package/src/tasks/ScriptTask.js +17 -3
- package/src/tasks/ServiceImplementation.js +6 -3
- package/src/tasks/ServiceTask.js +16 -2
- package/src/tasks/SignalTask.js +16 -2
- package/src/tasks/StandardLoopCharacteristics.js +7 -3
- package/src/tasks/SubProcess.js +37 -23
- package/src/tasks/Task.js +16 -2
- package/src/tasks/Transaction.js +7 -3
- package/src/tasks/index.js +8 -9
- package/types/bundle-errors.d.ts +1 -0
- package/types/bundle.d.ts +97 -0
- package/types/index.d.ts +2614 -84
- package/types/interfaces.d.ts +636 -0
- package/types/types.d.ts +0 -765
package/src/tasks/SubProcess.js
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import Activity from '../activity/Activity.js';
|
|
2
|
-
import ProcessExecution from '../process/ProcessExecution.js';
|
|
1
|
+
import { Activity } from '../activity/Activity.js';
|
|
2
|
+
import { ProcessExecution } from '../process/ProcessExecution.js';
|
|
3
3
|
import { cloneContent } from '../messageHelper.js';
|
|
4
4
|
|
|
5
|
-
const
|
|
6
|
-
const
|
|
5
|
+
const K_EXECUTIONS = Symbol.for('executions');
|
|
6
|
+
const K_ON_EXECUTION_COMPLETED = Symbol.for('execution completed handler');
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Sub process
|
|
10
|
+
* @param {import('moddle-context-serializer').Activity} activityDef
|
|
11
|
+
* @param {import('#types').ContextInstance} context
|
|
12
|
+
*/
|
|
13
|
+
export function SubProcess(activityDef, context) {
|
|
9
14
|
const triggeredByEvent = activityDef.behaviour && activityDef.behaviour.triggeredByEvent;
|
|
10
15
|
const subProcess = new Activity(SubProcessBehaviour, { ...activityDef, isSubProcess: true, triggeredByEvent }, context);
|
|
11
16
|
|
|
@@ -26,10 +31,16 @@ export default function SubProcess(activityDef, context) {
|
|
|
26
31
|
}
|
|
27
32
|
}
|
|
28
33
|
|
|
34
|
+
/**
|
|
35
|
+
* Sub process behaviour
|
|
36
|
+
* @param {import('#types').Activity} activity
|
|
37
|
+
* @param {import('#types').ContextInstance} context
|
|
38
|
+
*/
|
|
29
39
|
export function SubProcessBehaviour(activity, context) {
|
|
30
40
|
const { id, type, behaviour } = activity;
|
|
31
41
|
this.id = id;
|
|
32
42
|
this.type = type;
|
|
43
|
+
/** @type {import('./LoopCharacteristics.js').LoopCharacteristics | undefined} */
|
|
33
44
|
this.loopCharacteristics =
|
|
34
45
|
behaviour.loopCharacteristics && new behaviour.loopCharacteristics.Behaviour(activity, behaviour.loopCharacteristics);
|
|
35
46
|
this.activity = activity;
|
|
@@ -38,23 +49,26 @@ export function SubProcessBehaviour(activity, context) {
|
|
|
38
49
|
this.broker = activity.broker;
|
|
39
50
|
this.executionId = undefined;
|
|
40
51
|
|
|
41
|
-
this[
|
|
42
|
-
this[
|
|
52
|
+
this[K_EXECUTIONS] = new Set();
|
|
53
|
+
this[K_ON_EXECUTION_COMPLETED] = this._onExecutionCompleted.bind(this);
|
|
43
54
|
}
|
|
44
55
|
|
|
45
|
-
Object.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
return [...this[kExecutions]][0];
|
|
49
|
-
},
|
|
56
|
+
Object.defineProperty(SubProcessBehaviour.prototype, 'execution', {
|
|
57
|
+
get() {
|
|
58
|
+
return [...this[K_EXECUTIONS]][0];
|
|
50
59
|
},
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
Object.defineProperty(SubProcessBehaviour.prototype, 'executions', {
|
|
63
|
+
get() {
|
|
64
|
+
return [...this[K_EXECUTIONS]];
|
|
55
65
|
},
|
|
56
66
|
});
|
|
57
67
|
|
|
68
|
+
/**
|
|
69
|
+
* @param {import('#types').ElementBrokerMessage} executeMessage
|
|
70
|
+
* @returns {void}
|
|
71
|
+
*/
|
|
58
72
|
SubProcessBehaviour.prototype.execute = function execute(executeMessage) {
|
|
59
73
|
const { isRootScope, executionId } = executeMessage.content;
|
|
60
74
|
|
|
@@ -73,7 +87,7 @@ SubProcessBehaviour.prototype.execute = function execute(executeMessage) {
|
|
|
73
87
|
|
|
74
88
|
SubProcessBehaviour.prototype.getState = function getState() {
|
|
75
89
|
const states = [];
|
|
76
|
-
for (const pe of this[
|
|
90
|
+
for (const pe of this[K_EXECUTIONS]) {
|
|
77
91
|
const state = pe.getState();
|
|
78
92
|
state.environment = pe.environment.getState();
|
|
79
93
|
states.push(state);
|
|
@@ -91,7 +105,7 @@ SubProcessBehaviour.prototype.getState = function getState() {
|
|
|
91
105
|
SubProcessBehaviour.prototype.recover = function recover(state) {
|
|
92
106
|
if (!state) return;
|
|
93
107
|
|
|
94
|
-
const executions = this[
|
|
108
|
+
const executions = this[K_EXECUTIONS];
|
|
95
109
|
|
|
96
110
|
const loopCharacteristics = this.loopCharacteristics;
|
|
97
111
|
if (loopCharacteristics && state.executions) {
|
|
@@ -117,7 +131,7 @@ SubProcessBehaviour.prototype.recover = function recover(state) {
|
|
|
117
131
|
|
|
118
132
|
SubProcessBehaviour.prototype.getPostponed = function getPostponed() {
|
|
119
133
|
let postponed = [];
|
|
120
|
-
for (const pe of this[
|
|
134
|
+
for (const pe of this[K_EXECUTIONS]) {
|
|
121
135
|
postponed = postponed.concat(pe.getPostponed());
|
|
122
136
|
}
|
|
123
137
|
return postponed;
|
|
@@ -137,7 +151,7 @@ SubProcessBehaviour.prototype._upsertExecution = function upsertExecution(execut
|
|
|
137
151
|
const subContext = this.context.clone(subEnvironment, this.activity);
|
|
138
152
|
|
|
139
153
|
execution = new ProcessExecution(this.activity, subContext);
|
|
140
|
-
this[
|
|
154
|
+
this[K_EXECUTIONS].add(execution);
|
|
141
155
|
|
|
142
156
|
this._addListeners(executionId);
|
|
143
157
|
|
|
@@ -145,7 +159,7 @@ SubProcessBehaviour.prototype._upsertExecution = function upsertExecution(execut
|
|
|
145
159
|
};
|
|
146
160
|
|
|
147
161
|
SubProcessBehaviour.prototype._addListeners = function addListeners(executionId) {
|
|
148
|
-
this.broker.subscribeTmp('subprocess-execution', `execution.#.${executionId}`, this[
|
|
162
|
+
this.broker.subscribeTmp('subprocess-execution', `execution.#.${executionId}`, this[K_ON_EXECUTION_COMPLETED], {
|
|
149
163
|
noAck: true,
|
|
150
164
|
consumerTag: `_sub-process-execution-${executionId}`,
|
|
151
165
|
});
|
|
@@ -182,7 +196,7 @@ SubProcessBehaviour.prototype._onExecutionCompleted = function onExecutionComple
|
|
|
182
196
|
SubProcessBehaviour.prototype._completeExecution = function completeExecution(completeRoutingKey, content) {
|
|
183
197
|
if (this.loopCharacteristics) {
|
|
184
198
|
const execution = this._getExecutionById(content.executionId);
|
|
185
|
-
this[
|
|
199
|
+
this[K_EXECUTIONS].delete(execution);
|
|
186
200
|
}
|
|
187
201
|
|
|
188
202
|
this.broker.publish('execution', completeRoutingKey, cloneContent(content));
|
|
@@ -206,7 +220,7 @@ SubProcessBehaviour.prototype.getApi = function getApi(apiMessage) {
|
|
|
206
220
|
};
|
|
207
221
|
|
|
208
222
|
SubProcessBehaviour.prototype._getExecutionById = function getExecutionById(executionId) {
|
|
209
|
-
for (const pe of this[
|
|
223
|
+
for (const pe of this[K_EXECUTIONS]) {
|
|
210
224
|
if (pe.executionId === executionId) return pe;
|
|
211
225
|
}
|
|
212
226
|
};
|
package/src/tasks/Task.js
CHANGED
|
@@ -1,19 +1,33 @@
|
|
|
1
|
-
import Activity from '../activity/Activity.js';
|
|
1
|
+
import { Activity } from '../activity/Activity.js';
|
|
2
2
|
import { cloneContent } from '../messageHelper.js';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Task
|
|
6
|
+
* @param {import('moddle-context-serializer').Activity} activityDef
|
|
7
|
+
* @param {import('#types').ContextInstance} context
|
|
8
|
+
*/
|
|
9
|
+
export function Task(activityDef, context) {
|
|
5
10
|
return new Activity(TaskBehaviour, activityDef, context);
|
|
6
11
|
}
|
|
7
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Task behaviour
|
|
15
|
+
* @param {import('#types').Activity} activity
|
|
16
|
+
*/
|
|
8
17
|
export function TaskBehaviour(activity) {
|
|
9
18
|
const { id, type, behaviour, broker } = activity;
|
|
10
19
|
this.id = id;
|
|
11
20
|
this.type = type;
|
|
21
|
+
/** @type {import('./LoopCharacteristics.js').LoopCharacteristics | undefined} */
|
|
12
22
|
this.loopCharacteristics =
|
|
13
23
|
behaviour.loopCharacteristics && new behaviour.loopCharacteristics.Behaviour(activity, behaviour.loopCharacteristics);
|
|
14
24
|
this.broker = broker;
|
|
15
25
|
}
|
|
16
26
|
|
|
27
|
+
/**
|
|
28
|
+
* @param {import('#types').ElementBrokerMessage} executeMessage
|
|
29
|
+
* @returns {void}
|
|
30
|
+
*/
|
|
17
31
|
TaskBehaviour.prototype.execute = function execute(executeMessage) {
|
|
18
32
|
const executeContent = executeMessage.content;
|
|
19
33
|
const loopCharacteristics = this.loopCharacteristics;
|
package/src/tasks/Transaction.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import SubProcess from './SubProcess.js';
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { SubProcess } from './SubProcess.js';
|
|
2
|
+
/**
|
|
3
|
+
* Transaction
|
|
4
|
+
* @param {import('moddle-context-serializer').Activity} activityDef
|
|
5
|
+
* @param {import('#types').ContextInstance} context
|
|
6
|
+
*/
|
|
7
|
+
export function Transaction(activityDef, context) {
|
|
4
8
|
const transaction = { type: 'transaction', ...activityDef, isTransaction: true };
|
|
5
9
|
const activity = SubProcess(transaction, context);
|
|
6
10
|
return activity;
|
package/src/tasks/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import CallActivity,
|
|
2
|
-
import ReceiveTask,
|
|
3
|
-
import ScriptTask,
|
|
4
|
-
import ServiceTask,
|
|
5
|
-
import SignalTask,
|
|
6
|
-
import SubProcess,
|
|
7
|
-
import Task,
|
|
8
|
-
import Transaction from './Transaction.js';
|
|
9
|
-
|
|
1
|
+
import { CallActivity, CallActivityBehaviour } from './CallActivity.js';
|
|
2
|
+
import { ReceiveTask, ReceiveTaskBehaviour } from './ReceiveTask.js';
|
|
3
|
+
import { ScriptTask, ScriptTaskBehaviour } from './ScriptTask.js';
|
|
4
|
+
import { ServiceTask, ServiceTaskBehaviour } from './ServiceTask.js';
|
|
5
|
+
import { SignalTask, SignalTaskBehaviour } from './SignalTask.js';
|
|
6
|
+
import { SubProcess, SubProcessBehaviour } from './SubProcess.js';
|
|
7
|
+
import { Task, TaskBehaviour } from './Task.js';
|
|
8
|
+
import { Transaction } from './Transaction.js';
|
|
10
9
|
export {
|
|
11
10
|
CallActivity,
|
|
12
11
|
CallActivityBehaviour,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../src/error/Errors.js';
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// Hand-written entry for dts-buddy. Re-exports the runtime classes once each
|
|
2
|
+
// and the shared interfaces in one place so the emitted bundle has a single
|
|
3
|
+
// declaration per name (no `_1` aliases, no per-module duplicates).
|
|
4
|
+
//
|
|
5
|
+
// Submodule type entries (`bpmn-elements/events`, `…/tasks`, etc.) are
|
|
6
|
+
// emitted as trivial re-export blocks by `scripts/build-types.js`, so every
|
|
7
|
+
// public name needs a home here.
|
|
8
|
+
export * from './interfaces.js';
|
|
9
|
+
|
|
10
|
+
export { Activity } from '../src/activity/Activity.js';
|
|
11
|
+
export { ActivityExecution } from '../src/activity/ActivityExecution.js';
|
|
12
|
+
export { BpmnErrorActivity as BpmnError } from '../src/error/BpmnError.js';
|
|
13
|
+
export { Context } from '../src/Context.js';
|
|
14
|
+
export { Definition } from '../src/definition/Definition.js';
|
|
15
|
+
export { DefinitionExecution } from '../src/definition/DefinitionExecution.js';
|
|
16
|
+
export { DummyActivity as Dummy } from '../src/activity/Dummy.js';
|
|
17
|
+
export { DummyActivity as TextAnnotation } from '../src/activity/Dummy.js';
|
|
18
|
+
export { DummyActivity as Group } from '../src/activity/Dummy.js';
|
|
19
|
+
export { DummyActivity as Category } from '../src/activity/Dummy.js';
|
|
20
|
+
export { Environment } from '../src/Environment.js';
|
|
21
|
+
export { EnvironmentDataObject as DataObject } from '../src/io/EnvironmentDataObject.js';
|
|
22
|
+
export { EnvironmentDataStore as DataStore } from '../src/io/EnvironmentDataStore.js';
|
|
23
|
+
export { EnvironmentDataStoreReference as DataStoreReference } from '../src/io/EnvironmentDataStoreReference.js';
|
|
24
|
+
export { Escalation } from '../src/activity/Escalation.js';
|
|
25
|
+
export { IoSpecification as InputOutputSpecification } from '../src/io/InputOutputSpecification.js';
|
|
26
|
+
export { Lane } from '../src/process/Lane.js';
|
|
27
|
+
export { LoopCharacteristics as MultiInstanceLoopCharacteristics } from '../src/tasks/LoopCharacteristics.js';
|
|
28
|
+
export { Message } from '../src/activity/Message.js';
|
|
29
|
+
export { Process } from '../src/process/Process.js';
|
|
30
|
+
export { Properties } from '../src/io/Properties.js';
|
|
31
|
+
export { ServiceImplementation } from '../src/tasks/ServiceImplementation.js';
|
|
32
|
+
export { Signal } from '../src/activity/Signal.js';
|
|
33
|
+
export { StandardLoopCharacteristics } from '../src/tasks/StandardLoopCharacteristics.js';
|
|
34
|
+
|
|
35
|
+
export { Association, MessageFlow, SequenceFlow } from '../src/flows/index.js';
|
|
36
|
+
export {
|
|
37
|
+
BoundaryEvent,
|
|
38
|
+
BoundaryEventBehaviour,
|
|
39
|
+
EndEvent,
|
|
40
|
+
EndEventBehaviour,
|
|
41
|
+
IntermediateCatchEvent,
|
|
42
|
+
IntermediateCatchEventBehaviour,
|
|
43
|
+
IntermediateThrowEvent,
|
|
44
|
+
IntermediateThrowEventBehaviour,
|
|
45
|
+
StartEvent,
|
|
46
|
+
StartEventBehaviour,
|
|
47
|
+
} from '../src/events/index.js';
|
|
48
|
+
export {
|
|
49
|
+
EventBasedGateway,
|
|
50
|
+
EventBasedGatewayBehaviour,
|
|
51
|
+
ExclusiveGateway,
|
|
52
|
+
ExclusiveGatewayBehaviour,
|
|
53
|
+
InclusiveGateway,
|
|
54
|
+
InclusiveGatewayBehaviour,
|
|
55
|
+
ParallelGateway,
|
|
56
|
+
ParallelGatewayBehaviour,
|
|
57
|
+
} from '../src/gateways/index.js';
|
|
58
|
+
// dts-buddy collapses multi-aliased exports to a single name (the last in source
|
|
59
|
+
// order), so the canonical name must come *after* its aliases — otherwise the
|
|
60
|
+
// alias wins and the root module loses the canonical name that the
|
|
61
|
+
// `bpmn-elements/tasks` re-export depends on.
|
|
62
|
+
export {
|
|
63
|
+
CallActivity,
|
|
64
|
+
CallActivityBehaviour,
|
|
65
|
+
ReceiveTask,
|
|
66
|
+
ReceiveTaskBehaviour,
|
|
67
|
+
ServiceTask as BusinessRuleTask,
|
|
68
|
+
ServiceTask as SendTask,
|
|
69
|
+
ServiceTask,
|
|
70
|
+
ServiceTaskBehaviour,
|
|
71
|
+
ScriptTask,
|
|
72
|
+
ScriptTaskBehaviour,
|
|
73
|
+
SignalTask as ManualTask,
|
|
74
|
+
SignalTask as UserTask,
|
|
75
|
+
SignalTask,
|
|
76
|
+
SignalTaskBehaviour,
|
|
77
|
+
SubProcess as AdHocSubProcess,
|
|
78
|
+
SubProcess,
|
|
79
|
+
SubProcessBehaviour,
|
|
80
|
+
Task,
|
|
81
|
+
TaskBehaviour,
|
|
82
|
+
Transaction,
|
|
83
|
+
} from '../src/tasks/index.js';
|
|
84
|
+
export {
|
|
85
|
+
CancelEventDefinition,
|
|
86
|
+
CompensateEventDefinition,
|
|
87
|
+
ConditionalEventDefinition,
|
|
88
|
+
EscalationEventDefinition,
|
|
89
|
+
ErrorEventDefinition,
|
|
90
|
+
LinkEventDefinition,
|
|
91
|
+
MessageEventDefinition,
|
|
92
|
+
SignalEventDefinition,
|
|
93
|
+
TerminateEventDefinition,
|
|
94
|
+
TimerEventDefinition,
|
|
95
|
+
} from '../src/eventDefinitions/index.js';
|
|
96
|
+
|
|
97
|
+
export { ActivityError, RunError } from '../src/error/Errors.js';
|