@forge/cli-shared 8.5.1 → 8.6.0-next.0

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,5 +1,16 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 8.6.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2d37370: Adding `configurable` to `external`, and extending `remotes` to support `userConfiguration`
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [2d37370]
12
+ - @forge/manifest@10.5.0-next.0
13
+
3
14
  ## 8.5.1
4
15
 
5
16
  ### Patch Changes
@@ -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,MAAM,IAAI,CAAC;AAGlE,OAAO,EACL,OAAO,EACP,cAAc,EACd,SAAS,EAMV,MAAM,iBAAiB,CAAC;AASzB,OAAO,EAAE,SAAS,EAAE,eAAe,EAAQ,MAAM,WAAW,CAAC;AAE7D,qBAAa,oBAAqB,SAAQ,eAAe;;CAIxD;AAED,qBAAa,8BAA+B,SAAQ,SAAS;gBAC/C,SAAS,EAAE,MAAM,EAAE;CAGhC;AAED,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;CAC3C;AAED,oBAAY,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AACpC,oBAAY,cAAc,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AACjE,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C,YAAY,EAAE,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c,IAAI,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAiBzC,UAAU,IAAI,OAAO,CAAC,cAAc,CAAC;IAYrC,WAAW,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAKvD,OAAO,CAAC,kBAAkB;IAoBb,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAajE,OAAO,CAAC,aAAa;IAIR,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAe1G,OAAO,CAAC,wBAAwB;IAKhC,OAAO,CAAC,wBAAwB;IAgBhC,OAAO,CAAC,6BAA6B;IA8BrC,OAAO,CAAC,gBAAgB;IAIX,oBAAoB,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;KAAE,EAAE,CAAC;IAqClF,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAe1E,YAAY,CAAC,aAAa,CAAC,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAsB1E,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAKzD,OAAO,CAAC,eAAe;CA0BxB"}
@@ -193,8 +193,26 @@ class ConfigFile {
193
193
  }
194
194
  for (const remote of remotes) {
195
195
  if (remote.key === remoteEgressPermission) {
196
- const baseUrl = typeof remote.baseUrl === 'string' ? remote.baseUrl : remote.baseUrl.default;
197
- return new url_1.URL(baseUrl).hostname;
196
+ if ((0, manifest_1.configurableRemotesEnabled)()) {
197
+ if (typeof remote.baseUrl !== 'undefined') {
198
+ const baseUrl = typeof remote.baseUrl === 'string' ? remote.baseUrl : remote.baseUrl.default;
199
+ return new url_1.URL(baseUrl).hostname;
200
+ }
201
+ else if (typeof remote.configurable !== 'undefined' && typeof remote.configurable.default !== 'undefined') {
202
+ const baseUrl = remote.configurable.default;
203
+ return new url_1.URL(baseUrl).hostname;
204
+ }
205
+ }
206
+ else {
207
+ if (typeof remote.baseUrl === 'string') {
208
+ const baseUrl = remote.baseUrl;
209
+ return new url_1.URL(baseUrl).hostname;
210
+ }
211
+ else if (typeof remote.baseUrl == 'object') {
212
+ const baseUrl = remote.baseUrl.default;
213
+ return new url_1.URL(baseUrl).hostname;
214
+ }
215
+ }
198
216
  }
199
217
  }
200
218
  return remoteEgressPermission;
@@ -20483,6 +20483,15 @@ export declare type CplsAddContributorScopeAssociationPayload = {
20483
20483
  contributors: Array<CplsContributorEdge>;
20484
20484
  errors: Array<MutationError>;
20485
20485
  };
