@forge/cli-shared 8.3.0-next.0-experimental-ab129b0 → 8.3.0-next.1

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 CHANGED
@@ -1,18 +1,13 @@
1
1
  # @forge/cli-shared
2
2
 
3
- ## 8.3.0-next.0-experimental-ab129b0
4
-
5
- ### Minor Changes
6
-
7
- - 10ac877: Support devspace in forge create command flow
3
+ ## 8.3.0-next.1
8
4
 
9
5
  ### Patch Changes
10
6
 
11
- - 10c0bc6: Add egress support for custom URL schemes. Allow custom custom URL schemes as autoconvert patterns.
12
- - Updated dependencies [10c0bc6]
7
+ - 568c31b: Add support for developer space in forge register command
13
8
  - Updated dependencies [6447811]
14
9
  - Updated dependencies [2f446cf]
15
- - @forge/manifest@10.2.1-next.0-experimental-ab129b0
10
+ - @forge/manifest@10.2.1-next.1
16
11
 
17
12
  ## 8.3.0-next.0
18
13
 
@@ -21,7 +21,7 @@ export declare class CreateAppCommand {
21
21
  private readonly packageInstaller;
22
22
  private readonly statsig;
23
23
  constructor(templater: Templater, registerAppCommand: RegisterAppCommand, packageInstaller: PackageInstaller, statsig: StatsigService);
24
- execute({ name, description, template, directory, requiredProduct }: CreateAppCommandInput): Promise<CreateAppCommandResult>;
24
+ execute({ name, description, template, directory, requiredProduct, developerSpaceId }: CreateAppCommandInput): Promise<CreateAppCommandResult>;
25
25
  getAvailableTemplates(): Promise<string[]>;
26
26
  filterAvailableProducts<T extends string>(products: T[], teamworkGraph: T, crossContext: T, dashboards: T): Promise<T[]>;
27
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"create-an-app.d.ts","sourceRoot":"","sources":["../../src/apps/create-an-app.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC7F,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,g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AM,YAAY,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IACjE,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,gBAAiB,SAAQ,KAAK;;CAI1C;AAED,oBAAY,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,gBAAgB,EACjB,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAa7C,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,EACf,UAAU,EAAE,CAAC,GACZ,OAAO,CAAC,CAAC,EAAE,CAAC;CAkBhB"}
@@ -19,9 +19,9 @@ class CreateAppCommand {
19
19
  this.packageInstaller = packageInstaller;
20
20
  this.statsig = statsig;
21
21
  }
22
- async execute({ name, description, template, directory, requiredProduct }) {
22
+ async execute({ name, description, template, directory, requiredProduct, developerSpaceId }) {
23
23
  await this.templater.downloadAndExtract(template, directory);
24
- const result = await this.registerAppCommand.registerApp({ name, description }, directory, {
24
+ const result = await this.registerAppCommand.registerApp({ name, description, developerSpaceId }, directory, {
25
25
  shouldPrependAppName: true,
26
26
  requiredProduct
27
27
  });
@@ -4,6 +4,7 @@ import { AppDetails } from './app-config';
4
4
  export interface CreateAppClientInput {
5
5
  name: string;
6
6
  description?: string;
7
+ developerSpaceId?: string;
7
8
  }
8
9
  export interface CreateAppResult {
9
10
  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,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;CACL;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;CAClE;AAED,oBAAY,iBAAiB,GAAG;IAC9B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,EAAE;QACT,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,qBAAa,kBAAkB;IAE3B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,eAAe;I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,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,EAAE;QACT,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,qBAAa,kBAAkB;IAE3B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAJV,SAAS,EAAE,eAAe,EAC1B,eAAe,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,EACxD,eAAe,EAAE,mBAAmB,CAAC,UAAU,CAAC,EAChD,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU;IAG5B,OAAO,CAAC,KAAK,EAAE,oBAAoB,EAAE,EAAE,oBAA4B,EAAE;;KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAQvG,WAAW,CACtB,KAAK,EAAE,oBAAoB,EAC3B,SAAS,EAAE,MAAM,EACjB,EAAE,oBAAoB,EAAE,eAAe,EAAE,EAAE;QAAE,oBAAoB,EAAE,OAAO,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAA;KAAE,GACrG,OAAO,CAAC,eAAe,CAAC;CAuC5B"}
@@ -1279,7 +1279,7 @@ export declare type AgentStudioAssistantScenario = AgentStudioScenario & Node &
1279
1279
  invocationDescription: Scalars['String']['output'];
1280
1280
  isActive: Scalars['Boolean']['output'];
1281
1281
  isDefault: Scalars['Boolean']['output'];
1282
- isValid: Scalars['Boolean']['output'];
1282
+ isValid: AgentStudioScenarioValidation;
1283
1283
  knowledgeSources?: Maybe<AgentStudioKnowledgeConfiguration>;
1284
1284
  name: Scalars['String']['output'];
1285
1285
  };
@@ -1440,11 +1440,21 @@ export declare type AgentStudioScenario = {
1440
1440
  invocationDescription: Scalars['String']['output'];
1441
1441
  isActive: Scalars['Boolean']['output'];
1442
1442
  isDefault: Scalars['Boolean']['output'];
1443
- isValid: Scalars['Boolean']['output'];
1443
+ isValid: AgentStudioScenarioValidation;
1444
1444
  knowledgeSources?: Maybe<AgentStudioKnowledgeConfiguration>;
1445
1445
  name: Scalars['String']['output'];
1446
1446
  };
1447
1447
  export declare type AgentStudioScenarioResult = AgentStudioAssistantScenario | QueryError;
1448
+ export declare type AgentStudioScenarioValidation = {
1449
+ __typename?: 'AgentStudioScenarioValidation';
1450
+ message?: Maybe<Array<Maybe<AgentStudioScenarioValidationError>>>;
1451
+ value: Scalars['Boolean']['output'];
1452
+ };
1453
+ export declare type AgentStudioScenarioValidationError = {
1454
+ __typename?: 'AgentStudioScenarioValidationError';
1455
+ key: Scalars['String']['output'];
1456
+ value: Scalars['String']['output'];
1457
+ };
1448
1458
  export declare type AgentStudioScenariosEdge = {
1449
1459
  __typename?: 'AgentStudioScenariosEdge';
1450
1460
  cursor: Scalars['String']['output'];
@@ -20672,8 +20682,7 @@ export declare type DevConsoleDeveloperSpaceMemberPayload = Payload & {
20672
20682
  success: Scalars['Boolean']['output'];
20673
20683
  };
20674
20684
  export declare enum DevConsoleDeveloperSpaceMemberRole {
20675
- Admin = "ADMIN",
20676
- Member = "MEMBER"
20685
+ Admin = "ADMIN"
20677
20686
  }
20678
20687
  export declare type DevConsoleDeveloperSpaceMembersResponse = {
20679
20688
  __typename?: 'DevConsoleDeveloperSpaceMembersResponse';
@@ -80106,6 +80115,30 @@ export declare type MercuryNewPositionSummaryByChangeProposalStatus = {
80106
80115
  countByStatus?: Maybe<Array<Maybe<MercuryNewPositionCountByStatus>>>;
80107
80116
  totalCount?: Maybe<Scalars['Int']['output']>;
80108
80117
  };
80118
+ export declare type MercuryOnCreateChangeProposalPayload = Payload & {
80119
+ __typename?: 'MercuryOnCreateChangeProposalPayload';
80120
+ errors?: Maybe<Array<MutationError>>;
80121
+ id: Scalars['ID']['output'];
80122
+ success: Scalars['Boolean']['output'];
80123
+ };
80124
+ export declare type MercuryOnDeleteChangeProposalPayload = Payload & {
80125
+ __typename?: 'MercuryOnDeleteChangeProposalPayload';
80126
+ errors?: Maybe<Array<MutationError>>;
80127
+ id: Scalars['ID']['output'];
80128
+ success: Scalars['Boolean']['output'];
80129
+ };
80130
+ export declare type MercuryOnUpdateChangeProposalPayload = Payload & {
80131
+ __typename?: 'MercuryOnUpdateChangeProposalPayload';
80132
+ errors?: Maybe<Array<MutationError>>;
80133
+ id: Scalars['ID']['output'];
80134
+ success: Scalars['Boolean']['output'];
80135
+ };
80136
+ export declare type MercuryOnUpdateStrategicEventPayload = Payload & {
80137
+ __typename?: 'MercuryOnUpdateStrategicEventPayload';
80138
+ errors?: Maybe<Array<MutationError>>;
80139
+ id: Scalars['ID']['output'];
80140
+ success: Scalars['Boolean']['output'];
80141
+ };
80109
80142
  export declare type MercuryOriginalProjectStatus = {
80110
80143
  mercuryOriginalStatusName?: Maybe<Scalars['String']['output']>;
80111
80144
  };
@@ -80980,6 +81013,27 @@ export declare type MercuryStrategicEventsQueryApiStrategicEventsSearchArgs = {
80980
81013
  q?: InputMaybe<Scalars['String']['input']>;
80981
81014
  sort?: InputMaybe<Array<InputMaybe<MercuryStrategicEventSort>>>;
80982
81015
  };
81016
+ export declare type MercurySubscriptionApi = {
81017
+ __typename?: 'MercurySubscriptionApi';
81018
+ onCreateChangeProposal?: Maybe<MercuryOnCreateChangeProposalPayload>;
81019
+ onDeleteChangeProposal?: Maybe<MercuryOnDeleteChangeProposalPayload>;
81020
+ onUpdateChangeProposal?: Maybe<MercuryOnUpdateChangeProposalPayload>;
81021
+ onUpdateStrategicEvent?: Maybe<MercuryOnUpdateStrategicEventPayload>;
81022
+ };
81023
+ export declare type MercurySubscriptionApiOnCreateChangeProposalArgs = {
81024
+ strategicEventId: Scalars['ID']['input'];
81025
+ };
81026
+ export declare type MercurySubscriptionApiOnDeleteChangeProposalArgs = {
81027
+ id: Scalars['ID']['input'];
81028
+ strategicEventId: Scalars['ID']['input'];
81029
+ };
81030
+ export declare type MercurySubscriptionApiOnUpdateChangeProposalArgs = {
81031
+ id: Scalars['ID']['input'];
81032
+ strategicEventId: Scalars['ID']['input'];
81033
+ };
81034
+ export declare type MercurySubscriptionApiOnUpdateStrategicEventArgs = {
81035
+ id: Scalars['ID']['input'];
81036
+ };
80983
81037
  export declare type MercuryTargetDate = {
80984
81038
  __typename?: 'MercuryTargetDate';
80985
81039
  targetDate?: Maybe<Scalars['String']['output']>;
@@ -81786,6 +81840,7 @@ export declare type Mutation = {
81786
81840
  favouriteSpaceBulk?: Maybe<FavouriteSpaceBulkPayload>;
81787
81841
  followUser?: Maybe<FollowUserPayload>;
81788
81842
  generatePermsReport?: Maybe<ConfluenceAdminReportPayload>;
81843
+ goals_addGoalTeamLink?: Maybe<TownsquareGoalsAddGoalTeamLinkPayload>;
81789
81844
  goals_setWatchingGoal?: Maybe<TownsquareGoalsSetWatchingGoalPayload>;
81790
81845
  grantContentAccess?: Maybe<GrantContentAccessPayload>;
81791
81846
  graphStore?: Maybe<GraphStoreMutation>;
@@ -82970,6 +83025,9 @@ export declare type MutationGeneratePermsReportArgs = {
82970
83025
  id: Scalars['ID']['input'];
82971
83026
  targetType: PermsReportTargetType;
82972
83027
  };
83028
+ export declare type MutationGoals_AddGoalTeamLinkArgs = {
83029
+ input?: InputMaybe<TownsquareGoalsAddGoalTeamLinkInput>;
83030
+ };
82973
83031
  export declare type MutationGoals_SetWatchingGoalArgs = {
82974
83032
  input?: InputMaybe<TownsquareGoalsSetWatchingGoalInput>;
82975
83033
  };
@@ -96736,6 +96794,7 @@ export declare type Subscription = {
96736
96794
  ecosystem?: Maybe<EcosystemSubscription>;
96737
96795
  jira?: Maybe<JiraSubscription>;
96738
96796
  jsmChat?: Maybe<JsmChatSubscription>;
96797
+ mercury?: Maybe<MercurySubscriptionApi>;
96739
96798
  migration: MigrationSubscription;
96740
96799
  migrationPlanningService: MigrationPlanningServiceSubscription;
96741
96800
  sandbox: SandboxSubscription;
@@ -98551,6 +98610,17 @@ export declare type TownsquareGoalUpdateEdge = {
98551
98610
  cursor: Scalars['String']['output'];
98552
98611
  node?: Maybe<TownsquareGoalUpdate>;
98553
98612
  };
98613
+ export declare type TownsquareGoalsAddGoalTeamLinkInput = {
98614
+ goalId: Scalars['ID']['input'];
98615
+ teamId: Scalars['ID']['input'];
98616
+ };
98617
+ export declare type TownsquareGoalsAddGoalTeamLinkPayload = {
98618
+ __typename?: 'TownsquareGoalsAddGoalTeamLinkPayload';
98619
+ errors?: Maybe<Array<MutationError>>;
98620
+ goal?: Maybe<TownsquareGoal>;
98621
+ goalTeamEdge?: Maybe<TownsquareGoalTeamEdge>;
98622
+ success: Scalars['Boolean']['output'];
98623
+ };
98554
98624
  export declare type TownsquareGoalsSetWatchingGoalInput = {
98555
98625
  goalId: Scalars['ID']['input'];
98556
98626
  isWatching: Scalars['Boolean']['input'];