@gapi/gcli 1.8.226 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/release/index.js +27 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gapi/gcli",
3
- "version": "1.8.226",
3
+ "version": "1.8.228",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Stradivario/gapi.git"
package/release/index.js CHANGED
@@ -36181,6 +36181,8 @@ updatedAt
36181
36181
  packageJson
36182
36182
  buildBashScript
36183
36183
  customUploadFileId
36184
+ federation
36185
+ subgraphs
36184
36186
  scaleOptions {
36185
36187
  minCpu
36186
36188
  maxCpu
@@ -284761,8 +284763,8 @@ var init_helpers2 = __esm({
284761
284763
  )
284762
284764
  );
284763
284765
  }),
284764
- (0, import_operators12.switchMap)(
284765
- async (payload) => (0, import_rxjs13.lastValueFrom)(
284766
+ (0, import_operators12.switchMap)(async (payload) => {
284767
+ return (0, import_rxjs13.lastValueFrom)(
284766
284768
  GraphqlClienAPI[type2]({
284767
284769
  code: cmd.code || await (0, import_rxjs13.lastValueFrom)(ReadFile2(cmd.file || payload.file)) || "",
284768
284770
  name: cmd.name || payload.name || "",
@@ -284775,7 +284777,10 @@ var init_helpers2 = __esm({
284775
284777
  packageJson: cmd.packageJson || await (0, import_rxjs13.lastValueFrom)(ReadFile2(cmd.package || payload.package)) || "{}",
284776
284778
  params: cmd.params || payload.params || [],
284777
284779
  secrets: cmd.secrets || payload.secrets || [],
284780
+ envSecrets: cmd.envSecrets || payload.envSecrets || [],
284778
284781
  network: cmd.network || payload.network || ["public", "private"],
284782
+ federation: cmd.federation ?? !!payload.federation,
284783
+ subgraphs: cmd.subgraphs || payload.subgraphs || [],
284779
284784
  customUploadFileId: cmd.customUploadFileId || payload.customUploadFileId || "",
284780
284785
  scaleOptions: {
284781
284786
  executorType: cmd.executorType || payload.scaleOptions?.executorType || "poolmgr",
@@ -284792,8 +284797,8 @@ var init_helpers2 = __esm({
284792
284797
  specializationTimeout: cmd.specializationTimeout || payload.scaleOptions?.specializationTimeout || 120
284793
284798
  }
284794
284799
  })
284795
- )
284796
- ),
284800
+ );
284801
+ }),
284797
284802
  (0, import_operators12.tap)((data) => {
284798
284803
  Logger.info(JSON.stringify(data, null, 2));
284799
284804
  })
@@ -316563,6 +316568,12 @@ function registerLambdaCommands(program2) {
316563
316568
  ],
316564
316569
  ["--script <script>", "Package build script path"],
316565
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
+ ],
316566
316577
  [
316567
316578
  "--network <network>",
316568
316579
  "Can be private or public meaning exposed to the router or just for private available can be both also --network private --network public"
@@ -316570,6 +316581,18 @@ function registerLambdaCommands(program2) {
316570
316581
  ["--route <route>", "Lambda route in which will be accessible"],
316571
316582
  ["--code <code>", "URL or local path for single file source code"],
316572
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
+ ],
316573
316596
  [
316574
316597
  "--executorType <executorType>",
316575
316598
  "Executor type for execution; one of 'poolmgr', 'newdeploy'"