@bpmnkit/cli 0.0.14 → 0.0.15
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/dist/generated/commands.js +0 -15
- package/package.json +2 -2
|
@@ -406,21 +406,6 @@ export const decisionInstanceGroup = {
|
|
|
406
406
|
argName: "decisionEvaluationInstanceKey",
|
|
407
407
|
get: (client, key) => client.decisionInstance.getDecisionInstance(key),
|
|
408
408
|
}),
|
|
409
|
-
{
|
|
410
|
-
name: "delete",
|
|
411
|
-
description: "Delete decision instance",
|
|
412
|
-
args: [{ name: "decisionInstanceKey", description: "decisionInstanceKey", required: true }],
|
|
413
|
-
flags: [DATA_OPT_FLAG],
|
|
414
|
-
async run(ctx) {
|
|
415
|
-
const decisionInstanceKey = ctx.positional[0];
|
|
416
|
-
if (!decisionInstanceKey)
|
|
417
|
-
throw new Error("Missing required argument: <decisionInstanceKey>");
|
|
418
|
-
const body = parseJson(ctx.flags.data, "data");
|
|
419
|
-
const client = await ctx.getClient();
|
|
420
|
-
await client.decisionInstance.deleteDecisionInstance(decisionInstanceKey, body);
|
|
421
|
-
ctx.output.ok("delete completed.");
|
|
422
|
-
},
|
|
423
|
-
},
|
|
424
409
|
makeCreateCmd({
|
|
425
410
|
name: "delete-batch-operation",
|
|
426
411
|
description: "Delete decision instances (batch)",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmnkit/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "Command-line interface for Camunda 8 — deploy, manage, and monitor processes from the terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"node": ">=20"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
+
"@bpmnkit/connector-gen": "0.0.7",
|
|
18
19
|
"@bpmnkit/api": "0.0.12",
|
|
19
20
|
"@bpmnkit/ascii": "0.0.13",
|
|
20
|
-
"@bpmnkit/connector-gen": "0.0.6",
|
|
21
21
|
"@bpmnkit/profiles": "0.0.9"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|