@gapi/gcli 1.8.227 → 1.8.228
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/package.json +1 -1
- package/release/index.js +21 -4
package/package.json
CHANGED
package/release/index.js
CHANGED
|
@@ -284777,11 +284777,10 @@ var init_helpers2 = __esm({
|
|
|
284777
284777
|
packageJson: cmd.packageJson || await (0, import_rxjs13.lastValueFrom)(ReadFile2(cmd.package || payload.package)) || "{}",
|
|
284778
284778
|
params: cmd.params || payload.params || [],
|
|
284779
284779
|
secrets: cmd.secrets || payload.secrets || [],
|
|
284780
|
+
envSecrets: cmd.envSecrets || payload.envSecrets || [],
|
|
284780
284781
|
network: cmd.network || payload.network || ["public", "private"],
|
|
284781
|
-
|
|
284782
|
-
|
|
284783
|
-
subgraphs: payload.subgraphs ?? []
|
|
284784
|
-
} : {},
|
|
284782
|
+
federation: cmd.federation ?? !!payload.federation,
|
|
284783
|
+
subgraphs: cmd.subgraphs || payload.subgraphs || [],
|
|
284785
284784
|
customUploadFileId: cmd.customUploadFileId || payload.customUploadFileId || "",
|
|
284786
284785
|
scaleOptions: {
|
|
284787
284786
|
executorType: cmd.executorType || payload.scaleOptions?.executorType || "poolmgr",
|
|
@@ -316569,6 +316568,12 @@ function registerLambdaCommands(program2) {
|
|
|
316569
316568
|
],
|
|
316570
316569
|
["--script <script>", "Package build script path"],
|
|
316571
316570
|
["--params <params>", "Array from strings which defines route params"],
|
|
316571
|
+
["--configs <configs...>", "List of kubernetes config names"],
|
|
316572
|
+
["--secrets <secrets...>", "List of kubernetes secret names"],
|
|
316573
|
+
[
|
|
316574
|
+
"--envSecrets <envSecrets...>",
|
|
316575
|
+
"List of kubernetes secret names projected into process.env (graphql environment only)"
|
|
316576
|
+
],
|
|
316572
316577
|
[
|
|
316573
316578
|
"--network <network>",
|
|
316574
316579
|
"Can be private or public meaning exposed to the router or just for private available can be both also --network private --network public"
|
|
@@ -316576,6 +316581,18 @@ function registerLambdaCommands(program2) {
|
|
|
316576
316581
|
["--route <route>", "Lambda route in which will be accessible"],
|
|
316577
316582
|
["--code <code>", "URL or local path for single file source code"],
|
|
316578
316583
|
["--file <file>", "Main lambda file"],
|
|
316584
|
+
[
|
|
316585
|
+
"--customUploadFileId <customUploadFileId>",
|
|
316586
|
+
"Id of a pre-uploaded archive to use as the lambda source"
|
|
316587
|
+
],
|
|
316588
|
+
[
|
|
316589
|
+
"--federation",
|
|
316590
|
+
"Provision this lambda as a GraphQL Federation gateway instead of a regular function"
|
|
316591
|
+
],
|
|
316592
|
+
[
|
|
316593
|
+
"--subgraphs <subgraphs...>",
|
|
316594
|
+
"Lambda names (within the project) to expose as subgraphs of the federation gateway"
|
|
316595
|
+
],
|
|
316579
316596
|
[
|
|
316580
316597
|
"--executorType <executorType>",
|
|
316581
316598
|
"Executor type for execution; one of 'poolmgr', 'newdeploy'"
|