@forge/cli-shared 9.11.0-next.0 → 9.11.0-next.10
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/CHANGELOG.md +66 -0
- package/out/apps/create-an-app.d.ts +4 -1
- package/out/apps/create-an-app.d.ts.map +1 -1
- package/out/apps/create-an-app.js +15 -3
- package/out/apps/get-app-owner.d.ts.map +1 -1
- package/out/config/config-file.d.ts.map +1 -1
- package/out/config/config-file.js +1 -1
- package/out/file-system/file-system-reader.d.ts.map +1 -1
- package/out/file-system/file-system-reader.js +3 -4
- package/out/graphql/gql/gql.d.ts +2 -0
- package/out/graphql/gql/gql.d.ts.map +1 -1
- package/out/graphql/gql/gql.js +2 -0
- package/out/graphql/gql/graphql.d.ts +698 -31
- package/out/graphql/gql/graphql.d.ts.map +1 -1
- package/out/graphql/gql/graphql.js +28 -2
- package/out/shared/index.d.ts +0 -3
- package/out/shared/index.d.ts.map +1 -1
- package/out/shared/index.js +0 -5
- package/out/shared/read-app-config-files.d.ts.map +1 -1
- package/out/shared/read-app-config-files.js +3 -4
- package/out/ui/command-line-ui.js +1 -1
- package/out/ui/text.d.ts +38 -3
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +41 -6
- package/package.json +4 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,71 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
+
## 9.11.0-next.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 32cccae: Use native `Array.prototype.flat` and `flatMap` instead of the `array.prototype.flatmap` polyfill.
|
|
8
|
+
|
|
9
|
+
## 9.11.0-next.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [f93add1]
|
|
14
|
+
- @forge/util@4.1.0-next.1
|
|
15
|
+
|
|
16
|
+
## 9.11.0-next.8
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- db8ec45: Remove unnecessary code from blank template after preset is applied
|
|
21
|
+
|
|
22
|
+
## 9.11.0-next.7
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- af4376a: `forge providers configure` can now read the OAuth client secret from stdin with `--read-oauth-client-secret`. `-s, --oauth-client-secret` still works but is deprecated and prints a warning. Passing `-s` without a value now asks for the secret instead of sending `true`. In non-interactive mode, a missing secret now fails with `MISSING_INPUT` and names `--read-oauth-client-secret`.
|
|
27
|
+
|
|
28
|
+
## 9.11.0-next.6
|
|
29
|
+
|
|
30
|
+
### Minor Changes
|
|
31
|
+
|
|
32
|
+
- 1a8fe4a: Module composition for create presets runs before app registration
|
|
33
|
+
|
|
34
|
+
## 9.11.0-next.5
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies [562c365]
|
|
39
|
+
- @forge/i18n@1.0.2-next.0
|
|
40
|
+
- @forge/manifest@13.9.1-next.0
|
|
41
|
+
|
|
42
|
+
## 9.11.0-next.4
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [68fb732]
|
|
47
|
+
- @forge/util@4.0.1-next.0
|
|
48
|
+
|
|
49
|
+
## 9.11.0-next.3
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- 9871b8c: Switch `forge tunnel` to `@atlassian/cloudflared`. It now updates the bundled cloudflared binary to at least 2026.10.3, and checks for newer versions every 14 days. Set `CLOUDFLARED_BIN` to use your own binary without updates.
|
|
54
|
+
- 79c8030: `forge webtrigger create --readSecretKey` now asks for the key with a hidden prompt when stdin is a terminal, instead of showing it as you type. Empty input and non-interactive mode now give clearer errors that say how to provide the key.
|
|
55
|
+
- e38146e: `forge webtrigger create --readSecretKey` now fails with an error when the web trigger module does not use `request.authentication: hmacSharedSecret`.
|
|
56
|
+
|
|
57
|
+
## 9.11.0-next.2
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- f04447d: Add a hidden `rovo-agent-skill` preset to `forge create` that adds a Rovo agent and a Rovo skill and lists the skill in the agent's `skills`
|
|
62
|
+
|
|
63
|
+
## 9.11.0-next.1
|
|
64
|
+
|
|
65
|
+
### Minor Changes
|
|
66
|
+
|
|
67
|
+
- 0de4485: Add a hidden `forge containers reprovision` command that replaces every running instance of a container service with a fresh one, keeping its current version, and waits for the rollout to finish
|
|
68
|
+
|
|
3
69
|
## 9.11.0-next.0
|
|
4
70
|
|
|
5
71
|
### Minor Changes
|
|
@@ -6,6 +6,9 @@ export interface CreateAppCommandInput extends CreateAppClientInput {
|
|
|
6
6
|
template: string;
|
|
7
7
|
directory: string;
|
|
8
8
|
compatibility?: AppCompatibility;
|
|
9
|
+
install?: boolean;
|
|
10
|
+
prependAppName?: boolean;
|
|
11
|
+
beforeRegister?: (directory: string) => Promise<void>;
|
|
9
12
|
}
|
|
10
13
|
export declare class NoTemplatesError extends Error {
|
|
11
14
|
constructor();
|
|
@@ -21,7 +24,7 @@ export declare class CreateAppCommand {
|
|
|
21
24
|
private readonly packageInstaller;
|
|
22
25
|
private readonly statsig;
|
|
23
26
|
constructor(templater: Templater, registerAppCommand: RegisterAppCommand, packageInstaller: PackageInstaller, statsig: StatsigService);
|
|
24
|
-
execute({ name, description, template, directory, compatibility, developerSpaceId, billingConsent, appFeatures }: CreateAppCommandInput): Promise<CreateAppCommandResult>;
|
|
27
|
+
execute({ name, description, template, directory, compatibility, developerSpaceId, billingConsent, appFeatures, install, prependAppName, beforeRegister }: CreateAppCommandInput): Promise<CreateAppCommandResult>;
|
|
25
28
|
getAvailableTemplates(): Promise<string[]>;
|
|
26
29
|
filterAvailableProducts<T extends string>(products: T[], teamworkGraph: T, crossContext: T): Promise<T[]>;
|
|
27
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-an-app.d.ts","sourceRoot":"","sources":["../../src/apps/create-an-app.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-an-app.d.ts","sourceRoot":"","sources":["../../src/apps/create-an-app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC/G,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IACjE,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,gBAAgB,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACvD;AAED,qBAAa,gBAAiB,SAAQ,KAAK;;CAI1C;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG;IACvD,SAAS,EAAE;QACT,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAHP,SAAS,EAAE,SAAS,EACpB,kBAAkB,EAAE,kBAAkB,EACtC,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,cAAc;IAG7B,OAAO,CAAC,EACnB,IAAI,EACJ,WAAW,EACX,QAAQ,EACR,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,OAAO,EACP,cAAqB,EACrB,cAAc,EACf,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAmC7C,qBAAqB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAS1C,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACnD,QAAQ,EAAE,CAAC,EAAE,EACb,aAAa,EAAE,CAAC,EAChB,YAAY,EAAE,CAAC,GACd,OAAO,CAAC,CAAC,EAAE,CAAC;CAchB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateAppCommand = exports.NoTemplatesError = void 0;
|
|
4
|
+
const fs_extra_1 = require("fs-extra");
|
|
4
5
|
const ui_1 = require("../ui");
|
|
5
6
|
class NoTemplatesError extends Error {
|
|
6
7
|
constructor() {
|
|
@@ -19,8 +20,17 @@ class CreateAppCommand {
|
|
|
19
20
|
this.packageInstaller = packageInstaller;
|
|
20
21
|
this.statsig = statsig;
|
|
21
22
|
}
|
|
22
|
-
async execute({ name, description, template, directory, compatibility, developerSpaceId, billingConsent, appFeatures }) {
|
|
23
|
+
async execute({ name, description, template, directory, compatibility, developerSpaceId, billingConsent, appFeatures, install, prependAppName = true, beforeRegister }) {
|
|
23
24
|
await this.templater.downloadAndExtract(template, directory);
|
|
25
|
+
if (beforeRegister) {
|
|
26
|
+
try {
|
|
27
|
+
await beforeRegister(directory);
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
(0, fs_extra_1.removeSync)(directory);
|
|
31
|
+
throw error;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
24
34
|
const result = await this.registerAppCommand.registerApp({
|
|
25
35
|
name,
|
|
26
36
|
description,
|
|
@@ -28,10 +38,12 @@ class CreateAppCommand {
|
|
|
28
38
|
billingConsent,
|
|
29
39
|
...(appFeatures && { appFeatures })
|
|
30
40
|
}, directory, {
|
|
31
|
-
shouldPrependAppName:
|
|
41
|
+
shouldPrependAppName: prependAppName,
|
|
32
42
|
compatibility
|
|
33
43
|
});
|
|
34
|
-
|
|
44
|
+
if (install !== false) {
|
|
45
|
+
await this.packageInstaller.install(directory);
|
|
46
|
+
}
|
|
35
47
|
return {
|
|
36
48
|
analytics: { template, appId: result.id, appName: name },
|
|
37
49
|
environments: result.environments.map((env) => env.key)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-owner.d.ts","sourceRoot":"","sources":["../../src/apps/get-app-owner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,qBAAa,oBAAqB,SAAQ,KAAK;;CAI9C;AAED,eAAO,MAAM,aAAa;
|
|
1
|
+
{"version":3,"file":"get-app-owner.d.ts","sourceRoot":"","sources":["../../src/apps/get-app-owner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,qBAAa,oBAAqB,SAAQ,KAAK;;CAI9C;AAED,eAAO,MAAM,aAAa;QAuCoj8gH,8CAAc;GA9B1l8gH,CAAC;AAEH,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,aAAa,EAAE,aAAa,EAC5B,YAAY,EAAE,iBAAiB;IAGrC,OAAO;;;;;;;;;;;;;YAMN,WAAW;CAe1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-file.d.ts","sourceRoot":"","sources":["../../src/config/config-file.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAoB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
|
}
|
|
183
183
|
getHostedResourceModules(modules) {
|
|
184
|
-
const modulesArray =
|
|
184
|
+
const modulesArray = Object.values(modules).flat();
|
|
185
185
|
return modulesArray.filter(config_1.isHostedResourceModule);
|
|
186
186
|
}
|
|
187
187
|
assertNoMissingResources(modules, resources) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-system-reader.d.ts","sourceRoot":"","sources":["../../src/file-system/file-system-reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"file-system-reader.d.ts","sourceRoot":"","sources":["../../src/file-system/file-system-reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,MAAM,IAAI,CAAC;AAS9C,KAAK,cAAc,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,OAAO,CAAC;AAEjE,qBAAa,gBAAgB;IACpB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAIrC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQxC,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAS5D,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,GAAG,cAAc,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAgBtG,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAiB,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAmB3G,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO;IAI7C,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQ9C,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IASxE,gBAAgB,IAAI,MAAM;IAI1B,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM;IAO3C,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQvC,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAU/E,OAAO,CAAC,eAAe;IAQV,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;CAIpE"}
|
|
@@ -8,7 +8,6 @@ const os_1 = require("os");
|
|
|
8
8
|
const path_1 = tslib_1.__importStar(require("path"));
|
|
9
9
|
const util_1 = require("util");
|
|
10
10
|
const recursive_readdir_1 = tslib_1.__importDefault(require("recursive-readdir"));
|
|
11
|
-
const shared_1 = require("../shared");
|
|
12
11
|
const FILE_NOT_FOUND_CODE = 'ENOENT';
|
|
13
12
|
class FileSystemReader {
|
|
14
13
|
fileExists(filePath) {
|
|
@@ -46,14 +45,14 @@ class FileSystemReader {
|
|
|
46
45
|
async readGlob({ pattern, filesOnly = false }) {
|
|
47
46
|
let results = await (0, glob_1.glob)(pattern, {});
|
|
48
47
|
if (filesOnly) {
|
|
49
|
-
results = (
|
|
48
|
+
results = (await Promise.all(results.map(async (result) => {
|
|
50
49
|
if ((await fs_1.default.promises.lstat(result)).isFile()) {
|
|
51
50
|
return [result];
|
|
52
51
|
}
|
|
53
52
|
else {
|
|
54
53
|
return [];
|
|
55
54
|
}
|
|
56
|
-
})));
|
|
55
|
+
}))).flat();
|
|
57
56
|
}
|
|
58
57
|
results.sort();
|
|
59
58
|
return results;
|
|
@@ -113,7 +112,7 @@ class FileSystemReader {
|
|
|
113
112
|
}
|
|
114
113
|
async getFileGlobList(globList) {
|
|
115
114
|
const files = await Promise.all(globList.map((pattern) => this.readGlob({ pattern, filesOnly: true })));
|
|
116
|
-
return
|
|
115
|
+
return files.flat();
|
|
117
116
|
}
|
|
118
117
|
}
|
|
119
118
|
exports.FileSystemReader = FileSystemReader;
|
package/out/graphql/gql/gql.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export declare function graphql(source: "\n mutation forge_cli_createAppCon
|
|
|
12
12
|
export declare function graphql(source: "\n query forge_cli_appContainers($appId: ID!) {\n appContainers(appId: $appId) {\n key\n repositoryURI\n }\n }\n "): typeof import('./graphql').Forge_Cli_AppContainersDocument;
|
|
13
13
|
export declare function graphql(source: "\n query forge_cli_appContainerServices(\n $appId: ID!\n $environmentKey: String!\n $serviceNames: [String!]!\n $contextFilter: AppContainerServiceContextFilter\n $first: Int\n $after: String\n ) {\n appContainerServices(\n appId: $appId\n environmentKey: $environmentKey\n serviceNames: $serviceNames\n contextFilter: $contextFilter\n first: $first\n after: $after\n ) {\n services {\n key\n placementAri\n runningCount\n pendingCount\n maxCount\n minCount\n serviceStatus\n versionStatus\n createdAt\n updatedAt\n containers {\n key\n instances {\n id\n createdAt\n healthStatus\n containerStatus\n imageURI\n cpu\n memory\n instance\n }\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n "): typeof import('./graphql').Forge_Cli_AppContainerServicesDocument;
|
|
14
14
|
export declare function graphql(source: "\n mutation forge_cli_deleteAppContainer($input: AppContainerInput!) {\n deleteAppContainer(input: $input) {\n success\n errors {\n message\n extensions {\n errorType\n statusCode\n }\n }\n }\n }\n "): typeof import('./graphql').Forge_Cli_DeleteAppContainerDocument;
|
|
15
|
+
export declare function graphql(source: "\n mutation forge_cli_reprovisionAppContainerService($input: ReprovisionAppContainerServiceInput!) {\n reprovisionAppContainerService(input: $input) @optIn(to: \"xls-container-reprovisioning\") {\n reprovisionId\n success\n errors {\n message\n extensions {\n errorType\n statusCode\n }\n }\n }\n }\n "): typeof import('./graphql').Forge_Cli_ReprovisionAppContainerServiceDocument;
|
|
16
|
+
export declare function graphql(source: "\n query forge_cli_appContainerServiceReprovisionStatus($appId: ID!, $reprovisionId: ID!) {\n appContainerServiceReprovisionStatus(appId: $appId, reprovisionId: $reprovisionId)\n @optIn(to: \"xls-container-reprovisioning\") {\n status\n error\n }\n }\n "): typeof import('./graphql').Forge_Cli_AppContainerServiceReprovisionStatusDocument;
|
|
15
17
|
export declare function graphql(source: "\n query forge_cli_appContainerRegistryLogin($appId: ID!) {\n appContainerRegistryLogin(appId: $appId) {\n username\n password\n endpoint\n }\n }\n "): typeof import('./graphql').Forge_Cli_AppContainerRegistryLoginDocument;
|
|
16
18
|
export declare function graphql(source: "\n query forge_cli_appContainer($appId: ID!, $containerKey: String!, $after: ID, $imageTag: String) {\n appContainer(appId: $appId, containerKey: $containerKey) {\n images(first: 10, after: $after, imageTag: $imageTag) {\n edges {\n node {\n digest\n sizeInBytes\n pushedAt\n lastPulledAt\n tags\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n }\n "): typeof import('./graphql').Forge_Cli_AppContainerDocument;
|
|
17
19
|
export declare function graphql(source: "\n query forge_cli_getAppCustomScopes($appId: ID!, $environmentId: ID!, $first: Int, $after: String) {\n appCustomScopes(appId: $appId, environmentId: $environmentId, first: $first, after: $after)\n @optIn(to: [\"custom-scopes-eap\"]) {\n nodes {\n name\n displayName\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n "): typeof import('./graphql').Forge_Cli_GetAppCustomScopesDocument;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gql.d.ts","sourceRoot":"","sources":["../../../src/graphql/gql/gql.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gql.d.ts","sourceRoot":"","sources":["../../../src/graphql/gql/gql.ts"],"names":[],"mappings":"AA4LA,wBAAgB,OAAO,CAAC,MAAM,EAAE,k0DAAk0D,GAAG,cAAc,WAAW,EAAE,sCAAsC,CAAC;AAIv6D,wBAAgB,OAAO,CAAC,MAAM,EAAE,+6BAA+6B,GAAG,cAAc,WAAW,E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AO,CAAC,MAAM,EAAE,ueAAue,GAAG,cAAc,WAAW,EAAE,sCAAsC,CAAC;AAI5kB,wBAAgB,OAAO,CAAC,MAAM,EAAE,yYAAyY,GAAG,cAAc,WAAW,EAAE,gDAAgD,CAAC;AAIxf,wBAAgB,OAAO,CAAC,MAAM,EAAE,kOAAkO,GAAG,cAAc,WAAW,EAAE,qCAAqC,CAAC;AAItU,wBAAgB,OAAO,CAAC,MAAM,EAAE,iQAAiQ,GAAG,cAAc,WAAW,EAAE,oCAAoC,CAAC;AAIpW,wBAAgB,OAAO,CAAC,MAAM,EAAE,gPAAgP,GAAG,cAAc,WAAW,EAAE,qCAAqC,CAAC;AAIpV,wBAAgB,OAAO,CAAC,MAAM,EAAE,+WAA+W,GAAG,cAAc,WAAW,EAAE,4CAA4C,CAAC;AAI1d,wBAAgB,OAAO,CAAC,MAAM,EAAE,+eAA+e,GAAG,cAAc,WAAW,EAAE,uCAAuC,CAAC;AAIrlB,wBAAgB,OAAO,CAAC,MAAM,EAAE,wZAAwZ,GAAG,cAAc,WAAW,EAAE,wCAAwC,CAAC;AAI/f,wBAAgB,OAAO,CAAC,MAAM,EAAE,sVAAsV,GAAG,cAAc,WAAW,EAAE,0CAA0C,CAAC;AAI/b,wBAAgB,OAAO,CAAC,MAAM,EAAE,gUAAgU,GAAG,cAAc,WAAW,EAAE,0CAA0C,CAAC"}
|
package/out/graphql/gql/gql.js
CHANGED
|
@@ -18,6 +18,8 @@ const documents = {
|
|
|
18
18
|
"\n query forge_cli_appContainers($appId: ID!) {\n appContainers(appId: $appId) {\n key\n repositoryURI\n }\n }\n ": types.Forge_Cli_AppContainersDocument,
|
|
19
19
|
"\n query forge_cli_appContainerServices(\n $appId: ID!\n $environmentKey: String!\n $serviceNames: [String!]!\n $contextFilter: AppContainerServiceContextFilter\n $first: Int\n $after: String\n ) {\n appContainerServices(\n appId: $appId\n environmentKey: $environmentKey\n serviceNames: $serviceNames\n contextFilter: $contextFilter\n first: $first\n after: $after\n ) {\n services {\n key\n placementAri\n runningCount\n pendingCount\n maxCount\n minCount\n serviceStatus\n versionStatus\n createdAt\n updatedAt\n containers {\n key\n instances {\n id\n createdAt\n healthStatus\n containerStatus\n imageURI\n cpu\n memory\n instance\n }\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n ": types.Forge_Cli_AppContainerServicesDocument,
|
|
20
20
|
"\n mutation forge_cli_deleteAppContainer($input: AppContainerInput!) {\n deleteAppContainer(input: $input) {\n success\n errors {\n message\n extensions {\n errorType\n statusCode\n }\n }\n }\n }\n ": types.Forge_Cli_DeleteAppContainerDocument,
|
|
21
|
+
"\n mutation forge_cli_reprovisionAppContainerService($input: ReprovisionAppContainerServiceInput!) {\n reprovisionAppContainerService(input: $input) @optIn(to: \"xls-container-reprovisioning\") {\n reprovisionId\n success\n errors {\n message\n extensions {\n errorType\n statusCode\n }\n }\n }\n }\n ": types.Forge_Cli_ReprovisionAppContainerServiceDocument,
|
|
22
|
+
"\n query forge_cli_appContainerServiceReprovisionStatus($appId: ID!, $reprovisionId: ID!) {\n appContainerServiceReprovisionStatus(appId: $appId, reprovisionId: $reprovisionId)\n @optIn(to: \"xls-container-reprovisioning\") {\n status\n error\n }\n }\n ": types.Forge_Cli_AppContainerServiceReprovisionStatusDocument,
|
|
21
23
|
"\n query forge_cli_appContainerRegistryLogin($appId: ID!) {\n appContainerRegistryLogin(appId: $appId) {\n username\n password\n endpoint\n }\n }\n ": types.Forge_Cli_AppContainerRegistryLoginDocument,
|
|
22
24
|
"\n query forge_cli_appContainer($appId: ID!, $containerKey: String!, $after: ID, $imageTag: String) {\n appContainer(appId: $appId, containerKey: $containerKey) {\n images(first: 10, after: $after, imageTag: $imageTag) {\n edges {\n node {\n digest\n sizeInBytes\n pushedAt\n lastPulledAt\n tags\n }\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n }\n ": types.Forge_Cli_AppContainerDocument,
|
|
23
25
|
"\n query forge_cli_getAppCustomScopes($appId: ID!, $environmentId: ID!, $first: Int, $after: String) {\n appCustomScopes(appId: $appId, environmentId: $environmentId, first: $first, after: $after)\n @optIn(to: [\"custom-scopes-eap\"]) {\n nodes {\n name\n displayName\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n ": types.Forge_Cli_GetAppCustomScopesDocument,
|