bpmn-elements 17.2.2 → 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.
Files changed (155) hide show
  1. package/README.md +3 -1
  2. package/dist/Api.js +83 -0
  3. package/dist/Context.js +228 -22
  4. package/dist/Environment.js +111 -31
  5. package/dist/EventBroker.js +57 -1
  6. package/dist/Expressions.js +3 -4
  7. package/dist/MessageFormatter.js +29 -16
  8. package/dist/Timers.js +13 -9
  9. package/dist/Tracker.js +1 -0
  10. package/dist/activity/Activity.js +458 -254
  11. package/dist/activity/ActivityExecution.js +113 -40
  12. package/dist/activity/Dummy.js +6 -1
  13. package/dist/activity/Escalation.js +36 -24
  14. package/dist/activity/ExecutionScope.js +1 -1
  15. package/dist/activity/Message.js +36 -24
  16. package/dist/activity/Signal.js +36 -24
  17. package/dist/activity/outbound-evaluator.js +1 -1
  18. package/dist/condition.js +12 -6
  19. package/dist/constants.js +21 -0
  20. package/dist/definition/Definition.js +182 -64
  21. package/dist/definition/DefinitionExecution.js +195 -82
  22. package/dist/error/BpmnError.js +12 -1
  23. package/dist/error/Errors.js +50 -9
  24. package/dist/eventDefinitions/CancelEventDefinition.js +29 -11
  25. package/dist/eventDefinitions/CompensateEventDefinition.js +51 -31
  26. package/dist/eventDefinitions/ConditionalEventDefinition.js +21 -9
  27. package/dist/eventDefinitions/ErrorEventDefinition.js +46 -30
  28. package/dist/eventDefinitions/EscalationEventDefinition.js +44 -27
  29. package/dist/eventDefinitions/EventDefinitionExecution.js +30 -23
  30. package/dist/eventDefinitions/LinkEventDefinition.js +45 -120
  31. package/dist/eventDefinitions/MessageEventDefinition.js +44 -29
  32. package/dist/eventDefinitions/SignalEventDefinition.js +46 -31
  33. package/dist/eventDefinitions/TerminateEventDefinition.js +10 -1
  34. package/dist/eventDefinitions/TimerEventDefinition.js +57 -37
  35. package/dist/eventDefinitions/index.js +20 -21
  36. package/dist/events/BoundaryEvent.js +52 -40
  37. package/dist/events/EndEvent.js +22 -8
  38. package/dist/events/IntermediateCatchEvent.js +26 -8
  39. package/dist/events/IntermediateThrowEvent.js +24 -9
  40. package/dist/events/StartEvent.js +30 -14
  41. package/dist/events/index.js +10 -11
  42. package/dist/flows/Association.js +50 -7
  43. package/dist/flows/MessageFlow.js +49 -10
  44. package/dist/flows/SequenceFlow.js +93 -22
  45. package/dist/flows/index.js +6 -7
  46. package/dist/gateways/EventBasedGateway.js +29 -15
  47. package/dist/gateways/ExclusiveGateway.js +20 -5
  48. package/dist/gateways/InclusiveGateway.js +21 -5
  49. package/dist/gateways/ParallelGateway.js +253 -15
  50. package/dist/gateways/index.js +8 -9
  51. package/dist/getPropertyValue.js +2 -2
  52. package/dist/index.js +42 -43
  53. package/dist/io/BpmnIO.js +15 -1
  54. package/dist/io/EnvironmentDataObject.js +29 -1
  55. package/dist/io/EnvironmentDataStore.js +24 -1
  56. package/dist/io/EnvironmentDataStoreReference.js +24 -1
  57. package/dist/io/InputOutputSpecification.js +21 -11
  58. package/dist/io/Properties.js +28 -17
  59. package/dist/messageHelper.js +41 -4
  60. package/dist/process/Lane.js +15 -4
  61. package/dist/process/Process.js +174 -76
  62. package/dist/process/ProcessExecution.js +362 -177
  63. package/dist/shared.js +2 -0
  64. package/dist/tasks/CallActivity.js +19 -4
  65. package/dist/tasks/LoopCharacteristics.js +94 -9
  66. package/dist/tasks/ReceiveTask.js +36 -21
  67. package/dist/tasks/ScriptTask.js +22 -6
  68. package/dist/tasks/ServiceImplementation.js +7 -4
  69. package/dist/tasks/ServiceTask.js +19 -4
  70. package/dist/tasks/SignalTask.js +19 -4
  71. package/dist/tasks/StandardLoopCharacteristics.js +8 -4
  72. package/dist/tasks/SubProcess.js +44 -29
  73. package/dist/tasks/Task.js +19 -4
  74. package/dist/tasks/Transaction.js +8 -4
  75. package/dist/tasks/index.js +16 -18
  76. package/package.json +31 -13
  77. package/src/Api.js +70 -0
  78. package/src/Context.js +200 -19
  79. package/src/Environment.js +99 -30
  80. package/src/EventBroker.js +46 -1
  81. package/src/Expressions.js +2 -3
  82. package/src/MessageFormatter.js +24 -16
  83. package/src/Timers.js +12 -9
  84. package/src/Tracker.js +1 -0
  85. package/src/activity/Activity.js +388 -231
  86. package/src/activity/ActivityExecution.js +93 -42
  87. package/src/activity/Dummy.js +6 -1
  88. package/src/activity/Escalation.js +25 -18
  89. package/src/activity/ExecutionScope.js +1 -1
  90. package/src/activity/Message.js +25 -18
  91. package/src/activity/Signal.js +25 -18
  92. package/src/activity/outbound-evaluator.js +1 -1
  93. package/src/condition.js +11 -5
  94. package/src/constants.js +15 -0
  95. package/src/definition/Definition.js +157 -62
  96. package/src/definition/DefinitionExecution.js +161 -83
  97. package/src/error/BpmnError.js +11 -1
  98. package/src/error/Errors.js +44 -5
  99. package/src/eventDefinitions/CancelEventDefinition.js +27 -13
  100. package/src/eventDefinitions/CompensateEventDefinition.js +48 -32
  101. package/src/eventDefinitions/ConditionalEventDefinition.js +20 -10
  102. package/src/eventDefinitions/ErrorEventDefinition.js +44 -33
  103. package/src/eventDefinitions/EscalationEventDefinition.js +39 -26
  104. package/src/eventDefinitions/EventDefinitionExecution.js +30 -24
  105. package/src/eventDefinitions/LinkEventDefinition.js +34 -120
  106. package/src/eventDefinitions/MessageEventDefinition.js +42 -31
  107. package/src/eventDefinitions/SignalEventDefinition.js +43 -32
  108. package/src/eventDefinitions/TerminateEventDefinition.js +9 -1
  109. package/src/eventDefinitions/TimerEventDefinition.js +53 -35
  110. package/src/eventDefinitions/index.js +10 -23
  111. package/src/events/BoundaryEvent.js +50 -39
  112. package/src/events/EndEvent.js +19 -7
  113. package/src/events/IntermediateCatchEvent.js +24 -8
  114. package/src/events/IntermediateThrowEvent.js +24 -8
  115. package/src/events/StartEvent.js +25 -14
  116. package/src/events/index.js +5 -18
  117. package/src/flows/Association.js +43 -9
  118. package/src/flows/MessageFlow.js +41 -10
  119. package/src/flows/SequenceFlow.js +82 -19
  120. package/src/flows/index.js +3 -4
  121. package/src/gateways/EventBasedGateway.js +27 -15
  122. package/src/gateways/ExclusiveGateway.js +16 -3
  123. package/src/gateways/InclusiveGateway.js +16 -3
  124. package/src/gateways/ParallelGateway.js +301 -10
  125. package/src/gateways/index.js +4 -4
  126. package/src/getPropertyValue.js +2 -2
  127. package/src/index.js +19 -19
  128. package/src/io/BpmnIO.js +13 -1
  129. package/src/io/EnvironmentDataObject.js +26 -1
  130. package/src/io/EnvironmentDataStore.js +22 -1
  131. package/src/io/EnvironmentDataStoreReference.js +22 -1
  132. package/src/io/InputOutputSpecification.js +17 -8
  133. package/src/io/Properties.js +23 -13
  134. package/src/messageHelper.js +36 -4
  135. package/src/process/Lane.js +14 -4
  136. package/src/process/Process.js +154 -72
  137. package/src/process/ProcessExecution.js +326 -175
  138. package/src/shared.js +1 -0
  139. package/src/tasks/CallActivity.js +16 -2
  140. package/src/tasks/LoopCharacteristics.js +77 -11
  141. package/src/tasks/ReceiveTask.js +33 -22
  142. package/src/tasks/ScriptTask.js +17 -3
  143. package/src/tasks/ServiceImplementation.js +6 -3
  144. package/src/tasks/ServiceTask.js +16 -2
  145. package/src/tasks/SignalTask.js +16 -2
  146. package/src/tasks/StandardLoopCharacteristics.js +7 -3
  147. package/src/tasks/SubProcess.js +37 -23
  148. package/src/tasks/Task.js +16 -2
  149. package/src/tasks/Transaction.js +7 -3
  150. package/src/tasks/index.js +8 -9
  151. package/types/bundle-errors.d.ts +1 -0
  152. package/types/bundle.d.ts +97 -0
  153. package/types/index.d.ts +2614 -84
  154. package/types/interfaces.d.ts +636 -0
  155. package/types/types.d.ts +0 -765
