@gapi/gcli 1.8.131 → 1.8.133
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 +3 -2
- package/release/index.js +21 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gapi/gcli",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.133",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/Stradivario/gapi.git"
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"test": "jest",
|
|
15
15
|
"lint-fix": "npx eslint . --fix --ext .ts",
|
|
16
16
|
"build:release": "gapi build --single-executable && cp ./dist/gcli-linux ./release && cp ./dist/index.js ./release",
|
|
17
|
-
"build": "echo BUILD"
|
|
17
|
+
"build": "echo BUILD",
|
|
18
|
+
"introspect": "gapi schema introspect --collect-documents --collect-types"
|
|
18
19
|
},
|
|
19
20
|
"author": {
|
|
20
21
|
"name": "Kristian Tachev(Stradivario)",
|
package/release/index.js
CHANGED
|
@@ -466,6 +466,16 @@ updatedAt
|
|
|
466
466
|
packageJson
|
|
467
467
|
buildBashScript
|
|
468
468
|
customUploadFileId
|
|
469
|
+
scaleOptions {
|
|
470
|
+
minCpu
|
|
471
|
+
maxCpu
|
|
472
|
+
minMemory
|
|
473
|
+
maxMemory
|
|
474
|
+
minScale
|
|
475
|
+
maxScale
|
|
476
|
+
targetCpu
|
|
477
|
+
executorType
|
|
478
|
+
}
|
|
469
479
|
`;
|
|
470
480
|
|
|
471
481
|
|
|
@@ -15511,6 +15521,16 @@ exports.createOrUpdateLambda = (cmd, type) => helpers_1.parseProjectId(cmd.proje
|
|
|
15511
15521
|
params: cmd.params || payload.params || [],
|
|
15512
15522
|
secret: cmd.secret || payload.secret || '',
|
|
15513
15523
|
customUploadFileId: cmd.customUploadFileId || payload.customUploadFileId || '',
|
|
15524
|
+
scaleOptions: payload.scaleOptions || {
|
|
15525
|
+
executorType: 'POOLMGR',
|
|
15526
|
+
maxCpu: 0,
|
|
15527
|
+
maxMemory: 0,
|
|
15528
|
+
maxScale: 0,
|
|
15529
|
+
minCpu: 0,
|
|
15530
|
+
minMemory: 0,
|
|
15531
|
+
minScale: 0,
|
|
15532
|
+
targetCpu: 0,
|
|
15533
|
+
},
|
|
15514
15534
|
}).toPromise();
|
|
15515
15535
|
})), operators_1.tap((data) => {
|
|
15516
15536
|
console.dir(data, { depth: null, colors: true });
|
|
@@ -44791,7 +44811,7 @@ class GraphqlClienAPI {
|
|
|
44791
44811
|
})).pipe(operators_1.switchMap((res) => res.json()), operators_1.switchMap((cfg) => rxjs_1.combineLatest([
|
|
44792
44812
|
read_file_1.writeFileAsObservable(types_1.tokenDirectory, cfg.id_token),
|
|
44793
44813
|
read_file_1.writeFileAsObservable(types_1.refreshTokenDirectory, cfg.refresh_token),
|
|
44794
|
-
read_file_1.writeFileAsObservable(types_1.generationTimeDirectory, Date.now()),
|
|
44814
|
+
read_file_1.writeFileAsObservable(types_1.generationTimeDirectory, Date.now().toString()),
|
|
44795
44815
|
]).pipe(operators_1.map(() => cfg))));
|
|
44796
44816
|
}
|
|
44797
44817
|
static signIn(customToken) {
|