@ms-cloudpack/cli 0.77.57 → 0.78.1
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 +32 -2
- package/lib/main.js +9 -1
- package/lib/main.js.map +1 -1
- package/package.json +12 -12
- package/schema/AppConfig.json +36 -7
- package/schema/UserConfig.json +36 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,42 @@
|
|
|
1
1
|
# Change Log - @ms-cloudpack/cli
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Fri, 27 Mar 2026 21:15:10 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.78.1
|
|
8
|
+
|
|
9
|
+
Fri, 27 Mar 2026 21:15:10 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- `@ms-cloudpack/task-reporter`
|
|
14
|
+
- Improve TaskReporter performance by reducing sticky update intervals (elcraig@microsoft.com)
|
|
15
|
+
|
|
16
|
+
### Patches
|
|
17
|
+
|
|
18
|
+
- `@ms-cloudpack/bundler-rollup`
|
|
19
|
+
- Update rollup packages (renovate@whitesourcesoftware.com)
|
|
20
|
+
- Update dependency cssnano to v7 (renovate@whitesourcesoftware.com)
|
|
21
|
+
- `@ms-cloudpack/esm-stub-utilities`
|
|
22
|
+
- Update dependency oxc-parser to ^0.119.0 (email not defined)
|
|
23
|
+
|
|
24
|
+
## 0.78.0
|
|
25
|
+
|
|
26
|
+
Tue, 17 Mar 2026 23:54:33 GMT
|
|
27
|
+
|
|
28
|
+
### Minor changes
|
|
29
|
+
|
|
30
|
+
- `@ms-cloudpack/esm-stub-utilities`
|
|
31
|
+
- Remove logic for ERR_REQUIRE_ESM as this is no longer an error in Node 22 (elcraig@microsoft.com)
|
|
32
|
+
- `@ms-cloudpack/cli`
|
|
33
|
+
- BREAKING: Require Node 22 (elcraig@microsoft.com)
|
|
34
|
+
- `@ms-cloudpack/worker-pool`
|
|
35
|
+
- Use Promise.withResolvers (Node 22) (elcraig@microsoft.com)
|
|
36
|
+
|
|
7
37
|
## 0.77.57
|
|
8
38
|
|
|
9
|
-
Wed, 18 Feb 2026 07:
|
|
39
|
+
Wed, 18 Feb 2026 07:53:07 GMT
|
|
10
40
|
|
|
11
41
|
### Patches
|
|
12
42
|
|
package/lib/main.js
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) {
|
|
2
|
+
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
3
|
+
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
|
4
|
+
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
|
5
|
+
});
|
|
6
|
+
}
|
|
7
|
+
return path;
|
|
8
|
+
};
|
|
1
9
|
import { getDisplayVersion } from '@ms-cloudpack/package-utilities';
|
|
2
10
|
import { globSourceFiles } from '@ms-cloudpack/path-utilities';
|
|
3
11
|
import path from 'path';
|
|
@@ -50,7 +58,7 @@ export async function main(options = {}) {
|
|
|
50
58
|
}
|
|
51
59
|
for (const commandPath of commands) {
|
|
52
60
|
const commandUrl = pathToFileURL(commandPath).toString();
|
|
53
|
-
const commandModule = (await import(commandUrl));
|
|
61
|
+
const commandModule = (await import(__rewriteRelativeImportExtension(commandUrl)));
|
|
54
62
|
commandModule.init(program);
|
|
55
63
|
}
|
|
56
64
|
await program.run();
|
package/lib/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAC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IACxD,uEAAuE;IACvE,MAAM,OAAO,GAAG,IAAI,gBAAgB,CAAC;QACnC,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,uFAAuF;QACpG,KAAK,EAAE,qBAAqB;QAC5B,aAAa;QACb,cAAc,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,EAAE;QACvE,yFAAyF;QACzF,+BAA+B;QAC/B,iBAAiB,EAAE,IAAI;KACxB,CAAC,CAAC;IAEH,iCAAiC;IACjC,MAAM,YAAY,GAAG,kBAAkB,CAAC;IACxC,MAAM,QAAQ,GAAG,MAAM,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC;IACtE,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QACrB,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;QAChE,MAAM,IAAI,KAAK,CAAC,+BAA+B,UAAU,IAAI,YAAY,MAAM,CAAC,CAAC;IACnF,CAAC;IAED,KAAK,MAAM,WAAW,IAAI,QAAQ,EAAE,CAAC;QACnC,MAAM,UAAU,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE,CAAC;QACzD,MAAM,aAAa,GAAG,CAAC,MAAM,MAAM,kCAAC,UAAU,EAAC,CAAsB,CAAC;QAEtE,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,MAAM,OAAO,CAAC,GAAG,EAAE,CAAC;AACtB,CAAC","sourcesContent":["import { getDisplayVersion } from '@ms-cloudpack/package-utilities';\nimport { globSourceFiles } from '@ms-cloudpack/path-utilities';\nimport path from 'path';\nimport { fileURLToPath, pathToFileURL } from 'url';\nimport type { CommandInitModule } from './types/CommandInitFunction.js';\nimport { PerfMarkerCliEntry } from './performance/markers.js';\nimport { CloudpackCommand, type CloudpackCommandParams } from './utilities/CloudpackCommand.js';\nimport { getNodeEngineRequirement } from './utilities/getNodeEngineRequirement.js';\nimport { satisfies } from 'semver';\nimport type { ProgramOptions } from './types/ProgramOptions.js';\nimport { createCommandEvents } from './utilities/commandEvents.js';\n\n/** Override options for tests */\nexport type MainOptions = Partial<Pick<ProgramOptions, 'cwd' | 'disableTelemetry' | 'argv' | 'commandEvents'>> &\n Pick<CloudpackCommandParams<object, never>, 'outputOptions'>;\n\n/**\n * Entry point for the cloudpack CLI.\n * Resolves all commands defined within the \"./commands\" folder.\n */\nexport async function main(options: Partial<MainOptions> = {}): Promise<void> {\n process.title = 'cloudpack';\n // Check Node.js version compatibility before doing anything else\n const requiredNodeVersion = getNodeEngineRequirement();\n if (requiredNodeVersion && !satisfies(process.version, requiredNodeVersion)) {\n console.error(`Cloudpack requires Node.js ${requiredNodeVersion}. Current version: ${process.version}.`);\n // eslint-disable-next-line no-restricted-properties -- exit immediately\n process.exit(1);\n }\n\n const {\n argv = [...process.argv],\n // eslint-disable-next-line no-restricted-properties -- this is where the default is supplied\n cwd = process.cwd(),\n disableTelemetry,\n outputOptions,\n commandEvents = createCommandEvents(),\n } = options;\n\n performance.mark(PerfMarkerCliEntry);\n\n if (argv[3] === '--') {\n // Remove the \"--\" argument in case it's added by lage\n argv.splice(3, 1);\n }\n\n const version = getDisplayVersion(import.meta.url);\n\n // Create the top-level command and apply common options\n // (avoids \"unknown option\" errors if they're specified without a verb)\n const program = new CloudpackCommand({\n name: 'cloudpack',\n description: 'A tool for managing fast inner and outer looping in web apps. Requires a sub-command.',\n usage: '<command> [options]',\n outputOptions,\n programOptions: { cwd, version, argv, disableTelemetry, commandEvents },\n // The top-level command should realistically only ever be used with --help or --version,\n // so hide most of the options.\n hideSharedOptions: true,\n });\n\n // Get all the available commands\n const commandsGlob = 'commands/*/index';\n const commands = await globSourceFiles(import.meta.url, commandsGlob);\n if (!commands.length) {\n const currentDir = path.dirname(fileURLToPath(import.meta.url));\n throw new Error(`No commands found matching \"${currentDir}/${commandsGlob}.*\".`);\n }\n\n for (const commandPath of commands) {\n const commandUrl = pathToFileURL(commandPath).toString();\n const commandModule = (await import(commandUrl)) as CommandInitModule;\n\n commandModule.init(program);\n }\n\n await program.run();\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.78.1",
|
|
4
4
|
"description": "The Cloudpack command line interface - a tool for managing fast inner and outer looping in web apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,25 +30,25 @@
|
|
|
30
30
|
"test": "cloudpack-scripts test"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ms-cloudpack/api-server": "^0.66.
|
|
34
|
-
"@ms-cloudpack/app-server": "^0.20.
|
|
35
|
-
"@ms-cloudpack/bundler": "^0.27.
|
|
33
|
+
"@ms-cloudpack/api-server": "^0.66.24",
|
|
34
|
+
"@ms-cloudpack/app-server": "^0.20.63",
|
|
35
|
+
"@ms-cloudpack/bundler": "^0.27.25",
|
|
36
36
|
"@ms-cloudpack/bundler-capabilities": "^0.5.2",
|
|
37
37
|
"@ms-cloudpack/common-types": "^0.33.3",
|
|
38
|
-
"@ms-cloudpack/config": "^0.38.
|
|
38
|
+
"@ms-cloudpack/config": "^0.38.37",
|
|
39
39
|
"@ms-cloudpack/create-express-app": "^1.10.73",
|
|
40
40
|
"@ms-cloudpack/environment": "^0.1.1",
|
|
41
41
|
"@ms-cloudpack/file-watcher": "^0.4.32",
|
|
42
42
|
"@ms-cloudpack/json-utilities": "^0.1.11",
|
|
43
|
-
"@ms-cloudpack/link-proxy": "^0.2.
|
|
44
|
-
"@ms-cloudpack/overlay": "^0.19.
|
|
45
|
-
"@ms-cloudpack/package-utilities": "^13.7.
|
|
43
|
+
"@ms-cloudpack/link-proxy": "^0.2.85",
|
|
44
|
+
"@ms-cloudpack/overlay": "^0.19.81",
|
|
45
|
+
"@ms-cloudpack/package-utilities": "^13.7.3",
|
|
46
46
|
"@ms-cloudpack/path-string-parsing": "^1.3.0",
|
|
47
47
|
"@ms-cloudpack/path-utilities": "^3.2.9",
|
|
48
|
-
"@ms-cloudpack/remote-cache": "^0.11.
|
|
48
|
+
"@ms-cloudpack/remote-cache": "^0.11.72",
|
|
49
49
|
"@ms-cloudpack/setup-utilities": "^0.5.57",
|
|
50
|
-
"@ms-cloudpack/task-reporter": "^0.
|
|
51
|
-
"@ms-cloudpack/telemetry": "^0.11.
|
|
50
|
+
"@ms-cloudpack/task-reporter": "^0.20.0",
|
|
51
|
+
"@ms-cloudpack/telemetry": "^0.11.72",
|
|
52
52
|
"@yarnpkg/lockfile": "^1.1.0",
|
|
53
53
|
"commander": "^14.0.0",
|
|
54
54
|
"cross-spawn": "^7.0.3",
|
|
@@ -77,6 +77,6 @@
|
|
|
77
77
|
"schema"
|
|
78
78
|
],
|
|
79
79
|
"engines": {
|
|
80
|
-
"node": ">=
|
|
80
|
+
"node": ">=22.18.0"
|
|
81
81
|
}
|
|
82
82
|
}
|
package/schema/AppConfig.json
CHANGED
|
@@ -231,6 +231,11 @@
|
|
|
231
231
|
"description": "The number of milliseconds of inactivity a server needs to wait for additional incoming data, after it has finished writing the last response, before a socket will be destroyed.",
|
|
232
232
|
"default": 5000
|
|
233
233
|
},
|
|
234
|
+
"keepAliveTimeoutBuffer": {
|
|
235
|
+
"type": "number",
|
|
236
|
+
"description": "An additional buffer time added to the `server.keepAliveTimeout` to extend the internal socket timeout.",
|
|
237
|
+
"default": 1000
|
|
238
|
+
},
|
|
234
239
|
"connectionsCheckingInterval": {
|
|
235
240
|
"type": "number",
|
|
236
241
|
"description": "Sets the interval value in milliseconds to check for request and headers timeout in incomplete requests.",
|
|
@@ -362,7 +367,8 @@
|
|
|
362
367
|
},
|
|
363
368
|
"clientCertEngine": {
|
|
364
369
|
"type": "string",
|
|
365
|
-
"description": "Name of an OpenSSL engine which can provide the client certificate."
|
|
370
|
+
"description": "Name of an OpenSSL engine which can provide the client certificate.",
|
|
371
|
+
"deprecated": true
|
|
366
372
|
},
|
|
367
373
|
"crl": {
|
|
368
374
|
"anyOf": [
|
|
@@ -413,11 +419,13 @@
|
|
|
413
419
|
},
|
|
414
420
|
"privateKeyEngine": {
|
|
415
421
|
"type": "string",
|
|
416
|
-
"description": "Name of an OpenSSL engine to get private key from. Should be used together with privateKeyIdentifier."
|
|
422
|
+
"description": "Name of an OpenSSL engine to get private key from. Should be used together with privateKeyIdentifier.",
|
|
423
|
+
"deprecated": true
|
|
417
424
|
},
|
|
418
425
|
"privateKeyIdentifier": {
|
|
419
426
|
"type": "string",
|
|
420
|
-
"description": "Identifier of a private key managed by an OpenSSL engine. Should be used together with privateKeyEngine. Should not be set together with key, because both options define a private key in different ways."
|
|
427
|
+
"description": "Identifier of a private key managed by an OpenSSL engine. Should be used together with privateKeyEngine. Should not be set together with key, because both options define a private key in different ways.",
|
|
428
|
+
"deprecated": true
|
|
421
429
|
},
|
|
422
430
|
"maxVersion": {
|
|
423
431
|
"$ref": "#/definitions/SecureVersion",
|
|
@@ -509,6 +517,10 @@
|
|
|
509
517
|
"type": "boolean",
|
|
510
518
|
"description": "Indicates whether the socket should be paused on incoming connections.",
|
|
511
519
|
"default": false
|
|
520
|
+
},
|
|
521
|
+
"blockList": {
|
|
522
|
+
"$ref": "#/definitions/BlockList",
|
|
523
|
+
"description": "`blockList` can be used for disabling inbound access to specific IP addresses, IP ranges, or IP subnets. This does not work if the server is behind a reverse proxy, NAT, etc. because the address checked against the block list is the address of the proxy, or the one specified by the NAT."
|
|
512
524
|
}
|
|
513
525
|
},
|
|
514
526
|
"additionalProperties": false,
|
|
@@ -962,7 +974,7 @@
|
|
|
962
974
|
"type": "number",
|
|
963
975
|
"description": "The length of the array."
|
|
964
976
|
},
|
|
965
|
-
"__@toStringTag@
|
|
977
|
+
"__@toStringTag@1177": {
|
|
966
978
|
"type": "string",
|
|
967
979
|
"const": "BigUint64Array"
|
|
968
980
|
}
|
|
@@ -973,7 +985,7 @@
|
|
|
973
985
|
"byteLength",
|
|
974
986
|
"byteOffset",
|
|
975
987
|
"length",
|
|
976
|
-
"__@toStringTag@
|
|
988
|
+
"__@toStringTag@1177"
|
|
977
989
|
],
|
|
978
990
|
"additionalProperties": {
|
|
979
991
|
"type": "number"
|
|
@@ -1013,7 +1025,7 @@
|
|
|
1013
1025
|
"type": "number",
|
|
1014
1026
|
"description": "The length of the array."
|
|
1015
1027
|
},
|
|
1016
|
-
"__@toStringTag@
|
|
1028
|
+
"__@toStringTag@1177": {
|
|
1017
1029
|
"type": "string",
|
|
1018
1030
|
"const": "BigInt64Array"
|
|
1019
1031
|
}
|
|
@@ -1024,7 +1036,7 @@
|
|
|
1024
1036
|
"byteLength",
|
|
1025
1037
|
"byteOffset",
|
|
1026
1038
|
"length",
|
|
1027
|
-
"__@toStringTag@
|
|
1039
|
+
"__@toStringTag@1177"
|
|
1028
1040
|
],
|
|
1029
1041
|
"additionalProperties": {
|
|
1030
1042
|
"type": "number"
|
|
@@ -1125,6 +1137,23 @@
|
|
|
1125
1137
|
}
|
|
1126
1138
|
]
|
|
1127
1139
|
},
|
|
1140
|
+
"BlockList": {
|
|
1141
|
+
"type": "object",
|
|
1142
|
+
"properties": {
|
|
1143
|
+
"rules": {
|
|
1144
|
+
"type": "array",
|
|
1145
|
+
"items": {
|
|
1146
|
+
"type": "string"
|
|
1147
|
+
},
|
|
1148
|
+
"description": "The list of rules added to the blocklist."
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
"required": [
|
|
1152
|
+
"rules"
|
|
1153
|
+
],
|
|
1154
|
+
"additionalProperties": false,
|
|
1155
|
+
"description": "The `BlockList` object can be used with some network APIs to specify rules for disabling inbound or outbound access to specific IP addresses, IP ranges, or IP subnets."
|
|
1156
|
+
},
|
|
1128
1157
|
"ShorthandRoute": {
|
|
1129
1158
|
"anyOf": [
|
|
1130
1159
|
{
|
package/schema/UserConfig.json
CHANGED
|
@@ -232,6 +232,11 @@
|
|
|
232
232
|
"description": "The number of milliseconds of inactivity a server needs to wait for additional incoming data, after it has finished writing the last response, before a socket will be destroyed.",
|
|
233
233
|
"default": 5000
|
|
234
234
|
},
|
|
235
|
+
"keepAliveTimeoutBuffer": {
|
|
236
|
+
"type": "number",
|
|
237
|
+
"description": "An additional buffer time added to the `server.keepAliveTimeout` to extend the internal socket timeout.",
|
|
238
|
+
"default": 1000
|
|
239
|
+
},
|
|
235
240
|
"connectionsCheckingInterval": {
|
|
236
241
|
"type": "number",
|
|
237
242
|
"description": "Sets the interval value in milliseconds to check for request and headers timeout in incomplete requests.",
|
|
@@ -363,7 +368,8 @@
|
|
|
363
368
|
},
|
|
364
369
|
"clientCertEngine": {
|
|
365
370
|
"type": "string",
|
|
366
|
-
"description": "Name of an OpenSSL engine which can provide the client certificate."
|
|
371
|
+
"description": "Name of an OpenSSL engine which can provide the client certificate.",
|
|
372
|
+
"deprecated": true
|
|
367
373
|
},
|
|
368
374
|
"crl": {
|
|
369
375
|
"anyOf": [
|
|
@@ -414,11 +420,13 @@
|
|
|
414
420
|
},
|
|
415
421
|
"privateKeyEngine": {
|
|
416
422
|
"type": "string",
|
|
417
|
-
"description": "Name of an OpenSSL engine to get private key from. Should be used together with privateKeyIdentifier."
|
|
423
|
+
"description": "Name of an OpenSSL engine to get private key from. Should be used together with privateKeyIdentifier.",
|
|
424
|
+
"deprecated": true
|
|
418
425
|
},
|
|
419
426
|
"privateKeyIdentifier": {
|
|
420
427
|
"type": "string",
|
|
421
|
-
"description": "Identifier of a private key managed by an OpenSSL engine. Should be used together with privateKeyEngine. Should not be set together with key, because both options define a private key in different ways."
|
|
428
|
+
"description": "Identifier of a private key managed by an OpenSSL engine. Should be used together with privateKeyEngine. Should not be set together with key, because both options define a private key in different ways.",
|
|
429
|
+
"deprecated": true
|
|
422
430
|
},
|
|
423
431
|
"maxVersion": {
|
|
424
432
|
"$ref": "#/definitions/SecureVersion",
|
|
@@ -510,6 +518,10 @@
|
|
|
510
518
|
"type": "boolean",
|
|
511
519
|
"description": "Indicates whether the socket should be paused on incoming connections.",
|
|
512
520
|
"default": false
|
|
521
|
+
},
|
|
522
|
+
"blockList": {
|
|
523
|
+
"$ref": "#/definitions/BlockList",
|
|
524
|
+
"description": "`blockList` can be used for disabling inbound access to specific IP addresses, IP ranges, or IP subnets. This does not work if the server is behind a reverse proxy, NAT, etc. because the address checked against the block list is the address of the proxy, or the one specified by the NAT."
|
|
513
525
|
}
|
|
514
526
|
},
|
|
515
527
|
"additionalProperties": false,
|
|
@@ -963,7 +975,7 @@
|
|
|
963
975
|
"type": "number",
|
|
964
976
|
"description": "The length of the array."
|
|
965
977
|
},
|
|
966
|
-
"__@toStringTag@
|
|
978
|
+
"__@toStringTag@1177": {
|
|
967
979
|
"type": "string",
|
|
968
980
|
"const": "BigUint64Array"
|
|
969
981
|
}
|
|
@@ -974,7 +986,7 @@
|
|
|
974
986
|
"byteLength",
|
|
975
987
|
"byteOffset",
|
|
976
988
|
"length",
|
|
977
|
-
"__@toStringTag@
|
|
989
|
+
"__@toStringTag@1177"
|
|
978
990
|
],
|
|
979
991
|
"additionalProperties": {
|
|
980
992
|
"type": "number"
|
|
@@ -1014,7 +1026,7 @@
|
|
|
1014
1026
|
"type": "number",
|
|
1015
1027
|
"description": "The length of the array."
|
|
1016
1028
|
},
|
|
1017
|
-
"__@toStringTag@
|
|
1029
|
+
"__@toStringTag@1177": {
|
|
1018
1030
|
"type": "string",
|
|
1019
1031
|
"const": "BigInt64Array"
|
|
1020
1032
|
}
|
|
@@ -1025,7 +1037,7 @@
|
|
|
1025
1037
|
"byteLength",
|
|
1026
1038
|
"byteOffset",
|
|
1027
1039
|
"length",
|
|
1028
|
-
"__@toStringTag@
|
|
1040
|
+
"__@toStringTag@1177"
|
|
1029
1041
|
],
|
|
1030
1042
|
"additionalProperties": {
|
|
1031
1043
|
"type": "number"
|
|
@@ -1126,6 +1138,23 @@
|
|
|
1126
1138
|
}
|
|
1127
1139
|
]
|
|
1128
1140
|
},
|
|
1141
|
+
"BlockList": {
|
|
1142
|
+
"type": "object",
|
|
1143
|
+
"properties": {
|
|
1144
|
+
"rules": {
|
|
1145
|
+
"type": "array",
|
|
1146
|
+
"items": {
|
|
1147
|
+
"type": "string"
|
|
1148
|
+
},
|
|
1149
|
+
"description": "The list of rules added to the blocklist."
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
"required": [
|
|
1153
|
+
"rules"
|
|
1154
|
+
],
|
|
1155
|
+
"additionalProperties": false,
|
|
1156
|
+
"description": "The `BlockList` object can be used with some network APIs to specify rules for disabling inbound or outbound access to specific IP addresses, IP ranges, or IP subnets."
|
|
1157
|
+
},
|
|
1129
1158
|
"ShorthandRoute": {
|
|
1130
1159
|
"anyOf": [
|
|
1131
1160
|
{
|