@gapi/gcli 1.8.226 → 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.
- package/package.json +1 -1
- package/release/index.js +10 -4
package/package.json
CHANGED
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
|
-
|
|
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
|
})
|