20486
+ export declare type CplsAddContributorWorkAssociationInput = {
20487
+ cloudId: Scalars['ID']['input'];
20488
+ contributorWorkAssociations: Array<CplsContributorWorkAssociation>;
20489
+ };
20490
+ export declare type CplsAddContributorWorkAssociationPayload = {
20491
+ __typename?: 'CplsAddContributorWorkAssociationPayload';
20492
+ contributorWorkAssociations: Array<CplsContributorWorkEdge>;
20493
+ errors: Array<MutationError>;
20494
+ };
20486
20495
  export declare type CplsCapacityPlanningPeopleView = {
20487
20496
  __typename?: 'CplsCapacityPlanningPeopleView';
20488
20497
  contributor?: Maybe<CplsContributor>;
@@ -20546,6 +20555,10 @@ export declare type CplsContributorEdge = {
20546
20555
  cursor: Scalars['String']['output'];
20547
20556
  node: CplsContributor;
20548
20557
  };
20558
+ export declare type CplsContributorWorkAssociation = {
20559
+ contributorId: Scalars['ID']['input'];
20560
+ workId: Scalars['ID']['input'];
20561
+ };
20549
20562
  export declare type CplsContributorWorkConnection = HasPageInfo & {
20550
20563
  __typename?: 'CplsContributorWorkConnection';
20551
20564
  edges: Array<CplsContributorWorkEdge>;
@@ -20572,6 +20585,15 @@ export declare type CplsDeleteContributorScopeAssociationPayload = {
20572
20585
  errors: Array<MutationError>;
20573
20586
  ids: Array<Scalars['ID']['output']>;
20574
20587
  };
20588
+ export declare type CplsDeleteContributorWorkAssociationInput = {
20589
+ cloudId: Scalars['ID']['input'];
20590
+ contributorWorkAssociations: Array<CplsContributorWorkAssociation>;
20591
+ };
20592
+ export declare type CplsDeleteContributorWorkAssociationPayload = {
20593
+ __typename?: 'CplsDeleteContributorWorkAssociationPayload';
20594
+ errors: Array<MutationError>;
20595
+ ids: Array<Scalars['ID']['output']>;
20596
+ };
20575
20597
  export declare type CplsTimeCell = {
20576
20598
  __typename?: 'CplsTimeCell';
20577
20599
  endDate: Scalars['Date']['output'];
@@ -88594,7 +88616,9 @@ export declare type Mutation = {
88594
88616
  copySpacePermissions?: Maybe<CopySpacePermissionsPayload>;
88595
88617
  cpls_addContributions: CplsAddContributionsPayload;
88596
88618
  cpls_addContributorScopeAssociation: CplsAddContributorScopeAssociationPayload;
88619
+ cpls_addContributorWorkAssociation: CplsAddContributorWorkAssociationPayload;
88597
88620
  cpls_deleteContributorScopeAssociation: CplsDeleteContributorScopeAssociationPayload;
88621
+ cpls_deleteContributorWorkAssociation: CplsDeleteContributorWorkAssociationPayload;
88598
88622
  createAdminAnnouncementBanner?: Maybe<ConfluenceAdminAnnouncementBannerPayload>;
88599
88623
  createApp?: Maybe<CreateAppResponse>;
88600
88624
  createAppContainer?: Maybe<CreateAppContainerPayload>;
@@ -89727,9 +89751,15 @@ export declare type MutationCpls_AddContributionsArgs = {
89727
89751
  export declare type MutationCpls_AddContributorScopeAssociationArgs = {
89728
89752
  input: CplsAddContributorScopeAssociationInput;
89729
89753
  };
89754
+ export declare type MutationCpls_AddContributorWorkAssociationArgs = {
89755
+ input: CplsAddContributorWorkAssociationInput;
89756
+ };
89730
89757
  export declare type MutationCpls_DeleteContributorScopeAssociationArgs = {
89731
89758
  input: CplsDeleteContributorScopeAssociationInput;
89732
89759
  };
89760
+ export declare type MutationCpls_DeleteContributorWorkAssociationArgs = {
89761
+ input: CplsDeleteContributorWorkAssociationInput;
89762
+ };
89733
89763
  export declare type MutationCreateAdminAnnouncementBannerArgs = {
89734
89764
  announcementBanner: ConfluenceCreateAdminAnnouncementBannerInput;
89735
89765
  };
@@ -98298,12 +98328,13 @@ export declare enum RadarFieldType {
98298
98328
  Boolean = "BOOLEAN",
98299
98329
  Datetime = "DATETIME",
98300
98330
  Keyword = "KEYWORD",
98331
+ Money = "MONEY",
98301
98332
  Number = "NUMBER",
98302
98333
  Status = "STATUS",
98303
98334
  String = "STRING",
98304
98335
  Url = "URL"
98305
98336
  }
98306
- export declare type RadarFieldValue = RadarAriFieldValue | RadarBooleanFieldValue | RadarDateFieldValue | RadarNumericFieldValue | RadarStatusFieldValue | RadarStringFieldValue | RadarUrlFieldValue;
98337
+ export declare type RadarFieldValue = RadarAriFieldValue | RadarBooleanFieldValue | RadarDateFieldValue | RadarMoneyFieldValue | RadarNumericFieldValue | RadarStatusFieldValue | RadarStringFieldValue | RadarUrlFieldValue;
98307
98338
  export declare type RadarFieldValueIdPair = {
98308
98339
  __typename?: 'RadarFieldValueIdPair';
98309
98340
  fieldId: Scalars['ID']['output'];
@@ -98392,6 +98423,16 @@ export declare type RadarGroupPrincipal = {
98392
98423
  id: Scalars['ID']['output'];
98393
98424
  name: Scalars['String']['output'];
98394
98425
  };
98426
+ export declare type RadarMoney = {
98427
+ __typename?: 'RadarMoney';
98428
+ amount: Scalars['String']['output'];
98429
+ currency: Scalars['String']['output'];
98430
+ };
98431
+ export declare type RadarMoneyFieldValue = {
98432
+ __typename?: 'RadarMoneyFieldValue';
98433
+ isRestricted?: Maybe<Scalars['Boolean']['output']>;
98434
+ value?: Maybe<RadarMoney>;
98435
+ };
98395
98436
  export declare type RadarMutationResponse = {
98396
98437
  __typename?: 'RadarMutationResponse';
98397
98438
  success?: Maybe<Scalars['Boolean']['output']>;
@@ -104492,6 +104533,7 @@ export declare type SpfAttachAskLinkPayload = Payload & {
104492
104533
  export declare type SpfCreateAskCommentInput = {
104493
104534
  askId: Scalars['ID']['input'];
104494
104535
  data: Scalars['String']['input'];
104536
+ parentCommentId?: InputMaybe<Scalars['ID']['input']>;
104495
104537
  };
104496
104538
  export declare type SpfCreateAskInput = {
104497
104539
  cloudId: Scalars['ID']['input'];