@camunda8/orchestration-cluster-api 1.1.0 → 1.1.2
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 +14 -0
- package/dist/{chunk-7V2UT2PZ.js → chunk-FMCCRZJE.js} +24 -23
- package/dist/chunk-FMCCRZJE.js.map +1 -0
- package/dist/fp/index.cjs +23 -22
- package/dist/fp/index.cjs.map +1 -1
- package/dist/fp/index.d.cts +1 -1
- package/dist/fp/index.d.ts +1 -1
- package/dist/fp/index.js +1 -1
- package/dist/{index-HWunIx8V.d.cts → index-DCkrNcAl.d.cts} +15 -14
- package/dist/{index-CF1ORITD.d.ts → index-EPkPU66d.d.ts} +15 -14
- package/dist/index.cjs +23 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-7V2UT2PZ.js.map +0 -1
package/dist/fp/index.cjs
CHANGED
|
@@ -3435,7 +3435,7 @@ var zUserTaskResult = import_zod.z.object({
|
|
|
3435
3435
|
priority: import_zod.z.optional(import_zod.z.int().gte(0).lte(100).register(import_zod.z.globalRegistry, {
|
|
3436
3436
|
description: "The priority of a user task. The higher the value the higher the priority."
|
|
3437
3437
|
})).default(50),
|
|
3438
|
-
userTaskKey:
|
|
3438
|
+
userTaskKey: zUserTaskKey,
|
|
3439
3439
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
3440
3440
|
processName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
3441
3441
|
description: "The name of the process definition."
|
|
@@ -3445,9 +3445,9 @@ var zUserTaskResult = import_zod.z.object({
|
|
|
3445
3445
|
formKey: import_zod.z.optional(zFormKey)
|
|
3446
3446
|
});
|
|
3447
3447
|
var zUserTaskSearchQueryResult = zSearchQueryResponse.and(import_zod.z.object({
|
|
3448
|
-
items: import_zod.z.
|
|
3448
|
+
items: import_zod.z.array(zUserTaskResult).register(import_zod.z.globalRegistry, {
|
|
3449
3449
|
description: "The matching user tasks."
|
|
3450
|
-
})
|
|
3450
|
+
})
|
|
3451
3451
|
}).register(import_zod.z.globalRegistry, {
|
|
3452
3452
|
description: "User task search query response."
|
|
3453
3453
|
}));
|
|
@@ -3543,37 +3543,37 @@ var zVariableSearchQuery = zSearchQueryRequest.and(import_zod.z.object({
|
|
|
3543
3543
|
description: "Variable search query request."
|
|
3544
3544
|
}));
|
|
3545
3545
|
var zVariableResultBase = import_zod.z.object({
|
|
3546
|
-
name: import_zod.z.
|
|
3546
|
+
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
3547
3547
|
description: "Name of this variable."
|
|
3548
|
-
})
|
|
3549
|
-
tenantId:
|
|
3550
|
-
variableKey:
|
|
3551
|
-
scopeKey:
|
|
3552
|
-
processInstanceKey:
|
|
3548
|
+
}),
|
|
3549
|
+
tenantId: zTenantId,
|
|
3550
|
+
variableKey: zVariableKey,
|
|
3551
|
+
scopeKey: zScopeKey,
|
|
3552
|
+
processInstanceKey: zProcessInstanceKey
|
|
3553
3553
|
}).register(import_zod.z.globalRegistry, {
|
|
3554
3554
|
description: "Variable response item."
|
|
3555
3555
|
});
|
|
3556
3556
|
var zVariableSearchResult = zVariableResultBase.and(import_zod.z.object({
|
|
3557
|
-
value: import_zod.z.
|
|
3557
|
+
value: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
3558
3558
|
description: "Value of this variable. Can be truncated."
|
|
3559
|
-
})
|
|
3560
|
-
isTruncated: import_zod.z.
|
|
3559
|
+
}),
|
|
3560
|
+
isTruncated: import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
3561
3561
|
description: "Whether the value is truncated or not."
|
|
3562
|
-
})
|
|
3562
|
+
})
|
|
3563
3563
|
}).register(import_zod.z.globalRegistry, {
|
|
3564
3564
|
description: "Variable search response item."
|
|
3565
3565
|
}));
|
|
3566
3566
|
var zVariableSearchQueryResult = zSearchQueryResponse.and(import_zod.z.object({
|
|
3567
|
-
items: import_zod.z.
|
|
3567
|
+
items: import_zod.z.array(zVariableSearchResult).register(import_zod.z.globalRegistry, {
|
|
3568
3568
|
description: "The matching variables."
|
|
3569
|
-
})
|
|
3569
|
+
})
|
|
3570
3570
|
}).register(import_zod.z.globalRegistry, {
|
|
3571
3571
|
description: "Variable search query response."
|
|
3572
3572
|
}));
|
|
3573
3573
|
var zVariableResult = zVariableResultBase.and(import_zod.z.object({
|
|
3574
|
-
value: import_zod.z.
|
|
3574
|
+
value: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
3575
3575
|
description: "Full value of this variable."
|
|
3576
|
-
})
|
|
3576
|
+
})
|
|
3577
3577
|
}).register(import_zod.z.globalRegistry, {
|
|
3578
3578
|
description: "Variable search response item."
|
|
3579
3579
|
}));
|
|
@@ -5266,9 +5266,9 @@ var zUserTaskCompletionRequest = import_zod.z.object({
|
|
|
5266
5266
|
]))
|
|
5267
5267
|
});
|
|
5268
5268
|
var zUserTaskAssignmentRequest = import_zod.z.object({
|
|
5269
|
-
assignee: import_zod.z.
|
|
5269
|
+
assignee: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5270
5270
|
description: "The assignee for the user task. The assignee must not be empty or `null`."
|
|
5271
|
-
})
|
|
5271
|
+
}),
|
|
5272
5272
|
allowOverride: import_zod.z.optional(import_zod.z.union([
|
|
5273
5273
|
import_zod.z.boolean(),
|
|
5274
5274
|
import_zod.z.null()
|
|
@@ -9506,7 +9506,7 @@ function createLogger(opts = {}) {
|
|
|
9506
9506
|
}
|
|
9507
9507
|
|
|
9508
9508
|
// src/runtime/version.ts
|
|
9509
|
-
var packageVersion = "1.
|
|
9509
|
+
var packageVersion = "1.1.1";
|
|
9510
9510
|
|
|
9511
9511
|
// src/runtime/supportLogger.ts
|
|
9512
9512
|
var NoopSupportLogger = class {
|
|
@@ -10368,6 +10368,7 @@ var BackpressureManager = class {
|
|
|
10368
10368
|
// src/runtime/jobWorker.ts
|
|
10369
10369
|
var JobActionReceipt = "JOB_ACTION_RECEIPT";
|
|
10370
10370
|
var _workerCounter = 0;
|
|
10371
|
+
var DEFAULT_LONGPOLL_TIMEOUT = 55e3;
|
|
10371
10372
|
var JobWorker = class {
|
|
10372
10373
|
_client;
|
|
10373
10374
|
_cfg;
|
|
@@ -10481,8 +10482,8 @@ var JobWorker = class {
|
|
|
10481
10482
|
type: this._cfg.jobType,
|
|
10482
10483
|
worker: this._name,
|
|
10483
10484
|
maxJobsToActivate: batchSize,
|
|
10484
|
-
requestTimeout: this._cfg.
|
|
10485
|
-
timeout: this._cfg.
|
|
10485
|
+
requestTimeout: this._cfg.pollTimeoutMs ?? DEFAULT_LONGPOLL_TIMEOUT,
|
|
10486
|
+
timeout: this._cfg.jobTimeoutMs
|
|
10486
10487
|
};
|
|
10487
10488
|
this._log.debug(() => ["activation.request", { batchSize }]);
|
|
10488
10489
|
let result = [];
|