@attlaz/client 1.79.0 → 1.80.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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DataValueCollection } from '../DataValueCollection.js';
|
|
1
2
|
import { State } from '../State.js';
|
|
2
3
|
import { StateAware } from '../StateAware.js';
|
|
3
4
|
export declare class CodeSourceBuildStrategy implements StateAware {
|
|
@@ -6,5 +7,6 @@ export declare class CodeSourceBuildStrategy implements StateAware {
|
|
|
6
7
|
description: string;
|
|
7
8
|
languageId: string;
|
|
8
9
|
state: State;
|
|
10
|
+
data: DataValueCollection;
|
|
9
11
|
static parse(raw: any): CodeSourceBuildStrategy;
|
|
10
12
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DataValueCollection } from '../DataValueCollection.js';
|
|
1
2
|
import { State } from '../State.js';
|
|
2
3
|
export class CodeSourceBuildStrategy {
|
|
3
4
|
id;
|
|
@@ -5,6 +6,10 @@ export class CodeSourceBuildStrategy {
|
|
|
5
6
|
description;
|
|
6
7
|
languageId;
|
|
7
8
|
state = State.Active;
|
|
9
|
+
// The strategy's parameter bag. Today it holds `command` (the shell command run inside the
|
|
10
|
+
// platform build image). Kept as the whole bag so new keys need no model change. Read with
|
|
11
|
+
// `data.get('command')`. Mirrors CodeSourceRunStrategy.
|
|
12
|
+
data = new DataValueCollection();
|
|
8
13
|
static parse(raw) {
|
|
9
14
|
const codeDeployStrategy = new CodeSourceBuildStrategy();
|
|
10
15
|
codeDeployStrategy.id = raw.id;
|
|
@@ -12,6 +17,7 @@ export class CodeSourceBuildStrategy {
|
|
|
12
17
|
codeDeployStrategy.description = raw.description;
|
|
13
18
|
codeDeployStrategy.languageId = raw.language;
|
|
14
19
|
codeDeployStrategy.state = State.fromString(raw.state);
|
|
20
|
+
codeDeployStrategy.data = DataValueCollection.fromObject(raw.data);
|
|
15
21
|
return codeDeployStrategy;
|
|
16
22
|
}
|
|
17
23
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.80.0";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.
|
|
1
|
+
export const VERSION = "1.80.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@attlaz/client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.80.0",
|
|
4
4
|
"description": "Javascript Client to access Attlaz API",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/jest": "^30.0.0",
|
|
54
|
-
"@types/node": "^26.
|
|
54
|
+
"@types/node": "^26.1.1",
|
|
55
55
|
"@typescript-eslint/eslint-plugin": "^8.59.3",
|
|
56
56
|
"@typescript-eslint/parser": "^8.59.3",
|
|
57
57
|
"eslint": "^9.39.4",
|