@basis-theory-labs/cli 4.1.0 → 4.3.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.
- package/README.md +235 -65
- package/dist/commands/proxies/logs/read.d.ts +14 -0
- package/dist/commands/proxies/logs/read.js +56 -0
- package/dist/commands/proxies/logs/tail.d.ts +13 -0
- package/dist/commands/proxies/logs/tail.js +50 -0
- package/dist/commands/proxies/logs.js +1 -1
- package/dist/commands/proxies/update.js +1 -1
- package/dist/commands/reactors/logs/read.d.ts +14 -0
- package/dist/commands/reactors/logs/read.js +56 -0
- package/dist/commands/reactors/logs/tail.d.ts +13 -0
- package/dist/commands/reactors/logs/tail.js +50 -0
- package/dist/commands/reactors/logs.js +1 -1
- package/dist/logs/events.d.ts +56 -0
- package/dist/logs/events.js +571 -0
- package/dist/logs/format.d.ts +10 -0
- package/dist/logs/format.js +162 -0
- package/dist/logs/index.js +17 -0
- package/dist/logs/runtime.d.ts +18 -0
- package/dist/logs/runtime.js +362 -0
- package/dist/logs/time.d.ts +16 -0
- package/dist/logs/time.js +74 -0
- package/dist/proxies/runtime.js +1 -1
- package/dist/proxies/utils.js +13 -13
- package/dist/reactors/runtime.js +2 -2
- package/dist/reactors/utils.d.ts +3 -3
- package/dist/reactors/utils.js +1 -1
- package/dist/runtime/flags.js +6 -6
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js +3 -1
- package/dist/runtime/utils.d.ts +5 -3
- package/dist/runtime/utils.js +6 -2
- package/oclif.manifest.json +287 -49
- package/package.json +2 -2
package/dist/proxies/utils.js
CHANGED
|
@@ -37,57 +37,57 @@ const PROXY_FLAGS = {
|
|
|
37
37
|
default: true,
|
|
38
38
|
}),
|
|
39
39
|
'request-transform-image': core_1.Flags.string({
|
|
40
|
-
description: `request-transform runtime image (${runtime_1.
|
|
40
|
+
description: `request-transform runtime image (${runtime_1.VALID_RUNTIME_IMAGES_LABEL})`,
|
|
41
41
|
options: [...runtime_1.VALID_RUNTIME_IMAGES],
|
|
42
42
|
}),
|
|
43
43
|
'request-transform-package-json': core_1.Flags.file({
|
|
44
|
-
description:
|
|
44
|
+
description: `path to runtime package.json JSON file (top-level dependencies required; supports resolutions or overrides fallback; pinned versions required) (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
45
45
|
}),
|
|
46
46
|
'request-transform-timeout': core_1.Flags.integer({
|
|
47
|
-
description:
|
|
47
|
+
description: `request-transform timeout in seconds, 10-30 (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
48
48
|
min: 10,
|
|
49
49
|
max: 30,
|
|
50
50
|
}),
|
|
51
51
|
'request-transform-warm-concurrency': core_1.Flags.integer({
|
|
52
|
-
description:
|
|
52
|
+
description: `request-transform warm concurrency, 0-1 (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
53
53
|
min: 0,
|
|
54
54
|
max: 1,
|
|
55
55
|
}),
|
|
56
56
|
'request-transform-resources': core_1.Flags.string({
|
|
57
|
-
description:
|
|
57
|
+
description: `request-transform resource tier (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
58
58
|
options: ['standard', 'large', 'xlarge'],
|
|
59
59
|
}),
|
|
60
60
|
'request-transform-permissions': core_1.Flags.string({
|
|
61
|
-
description:
|
|
61
|
+
description: `request-transform permission to grant, repeatable (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
62
62
|
multiple: true,
|
|
63
63
|
}),
|
|
64
64
|
'response-transform-image': core_1.Flags.string({
|
|
65
|
-
description: `response-transform runtime image (${runtime_1.
|
|
65
|
+
description: `response-transform runtime image (${runtime_1.VALID_RUNTIME_IMAGES_LABEL})`,
|
|
66
66
|
options: [...runtime_1.VALID_RUNTIME_IMAGES],
|
|
67
67
|
}),
|
|
68
68
|
'response-transform-package-json': core_1.Flags.file({
|
|
69
|
-
description:
|
|
69
|
+
description: `path to runtime package.json JSON file (top-level dependencies required; supports resolutions or overrides fallback; pinned versions required) (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
70
70
|
}),
|
|
71
71
|
'response-transform-timeout': core_1.Flags.integer({
|
|
72
|
-
description:
|
|
72
|
+
description: `response-transform timeout in seconds, 10-30 (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
73
73
|
min: 10,
|
|
74
74
|
max: 30,
|
|
75
75
|
}),
|
|
76
76
|
'response-transform-warm-concurrency': core_1.Flags.integer({
|
|
77
|
-
description:
|
|
77
|
+
description: `response-transform warm concurrency, 0-1 (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
78
78
|
min: 0,
|
|
79
79
|
max: 1,
|
|
80
80
|
}),
|
|
81
81
|
'response-transform-resources': core_1.Flags.string({
|
|
82
|
-
description:
|
|
82
|
+
description: `response-transform resource tier (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
83
83
|
options: ['standard', 'large', 'xlarge'],
|
|
84
84
|
}),
|
|
85
85
|
'response-transform-permissions': core_1.Flags.string({
|
|
86
|
-
description:
|
|
86
|
+
description: `response-transform permission to grant, repeatable (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
87
87
|
multiple: true,
|
|
88
88
|
}),
|
|
89
89
|
'no-wait': core_1.Flags.boolean({
|
|
90
|
-
description:
|
|
90
|
+
description: `do not wait for proxy to be ready (requires at least one transform with ${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL})`,
|
|
91
91
|
default: false,
|
|
92
92
|
}),
|
|
93
93
|
};
|
package/dist/reactors/runtime.js
CHANGED
|
@@ -18,13 +18,13 @@ const validateReactorRuntimeFlags = (flags, image) => {
|
|
|
18
18
|
}
|
|
19
19
|
if (setFlags.length && (0, runtime_1.isLegacyRuntimeImage)(image)) {
|
|
20
20
|
const flagNames = setFlags.map((f) => `--${f}`).join(', ');
|
|
21
|
-
throw new Error(`Configurable runtime flags (${flagNames}) require --image ${runtime_1.
|
|
21
|
+
throw new Error(`Configurable runtime flags (${flagNames}) require --image ${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL}`);
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
exports.validateReactorRuntimeFlags = validateReactorRuntimeFlags;
|
|
25
25
|
const validateReactorApplicationId = (applicationId, image) => {
|
|
26
26
|
if (applicationId && !(0, runtime_1.isLegacyRuntimeImage)(image)) {
|
|
27
|
-
throw new Error(`--application-id is not allowed with configurable runtimes (${runtime_1.
|
|
27
|
+
throw new Error(`--application-id is not allowed with configurable runtimes (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL}). Use --permissions to grant specific access instead.`);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
exports.validateReactorApplicationId = validateReactorApplicationId;
|
package/dist/reactors/utils.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ declare const REACTOR_FLAGS: {
|
|
|
4
4
|
image: import("@oclif/core/lib/interfaces/parser").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
5
5
|
'package-json': import("@oclif/core/lib/interfaces/parser").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
6
6
|
timeout: import("@oclif/core/lib/interfaces/parser").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
7
|
-
'warm-concurrency': import("@oclif/core/lib/interfaces/parser").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
8
|
-
|
|
9
|
-
* Path to code file
|
|
7
|
+
'warm-concurrency': import("@oclif/core/lib/interfaces/parser").OptionFlag<number | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>; /**
|
|
8
|
+
* Reactor's application id
|
|
10
9
|
*/
|
|
10
|
+
resources: import("@oclif/core/lib/interfaces/parser").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
11
11
|
permissions: import("@oclif/core/lib/interfaces/parser").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
12
12
|
'no-wait': import("@oclif/core/lib/interfaces/parser").BooleanFlag<boolean>;
|
|
13
13
|
name: import("@oclif/core/lib/interfaces/parser").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
package/dist/reactors/utils.js
CHANGED
|
@@ -24,7 +24,7 @@ const REACTOR_FLAGS = {
|
|
|
24
24
|
}),
|
|
25
25
|
...runtime_1.RUNTIME_FLAGS,
|
|
26
26
|
async: core_1.Flags.boolean({
|
|
27
|
-
description:
|
|
27
|
+
description: `execute Reactor invocations asynchronously (${runtime_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
28
28
|
allowNo: true,
|
|
29
29
|
}),
|
|
30
30
|
};
|
package/dist/runtime/flags.js
CHANGED
|
@@ -5,28 +5,28 @@ const core_1 = require("@oclif/core");
|
|
|
5
5
|
const utils_1 = require("./utils");
|
|
6
6
|
const RUNTIME_FLAGS = {
|
|
7
7
|
image: core_1.Flags.string({
|
|
8
|
-
description: `runtime image (${utils_1.
|
|
8
|
+
description: `runtime image (${utils_1.VALID_RUNTIME_IMAGES_LABEL})`,
|
|
9
9
|
options: [...utils_1.VALID_RUNTIME_IMAGES],
|
|
10
10
|
}),
|
|
11
11
|
'package-json': core_1.Flags.file({
|
|
12
|
-
description:
|
|
12
|
+
description: `path to runtime package.json JSON file (top-level dependencies required; supports resolutions or overrides fallback; pinned versions required) (${utils_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
13
13
|
}),
|
|
14
14
|
timeout: core_1.Flags.integer({
|
|
15
|
-
description:
|
|
15
|
+
description: `timeout in seconds, 10-900 (${utils_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only; maximum 30 when runtime async is disabled; default: 10)`,
|
|
16
16
|
min: 10,
|
|
17
17
|
max: 900,
|
|
18
18
|
}),
|
|
19
19
|
'warm-concurrency': core_1.Flags.integer({
|
|
20
|
-
description:
|
|
20
|
+
description: `number of warm instances, 0-1 (${utils_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only, default: 0)`,
|
|
21
21
|
min: 0,
|
|
22
22
|
max: 1,
|
|
23
23
|
}),
|
|
24
24
|
resources: core_1.Flags.string({
|
|
25
|
-
description:
|
|
25
|
+
description: `resource tier (${utils_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only, default: standard)`,
|
|
26
26
|
options: ['standard', 'large', 'xlarge'],
|
|
27
27
|
}),
|
|
28
28
|
permissions: core_1.Flags.string({
|
|
29
|
-
description:
|
|
29
|
+
description: `permission to grant, repeatable (${utils_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL} only)`,
|
|
30
30
|
multiple: true,
|
|
31
31
|
}),
|
|
32
32
|
'no-wait': core_1.Flags.boolean({
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { LEGACY_RUNTIME_IMAGE, CONFIGURABLE_RUNTIME_IMAGES, VALID_RUNTIME_IMAGES, CONFIGURABLE_RUNTIME_FLAGS, REACTOR_CONFIGURABLE_RUNTIME_FLAGS, isLegacyRuntimeImage, validateRuntimeImage, parseRuntimePackageJsonFile, buildRuntime, buildReactorRuntime, getMaxRuntimeTimeout, validateRuntimeTimeout, promptRuntimeOptions, promptRuntimeImage, type ConfigurableRuntimeOptions, type RuntimeFlagProps, type RuntimeFlags, } from './utils';
|
|
1
|
+
export { LEGACY_RUNTIME_IMAGE, CONFIGURABLE_RUNTIME_IMAGES, CONFIGURABLE_RUNTIME_IMAGES_LABEL, VALID_RUNTIME_IMAGES, VALID_RUNTIME_IMAGES_LABEL, CONFIGURABLE_RUNTIME_FLAGS, REACTOR_CONFIGURABLE_RUNTIME_FLAGS, isLegacyRuntimeImage, validateRuntimeImage, parseRuntimePackageJsonFile, buildRuntime, buildReactorRuntime, getMaxRuntimeTimeout, validateRuntimeTimeout, promptRuntimeOptions, promptRuntimeImage, type ConfigurableRuntimeOptions, type RuntimeFlagProps, type RuntimeFlags, } from './utils';
|
|
2
2
|
export { RUNTIME_FLAGS } from './flags';
|
|
3
3
|
export { waitForResourceState, needsPolling, POLL_INTERVAL, POLL_TIMEOUT, } from './state';
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.POLL_TIMEOUT = exports.POLL_INTERVAL = exports.needsPolling = exports.waitForResourceState = exports.RUNTIME_FLAGS = exports.promptRuntimeImage = exports.promptRuntimeOptions = exports.validateRuntimeTimeout = exports.getMaxRuntimeTimeout = exports.buildReactorRuntime = exports.buildRuntime = exports.parseRuntimePackageJsonFile = exports.validateRuntimeImage = exports.isLegacyRuntimeImage = exports.REACTOR_CONFIGURABLE_RUNTIME_FLAGS = exports.CONFIGURABLE_RUNTIME_FLAGS = exports.VALID_RUNTIME_IMAGES = exports.CONFIGURABLE_RUNTIME_IMAGES = exports.LEGACY_RUNTIME_IMAGE = void 0;
|
|
3
|
+
exports.POLL_TIMEOUT = exports.POLL_INTERVAL = exports.needsPolling = exports.waitForResourceState = exports.RUNTIME_FLAGS = exports.promptRuntimeImage = exports.promptRuntimeOptions = exports.validateRuntimeTimeout = exports.getMaxRuntimeTimeout = exports.buildReactorRuntime = exports.buildRuntime = exports.parseRuntimePackageJsonFile = exports.validateRuntimeImage = exports.isLegacyRuntimeImage = exports.REACTOR_CONFIGURABLE_RUNTIME_FLAGS = exports.CONFIGURABLE_RUNTIME_FLAGS = exports.VALID_RUNTIME_IMAGES_LABEL = exports.VALID_RUNTIME_IMAGES = exports.CONFIGURABLE_RUNTIME_IMAGES_LABEL = exports.CONFIGURABLE_RUNTIME_IMAGES = exports.LEGACY_RUNTIME_IMAGE = void 0;
|
|
4
4
|
var utils_1 = require("./utils");
|
|
5
5
|
Object.defineProperty(exports, "LEGACY_RUNTIME_IMAGE", { enumerable: true, get: function () { return utils_1.LEGACY_RUNTIME_IMAGE; } });
|
|
6
6
|
Object.defineProperty(exports, "CONFIGURABLE_RUNTIME_IMAGES", { enumerable: true, get: function () { return utils_1.CONFIGURABLE_RUNTIME_IMAGES; } });
|
|
7
|
+
Object.defineProperty(exports, "CONFIGURABLE_RUNTIME_IMAGES_LABEL", { enumerable: true, get: function () { return utils_1.CONFIGURABLE_RUNTIME_IMAGES_LABEL; } });
|
|
7
8
|
Object.defineProperty(exports, "VALID_RUNTIME_IMAGES", { enumerable: true, get: function () { return utils_1.VALID_RUNTIME_IMAGES; } });
|
|
9
|
+
Object.defineProperty(exports, "VALID_RUNTIME_IMAGES_LABEL", { enumerable: true, get: function () { return utils_1.VALID_RUNTIME_IMAGES_LABEL; } });
|
|
8
10
|
Object.defineProperty(exports, "CONFIGURABLE_RUNTIME_FLAGS", { enumerable: true, get: function () { return utils_1.CONFIGURABLE_RUNTIME_FLAGS; } });
|
|
9
11
|
Object.defineProperty(exports, "REACTOR_CONFIGURABLE_RUNTIME_FLAGS", { enumerable: true, get: function () { return utils_1.REACTOR_CONFIGURABLE_RUNTIME_FLAGS; } });
|
|
10
12
|
Object.defineProperty(exports, "isLegacyRuntimeImage", { enumerable: true, get: function () { return utils_1.isLegacyRuntimeImage; } });
|
package/dist/runtime/utils.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { BasisTheory } from '@basis-theory/node-sdk';
|
|
2
2
|
declare const LEGACY_RUNTIME_IMAGE = "node-bt";
|
|
3
|
-
declare const CONFIGURABLE_RUNTIME_IMAGES: readonly ["node22"];
|
|
4
|
-
declare const
|
|
3
|
+
declare const CONFIGURABLE_RUNTIME_IMAGES: readonly ["node22", "node24"];
|
|
4
|
+
declare const CONFIGURABLE_RUNTIME_IMAGES_LABEL: string;
|
|
5
|
+
declare const VALID_RUNTIME_IMAGES: readonly ["node-bt", "node22", "node24"];
|
|
6
|
+
declare const VALID_RUNTIME_IMAGES_LABEL: string;
|
|
5
7
|
declare const isLegacyRuntimeImage: (image: string | undefined) => boolean;
|
|
6
8
|
declare const validateRuntimeImage: (image: string | undefined) => void;
|
|
7
9
|
declare const CONFIGURABLE_RUNTIME_FLAGS: readonly ["timeout", "resources", "warm-concurrency", "permissions", "package-json"];
|
|
@@ -43,4 +45,4 @@ declare const getMaxRuntimeTimeout: (runtimeAsync: boolean) => number;
|
|
|
43
45
|
declare const validateRuntimeTimeout: (timeout: number | undefined, runtimeAsync: boolean) => void;
|
|
44
46
|
declare const promptRuntimeOptions: (flags: RuntimeFlags, labelPrefix?: string, timeoutMax?: number) => Promise<ConfigurableRuntimeOptions>;
|
|
45
47
|
declare const promptRuntimeImage: (image: string | undefined, message?: string) => Promise<string>;
|
|
46
|
-
export { LEGACY_RUNTIME_IMAGE, CONFIGURABLE_RUNTIME_IMAGES, VALID_RUNTIME_IMAGES, CONFIGURABLE_RUNTIME_FLAGS, REACTOR_CONFIGURABLE_RUNTIME_FLAGS, isLegacyRuntimeImage, validateRuntimeImage, parseRuntimePackageJsonFile, buildRuntime, buildReactorRuntime, getMaxRuntimeTimeout, validateRuntimeTimeout, promptRuntimeOptions, promptRuntimeImage, type RuntimeFlagProps, type RuntimeFlags, type ConfigurableRuntimeOptions, };
|
|
48
|
+
export { LEGACY_RUNTIME_IMAGE, CONFIGURABLE_RUNTIME_IMAGES, CONFIGURABLE_RUNTIME_IMAGES_LABEL, VALID_RUNTIME_IMAGES, VALID_RUNTIME_IMAGES_LABEL, CONFIGURABLE_RUNTIME_FLAGS, REACTOR_CONFIGURABLE_RUNTIME_FLAGS, isLegacyRuntimeImage, validateRuntimeImage, parseRuntimePackageJsonFile, buildRuntime, buildReactorRuntime, getMaxRuntimeTimeout, validateRuntimeTimeout, promptRuntimeOptions, promptRuntimeImage, type RuntimeFlagProps, type RuntimeFlags, type ConfigurableRuntimeOptions, };
|
package/dist/runtime/utils.js
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.promptRuntimeImage = exports.promptRuntimeOptions = exports.validateRuntimeTimeout = exports.getMaxRuntimeTimeout = exports.buildReactorRuntime = exports.buildRuntime = exports.parseRuntimePackageJsonFile = exports.validateRuntimeImage = exports.isLegacyRuntimeImage = exports.REACTOR_CONFIGURABLE_RUNTIME_FLAGS = exports.CONFIGURABLE_RUNTIME_FLAGS = exports.VALID_RUNTIME_IMAGES = exports.CONFIGURABLE_RUNTIME_IMAGES = exports.LEGACY_RUNTIME_IMAGE = void 0;
|
|
3
|
+
exports.promptRuntimeImage = exports.promptRuntimeOptions = exports.validateRuntimeTimeout = exports.getMaxRuntimeTimeout = exports.buildReactorRuntime = exports.buildRuntime = exports.parseRuntimePackageJsonFile = exports.validateRuntimeImage = exports.isLegacyRuntimeImage = exports.REACTOR_CONFIGURABLE_RUNTIME_FLAGS = exports.CONFIGURABLE_RUNTIME_FLAGS = exports.VALID_RUNTIME_IMAGES_LABEL = exports.VALID_RUNTIME_IMAGES = exports.CONFIGURABLE_RUNTIME_IMAGES_LABEL = exports.CONFIGURABLE_RUNTIME_IMAGES = exports.LEGACY_RUNTIME_IMAGE = void 0;
|
|
4
4
|
const files_1 = require("../files");
|
|
5
5
|
const utils_1 = require("../utils");
|
|
6
6
|
const LEGACY_RUNTIME_IMAGE = 'node-bt';
|
|
7
7
|
exports.LEGACY_RUNTIME_IMAGE = LEGACY_RUNTIME_IMAGE;
|
|
8
|
-
const CONFIGURABLE_RUNTIME_IMAGES = ['node22'];
|
|
8
|
+
const CONFIGURABLE_RUNTIME_IMAGES = ['node22', 'node24'];
|
|
9
9
|
exports.CONFIGURABLE_RUNTIME_IMAGES = CONFIGURABLE_RUNTIME_IMAGES;
|
|
10
|
+
const CONFIGURABLE_RUNTIME_IMAGES_LABEL = CONFIGURABLE_RUNTIME_IMAGES.join(' | ');
|
|
11
|
+
exports.CONFIGURABLE_RUNTIME_IMAGES_LABEL = CONFIGURABLE_RUNTIME_IMAGES_LABEL;
|
|
10
12
|
const VALID_RUNTIME_IMAGES = [
|
|
11
13
|
LEGACY_RUNTIME_IMAGE,
|
|
12
14
|
...CONFIGURABLE_RUNTIME_IMAGES,
|
|
13
15
|
];
|
|
14
16
|
exports.VALID_RUNTIME_IMAGES = VALID_RUNTIME_IMAGES;
|
|
17
|
+
const VALID_RUNTIME_IMAGES_LABEL = VALID_RUNTIME_IMAGES.join('|');
|
|
18
|
+
exports.VALID_RUNTIME_IMAGES_LABEL = VALID_RUNTIME_IMAGES_LABEL;
|
|
15
19
|
const MIN_RUNTIME_TIMEOUT = 10;
|
|
16
20
|
const MAX_SYNC_RUNTIME_TIMEOUT = 30;
|
|
17
21
|
const MAX_ASYNC_RUNTIME_TIMEOUT = 900;
|