@gapi/gcli 1.8.225 → 1.8.227

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 +2 -2
  2. package/release/index.js +10 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gapi/gcli",
3
- "version": "1.8.225",
3
+ "version": "1.8.227",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Stradivario/gapi.git"
@@ -38,7 +38,7 @@
38
38
  "url": "https://github.com/Stradivario/gapi/issues"
39
39
  },
40
40
  "devDependencies": {
41
- "@rxdi/compressor": "^0.7.247",
41
+ "@rxdi/compressor": "^0.7.248",
42
42
  "@types/jest": "^25.2.1",
43
43
  "@types/js-yaml": "^4.0.3",
44
44
  "@types/node": "^25.0.3",
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 || "",
@@ -284776,6 +284778,10 @@ var init_helpers2 = __esm({
284776
284778
  params: cmd.params || payload.params || [],
284777
284779
  secrets: cmd.secrets || payload.secrets || [],
284778
284780
  network: cmd.network || payload.network || ["public", "private"],
284781
+ ...payload.federation || payload.subgraphs?.length ? {
284782
+ federation: !!payload.federation,
284783
+ subgraphs: payload.subgraphs ?? []
284784
+ } : {},
284779
284785
  customUploadFileId: cmd.customUploadFileId || payload.customUploadFileId || "",
284780
284786
  scaleOptions: {
284781
284787
  executorType: cmd.executorType || payload.scaleOptions?.executorType || "poolmgr",
@@ -284792,8 +284798,8 @@ var init_helpers2 = __esm({
284792
284798
  specializationTimeout: cmd.specializationTimeout || payload.scaleOptions?.specializationTimeout || 120
284793
284799
  }
284794
284800
  })
284795
- )
284796
- ),
284801
+ );
284802
+ }),
284797
284803
  (0, import_operators12.tap)((data) => {
284798
284804
  Logger.info(JSON.stringify(data, null, 2));
284799
284805
  })