@bpmnkit/core 1.9.0 → 1.10.1
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/agent-cards/bpmn.md +3 -3
- package/builder-reference.md +11 -9
- package/dist/bpmn/auto-layout.js +82 -26
- package/dist/bpmn/bpmn-builder.d.ts +84 -7
- package/dist/bpmn/bpmn-builder.js +313 -78
- package/dist/bpmn/bpmn-model.d.ts +2 -0
- package/dist/bpmn/bpmn-parser.js +68 -76
- package/dist/bpmn/bpmn-serializer.js +60 -19
- package/dist/bpmn/bpmnlint.js +4 -69
- package/dist/bpmn/builder-rules.d.ts +20 -0
- package/dist/bpmn/builder-rules.js +120 -0
- package/dist/bpmn/camunda-compat-data.d.ts +10 -148
- package/dist/bpmn/camunda-compat-data.js +16 -407
- package/dist/bpmn/camunda-compat-feel.d.ts +3 -0
- package/dist/bpmn/camunda-compat-feel.js +1 -1
- package/dist/bpmn/camunda-compat.js +7 -6
- package/dist/bpmn/camunda7/export.js +4 -1
- package/dist/bpmn/camunda7/juel.js +2 -1
- package/dist/bpmn/camunda7/migrate.d.ts +23 -0
- package/dist/bpmn/camunda7/migrate.js +75 -3
- package/dist/bpmn/compact-stream.js +2 -1
- package/dist/bpmn/compact.d.ts +80 -4
- package/dist/bpmn/compact.js +220 -38
- package/dist/bpmn/feel-condition.d.ts +9 -0
- package/dist/bpmn/feel-condition.js +19 -0
- package/dist/bpmn/full-operations.js +31 -4
- package/dist/bpmn/index.d.ts +13 -3
- package/dist/bpmn/index.js +16 -15
- package/dist/bpmn/operations.d.ts +4 -4
- package/dist/bpmn/operations.js +14 -2
- package/dist/bpmn/optimize/bpmnlint-rules.js +7 -40
- package/dist/bpmn/optimize/index.js +15 -1
- package/dist/bpmn/optimize/tasks.js +12 -3
- package/dist/bpmn/process-delta.d.ts +18 -0
- package/dist/bpmn/process-delta.js +20 -2
- package/dist/bpmn/process-text-writer.js +27 -1
- package/dist/bpmn/process-text.d.ts +9 -3
- package/dist/bpmn/process-text.js +122 -16
- package/dist/bpmn/stable-ids.d.ts +2 -0
- package/dist/bpmn/stable-ids.js +8 -0
- package/dist/bpmn/zeebe-extensions.js +2 -1
- package/dist/bpmn/zeebe-placement.js +6 -129
- package/dist/bpmn/zeebe-validate/context.d.ts +132 -0
- package/dist/bpmn/zeebe-validate/context.js +241 -0
- package/dist/bpmn/zeebe-validate/gate.d.ts +87 -0
- package/dist/bpmn/zeebe-validate/gate.js +492 -0
- package/dist/bpmn/zeebe-validate/index.d.ts +37 -0
- package/dist/bpmn/zeebe-validate/index.js +106 -0
- package/dist/bpmn/zeebe-validate/rules/events.d.ts +4 -0
- package/dist/bpmn/zeebe-validate/rules/events.js +580 -0
- package/dist/bpmn/zeebe-validate/rules/extensions.d.ts +4 -0
- package/dist/bpmn/zeebe-validate/rules/extensions.js +411 -0
- package/dist/bpmn/zeebe-validate/rules/gateways.d.ts +3 -0
- package/dist/bpmn/zeebe-validate/rules/gateways.js +296 -0
- package/dist/bpmn/zeebe-validate/rules/references.d.ts +3 -0
- package/dist/bpmn/zeebe-validate/rules/references.js +495 -0
- package/dist/bpmn/zeebe-validate/rules/structure.d.ts +3 -0
- package/dist/bpmn/zeebe-validate/rules/structure.js +629 -0
- package/dist/bpmn/zeebe-validate/rules/tasks.d.ts +4 -0
- package/dist/bpmn/zeebe-validate/rules/tasks.js +446 -0
- package/dist/bpmn/zeebe-validate/xml.d.ts +15 -0
- package/dist/bpmn/zeebe-validate/xml.js +1062 -0
- package/dist/bpmn/zeebe-validate/xsd.d.ts +19 -0
- package/dist/bpmn/zeebe-validate/xsd.js +350 -0
- package/dist/connectors/aliases.js +1 -0
- package/dist/connectors/apply-element.d.ts +5 -2
- package/dist/connectors/apply-element.js +6 -0
- package/dist/connectors/apply-many.d.ts +9 -2
- package/dist/connectors/apply-many.js +17 -2
- package/dist/connectors/apply.d.ts +4 -2
- package/dist/connectors/deployability.d.ts +27 -0
- package/dist/connectors/deployability.js +41 -0
- package/dist/connectors/index.d.ts +1 -0
- package/dist/connectors/lines.d.ts +10 -0
- package/dist/connectors/lines.js +13 -4
- package/dist/connectors/templates/generated.js +10101 -3188
- package/dist/dmn/dmn-model.d.ts +24 -4
- package/dist/dmn/dmn-parser.js +37 -3
- package/dist/dmn/dmn-serializer.js +48 -47
- package/dist/dmn/lint.js +4 -11
- package/dist/errors.d.ts +30 -1
- package/dist/errors.js +31 -0
- package/dist/form/form-model.d.ts +11 -0
- package/dist/form/form-parser.d.ts +1 -0
- package/dist/form/form-parser.js +48 -12
- package/dist/form/form-serializer.js +40 -17
- package/dist/form/lint.js +6 -40
- package/dist/generated/bpmn-elements.d.ts +5 -0
- package/dist/generated/bpmn-elements.js +151 -0
- package/dist/generated/camunda-compat-data.d.ts +148 -0
- package/dist/generated/camunda-compat-data.js +371 -0
- package/dist/generated/dmn-elements.d.ts +12 -0
- package/dist/generated/dmn-elements.js +45 -0
- package/dist/generated/form-elements.d.ts +5 -0
- package/dist/generated/form-elements.js +45 -0
- package/dist/generated/lint-rules.d.ts +17 -0
- package/dist/generated/lint-rules.js +116 -0
- package/dist/generated/zeebe-elements.d.ts +10 -0
- package/dist/generated/zeebe-elements.js +168 -0
- package/dist/generated/zeebe-rules.d.ts +25 -0
- package/dist/generated/zeebe-rules.js +202 -0
- package/dist/index.d.ts +10 -4
- package/dist/index.js +4 -1
- package/dist/layout/annotations.js +21 -1
- package/dist/layout/orthogonal.js +9 -3
- package/dist/plan/compile.d.ts +26 -1
- package/dist/plan/compile.js +48 -6
- package/dist/plan/merge.d.ts +2 -1
- package/dist/plan/merge.js +13 -5
- package/package.json +2 -2
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
// @generated by scripts/spec-gen.mjs from spec/compat-rules.json — do not edit; run `pnpm spec:gen`.
|
|
2
|
+
/** The `bpmnlint-plugin-camunda-compat` release these tables were taken from. */
|
|
3
|
+
export const CAMUNDA_COMPAT_PLUGIN_VERSION = "2.61.0";
|
|
4
|
+
/**
|
|
5
|
+
* The Camunda 8 (and Camunda Cloud 1.x) versions the plugin ships a
|
|
6
|
+
* `camunda-cloud-X-Y` config for, oldest first.
|
|
7
|
+
*/
|
|
8
|
+
export const CAMUNDA_COMPAT_VERSIONS = ["1.0", "1.1", "1.2", "1.3", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5", "8.6", "8.7", "8.8", "8.9", "8.10"];
|
|
9
|
+
/**
|
|
10
|
+
* First version supporting each element, keyed by BPMN type. Events map their
|
|
11
|
+
* event definition (or `_` for none) to a version instead. A flow element whose
|
|
12
|
+
* type is absent — `bpmn:ComplexGateway`, `bpmn:Transaction` — is supported by
|
|
13
|
+
* no version.
|
|
14
|
+
*/
|
|
15
|
+
export const ELEMENT_SUPPORT = {
|
|
16
|
+
"bpmn:BoundaryEvent": {
|
|
17
|
+
"bpmn:CompensateEventDefinition": "8.5",
|
|
18
|
+
"bpmn:ConditionalEventDefinition": "8.9",
|
|
19
|
+
"bpmn:ErrorEventDefinition": "1.0",
|
|
20
|
+
"bpmn:EscalationEventDefinition": "8.2",
|
|
21
|
+
"bpmn:MessageEventDefinition": "1.0",
|
|
22
|
+
"bpmn:TimerEventDefinition": "1.0",
|
|
23
|
+
"bpmn:SignalEventDefinition": "8.3",
|
|
24
|
+
},
|
|
25
|
+
"bpmn:BusinessRuleTask": "1.1",
|
|
26
|
+
"bpmn:CallActivity": "1.0",
|
|
27
|
+
"bpmn:DataObject": "8.0",
|
|
28
|
+
"bpmn:DataObjectReference": "8.0",
|
|
29
|
+
"bpmn:DataStoreReference": "8.0",
|
|
30
|
+
"bpmn:EndEvent": {
|
|
31
|
+
"_": "1.0",
|
|
32
|
+
"bpmn:CompensateEventDefinition": "8.5",
|
|
33
|
+
"bpmn:ErrorEventDefinition": "1.0",
|
|
34
|
+
"bpmn:EscalationEventDefinition": "8.2",
|
|
35
|
+
"bpmn:MessageEventDefinition": "1.2",
|
|
36
|
+
"bpmn:SignalEventDefinition": "8.3",
|
|
37
|
+
"bpmn:TerminateEventDefinition": "8.1",
|
|
38
|
+
},
|
|
39
|
+
"bpmn:EventBasedGateway": "1.0",
|
|
40
|
+
"bpmn:ExclusiveGateway": "1.0",
|
|
41
|
+
"bpmn:InclusiveGateway": "8.1",
|
|
42
|
+
"bpmn:IntermediateCatchEvent": {
|
|
43
|
+
"bpmn:ConditionalEventDefinition": "8.9",
|
|
44
|
+
"bpmn:MessageEventDefinition": "1.0",
|
|
45
|
+
"bpmn:LinkEventDefinition": "8.2",
|
|
46
|
+
"bpmn:TimerEventDefinition": "1.0",
|
|
47
|
+
"bpmn:SignalEventDefinition": "8.3",
|
|
48
|
+
},
|
|
49
|
+
"bpmn:IntermediateThrowEvent": {
|
|
50
|
+
"_": "1.1",
|
|
51
|
+
"bpmn:CompensateEventDefinition": "8.5",
|
|
52
|
+
"bpmn:EscalationEventDefinition": "8.2",
|
|
53
|
+
"bpmn:LinkEventDefinition": "8.2",
|
|
54
|
+
"bpmn:MessageEventDefinition": "1.2",
|
|
55
|
+
"bpmn:SignalEventDefinition": "8.3",
|
|
56
|
+
},
|
|
57
|
+
"bpmn:ManualTask": "1.1",
|
|
58
|
+
"bpmn:ParallelGateway": "1.0",
|
|
59
|
+
"bpmn:ReceiveTask": "1.0",
|
|
60
|
+
"bpmn:ScriptTask": "1.1",
|
|
61
|
+
"bpmn:SendTask": "1.1",
|
|
62
|
+
"bpmn:ServiceTask": "1.0",
|
|
63
|
+
"bpmn:StartEvent": {
|
|
64
|
+
"_": "1.0",
|
|
65
|
+
"bpmn:ConditionalEventDefinition": "8.9",
|
|
66
|
+
"bpmn:ErrorEventDefinition": "1.0",
|
|
67
|
+
"bpmn:EscalationEventDefinition": "8.2",
|
|
68
|
+
"bpmn:MessageEventDefinition": "1.0",
|
|
69
|
+
"bpmn:SignalEventDefinition": "8.2",
|
|
70
|
+
"bpmn:TimerEventDefinition": "1.0",
|
|
71
|
+
},
|
|
72
|
+
"bpmn:SubProcess": "1.0",
|
|
73
|
+
"bpmn:Task": "8.2",
|
|
74
|
+
"bpmn:UserTask": "1.0",
|
|
75
|
+
"bpmn:AdHocSubProcess": "8.7",
|
|
76
|
+
};
|
|
77
|
+
/** First version each element accepts each implementation kind in. */
|
|
78
|
+
export const IMPLEMENTATION_SUPPORT = {
|
|
79
|
+
"calledDecision": { "bpmn:BusinessRuleTask": "1.3" },
|
|
80
|
+
"taskDefinition": {
|
|
81
|
+
"bpmn:AdHocSubProcess": "8.8",
|
|
82
|
+
"bpmn:BusinessRuleTask": "1.1",
|
|
83
|
+
"bpmn:IntermediateThrowEvent": { "bpmn:MessageEventDefinition": "1.2" },
|
|
84
|
+
"bpmn:EndEvent": { "bpmn:MessageEventDefinition": "1.2" },
|
|
85
|
+
"bpmn:ScriptTask": "1.1",
|
|
86
|
+
"bpmn:SendTask": "1.1",
|
|
87
|
+
"bpmn:ServiceTask": "1.0",
|
|
88
|
+
},
|
|
89
|
+
"script": { "bpmn:ScriptTask": "8.2" },
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* First version each timer property is allowed in, per event type, as a 2x2
|
|
93
|
+
* table (interrupting or not, in an event sub-process or elsewhere); `null`
|
|
94
|
+
* means never.
|
|
95
|
+
*/
|
|
96
|
+
export const TIMER_SUPPORT_TABLE = {
|
|
97
|
+
"bpmn:StartEvent": {
|
|
98
|
+
"timeCycle": {
|
|
99
|
+
"interrupting": { "inEventSubProcess": null, "elsewhere": "1.0" },
|
|
100
|
+
"nonInterrupting": { "inEventSubProcess": "1.0", "elsewhere": "1.0" },
|
|
101
|
+
},
|
|
102
|
+
"timeDate": {
|
|
103
|
+
"interrupting": { "inEventSubProcess": "1.0", "elsewhere": "1.0" },
|
|
104
|
+
"nonInterrupting": { "inEventSubProcess": "1.0", "elsewhere": "1.0" },
|
|
105
|
+
},
|
|
106
|
+
"timeDuration": {
|
|
107
|
+
"interrupting": { "inEventSubProcess": "1.0", "elsewhere": null },
|
|
108
|
+
"nonInterrupting": { "inEventSubProcess": "1.0", "elsewhere": null },
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
"bpmn:BoundaryEvent": {
|
|
112
|
+
"timeCycle": {
|
|
113
|
+
"interrupting": { "inEventSubProcess": null, "elsewhere": null },
|
|
114
|
+
"nonInterrupting": { "inEventSubProcess": "1.0", "elsewhere": "1.0" },
|
|
115
|
+
},
|
|
116
|
+
"timeDate": {
|
|
117
|
+
"interrupting": { "inEventSubProcess": "8.3", "elsewhere": "8.3" },
|
|
118
|
+
"nonInterrupting": { "inEventSubProcess": "8.3", "elsewhere": "8.3" },
|
|
119
|
+
},
|
|
120
|
+
"timeDuration": {
|
|
121
|
+
"interrupting": { "inEventSubProcess": "1.0", "elsewhere": "1.0" },
|
|
122
|
+
"nonInterrupting": { "inEventSubProcess": "1.0", "elsewhere": "1.0" },
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
"bpmn:IntermediateCatchEvent": {
|
|
126
|
+
"timeCycle": {
|
|
127
|
+
"interrupting": { "inEventSubProcess": null, "elsewhere": null },
|
|
128
|
+
"nonInterrupting": { "inEventSubProcess": null, "elsewhere": null },
|
|
129
|
+
},
|
|
130
|
+
"timeDate": {
|
|
131
|
+
"interrupting": { "inEventSubProcess": "8.3", "elsewhere": "8.3" },
|
|
132
|
+
"nonInterrupting": { "inEventSubProcess": "8.3", "elsewhere": "8.3" },
|
|
133
|
+
},
|
|
134
|
+
"timeDuration": {
|
|
135
|
+
"interrupting": { "inEventSubProcess": "1.0", "elsewhere": "1.0" },
|
|
136
|
+
"nonInterrupting": { "inEventSubProcess": "1.0", "elsewhere": "1.0" },
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
/** First version a timer cycle may be a cron expression rather than ISO 8601. */
|
|
141
|
+
export const CRON_TIMER_SINCE = "8.1";
|
|
142
|
+
/**
|
|
143
|
+
* First version each property-level feature is supported in — the version
|
|
144
|
+
* constants of the plugin's `no-*` rules, gathered in one place.
|
|
145
|
+
*/
|
|
146
|
+
export const FEATURE_SINCE = {
|
|
147
|
+
/** `zeebe:modelerTemplate`, an applied element template (`no-template`). */
|
|
148
|
+
modelerTemplate: "8.0",
|
|
149
|
+
/** `zeebe:properties` on any element (`no-zeebe-properties`). */
|
|
150
|
+
zeebeProperties: "8.1",
|
|
151
|
+
/** `candidateUsers` on `zeebe:assignmentDefinition` (`no-candidate-users`). */
|
|
152
|
+
candidateUsers: "8.2",
|
|
153
|
+
/** `propagateAllParentVariables="false"` (`no-propagate-all-parent-variables`). */
|
|
154
|
+
propagateAllParentVariablesFalse: "8.2",
|
|
155
|
+
/** `zeebe:taskSchedule` (`no-task-schedule`). */
|
|
156
|
+
taskSchedule: "8.2",
|
|
157
|
+
/** A catch event without an `errorRef` (`error-reference`). */
|
|
158
|
+
errorCatchWithoutRef: "8.2",
|
|
159
|
+
/** An error code expression on a throw event (`no-expression`). */
|
|
160
|
+
errorCodeExpression: "8.2",
|
|
161
|
+
/** A form on a start event (`start-event-form`). */
|
|
162
|
+
startEventForm: "8.3",
|
|
163
|
+
/** A signal start event inside a sub-process (`no-signal-event-sub-process`). */
|
|
164
|
+
signalEventSubProcess: "8.3",
|
|
165
|
+
/** A collapsed sub-process (`collapsed-subprocess`). */
|
|
166
|
+
collapsedSubProcess: "8.4",
|
|
167
|
+
/** `formId` on a job-worker user task, in Desktop Modeler (`user-task-form`). */
|
|
168
|
+
userTaskFormId: "8.4",
|
|
169
|
+
/** `zeebe:userTask`, the Camunda user task (`no-zeebe-user-task`). */
|
|
170
|
+
zeebeUserTask: "8.5",
|
|
171
|
+
/** `bindingType` other than `latest` (`no-binding-type`). */
|
|
172
|
+
bindingType: "8.6",
|
|
173
|
+
/** `zeebe:executionListeners` (`no-execution-listeners`). */
|
|
174
|
+
executionListeners: "8.6",
|
|
175
|
+
/** `zeebe:priorityDefinition` (`no-priority-definition`). */
|
|
176
|
+
priorityDefinition: "8.6",
|
|
177
|
+
/** `zeebe:versionTag` on a process (`no-version-tag`). */
|
|
178
|
+
versionTag: "8.6",
|
|
179
|
+
/** Completion condition and output collection on ad-hoc sub-processes (`ad-hoc-sub-process`). */
|
|
180
|
+
adHocCompletion: "8.8",
|
|
181
|
+
/** `zeebe:taskListeners` (`no-task-listeners`). */
|
|
182
|
+
taskListeners: "8.8",
|
|
183
|
+
/** A `zeebe:input` without `source` (`io-mapping`). */
|
|
184
|
+
inputWithoutSource: "8.8",
|
|
185
|
+
/** `businessId` on `zeebe:calledElement` (`no-business-id`). */
|
|
186
|
+
businessId: "8.10",
|
|
187
|
+
/** Headers on execution listeners (`no-execution-listener-headers`). */
|
|
188
|
+
executionListenerHeaders: "8.10",
|
|
189
|
+
/** `beforeAll` execution listeners (`no-before-all-execution-listener`). */
|
|
190
|
+
beforeAllExecutionListener: "8.10",
|
|
191
|
+
/** `cancel` execution listeners (`no-cancel-execution-listener`). */
|
|
192
|
+
cancelExecutionListener: "8.10",
|
|
193
|
+
/** `zeebe:jobPriorityDefinition` (`no-job-priority-definition`). */
|
|
194
|
+
jobPriorityDefinition: "8.10",
|
|
195
|
+
/** A FEEL expression as the version tag of a called decision (`version-tag`). */
|
|
196
|
+
decisionVersionTagExpression: "8.10",
|
|
197
|
+
/** `camunda.secrets.NAME`, superseding `{{secrets.NAME}}` (`secrets`). */
|
|
198
|
+
camundaSecrets: "8.10",
|
|
199
|
+
/** `zeebe:agentDefinition` marks an agentic ad-hoc sub-process (the agent rules). */
|
|
200
|
+
agentDefinition: "8.10",
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* First version each Camunda FEEL built-in function is available in, for
|
|
204
|
+
* `feel-compatibility`. Functions every version has are absent.
|
|
205
|
+
*
|
|
206
|
+
* Taken from the `engines.camunda` ranges of `@camunda/feel-builtins` 1.4.1
|
|
207
|
+
* (MIT, © Camunda Services GmbH) — `camundaBuiltins` and
|
|
208
|
+
* `camundaReservedNameBuiltins` — the table the plugin 2.61.0 checks against.
|
|
209
|
+
* Every range there is `>=X.Y`.
|
|
210
|
+
*/
|
|
211
|
+
export const FEEL_BUILTIN_SINCE = {
|
|
212
|
+
"context merge": "8.2",
|
|
213
|
+
"last day of month": "8.2",
|
|
214
|
+
"random number": "8.2",
|
|
215
|
+
"assert": "8.3",
|
|
216
|
+
"duplicate values": "8.3",
|
|
217
|
+
"get or else": "8.3",
|
|
218
|
+
"is empty": "8.6",
|
|
219
|
+
"to base64": "8.6",
|
|
220
|
+
"trim": "8.6",
|
|
221
|
+
"uuid": "8.6",
|
|
222
|
+
"partition": "8.7",
|
|
223
|
+
"fromAi": "8.8",
|
|
224
|
+
"is blank": "8.8",
|
|
225
|
+
"from base64": "8.9",
|
|
226
|
+
"from json": "8.9",
|
|
227
|
+
"to json": "8.9",
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Inbound connector properties (`zeebe:property` names) that need a newer
|
|
231
|
+
* Camunda version, and the `inbound.type` values of the connectors that take
|
|
232
|
+
* them — `rules/camunda-cloud/connector-properties/config.js` of the plugin.
|
|
233
|
+
*/
|
|
234
|
+
export const INBOUND_CONNECTOR_PROPERTY_SINCE = {
|
|
235
|
+
"messageTtl": {
|
|
236
|
+
"since": "8.6",
|
|
237
|
+
"connectors": [
|
|
238
|
+
"io.camunda:webhook:1",
|
|
239
|
+
"io.camunda:connector-rabbitmq-inbound:1",
|
|
240
|
+
"io.camunda:http-polling:1",
|
|
241
|
+
"io.camunda:connector-kafka-inbound:1",
|
|
242
|
+
"io.camunda:slack-webhook:1",
|
|
243
|
+
"io.camunda:aws-sqs-inbound:1",
|
|
244
|
+
"io.camunda:aws-sns-webhook:1",
|
|
245
|
+
],
|
|
246
|
+
},
|
|
247
|
+
"consumeUnmatchedEvents": {
|
|
248
|
+
"since": "8.6",
|
|
249
|
+
"connectors": [
|
|
250
|
+
"io.camunda:webhook:1",
|
|
251
|
+
"io.camunda:connector-rabbitmq-inbound:1",
|
|
252
|
+
"io.camunda:http-polling:1",
|
|
253
|
+
"io.camunda:connector-kafka-inbound:1",
|
|
254
|
+
"io.camunda:slack-webhook:1",
|
|
255
|
+
"io.camunda:aws-sqs-inbound:1",
|
|
256
|
+
"io.camunda:aws-sns-webhook:1",
|
|
257
|
+
],
|
|
258
|
+
},
|
|
259
|
+
"deduplicationModeManualFlag": {
|
|
260
|
+
"since": "8.6",
|
|
261
|
+
"connectors": [
|
|
262
|
+
"io.camunda:connector-rabbitmq-inbound:1",
|
|
263
|
+
"io.camunda:http-polling:1",
|
|
264
|
+
"io.camunda:connector-kafka-inbound:1",
|
|
265
|
+
"io.camunda:aws-sqs-inbound:1",
|
|
266
|
+
],
|
|
267
|
+
},
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Every rule of the plugin's `camunda-cloud-*` configs, with the versions it
|
|
271
|
+
* is enabled for — `index.js` of the plugin, as data.
|
|
272
|
+
*/
|
|
273
|
+
export const CAMUNDA_COMPAT_RULES = {
|
|
274
|
+
"ad-hoc-sub-process": { "severity": "error", "since": "8.7", "coverage": "implemented" },
|
|
275
|
+
"agent-fromai-contract": { "severity": "error", "since": "8.8", "coverage": "implemented" },
|
|
276
|
+
"agent-tool-documentation": {
|
|
277
|
+
"severity": "warn",
|
|
278
|
+
"since": "8.8",
|
|
279
|
+
"coverage": "existing",
|
|
280
|
+
"equivalents": ["agentic/tool-no-description"],
|
|
281
|
+
"note": "BPMN Kit's `agentic/tool-no-description` reports the same gap.",
|
|
282
|
+
},
|
|
283
|
+
"agent-tool-output-key": { "severity": "warn", "since": "8.8", "coverage": "implemented" },
|
|
284
|
+
"before-all-execution-listener": { "severity": "error", "since": "8.10", "coverage": "implemented" },
|
|
285
|
+
"called-element": { "severity": "error", "coverage": "implemented", "equivalents": ["deploy/call-activity-no-process"] },
|
|
286
|
+
"cancel-execution-listener": { "severity": "error", "since": "8.10", "coverage": "implemented" },
|
|
287
|
+
"collapsed-subprocess": { "severity": "error", "until": "8.4", "coverage": "implemented" },
|
|
288
|
+
"connector-properties": { "severity": "warn", "since": "8.0", "coverage": "implemented" },
|
|
289
|
+
"duplicate-execution-listener-headers": { "severity": "error", "since": "8.10", "coverage": "implemented" },
|
|
290
|
+
"duplicate-execution-listeners": { "severity": "error", "since": "8.6", "coverage": "implemented" },
|
|
291
|
+
"duplicate-task-headers": { "severity": "error", "coverage": "implemented" },
|
|
292
|
+
"element-type": { "severity": "error", "coverage": "implemented" },
|
|
293
|
+
"error-reference": { "severity": "error", "coverage": "implemented" },
|
|
294
|
+
"escalation-boundary-event-attached-to-ref": { "severity": "error", "since": "8.2", "coverage": "implemented" },
|
|
295
|
+
"escalation-reference": { "severity": "error", "since": "8.2", "coverage": "implemented" },
|
|
296
|
+
"event-based-gateway-target": { "severity": "error", "coverage": "implemented" },
|
|
297
|
+
"executable-process": {
|
|
298
|
+
"severity": "error",
|
|
299
|
+
"coverage": "existing",
|
|
300
|
+
"equivalents": ["deploy/process-not-executable"],
|
|
301
|
+
"note": "`deploy/process-not-executable` reports every non-executable process; the plugin only complains when none is executable.",
|
|
302
|
+
},
|
|
303
|
+
"execution-listener": { "severity": "error", "since": "8.6", "coverage": "implemented" },
|
|
304
|
+
"feel": {
|
|
305
|
+
"severity": "error",
|
|
306
|
+
"coverage": "existing",
|
|
307
|
+
"equivalents": ["feel-syntax/parse-error"],
|
|
308
|
+
"note": "BPMN Kit's own FEEL parser reports syntax errors as `feel-syntax/parse-error`.",
|
|
309
|
+
},
|
|
310
|
+
"feel-compatibility": {
|
|
311
|
+
"severity": "error",
|
|
312
|
+
"coverage": "implemented",
|
|
313
|
+
"note": "Parses with `@bpmnkit/feel` rather than the plugin's lezer-feel grammar, so an expression only one of the two parsers accepts is judged differently.",
|
|
314
|
+
},
|
|
315
|
+
"implementation": { "severity": "error", "coverage": "implemented", "equivalents": ["deploy/service-task-no-type"] },
|
|
316
|
+
"inclusive-gateway": { "severity": "error", "since": "8.1", "until": "8.6", "coverage": "implemented" },
|
|
317
|
+
"io-mapping": { "severity": "error", "coverage": "implemented" },
|
|
318
|
+
"link-event": {
|
|
319
|
+
"severity": "error",
|
|
320
|
+
"since": "8.2",
|
|
321
|
+
"coverage": "implemented",
|
|
322
|
+
"equivalents": ["flow/link-event-mismatch"],
|
|
323
|
+
"note": "Where bpmnlint's `link-event` runs (`flow/link-event-mismatch`), it reports the same unnamed or duplicate link event, and that finding stays.",
|
|
324
|
+
},
|
|
325
|
+
"loop-characteristics": { "severity": "error", "coverage": "implemented" },
|
|
326
|
+
"message-reference": { "severity": "error", "coverage": "implemented", "equivalents": ["deploy/message-start-no-name"] },
|
|
327
|
+
"no-before-all-execution-listener": { "severity": "error", "since": "8.6", "until": "8.10", "coverage": "implemented" },
|
|
328
|
+
"no-binding-type": { "severity": "error", "until": "8.6", "coverage": "implemented" },
|
|
329
|
+
"no-business-id": { "severity": "error", "until": "8.10", "coverage": "implemented" },
|
|
330
|
+
"no-candidate-users": { "severity": "error", "until": "8.2", "coverage": "implemented" },
|
|
331
|
+
"no-cancel-execution-listener": { "severity": "error", "until": "8.10", "coverage": "implemented" },
|
|
332
|
+
"no-execution-listener-headers": { "severity": "error", "until": "8.10", "coverage": "implemented" },
|
|
333
|
+
"no-execution-listeners": { "severity": "error", "until": "8.6", "coverage": "implemented" },
|
|
334
|
+
"no-expression": { "severity": "error", "coverage": "implemented" },
|
|
335
|
+
"no-interrupting-event-subprocess": { "severity": "error", "since": "8.7", "coverage": "implemented" },
|
|
336
|
+
"no-job-priority-definition": { "severity": "error", "until": "8.10", "coverage": "implemented" },
|
|
337
|
+
"no-loop": { "severity": "error", "coverage": "implemented" },
|
|
338
|
+
"no-multiple-none-start-events": { "severity": "error", "coverage": "implemented" },
|
|
339
|
+
"no-priority-definition": { "severity": "error", "until": "8.6", "coverage": "implemented" },
|
|
340
|
+
"no-propagate-all-parent-variables": { "severity": "error", "until": "8.2", "coverage": "implemented" },
|
|
341
|
+
"no-signal-event-sub-process": { "severity": "error", "since": "8.2", "until": "8.3", "coverage": "implemented" },
|
|
342
|
+
"no-task-listeners": { "severity": "error", "until": "8.8", "coverage": "implemented" },
|
|
343
|
+
"no-task-schedule": { "severity": "error", "until": "8.2", "coverage": "implemented" },
|
|
344
|
+
"no-template": { "severity": "error", "until": "8.0", "coverage": "implemented" },
|
|
345
|
+
"no-version-tag": { "severity": "error", "until": "8.6", "coverage": "implemented" },
|
|
346
|
+
"no-zeebe-properties": { "severity": "error", "until": "8.1", "coverage": "implemented" },
|
|
347
|
+
"no-zeebe-user-task": { "severity": "error", "until": "8.5", "coverage": "implemented" },
|
|
348
|
+
"priority-definition": { "severity": "error", "since": "8.6", "coverage": "implemented" },
|
|
349
|
+
"secrets": { "severity": "warn", "since": "8.3", "coverage": "implemented" },
|
|
350
|
+
"sequence-flow-condition": { "severity": "error", "coverage": "implemented", "equivalents": ["feel/empty-condition"] },
|
|
351
|
+
"signal-reference": { "severity": "error", "since": "8.3", "coverage": "implemented" },
|
|
352
|
+
"start-event-form": { "severity": "error", "coverage": "implemented" },
|
|
353
|
+
"start-event-form-embedded": { "severity": "warn", "since": "8.9", "coverage": "implemented" },
|
|
354
|
+
"subscription": {
|
|
355
|
+
"severity": "error",
|
|
356
|
+
"coverage": "partial",
|
|
357
|
+
"equivalents": ["deploy/message-catch-no-correlation"],
|
|
358
|
+
"note": "A `zeebe:subscription` placed on the catch element instead of on its `bpmn:message` is reported as the plugin reports it: the message is missing its subscription. BPMN Kit's builders write it on the message.",
|
|
359
|
+
},
|
|
360
|
+
"task-listener": { "severity": "error", "since": "8.8", "coverage": "implemented" },
|
|
361
|
+
"task-schedule": { "severity": "error", "since": "8.2", "coverage": "implemented" },
|
|
362
|
+
"timer": { "severity": "error", "coverage": "implemented" },
|
|
363
|
+
"unresolvable-secret-reference": { "severity": "error", "since": "8.10", "coverage": "implemented" },
|
|
364
|
+
"user-task-definition": { "severity": "warn", "coverage": "implemented" },
|
|
365
|
+
"user-task-form": { "severity": "error", "coverage": "implemented" },
|
|
366
|
+
"variable-name": { "severity": "error", "coverage": "implemented" },
|
|
367
|
+
"version-tag": { "severity": "error", "since": "8.6", "coverage": "implemented" },
|
|
368
|
+
"wait-for-completion": { "severity": "error", "since": "8.5", "coverage": "implemented" },
|
|
369
|
+
"zeebe-user-task": { "severity": "warn", "since": "8.6", "coverage": "implemented" },
|
|
370
|
+
};
|
|
371
|
+
//# sourceMappingURL=camunda-compat-data.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Every dmn element, in the spec's order. */
|
|
2
|
+
export declare const DMN_ELEMENT_NAMES: readonly ["dmnElement", "namedElement", "definitions", "decision", "inputData", "knowledgeSource", "businessKnowledgeModel", "informationRequirement", "knowledgeRequirement", "authorityRequirement", "requiredDecision", "requiredInput", "requiredKnowledge", "requiredAuthority", "decisionTable", "input", "inputExpression", "output", "rule", "inputEntry", "outputEntry", "literalExpression", "text", "description", "extensionElements", "textAnnotation", "association"];
|
|
3
|
+
/** The elements carrying each trait, in the spec's order. */
|
|
4
|
+
export declare const DMN_ELEMENTS_BY_TRAIT: Readonly<Record<"drgElement" | "requirement" | "artifact", readonly string[]>>;
|
|
5
|
+
/** The allowed values of each enum attribute, keyed `element.attribute`, in the spec's order. */
|
|
6
|
+
export declare const DMN_ATTRIBUTE_VALUES: {
|
|
7
|
+
readonly "decisionTable.hitPolicy": readonly ["UNIQUE", "FIRST", "PRIORITY", "ANY", "COLLECT", "RULE ORDER", "OUTPUT ORDER"];
|
|
8
|
+
readonly "decisionTable.aggregation": readonly ["SUM", "MIN", "MAX", "COUNT"];
|
|
9
|
+
readonly "decisionTable.preferredOrientation": readonly ["Rule-as-Row", "Rule-as-Column", "CrossTable"];
|
|
10
|
+
readonly "association.associationDirection": readonly ["None", "One", "Both"];
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=dmn-elements.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// @generated by scripts/spec-gen.mjs from spec/elements/dmn.json — do not edit; run `pnpm spec:gen`.
|
|
2
|
+
/** Every dmn element, in the spec's order. */
|
|
3
|
+
export const DMN_ELEMENT_NAMES = [
|
|
4
|
+
"dmnElement",
|
|
5
|
+
"namedElement",
|
|
6
|
+
"definitions",
|
|
7
|
+
"decision",
|
|
8
|
+
"inputData",
|
|
9
|
+
"knowledgeSource",
|
|
10
|
+
"businessKnowledgeModel",
|
|
11
|
+
"informationRequirement",
|
|
12
|
+
"knowledgeRequirement",
|
|
13
|
+
"authorityRequirement",
|
|
14
|
+
"requiredDecision",
|
|
15
|
+
"requiredInput",
|
|
16
|
+
"requiredKnowledge",
|
|
17
|
+
"requiredAuthority",
|
|
18
|
+
"decisionTable",
|
|
19
|
+
"input",
|
|
20
|
+
"inputExpression",
|
|
21
|
+
"output",
|
|
22
|
+
"rule",
|
|
23
|
+
"inputEntry",
|
|
24
|
+
"outputEntry",
|
|
25
|
+
"literalExpression",
|
|
26
|
+
"text",
|
|
27
|
+
"description",
|
|
28
|
+
"extensionElements",
|
|
29
|
+
"textAnnotation",
|
|
30
|
+
"association",
|
|
31
|
+
];
|
|
32
|
+
/** The elements carrying each trait, in the spec's order. */
|
|
33
|
+
export const DMN_ELEMENTS_BY_TRAIT = {
|
|
34
|
+
"drgElement": ["decision", "inputData", "knowledgeSource", "businessKnowledgeModel"],
|
|
35
|
+
"requirement": ["informationRequirement", "knowledgeRequirement", "authorityRequirement"],
|
|
36
|
+
"artifact": ["textAnnotation", "association"],
|
|
37
|
+
};
|
|
38
|
+
/** The allowed values of each enum attribute, keyed `element.attribute`, in the spec's order. */
|
|
39
|
+
export const DMN_ATTRIBUTE_VALUES = {
|
|
40
|
+
"decisionTable.hitPolicy": ["UNIQUE", "FIRST", "PRIORITY", "ANY", "COLLECT", "RULE ORDER", "OUTPUT ORDER"],
|
|
41
|
+
"decisionTable.aggregation": ["SUM", "MIN", "MAX", "COUNT"],
|
|
42
|
+
"decisionTable.preferredOrientation": ["Rule-as-Row", "Rule-as-Column", "CrossTable"],
|
|
43
|
+
"association.associationDirection": ["None", "One", "Both"],
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=dmn-elements.js.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Every form element, in the spec's order. */
|
|
2
|
+
export declare const FORM_ELEMENT_NAMES: readonly ["text", "textfield", "textarea", "number", "datetime", "select", "radio", "checkbox", "checklist", "taglist", "button", "group", "dynamiclist", "iframe", "image", "table", "html", "separator", "spacer", "expression", "filepicker", "documentPreview"];
|
|
3
|
+
/** The elements carrying each trait, in the spec's order. */
|
|
4
|
+
export declare const FORM_ELEMENTS_BY_TRAIT: Readonly<Record<"keyed" | "options" | "scope", readonly string[]>>;
|
|
5
|
+
//# sourceMappingURL=form-elements.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// @generated by scripts/spec-gen.mjs from spec/elements/form.json — do not edit; run `pnpm spec:gen`.
|
|
2
|
+
/** Every form element, in the spec's order. */
|
|
3
|
+
export const FORM_ELEMENT_NAMES = [
|
|
4
|
+
"text",
|
|
5
|
+
"textfield",
|
|
6
|
+
"textarea",
|
|
7
|
+
"number",
|
|
8
|
+
"datetime",
|
|
9
|
+
"select",
|
|
10
|
+
"radio",
|
|
11
|
+
"checkbox",
|
|
12
|
+
"checklist",
|
|
13
|
+
"taglist",
|
|
14
|
+
"button",
|
|
15
|
+
"group",
|
|
16
|
+
"dynamiclist",
|
|
17
|
+
"iframe",
|
|
18
|
+
"image",
|
|
19
|
+
"table",
|
|
20
|
+
"html",
|
|
21
|
+
"separator",
|
|
22
|
+
"spacer",
|
|
23
|
+
"expression",
|
|
24
|
+
"filepicker",
|
|
25
|
+
"documentPreview",
|
|
26
|
+
];
|
|
27
|
+
/** The elements carrying each trait, in the spec's order. */
|
|
28
|
+
export const FORM_ELEMENTS_BY_TRAIT = {
|
|
29
|
+
"keyed": [
|
|
30
|
+
"textfield",
|
|
31
|
+
"textarea",
|
|
32
|
+
"number",
|
|
33
|
+
"datetime",
|
|
34
|
+
"select",
|
|
35
|
+
"radio",
|
|
36
|
+
"checkbox",
|
|
37
|
+
"checklist",
|
|
38
|
+
"taglist",
|
|
39
|
+
"expression",
|
|
40
|
+
"filepicker",
|
|
41
|
+
],
|
|
42
|
+
"options": ["select", "radio", "checklist", "taglist"],
|
|
43
|
+
"scope": ["group", "dynamiclist"],
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=form-elements.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { OptimizationCategory } from "../bpmn/optimize/types.js";
|
|
2
|
+
/** The bpmnlint release these rule names and presets are taken from. */
|
|
3
|
+
export declare const BPMNLINT_VERSION = "11.14";
|
|
4
|
+
/** Every bpmnlint rule, in bpmnlint's order. */
|
|
5
|
+
export declare const RULE_NAMES_ALL: readonly ["ad-hoc-sub-process", "conditional-event", "conditional-flows", "end-event-required", "event-based-gateway", "event-sub-process-typed-start-event", "fake-join", "global", "label-required", "link-event", "no-bpmndi", "no-complex-gateway", "no-disconnected", "no-duplicate-sequence-flows", "no-gateway-join-fork", "no-implicit-end", "no-implicit-split", "no-implicit-start", "no-inclusive-gateway", "no-overlapping-elements", "single-blank-start-event", "single-event-definition", "standard-size", "start-event-required", "sub-process-blank-start-event", "superfluous-gateway", "superfluous-label", "superfluous-termination"];
|
|
6
|
+
/** The natively implemented rules, in check order, and the category of each. */
|
|
7
|
+
export declare const NATIVE_RULE_CATEGORIES: Readonly<Record<string, OptimizationCategory>>;
|
|
8
|
+
/** Default sizes of the `standard-size` rule (bpmn-js's, as bpmnlint copies them). */
|
|
9
|
+
export declare const STANDARD_SIZE_DEFAULTS: Readonly<Record<string, {
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
}>>;
|
|
13
|
+
/** bpmnlint's `correctness` preset. */
|
|
14
|
+
export declare const CORRECTNESS_PRESET: Readonly<Record<string, "off" | "warn" | "error" | "info">>;
|
|
15
|
+
/** bpmnlint's `recommended` preset. */
|
|
16
|
+
export declare const RECOMMENDED_PRESET: Readonly<Record<string, "off" | "warn" | "error" | "info">>;
|
|
17
|
+
//# sourceMappingURL=lint-rules.d.ts.map
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/** The bpmnlint release these rule names and presets are taken from. */
|
|
2
|
+
export const BPMNLINT_VERSION = "11.14";
|
|
3
|
+
/** Every bpmnlint rule, in bpmnlint's order. */
|
|
4
|
+
export const RULE_NAMES_ALL = [
|
|
5
|
+
"ad-hoc-sub-process",
|
|
6
|
+
"conditional-event",
|
|
7
|
+
"conditional-flows",
|
|
8
|
+
"end-event-required",
|
|
9
|
+
"event-based-gateway",
|
|
10
|
+
"event-sub-process-typed-start-event",
|
|
11
|
+
"fake-join",
|
|
12
|
+
"global",
|
|
13
|
+
"label-required",
|
|
14
|
+
"link-event",
|
|
15
|
+
"no-bpmndi",
|
|
16
|
+
"no-complex-gateway",
|
|
17
|
+
"no-disconnected",
|
|
18
|
+
"no-duplicate-sequence-flows",
|
|
19
|
+
"no-gateway-join-fork",
|
|
20
|
+
"no-implicit-end",
|
|
21
|
+
"no-implicit-split",
|
|
22
|
+
"no-implicit-start",
|
|
23
|
+
"no-inclusive-gateway",
|
|
24
|
+
"no-overlapping-elements",
|
|
25
|
+
"single-blank-start-event",
|
|
26
|
+
"single-event-definition",
|
|
27
|
+
"standard-size",
|
|
28
|
+
"start-event-required",
|
|
29
|
+
"sub-process-blank-start-event",
|
|
30
|
+
"superfluous-gateway",
|
|
31
|
+
"superfluous-label",
|
|
32
|
+
"superfluous-termination",
|
|
33
|
+
];
|
|
34
|
+
/** The natively implemented rules, in check order, and the category of each. */
|
|
35
|
+
export const NATIVE_RULE_CATEGORIES = {
|
|
36
|
+
"ad-hoc-sub-process": "flow",
|
|
37
|
+
"conditional-event": "flow",
|
|
38
|
+
"conditional-flows": "feel",
|
|
39
|
+
"end-event-required": "flow",
|
|
40
|
+
"event-based-gateway": "flow",
|
|
41
|
+
"event-sub-process-typed-start-event": "flow",
|
|
42
|
+
"fake-join": "flow",
|
|
43
|
+
"global": "pattern",
|
|
44
|
+
"label-required": "naming",
|
|
45
|
+
"link-event": "flow",
|
|
46
|
+
"no-bpmndi": "pattern",
|
|
47
|
+
"no-complex-gateway": "pattern",
|
|
48
|
+
"no-disconnected": "flow",
|
|
49
|
+
"no-duplicate-sequence-flows": "flow",
|
|
50
|
+
"no-gateway-join-fork": "flow",
|
|
51
|
+
"no-implicit-end": "flow",
|
|
52
|
+
"no-implicit-start": "flow",
|
|
53
|
+
"no-implicit-split": "flow",
|
|
54
|
+
"no-inclusive-gateway": "pattern",
|
|
55
|
+
"no-overlapping-elements": "pattern",
|
|
56
|
+
"single-blank-start-event": "flow",
|
|
57
|
+
"single-event-definition": "flow",
|
|
58
|
+
"standard-size": "pattern",
|
|
59
|
+
"start-event-required": "flow",
|
|
60
|
+
"sub-process-blank-start-event": "flow",
|
|
61
|
+
"superfluous-gateway": "flow",
|
|
62
|
+
"superfluous-label": "naming",
|
|
63
|
+
"superfluous-termination": "flow",
|
|
64
|
+
};
|
|
65
|
+
/** Default sizes of the `standard-size` rule (bpmn-js's, as bpmnlint copies them). */
|
|
66
|
+
export const STANDARD_SIZE_DEFAULTS = {
|
|
67
|
+
"bpmn:Task": { "width": 100, "height": 80 },
|
|
68
|
+
"bpmn:CallActivity": { "width": 100, "height": 80 },
|
|
69
|
+
"bpmn:SubProcess": { "width": 100, "height": 80 },
|
|
70
|
+
"bpmn:Gateway": { "width": 50, "height": 50 },
|
|
71
|
+
"bpmn:Event": { "width": 36, "height": 36 },
|
|
72
|
+
"bpmn:DataObjectReference": { "width": 36, "height": 50 },
|
|
73
|
+
"bpmn:DataStoreReference": { "width": 50, "height": 50 },
|
|
74
|
+
"bpmn:Participant": { "width": 60, "height": 60 },
|
|
75
|
+
};
|
|
76
|
+
/** bpmnlint's `correctness` preset. */
|
|
77
|
+
export const CORRECTNESS_PRESET = {
|
|
78
|
+
"ad-hoc-sub-process": "error",
|
|
79
|
+
"conditional-event": "error",
|
|
80
|
+
"event-based-gateway": "error",
|
|
81
|
+
"event-sub-process-typed-start-event": "error",
|
|
82
|
+
"link-event": "error",
|
|
83
|
+
"no-duplicate-sequence-flows": "warn",
|
|
84
|
+
"sub-process-blank-start-event": "error",
|
|
85
|
+
"single-blank-start-event": "error",
|
|
86
|
+
};
|
|
87
|
+
/** bpmnlint's `recommended` preset. */
|
|
88
|
+
export const RECOMMENDED_PRESET = {
|
|
89
|
+
"ad-hoc-sub-process": "error",
|
|
90
|
+
"conditional-flows": "error",
|
|
91
|
+
"end-event-required": "error",
|
|
92
|
+
"event-based-gateway": "error",
|
|
93
|
+
"event-sub-process-typed-start-event": "error",
|
|
94
|
+
"fake-join": "warn",
|
|
95
|
+
"global": "warn",
|
|
96
|
+
"label-required": "error",
|
|
97
|
+
"link-event": "error",
|
|
98
|
+
"no-bpmndi": "error",
|
|
99
|
+
"no-complex-gateway": "error",
|
|
100
|
+
"no-disconnected": "error",
|
|
101
|
+
"no-duplicate-sequence-flows": "error",
|
|
102
|
+
"no-gateway-join-fork": "error",
|
|
103
|
+
"no-implicit-split": "error",
|
|
104
|
+
"no-implicit-end": "error",
|
|
105
|
+
"no-implicit-start": "error",
|
|
106
|
+
"no-inclusive-gateway": "warn",
|
|
107
|
+
"no-overlapping-elements": "warn",
|
|
108
|
+
"single-blank-start-event": "error",
|
|
109
|
+
"single-event-definition": "error",
|
|
110
|
+
"start-event-required": "error",
|
|
111
|
+
"sub-process-blank-start-event": "error",
|
|
112
|
+
"superfluous-gateway": "warn",
|
|
113
|
+
"superfluous-label": "warn",
|
|
114
|
+
"superfluous-termination": "warn",
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=lint-rules.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Every zeebe element, in the spec's order. */
|
|
2
|
+
export declare const ZEEBE_ELEMENT_NAMES: readonly ["adHoc", "agentDefinition", "assignmentDefinition", "calledDecision", "calledElement", "conditionalFilter", "executionListener", "executionListeners", "formDefinition", "header", "input", "ioMapping", "jobPriorityDefinition", "linkedResource", "linkedResources", "loopCharacteristics", "output", "priorityDefinition", "properties", "property", "script", "subscription", "taskDefinition", "taskHeaders", "taskListener", "taskListeners", "taskSchedule", "userTask", "userTaskForm", "versionTag"];
|
|
3
|
+
/** The elements carrying each trait, in the spec's order. */
|
|
4
|
+
export declare const ZEEBE_ELEMENTS_BY_TRAIT: Readonly<Record<"collection", readonly string[]>>;
|
|
5
|
+
/**
|
|
6
|
+
* Where each zeebe element may be placed: qualified element name → the parents (`name` or
|
|
7
|
+
* `family:name`) it may sit directly in. Elements without `allowedIn` are absent.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ZEEBE_ALLOWED_IN: Readonly<Record<string, readonly string[]>>;
|
|
10
|
+
//# sourceMappingURL=zeebe-elements.d.ts.map
|