@forge/cli-shared 9.2.0-next.5 → 9.2.0-next.5-experimental-a1600ff
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 +18 -0
- package/out/apps/create-an-app.d.ts +4 -4
- package/out/apps/create-an-app.d.ts.map +1 -1
- package/out/apps/create-an-app.js +8 -2
- package/out/apps/register-app.d.ts +2 -1
- package/out/apps/register-app.d.ts.map +1 -1
- package/out/graphql/graphql-types.d.ts +33 -0
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/ui/text.d.ts +5 -1
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +9 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
+
## 9.2.0-next.5-experimental-a1600ff
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8826ca3: add personal apps support for Forge app creation
|
|
8
|
+
- d415c89: Surface rate limit errors in CLI, improve E2E test robustness
|
|
9
|
+
- 757223b: Added Dashboard, bitbucket, rovo, teamwork, action templates
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 903d6c1: Updated UI to show error when no installations
|
|
14
|
+
- 3991f92: Update `tmp` from 0.2.5 to 0.2.6 in `@forge/cli-shared` to remediate vulnerability
|
|
15
|
+
- Updated dependencies [4c5ba1c]
|
|
16
|
+
- Updated dependencies [8826ca3]
|
|
17
|
+
- Updated dependencies [7195f29]
|
|
18
|
+
- Updated dependencies [3252a62]
|
|
19
|
+
- @forge/manifest@13.1.1-next.2-experimental-a1600ff
|
|
20
|
+
|
|
3
21
|
## 9.2.0-next.5
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { InstallationTarget } from '../graphql';
|
|
2
|
+
import { StatsigService } from '../service';
|
|
3
|
+
import { PackageInstaller } from './package-installer';
|
|
1
4
|
import { CreateAppClientInput, RegisterAppCommand, RegisterAppResult } from './register-app';
|
|
2
5
|
import { Templater } from './template';
|
|
3
|
-
import { PackageInstaller } from './package-installer';
|
|
4
|
-
import { StatsigService } from '../service';
|
|
5
|
-
import { InstallationTarget } from '../graphql';
|
|
6
6
|
export interface CreateAppCommandInput extends CreateAppClientInput {
|
|
7
7
|
template: string;
|
|
8
8
|
directory: string;
|
|
@@ -23,7 +23,7 @@ export declare class CreateAppCommand {
|
|
|
23
23
|
private readonly packageInstaller;
|
|
24
24
|
private readonly statsig;
|
|
25
25
|
constructor(templater: Templater, registerAppCommand: RegisterAppCommand, packageInstaller: PackageInstaller, statsig: StatsigService);
|
|
26
|
-
execute({ name, description, template, directory, requiredProduct, installationTarget, developerSpaceId, billingConsent }: CreateAppCommandInput): Promise<CreateAppCommandResult>;
|
|
26
|
+
execute({ name, description, template, directory, requiredProduct, installationTarget, developerSpaceId, billingConsent, appFeatures }: CreateAppCommandInput): Promise<CreateAppCommandResult>;
|
|
27
27
|
getAvailableTemplates(): Promise<string[]>;
|
|
28
28
|
filterAvailableProducts<T extends string>(products: T[], teamworkGraph: T, crossContext: T): Promise<T[]>;
|
|
29
29
|
}
|
|
@@ -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":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC7F,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IACjE,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC;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,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,WAAW,EACZ,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAwB7C,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"}
|
|
@@ -19,9 +19,15 @@ class CreateAppCommand {
|
|
|
19
19
|
this.packageInstaller = packageInstaller;
|
|
20
20
|
this.statsig = statsig;
|
|
21
21
|
}
|
|
22
|
-
async execute({ name, description, template, directory, requiredProduct, installationTarget, developerSpaceId, billingConsent }) {
|
|
22
|
+
async execute({ name, description, template, directory, requiredProduct, installationTarget, developerSpaceId, billingConsent, appFeatures }) {
|
|
23
23
|
await this.templater.downloadAndExtract(template, directory);
|
|
24
|
-
const result = await this.registerAppCommand.registerApp({
|
|
24
|
+
const result = await this.registerAppCommand.registerApp({
|
|
25
|
+
name,
|
|
26
|
+
description,
|
|
27
|
+
developerSpaceId,
|
|
28
|
+
billingConsent,
|
|
29
|
+
...(appFeatures && { appFeatures })
|
|
30
|
+
}, directory, {
|
|
25
31
|
shouldPrependAppName: true,
|
|
26
32
|
requiredProduct,
|
|
27
33
|
installationTarget
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigFile, ConfigSectionReader, ConfigSectionWriter, NO_VALIDATION_TYPE } from '../config';
|
|
2
|
-
import { InstallationTarget } from '../graphql';
|
|
2
|
+
import { CreateAppInput, InstallationTarget } from '../graphql';
|
|
3
3
|
import { Logger } from '../ui';
|
|
4
4
|
import { AppDetails } from './app-config';
|
|
5
5
|
export interface CreateAppClientInput {
|
|
@@ -7,6 +7,7 @@ export interface CreateAppClientInput {
|
|
|
7
7
|
description?: string;
|
|
8
8
|
developerSpaceId?: string;
|
|
9
9
|
billingConsent?: boolean;
|
|
10
|
+
appFeatures?: CreateAppInput['appFeatures'];
|
|
10
11
|
}
|
|
11
12
|
export interface CreateAppResult {
|
|
12
13
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-app.d.ts","sourceRoot":"","sources":["../../src/apps/register-app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,mBAAmB,EAAqB,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAExH,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"register-app.d.ts","sourceRoot":"","sources":["../../src/apps/register-app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,mBAAmB,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,KAAK,EAAE,oBAAoB,EAAE,EAAE,oBAA4B,EAAE;;KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAQvG,WAAW,CACtB,KAAK,EAAE,oBAAoB,EAC3B,SAAS,EAAE,MAAM,EACjB,EACE,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EACnB,EAAE;QACD,oBAAoB,EAAE,OAAO,CAAC;QAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;KACzC,GACA,OAAO,CAAC,eAAe,CAAC;CAwC5B"}
|
|
@@ -8600,6 +8600,17 @@ export type AgentWorkspaceServiceEdge = {
|
|
|
8600
8600
|
cursor: Scalars['String']['output'];
|
|
8601
8601
|
node: AgentWorkspaceService;
|
|
8602
8602
|
};
|
|
8603
|
+
export type AgentWorkspaceServiceOptionsPage = {
|
|
8604
|
+
__typename?: 'AgentWorkspaceServiceOptionsPage';
|
|
8605
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
8606
|
+
hasPreviousPage: Scalars['Boolean']['output'];
|
|
8607
|
+
limit: Scalars['Int']['output'];
|
|
8608
|
+
offset: Scalars['Int']['output'];
|
|
8609
|
+
page: Scalars['Int']['output'];
|
|
8610
|
+
services: Array<AgentWorkspaceService>;
|
|
8611
|
+
totalCount: Scalars['Int']['output'];
|
|
8612
|
+
totalPages: Scalars['Int']['output'];
|
|
8613
|
+
};
|
|
8603
8614
|
export declare enum AgentWorkspaceServiceProcessingStatus {
|
|
8604
8615
|
Enriched = "ENRICHED",
|
|
8605
8616
|
Enriching = "ENRICHING",
|
|
@@ -32386,6 +32397,7 @@ export type ConfluenceForgeExtension = {
|
|
|
32386
32397
|
oauthClientId: Scalars['ID']['output'];
|
|
32387
32398
|
principal?: Maybe<ConfluenceExtensionPrincipal>;
|
|
32388
32399
|
properties: Array<KeyValueHierarchyMap>;
|
|
32400
|
+
sandboxPolicies?: Maybe<Array<Scalars['String']['output']>>;
|
|
32389
32401
|
scopes: Array<Maybe<Scalars['String']['output']>>;
|
|
32390
32402
|
type: Scalars['String']['output'];
|
|
32391
32403
|
userAccess?: Maybe<ConfluenceUserAccess>;
|
|
@@ -136920,6 +136932,7 @@ export type JiraProject = Node & {
|
|
|
136920
136932
|
linkedSecurityVulnerabilitiesByProject?: Maybe<GraphJiraVulnerabilityConnection>;
|
|
136921
136933
|
mostRecentlyViewedBoard?: Maybe<JiraBoardResult>;
|
|
136922
136934
|
name: Scalars['String']['output'];
|
|
136935
|
+
navigationItems?: Maybe<JiraNavigationItemConnection>;
|
|
136923
136936
|
navigationMetadata?: Maybe<JiraProjectNavigationMetadata>;
|
|
136924
136937
|
opsgenieTeamsAvailableToLinkWith?: Maybe<OpsgenieTeamConnection>;
|
|
136925
136938
|
optionsPerFieldLimit?: Maybe<Scalars['Int']['output']>;
|
|
@@ -137090,6 +137103,13 @@ export type JiraProjectLinkedSecurityVulnerabilitiesByProjectArgs = {
|
|
|
137090
137103
|
filter?: InputMaybe<GraphQueryMetadataProjectAssociatedVulnerabilityInput>;
|
|
137091
137104
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
137092
137105
|
};
|
|
137106
|
+
export type JiraProjectNavigationItemsArgs = {
|
|
137107
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
137108
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
137109
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
137110
|
+
itemTypeKey?: InputMaybe<JiraNavigationItemTypeKey>;
|
|
137111
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
137112
|
+
};
|
|
137093
137113
|
export type JiraProjectOpsgenieTeamsAvailableToLinkWithArgs = {
|
|
137094
137114
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
137095
137115
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -178434,6 +178454,7 @@ export type Query = {
|
|
|
178434
178454
|
agentWorkspace_routingTableGenerationStatus?: Maybe<AgentWorkspaceRoutingTableGeneration>;
|
|
178435
178455
|
agentWorkspace_schedule?: Maybe<AgentWorkspaceSchedule>;
|
|
178436
178456
|
agentWorkspace_schedules?: Maybe<AgentWorkspaceSchedulesConnection>;
|
|
178457
|
+
agentWorkspace_serviceOptions?: Maybe<AgentWorkspaceServiceOptionsPage>;
|
|
178437
178458
|
agentWorkspace_services?: Maybe<AgentWorkspaceServiceConnection>;
|
|
178438
178459
|
agentWorkspace_servicesConfiguredInProject?: Maybe<AgentWorkspaceServiceConnection>;
|
|
178439
178460
|
agentWorkspace_servicesMappedToSkillsInProject?: Maybe<AgentWorkspaceServiceConnection>;
|
|
@@ -182791,6 +182812,15 @@ export type QueryAgentWorkspace_SchedulesArgs = {
|
|
|
182791
182812
|
projectKey?: InputMaybe<Scalars['String']['input']>;
|
|
182792
182813
|
searchQuery?: InputMaybe<Scalars['String']['input']>;
|
|
182793
182814
|
};
|
|
182815
|
+
export type QueryAgentWorkspace_ServiceOptionsArgs = {
|
|
182816
|
+
cloudId: Scalars['ID']['input'];
|
|
182817
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
182818
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
182819
|
+
projectId: Scalars['ID']['input'];
|
|
182820
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
182821
|
+
serviceFieldId: Scalars['ID']['input'];
|
|
182822
|
+
serviceFieldType: AgentWorkspaceSmartRoutingServiceFieldType;
|
|
182823
|
+
};
|
|
182794
182824
|
export type QueryAgentWorkspace_ServicesArgs = {
|
|
182795
182825
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
182796
182826
|
cloudId: Scalars['ID']['input'];
|
|
@@ -235199,6 +235229,7 @@ export type TownsquareCreateGoalInput = {
|
|
|
235199
235229
|
name: Scalars['String']['input'];
|
|
235200
235230
|
owner?: InputMaybe<Scalars['String']['input']>;
|
|
235201
235231
|
parentGoalAri?: InputMaybe<Scalars['String']['input']>;
|
|
235232
|
+
subGoalAri?: InputMaybe<Scalars['String']['input']>;
|
|
235202
235233
|
targetDate?: InputMaybe<TownsquareTargetDateInput>;
|
|
235203
235234
|
};
|
|
235204
235235
|
export type TownsquareCreateGoalPayload = {
|
|
@@ -236331,6 +236362,7 @@ export type TownsquareGoalsCreateInput = {
|
|
|
236331
236362
|
name: Scalars['String']['input'];
|
|
236332
236363
|
ownerId?: InputMaybe<Scalars['ID']['input']>;
|
|
236333
236364
|
parentGoalId?: InputMaybe<Scalars['ID']['input']>;
|
|
236365
|
+
subGoalId?: InputMaybe<Scalars['ID']['input']>;
|
|
236334
236366
|
targetDate?: InputMaybe<TownsquareTargetDateInput>;
|
|
236335
236367
|
};
|
|
236336
236368
|
export type TownsquareGoalsCreateLearningInput = {
|
|
@@ -237147,6 +237179,7 @@ export type TownsquareMetricUpdateInput = {
|
|
|
237147
237179
|
export type TownsquareMetricValue = Node & {
|
|
237148
237180
|
__typename?: 'TownsquareMetricValue';
|
|
237149
237181
|
canDelete?: Maybe<Scalars['Boolean']['output']>;
|
|
237182
|
+
creator?: Maybe<User>;
|
|
237150
237183
|
id: Scalars['ID']['output'];
|
|
237151
237184
|
origin?: Maybe<TownsquareMetricValueOrigin>;
|
|
237152
237185
|
time?: Maybe<Scalars['DateTime']['output']>;
|