@@ -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 kExecutions = Symbol.for('executions');
6
- const kOnExecutionCompleted = Symbol.for('execution completed handler');
5
+ const K_EXECUTIONS = Symbol.for('executions');
6
+ const K_ON_EXECUTION_COMPLETED = Symbol.for('execution completed handler');
7
7
 
8
- export default function SubProcess(activityDef, context) {
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[kExecutions] = new Set();
42
- this[kOnExecutionCompleted] = this._onExecutionCompleted.bind(this);
52
+ this[K_EXECUTIONS] = new Set();
53
+ this[K_ON_EXECUTION_COMPLETED] = this._onExecutionCompleted.bind(this);
43
54
  }
44
55
 
45
- Object.defineProperties(SubProcessBehaviour.prototype, {
46
- execution: {
47
- get() {
48
- return [...this[kExecutions]][0];
49
- },
56
+ Object.defineProperty(SubProcessBehaviour.prototype, 'execution', {
57
+ get() {
58
+ return [...this[K_EXECUTIONS]][0];
50
59
  },
51
- executions: {
52
- get() {
53
- return [...this[kExecutions]];
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[kExecutions]) {
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[kExecutions];
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[kExecutions]) {
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[kExecutions].add(execution);
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[kOnExecutionCompleted], {
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[kExecutions].delete(execution);
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[kExecutions]) {
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
- export default function Task(activityDef, context) {
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;
@@ -1,6 +1,10 @@
1
- import SubProcess from './SubProcess.js';
2
-
3
- export default function Transaction(activityDef, context) {
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;
@@ -1,12 +1,11 @@
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';
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';