attlaz-client 1.49.0 → 1.50.0
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.
|
@@ -6,8 +6,11 @@ export declare class RunnerPool {
|
|
|
6
6
|
queueIdentifier: string;
|
|
7
7
|
deploymentIdentifier: string;
|
|
8
8
|
type: QueueSpecificationType;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
effectiveMinRunners: number | null;
|
|
10
|
+
effectiveMaxRunners: number | null;
|
|
11
|
+
effectiveCpuLimit: number | null;
|
|
12
|
+
effectiveMemoryLimit: number | null;
|
|
13
|
+
effectiveImageId: string | null;
|
|
11
14
|
state: State;
|
|
12
15
|
static parse(raw: any): RunnerPool;
|
|
13
16
|
}
|
|
@@ -6,8 +6,12 @@ export class RunnerPool {
|
|
|
6
6
|
queueIdentifier;
|
|
7
7
|
deploymentIdentifier;
|
|
8
8
|
type = 'flow_run';
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
// Effective values resolved server-side via the configuration chain (pool → env → workspace → zone fallback).
|
|
10
|
+
effectiveMinRunners = null;
|
|
11
|
+
effectiveMaxRunners = null;
|
|
12
|
+
effectiveCpuLimit = null;
|
|
13
|
+
effectiveMemoryLimit = null;
|
|
14
|
+
effectiveImageId = null;
|
|
11
15
|
state = State.Active;
|
|
12
16
|
static parse(raw) {
|
|
13
17
|
const queueSpecification = new RunnerPool();
|
|
@@ -17,8 +21,11 @@ export class RunnerPool {
|
|
|
17
21
|
queueSpecification.queueIdentifier = raw.queue_identifier;
|
|
18
22
|
queueSpecification.deploymentIdentifier = raw.deployment_identifier;
|
|
19
23
|
queueSpecification.type = raw.type;
|
|
20
|
-
queueSpecification.
|
|
21
|
-
queueSpecification.
|
|
24
|
+
queueSpecification.effectiveMinRunners = raw.effective_min_runners ?? null;
|
|
25
|
+
queueSpecification.effectiveMaxRunners = raw.effective_max_runners ?? null;
|
|
26
|
+
queueSpecification.effectiveCpuLimit = raw.effective_cpu_limit ?? null;
|
|
27
|
+
queueSpecification.effectiveMemoryLimit = raw.effective_memory_limit ?? null;
|
|
28
|
+
queueSpecification.effectiveImageId = raw.effective_image_id ?? null;
|
|
22
29
|
queueSpecification.state = State.fromString(raw.state);
|
|
23
30
|
return queueSpecification;
|
|
24
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "attlaz-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.50.0",
|
|
4
4
|
"description": "Javascript Client to access Attlaz API",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -50,19 +50,19 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/jest": "^30.0.0",
|
|
53
|
-
"@types/node": "^24.12.
|
|
53
|
+
"@types/node": "^24.12.3",
|
|
54
54
|
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
55
55
|
"@typescript-eslint/parser": "^8.1.0",
|
|
56
56
|
"eslint": "^9.39.4",
|
|
57
57
|
"eslint-config-attlaz-base": "^1.6.0",
|
|
58
58
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
59
59
|
"eslint-plugin-import": "^2.32.0",
|
|
60
|
-
"eslint-plugin-jsdoc": "^
|
|
60
|
+
"eslint-plugin-jsdoc": "^62.9.0",
|
|
61
61
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
62
|
-
"eslint-plugin-promise": "^7.
|
|
63
|
-
"jest": "^30.
|
|
62
|
+
"eslint-plugin-promise": "^7.3.0",
|
|
63
|
+
"jest": "^30.4.2",
|
|
64
64
|
"rimraf": "^6.1.3",
|
|
65
|
-
"ts-jest": "^29.4.
|
|
65
|
+
"ts-jest": "^29.4.9",
|
|
66
66
|
"typescript": "^5.9.3"
|
|
67
67
|
},
|
|
68
68
|
"directories": {
|