@camunda8/orchestration-cluster-api 8.9.0-alpha.13 → 8.9.0-alpha.14
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/CHANGELOG.md +18 -2
- package/README.md +101 -0
- package/dist/{chunk-ULXL7H75.js → chunk-G5VLLLLV.js} +1050 -351
- package/dist/chunk-G5VLLLLV.js.map +1 -0
- package/dist/fp/index.cjs +1029 -329
- package/dist/fp/index.cjs.map +1 -1
- package/dist/fp/index.d.cts +2 -1
- package/dist/fp/index.d.ts +2 -1
- package/dist/fp/index.js +1 -1
- package/dist/{index-Cwx7jNBm.d.cts → index-D1s8f_o5.d.cts} +643 -168
- package/dist/{index-Bps8dBEQ.d.ts → index-nlfeobSw.d.ts} +643 -168
- package/dist/index.cjs +1035 -335
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/threadWorkerEntry.cjs +143 -0
- package/dist/threadWorkerEntry.cjs.map +1 -0
- package/dist/threadWorkerEntry.js +141 -0
- package/dist/threadWorkerEntry.js.map +1 -0
- package/package.json +9 -4
- package/dist/chunk-ULXL7H75.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
createCamundaFpClient,
|
|
9
9
|
isLeft,
|
|
10
10
|
isRight
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-G5VLLLLV.js";
|
|
12
12
|
import "./chunk-W6JB7JZH.js";
|
|
13
13
|
|
|
14
14
|
// src/loose.ts
|
|
@@ -48,7 +48,7 @@ function createCamundaResultClient(options) {
|
|
|
48
48
|
|
|
49
49
|
// src/gen/types.gen.ts
|
|
50
50
|
function assertConstraint(value, label, c) {
|
|
51
|
-
if (c.pattern && !new RegExp(c.pattern).test(value)) throw new Error(`\x1B[31mInvalid pattern for ${label}: '${value}'.\x1B[0m Needs to match: ${JSON.stringify(c)}
|
|
51
|
+
if (c.pattern && !new RegExp(c.pattern, "u").test(value)) throw new Error(`\x1B[31mInvalid pattern for ${label}: '${value}'.\x1B[0m Needs to match: ${JSON.stringify(c)}
|
|
52
52
|
`);
|
|
53
53
|
if (typeof c.minLength === "number" && value.length < c.minLength) throw new Error(`Value too short for ${label}`);
|
|
54
54
|
if (typeof c.maxLength === "number" && value.length > c.maxLength) throw new Error(`Value too long for ${label}`);
|
|
@@ -170,7 +170,7 @@ var ConditionalEvaluationKey;
|
|
|
170
170
|
var DecisionDefinitionId;
|
|
171
171
|
((DecisionDefinitionId2) => {
|
|
172
172
|
function assumeExists(value) {
|
|
173
|
-
assertConstraint(value, "DecisionDefinitionId", { pattern: "^[
|
|
173
|
+
assertConstraint(value, "DecisionDefinitionId", { pattern: "^[\\p{L}_][\\p{L}\\p{N}_\\-\\.]*$", minLength: 1 });
|
|
174
174
|
return value;
|
|
175
175
|
}
|
|
176
176
|
DecisionDefinitionId2.assumeExists = assumeExists;
|
|
@@ -180,7 +180,7 @@ var DecisionDefinitionId;
|
|
|
180
180
|
DecisionDefinitionId2.getValue = getValue;
|
|
181
181
|
function isValid(value) {
|
|
182
182
|
try {
|
|
183
|
-
assertConstraint(value, "DecisionDefinitionId", { pattern: "^[
|
|
183
|
+
assertConstraint(value, "DecisionDefinitionId", { pattern: "^[\\p{L}_][\\p{L}\\p{N}_\\-\\.]*$", minLength: 1 });
|
|
184
184
|
return true;
|
|
185
185
|
} catch {
|
|
186
186
|
return false;
|
|
@@ -524,7 +524,7 @@ var MessageSubscriptionKey;
|
|
|
524
524
|
var ProcessDefinitionId;
|
|
525
525
|
((ProcessDefinitionId2) => {
|
|
526
526
|
function assumeExists(value) {
|
|
527
|
-
assertConstraint(value, "ProcessDefinitionId", { pattern: "^[
|
|
527
|
+
assertConstraint(value, "ProcessDefinitionId", { pattern: "^[\\p{L}_][\\p{L}\\p{N}_\\-\\.]*$", minLength: 1 });
|
|
528
528
|
return value;
|
|
529
529
|
}
|
|
530
530
|
ProcessDefinitionId2.assumeExists = assumeExists;
|
|
@@ -534,7 +534,7 @@ var ProcessDefinitionId;
|
|
|
534
534
|
ProcessDefinitionId2.getValue = getValue;
|
|
535
535
|
function isValid(value) {
|
|
536
536
|
try {
|
|
537
|
-
assertConstraint(value, "ProcessDefinitionId", { pattern: "^[
|
|
537
|
+
assertConstraint(value, "ProcessDefinitionId", { pattern: "^[\\p{L}_][\\p{L}\\p{N}_\\-\\.]*$", minLength: 1 });
|
|
538
538
|
return true;
|
|
539
539
|
} catch {
|
|
540
540
|
return false;
|