@devopness/sdk-js 3.5.1 → 3.5.3
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/dist/api/generated/models/action-relation.d.ts +21 -0
- package/dist/api/generated/models/variable-application-create.d.ts +2 -2
- package/dist/api/generated/models/variable-create.d.ts +2 -2
- package/dist/api/generated/models/variable-relation.d.ts +2 -2
- package/dist/api/generated/models/variable-target.d.ts +1 -0
- package/dist/api/generated/models/variable-target.js +1 -0
- package/dist/api/generated/models/variable-type.d.ts +1 -0
- package/dist/api/generated/models/variable-type.js +1 -0
- package/dist/api/generated/models/variable-update.d.ts +2 -2
- package/dist/api/generated/models/variable.d.ts +2 -2
- package/package.json +5 -5
|
@@ -17,6 +17,9 @@ import { ActionSummary } from './action-summary';
|
|
|
17
17
|
import { ActionTarget } from './action-target';
|
|
18
18
|
import { ActionTriggeredFrom } from './action-triggered-from';
|
|
19
19
|
import { ActionType } from './action-type';
|
|
20
|
+
import { EnvironmentRelation } from './environment-relation';
|
|
21
|
+
import { OrganizationRelation } from './organization-relation';
|
|
22
|
+
import { ProjectRelation } from './project-relation';
|
|
20
23
|
/**
|
|
21
24
|
*
|
|
22
25
|
* @export
|
|
@@ -95,6 +98,24 @@ export interface ActionRelation {
|
|
|
95
98
|
* @memberof ActionRelation
|
|
96
99
|
*/
|
|
97
100
|
resource: ActionResource;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {OrganizationRelation}
|
|
104
|
+
* @memberof ActionRelation
|
|
105
|
+
*/
|
|
106
|
+
organization: OrganizationRelation | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {ProjectRelation}
|
|
110
|
+
* @memberof ActionRelation
|
|
111
|
+
*/
|
|
112
|
+
project: ProjectRelation | null;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {EnvironmentRelation}
|
|
116
|
+
* @memberof ActionRelation
|
|
117
|
+
*/
|
|
118
|
+
environment: EnvironmentRelation | null;
|
|
98
119
|
/**
|
|
99
120
|
*
|
|
100
121
|
* @type {ActionSummary}
|
|
@@ -18,13 +18,13 @@ import { VariableType } from './variable-type';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface VariableApplicationCreate {
|
|
20
20
|
/**
|
|
21
|
-
* The unique key used to identify the variable on the target.
|
|
21
|
+
* The unique key used to identify the variable on the target. For `resource-config-file`, use a relative path such as `.env` or `storage/oauth-public.key`. For `resource-symlink`, `key` is the link path and `value` is the destination path, for example `node_modules` -> `${APP_SHARED_DIR}/node_modules`. Must not be greater than 100 characters.
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof VariableApplicationCreate
|
|
24
24
|
*/
|
|
25
25
|
key: string;
|
|
26
26
|
/**
|
|
27
|
-
* The value to be assigned to this variable when deployed to its target. When variable is of type `file`, this is the file content. Must not be greater than 21504 characters.
|
|
27
|
+
* The value to be assigned to this variable when deployed to its target. When variable is of type `file`, this is the file content. When variable is of type `symlink`, this is the destination path, for example `${APP_SHARED_DIR}/node_modules`. Must not be greater than 21504 characters.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof VariableApplicationCreate
|
|
30
30
|
*/
|
|
@@ -18,13 +18,13 @@ import { VariableType } from './variable-type';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface VariableCreate {
|
|
20
20
|
/**
|
|
21
|
-
* The unique key used to identify the variable on the target. Must not be greater than 100 characters.
|
|
21
|
+
* The unique key used to identify the variable on the target. For `resource-config-file`, use a relative path such as `.env` or `storage/oauth-public.key`. For `resource-symlink`, `key` is the link path and `value` is the destination path, for example `node_modules` -> `${APP_SHARED_DIR}/node_modules`. Must not be greater than 100 characters.
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof VariableCreate
|
|
24
24
|
*/
|
|
25
25
|
key: string;
|
|
26
26
|
/**
|
|
27
|
-
* The value to be assigned to this variable when deployed to its target. When variable is of type `file`, this is the file content. Must not be greater than 21504 characters.
|
|
27
|
+
* The value to be assigned to this variable when deployed to its target. When variable is of type `file`, this is the file content. When variable is of type `symlink`, this is the destination path, for example `${APP_SHARED_DIR}/node_modules`. Must not be greater than 21504 characters.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof VariableCreate
|
|
30
30
|
*/
|
|
@@ -25,7 +25,7 @@ export interface VariableRelation {
|
|
|
25
25
|
*/
|
|
26
26
|
id: number;
|
|
27
27
|
/**
|
|
28
|
-
* The unique key used to identify the variable on the target
|
|
28
|
+
* The unique key used to identify the variable on the target, or the filesystem path for configuration files and symlinks
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @memberof VariableRelation
|
|
31
31
|
*/
|
|
@@ -43,7 +43,7 @@ export interface VariableRelation {
|
|
|
43
43
|
*/
|
|
44
44
|
description: string | null;
|
|
45
45
|
/**
|
|
46
|
-
* The value to be assigned to this variable when deployed to its target
|
|
46
|
+
* The value to be assigned to this variable when deployed to its target. For configuration files this is the file content; for symlinks this is the symlink target path
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @memberof VariableRelation
|
|
49
49
|
*/
|
|
@@ -27,6 +27,7 @@ export declare enum VariableTarget {
|
|
|
27
27
|
PhpFpmPoolDWwwConf = "php-fpm_pool-d-www-conf",
|
|
28
28
|
RedisConf = "redis-conf",
|
|
29
29
|
ResourceConfigFile = "resource-config-file",
|
|
30
|
+
ResourceSymlink = "resource-symlink",
|
|
30
31
|
SupervisordConf = "supervisord-conf",
|
|
31
32
|
SysctlConf = "sysctl-conf"
|
|
32
33
|
}
|
|
@@ -32,6 +32,7 @@ var VariableTarget;
|
|
|
32
32
|
VariableTarget["PhpFpmPoolDWwwConf"] = "php-fpm_pool-d-www-conf";
|
|
33
33
|
VariableTarget["RedisConf"] = "redis-conf";
|
|
34
34
|
VariableTarget["ResourceConfigFile"] = "resource-config-file";
|
|
35
|
+
VariableTarget["ResourceSymlink"] = "resource-symlink";
|
|
35
36
|
VariableTarget["SupervisordConf"] = "supervisord-conf";
|
|
36
37
|
VariableTarget["SysctlConf"] = "sysctl-conf";
|
|
37
38
|
})(VariableTarget || (exports.VariableTarget = VariableTarget = {}));
|
|
@@ -24,13 +24,13 @@ export interface VariableUpdate {
|
|
|
24
24
|
*/
|
|
25
25
|
id: number;
|
|
26
26
|
/**
|
|
27
|
-
* The unique key used to identify the variable on the target.
|
|
27
|
+
* The unique key used to identify the variable on the target. For `resource-config-file`, use a relative path such as `.env` or `storage/oauth-public.key`. For `resource-symlink`, `key` is the link path and `value` is the destination path, for example `node_modules` -> `${APP_SHARED_DIR}/node_modules`. Must not be greater than 100 characters.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof VariableUpdate
|
|
30
30
|
*/
|
|
31
31
|
key: string;
|
|
32
32
|
/**
|
|
33
|
-
* The value to be assigned to this variable when deployed to its target. When variable is of type `file`, this is the file content. Must not be greater than 21504 characters.
|
|
33
|
+
* The value to be assigned to this variable when deployed to its target. When variable is of type `file`, this is the file content. When variable is of type `symlink`, this is the destination path, for example `${APP_SHARED_DIR}/node_modules`. Must not be greater than 21504 characters.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof VariableUpdate
|
|
36
36
|
*/
|
|
@@ -25,7 +25,7 @@ export interface Variable {
|
|
|
25
25
|
*/
|
|
26
26
|
id: number;
|
|
27
27
|
/**
|
|
28
|
-
* The unique key used to identify the variable on the target
|
|
28
|
+
* The unique key used to identify the variable on the target, or the filesystem path for configuration files and symlinks
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @memberof Variable
|
|
31
31
|
*/
|
|
@@ -43,7 +43,7 @@ export interface Variable {
|
|
|
43
43
|
*/
|
|
44
44
|
description: string | null;
|
|
45
45
|
/**
|
|
46
|
-
* The value to be assigned to this variable when deployed to its target
|
|
46
|
+
* The value to be assigned to this variable when deployed to its target. For configuration files this is the file content; for symlinks this is the symlink target path
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @memberof Variable
|
|
49
49
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@devopness/sdk-js",
|
|
4
|
-
"version": "3.5.
|
|
4
|
+
"version": "3.5.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"Server Management"
|
|
48
48
|
],
|
|
49
49
|
"author": "Devopness (https://www.devopness.com)",
|
|
50
|
-
"license": "
|
|
50
|
+
"license": "Apache-2.0",
|
|
51
51
|
"release": {
|
|
52
52
|
"branches": [
|
|
53
53
|
"main"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@eslint/js": "^10.0.1",
|
|
65
65
|
"@openapitools/openapi-generator-cli": "^2.39.1",
|
|
66
66
|
"@types/jest": "^30.0.0",
|
|
67
|
-
"@typescript-eslint/parser": "^8.
|
|
67
|
+
"@typescript-eslint/parser": "^8.63.0",
|
|
68
68
|
"axios-mock-adapter": "^2.1.0",
|
|
69
69
|
"eslint": "^10.6.0",
|
|
70
70
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"husky": "9.1.7",
|
|
75
75
|
"jest": "^30.4.2",
|
|
76
76
|
"ts-jest": "^29.4.11",
|
|
77
|
-
"typedoc": "^0.28.
|
|
77
|
+
"typedoc": "^0.28.20",
|
|
78
78
|
"typescript": "^6.0.3",
|
|
79
|
-
"typescript-eslint": "^8.
|
|
79
|
+
"typescript-eslint": "^8.63.0"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"@types/parse-link-header": "^2.0.3",
|