@nanobpm/engine-wasm 0.10.0 → 0.11.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/lean/nanobpmn_engine.d.ts +10 -8
- package/lean/nanobpmn_engine.js +10 -8
- package/lean/nanobpmn_engine_bg.wasm +0 -0
- package/package.json +1 -1
- package/readmodel/nanobpmn_engine.d.ts +10 -8
- package/readmodel/nanobpmn_engine.js +10 -8
- package/readmodel/nanobpmn_engine_bg.wasm +0 -0
- package/readmodel-types/types.gen.d.ts +12870 -8218
|
@@ -192,14 +192,16 @@ export class TestEngine {
|
|
|
192
192
|
deployResource(resource_name: string, content: string): string;
|
|
193
193
|
/**
|
|
194
194
|
* Evaluate a deployed decision by id against the given variables — the
|
|
195
|
-
* standalone counterpart to a business rule task's in-line evaluation
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
* `
|
|
201
|
-
*
|
|
202
|
-
*
|
|
195
|
+
* standalone counterpart to a business rule task's in-line evaluation (the
|
|
196
|
+
* engine's `EvaluateDecision` command, exactly as the gateway runs it). The
|
|
197
|
+
* decision must already be deployed (via `deploy`/`deployDecision`). The
|
|
198
|
+
* evaluation is recorded as a decision instance with its own minted
|
|
199
|
+
* `decisionEvaluationKey` and no process instance — a failed one too
|
|
200
|
+
* (Zeebe parity, #1292). `variables_json` is a JSON object string (`"{}"` /
|
|
201
|
+
* `""` for none). Returns
|
|
202
|
+
* `{ "decisionId": ..., "decisionKey": ..., "decisionEvaluationKey": ..., "output": <value> }`
|
|
203
|
+
* on success, or throws a JS error carrying an "unknown decision" or
|
|
204
|
+
* evaluation-failure message.
|
|
203
205
|
*/
|
|
204
206
|
evaluateDecision(decision_id: string, variables_json: string): string;
|
|
205
207
|
/**
|
package/lean/nanobpmn_engine.js
CHANGED
|
@@ -764,14 +764,16 @@ export class TestEngine {
|
|
|
764
764
|
}
|
|
765
765
|
/**
|
|
766
766
|
* Evaluate a deployed decision by id against the given variables — the
|
|
767
|
-
* standalone counterpart to a business rule task's in-line evaluation
|
|
768
|
-
*
|
|
769
|
-
*
|
|
770
|
-
*
|
|
771
|
-
*
|
|
772
|
-
* `
|
|
773
|
-
*
|
|
774
|
-
*
|
|
767
|
+
* standalone counterpart to a business rule task's in-line evaluation (the
|
|
768
|
+
* engine's `EvaluateDecision` command, exactly as the gateway runs it). The
|
|
769
|
+
* decision must already be deployed (via `deploy`/`deployDecision`). The
|
|
770
|
+
* evaluation is recorded as a decision instance with its own minted
|
|
771
|
+
* `decisionEvaluationKey` and no process instance — a failed one too
|
|
772
|
+
* (Zeebe parity, #1292). `variables_json` is a JSON object string (`"{}"` /
|
|
773
|
+
* `""` for none). Returns
|
|
774
|
+
* `{ "decisionId": ..., "decisionKey": ..., "decisionEvaluationKey": ..., "output": <value> }`
|
|
775
|
+
* on success, or throws a JS error carrying an "unknown decision" or
|
|
776
|
+
* evaluation-failure message.
|
|
775
777
|
* @param {string} decision_id
|
|
776
778
|
* @param {string} variables_json
|
|
777
779
|
* @returns {string}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanobpm/engine-wasm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "The nanobpmn engine (engine-core) compiled to WebAssembly for in-browser BPMN execution: deploy a diagram, start instances, activate/complete jobs, and read live snapshots/traces. Published as two subpath entrypoints — a lean baseline engine (default) and a read-model engine (the gateway's C8-style REST read surface). The substrate for the Bojtos demo framework (ADR 0043) and the console test-run panel.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -192,14 +192,16 @@ export class TestEngine {
|
|
|
192
192
|
deployResource(resource_name: string, content: string): string;
|
|
193
193
|
/**
|
|
194
194
|
* Evaluate a deployed decision by id against the given variables — the
|
|
195
|
-
* standalone counterpart to a business rule task's in-line evaluation
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
* `
|
|
201
|
-
*
|
|
202
|
-
*
|
|
195
|
+
* standalone counterpart to a business rule task's in-line evaluation (the
|
|
196
|
+
* engine's `EvaluateDecision` command, exactly as the gateway runs it). The
|
|
197
|
+
* decision must already be deployed (via `deploy`/`deployDecision`). The
|
|
198
|
+
* evaluation is recorded as a decision instance with its own minted
|
|
199
|
+
* `decisionEvaluationKey` and no process instance — a failed one too
|
|
200
|
+
* (Zeebe parity, #1292). `variables_json` is a JSON object string (`"{}"` /
|
|
201
|
+
* `""` for none). Returns
|
|
202
|
+
* `{ "decisionId": ..., "decisionKey": ..., "decisionEvaluationKey": ..., "output": <value> }`
|
|
203
|
+
* on success, or throws a JS error carrying an "unknown decision" or
|
|
204
|
+
* evaluation-failure message.
|
|
203
205
|
*/
|
|
204
206
|
evaluateDecision(decision_id: string, variables_json: string): string;
|
|
205
207
|
/**
|
|
@@ -764,14 +764,16 @@ export class TestEngine {
|
|
|
764
764
|
}
|
|
765
765
|
/**
|
|
766
766
|
* Evaluate a deployed decision by id against the given variables — the
|
|
767
|
-
* standalone counterpart to a business rule task's in-line evaluation
|
|
768
|
-
*
|
|
769
|
-
*
|
|
770
|
-
*
|
|
771
|
-
*
|
|
772
|
-
* `
|
|
773
|
-
*
|
|
774
|
-
*
|
|
767
|
+
* standalone counterpart to a business rule task's in-line evaluation (the
|
|
768
|
+
* engine's `EvaluateDecision` command, exactly as the gateway runs it). The
|
|
769
|
+
* decision must already be deployed (via `deploy`/`deployDecision`). The
|
|
770
|
+
* evaluation is recorded as a decision instance with its own minted
|
|
771
|
+
* `decisionEvaluationKey` and no process instance — a failed one too
|
|
772
|
+
* (Zeebe parity, #1292). `variables_json` is a JSON object string (`"{}"` /
|
|
773
|
+
* `""` for none). Returns
|
|
774
|
+
* `{ "decisionId": ..., "decisionKey": ..., "decisionEvaluationKey": ..., "output": <value> }`
|
|
775
|
+
* on success, or throws a JS error carrying an "unknown decision" or
|
|
776
|
+
* evaluation-failure message.
|
|
775
777
|
* @param {string} decision_id
|
|
776
778
|
* @param {string} variables_json
|
|
777
779
|
* @returns {string}
|
|
Binary file
|