@forge/cli-shared 4.0.1-next.1 → 4.0.1-next.2

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.
Files changed (49) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/out/app-logs/graphql-client.js +2 -9
  3. package/out/app-logs/view-logs.js +0 -4
  4. package/out/apps/app-config.js +1 -4
  5. package/out/apps/create-an-app.js +0 -3
  6. package/out/apps/create-app-graphql-client.js +0 -1
  7. package/out/apps/get-app-owner.js +0 -2
  8. package/out/apps/package-installer.js +0 -1
  9. package/out/apps/register-app.js +1 -8
  10. package/out/apps/template.js +0 -5
  11. package/out/auth/personal/credential-store.js +2 -7
  12. package/out/auth/personal/login.js +2 -8
  13. package/out/auth/personal/logout.js +0 -1
  14. package/out/auth/personal/me-graphql-client.js +0 -2
  15. package/out/auth/personal/token-authenticator.js +0 -1
  16. package/out/cache/cached-conf.js +0 -1
  17. package/out/config/config-file-section-reader.js +0 -4
  18. package/out/config/config-file-section-writer.js +0 -2
  19. package/out/config/config-file.d.ts +2 -2
  20. package/out/config/config-file.d.ts.map +1 -1
  21. package/out/config/config-file.js +44 -37
  22. package/out/config/config-section.js +0 -1
  23. package/out/file-system/file-system-reader.js +2 -2
  24. package/out/graphql/app-environment-graphql-client.js +0 -1
  25. package/out/graphql/app-oauth-client-id-graphql-client.js +0 -1
  26. package/out/graphql/debugging-graphql-runner.js +0 -3
  27. package/out/graphql/get-mutation-error.js +5 -4
  28. package/out/graphql/graphql-types.d.ts +194 -2
  29. package/out/graphql/graphql-types.d.ts.map +1 -1
  30. package/out/graphql/graphql-types.js +13 -7
  31. package/out/graphql/minimal-graphql-runner.js +22 -30
  32. package/out/graphql/mutation-aware-graphql-client.js +10 -14
  33. package/out/http-client/feedback-post-client.js +3 -1
  34. package/out/http-client/file-uploader.js +0 -1
  35. package/out/http-client/global-edge-http-client.js +0 -1
  36. package/out/http-client/trace.js +2 -1
  37. package/out/runtimes/helper.js +1 -1
  38. package/out/service/bridge-script-service.js +0 -1
  39. package/out/service/feature-flag-service.js +46 -50
  40. package/out/service/iframe-resizer-script-service.js +0 -1
  41. package/out/shared/cli-details.js +2 -2
  42. package/out/shared/error-handling.js +3 -5
  43. package/out/shared/product.js +4 -2
  44. package/out/shared/read-app-config-files.js +5 -7
  45. package/out/shared/validate.js +1 -1
  46. package/out/ui/command-line-ui.js +8 -14
  47. package/out/ui/multiple-table-prompt.js +1 -1
  48. package/out/ui/table-prompt.js +1 -8
  49. package/package.json +2 -2
@@ -4226,7 +4226,7 @@ export declare type CompassDocument = Node & {
4226
4226
  __typename?: 'CompassDocument';
4227
4227
  changeMetadata: CompassChangeMetadata;
4228
4228
  componentId: Scalars['ID']['output'];
4229
- documentCategoryId: Scalars['ID']['output'];
4229
+ documentationCategoryId: Scalars['ID']['output'];
4230
4230
  id: Scalars['ID']['output'];
4231
4231
  title?: Maybe<Scalars['String']['output']>;
4232
4232
  url: Scalars['URL']['output'];
@@ -5060,6 +5060,7 @@ export declare type CompassScorecardAutomaticApplicationModel = CompassScorecard
5060
5060
  __typename?: 'CompassScorecardAutomaticApplicationModel';
5061
5061
  applicationType: Scalars['String']['output'];
5062
5062
  componentLabels?: Maybe<Array<CompassComponentLabel>>;
5063
+ componentOwnerIds?: Maybe<Array<Scalars['ID']['output']>>;
5063
5064
  componentTiers?: Maybe<Array<CompassComponentTier>>;
5064
5065
  componentTypeIds: Array<Scalars['ID']['output']>;
5065
5066
  };
@@ -5608,7 +5609,7 @@ export declare type CompassUpdateCustomUserFieldDefinitionInput = {
5608
5609
  name?: InputMaybe<Scalars['String']['input']>;
5609
5610
  };
5610
5611
  export declare type CompassUpdateDocumentInput = {
5611
- documentCategoryId?: InputMaybe<Scalars['ID']['input']>;
5612
+ documentationCategoryId?: InputMaybe<Scalars['ID']['input']>;
5612
5613
  id: Scalars['ID']['input'];
5613
5614
  title?: InputMaybe<Scalars['String']['input']>;
5614
5615
  url?: InputMaybe<Scalars['URL']['input']>;
@@ -7842,6 +7843,7 @@ export declare type CreateCompassScorecardCriteriaInput = {
7842
7843
  };
7843
7844
  export declare type CreateCompassScorecardInput = {
7844
7845
  componentLabelNames?: InputMaybe<Array<Scalars['String']['input']>>;
7846
+ componentOwnerIds?: InputMaybe<Array<Scalars['ID']['input']>>;
7845
7847
  componentTierValues?: InputMaybe<Array<Scalars['String']['input']>>;
7846
7848
  componentTypeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
7847
7849
  criterias?: InputMaybe<Array<CreateCompassScorecardCriteriaInput>>;
@@ -9410,6 +9412,7 @@ export declare type DevAiAutofixConfiguration = {
9410
9412
  __typename?: 'DevAiAutofixConfiguration';
9411
9413
  id: Scalars['ID']['output'];
9412
9414
  isEnabled?: Maybe<Scalars['Boolean']['output']>;
9415
+ lastScan?: Maybe<Scalars['DateTime']['output']>;
9413
9416
  };
9414
9417
  export declare type DevAiAutofixConfigurationConnection = {
9415
9418
  __typename?: 'DevAiAutofixConfigurationConnection';
@@ -9421,6 +9424,31 @@ export declare type DevAiAutofixConfigurationEdge = {
9421
9424
  cursor: Scalars['String']['output'];
9422
9425
  node?: Maybe<DevAiAutofixConfiguration>;
9423
9426
  };
9427
+ export declare type DevAiGenericMutationErrorExtension = MutationErrorExtension & {
9428
+ __typename?: 'DevAiGenericMutationErrorExtension';
9429
+ errorType?: Maybe<Scalars['String']['output']>;
9430
+ statusCode?: Maybe<Scalars['Int']['output']>;
9431
+ };
9432
+ export declare type DevAiMutations = {
9433
+ __typename?: 'DevAiMutations';
9434
+ triggerAutofixScan?: Maybe<DevAiTriggerAutofixScanPayload>;
9435
+ };
9436
+ export declare type DevAiMutationsTriggerAutofixScanArgs = {
9437
+ input: DevAiTriggerAutofixScanInput;
9438
+ };
9439
+ export declare type DevAiTriggerAutofixScanInput = {
9440
+ codeCoverageCommand: Scalars['String']['input'];
9441
+ codeCoverageReportPath: Scalars['String']['input'];
9442
+ coveragePercentage: Scalars['Int']['input'];
9443
+ primaryLanguage: Scalars['String']['input'];
9444
+ repoUrl: Scalars['URL']['input'];
9445
+ workspaceId: Scalars['ID']['input'];
9446
+ };
9447
+ export declare type DevAiTriggerAutofixScanPayload = Payload & {
9448
+ __typename?: 'DevAiTriggerAutofixScanPayload';
9449
+ errors?: Maybe<Array<MutationError>>;
9450
+ success: Scalars['Boolean']['output'];
9451
+ };
9424
9452
  export declare type DevOps = {
9425
9453
  __typename?: 'DevOps';
9426
9454
  ariGraph?: Maybe<AriGraph>;
@@ -28624,11 +28652,27 @@ export declare enum JiraBitbucketWorkspaceApprovalState {
28624
28652
  export declare type JiraBoard = Node & {
28625
28653
  __typename?: 'JiraBoard';
28626
28654
  boardId?: Maybe<Scalars['Long']['output']>;
28655
+ boardType?: Maybe<JiraBoardType>;
28627
28656
  boardUrl?: Maybe<Scalars['URL']['output']>;
28628
28657
  favouriteValue?: Maybe<JiraFavouriteValue>;
28629
28658
  id: Scalars['ID']['output'];
28630
28659
  name?: Maybe<Scalars['String']['output']>;
28631
28660
  };
28661
+ export declare type JiraBoardConnection = {
28662
+ __typename?: 'JiraBoardConnection';
28663
+ edges?: Maybe<Array<Maybe<JiraBoardEdge>>>;
28664
+ pageInfo: PageInfo;
28665
+ totalCount?: Maybe<Scalars['Int']['output']>;
28666
+ };
28667
+ export declare type JiraBoardEdge = {
28668
+ __typename?: 'JiraBoardEdge';
28669
+ cursor: Scalars['String']['output'];
28670
+ node?: Maybe<JiraBoard>;
28671
+ };
28672
+ export declare enum JiraBoardType {
28673
+ Kanban = "KANBAN",
28674
+ Scrum = "SCRUM"
28675
+ }
28632
28676
  export declare type JiraBooleanField = JiraIssueField & JiraIssueFieldConfiguration & JiraUserIssueFieldConfiguration & Node & {
28633
28677
  __typename?: 'JiraBooleanField';
28634
28678
  aliasFieldId?: Maybe<Scalars['ID']['output']>;
@@ -30109,6 +30153,7 @@ export declare type JiraDevOpsMutationApproveJiraBitbucketWorkspaceAccessRequest
30109
30153
  };
30110
30154
  export declare type JiraDevOpsMutationCreateAutodevJobArgs = {
30111
30155
  issueAri: Scalars['ID']['input'];
30156
+ prompt?: InputMaybe<Scalars['String']['input']>;
30112
30157
  repoUrl: Scalars['String']['input'];
30113
30158
  };
30114
30159
  export declare type JiraDevOpsMutationCreateAutofixJobArgs = {
@@ -34610,6 +34655,7 @@ export declare type JiraProject = Node & {
34610
34655
  associatedJsmProjectsByComponent?: Maybe<GraphJiraProjectConnection>;
34611
34656
  associatedServices?: Maybe<GraphProjectServiceConnection>;
34612
34657
  avatar?: Maybe<JiraAvatar>;
34658
+ boards?: Maybe<JiraBoardConnection>;
34613
34659
  canSetIssueRestriction?: Maybe<Scalars['Boolean']['output']>;
34614
34660
  category?: Maybe<JiraProjectCategory>;
34615
34661
  classificationTags: Array<Scalars['String']['output']>;
@@ -34669,6 +34715,12 @@ export declare type JiraProjectAssociatedComponentsArgs = {
34669
34715
  after?: InputMaybe<Scalars['String']['input']>;
34670
34716
  first?: InputMaybe<Scalars['Int']['input']>;
34671
34717
  };
34718
+ export declare type JiraProjectBoardsArgs = {
34719
+ after?: InputMaybe<Scalars['String']['input']>;
34720
+ before?: InputMaybe<Scalars['String']['input']>;
34721
+ first?: InputMaybe<Scalars['Int']['input']>;
34722
+ last?: InputMaybe<Scalars['Int']['input']>;
34723
+ };
34672
34724
  export declare type JiraProjectConfluenceSpaceRelationshipsArgs = {
34673
34725
  after?: InputMaybe<Scalars['String']['input']>;
34674
34726
  first?: InputMaybe<Scalars['Int']['input']>;
@@ -41585,6 +41637,7 @@ export declare type Mutation = {
41585
41637
  deletePolarisViewSet?: Maybe<DeletePolarisViewSetPayload>;
41586
41638
  deleteSprint?: Maybe<MutationResponse>;
41587
41639
  deleteWebTriggerUrl?: Maybe<DeleteWebTriggerUrlResponse>;
41640
+ devAi?: Maybe<DevAiMutations>;
41588
41641
  devOps?: Maybe<DevOpsMutation>;
41589
41642
  ecosystem?: Maybe<EcosystemMutation>;
41590
41643
  editSprint?: Maybe<SprintResponse>;
@@ -41647,6 +41700,7 @@ export declare type Mutation = {
41647
41700
  trello: TrelloMutationApi;
41648
41701
  unarchivePolarisInsights?: Maybe<UnarchivePolarisInsightsPayload>;
41649
41702
  unassignIssueParent?: Maybe<UnassignIssueParentOutput>;
41703
+ unified: UnifiedMutation;
41650
41704
  uninstallApp?: Maybe<AppUninstallationResponse>;
41651
41705
  unsubscribeFromApp?: Maybe<AppUnsubscribePayload>;
41652
41706
  unwatchMarketplaceApp?: Maybe<UnwatchMarketplaceAppPayload>;
@@ -44407,6 +44461,7 @@ export declare type Query = {
44407
44461
  topicOverviews: ContentPlatformTopicOverviewContentSearchConnection;
44408
44462
  townsquare?: Maybe<TownsquareQueryApi>;
44409
44463
  trello: TrelloQueryApi;
44464
+ unified: UnifiedQuery;
44410
44465
  user?: Maybe<User>;
44411
44466
  users?: Maybe<Array<User>>;
44412
44467
  virtualAgent?: Maybe<VirtualAgentQueryApi>;
@@ -46386,6 +46441,20 @@ export declare type SearchResultBitbucketRepository = SearchResult & {
46386
46441
  type: SearchResultType;
46387
46442
  url: Scalars['URL']['output'];
46388
46443
  };
46444
+ export declare type SearchResultCompassComponent = SearchResult & {
46445
+ __typename?: 'SearchResultCompassComponent';
46446
+ component?: Maybe<CompassComponent>;
46447
+ componentType?: Maybe<Scalars['String']['output']>;
46448
+ description: Scalars['String']['output'];
46449
+ iconUrl?: Maybe<Scalars['URL']['output']>;
46450
+ id: Scalars['ID']['output'];
46451
+ lastModifiedDate?: Maybe<Scalars['String']['output']>;
46452
+ ownerId?: Maybe<Scalars['String']['output']>;
46453
+ tier?: Maybe<Scalars['String']['output']>;
46454
+ title: Scalars['String']['output'];
46455
+ type: SearchResultType;
46456
+ url: Scalars['URL']['output'];
46457
+ };
46389
46458
  export declare type SearchResultGoogleDocument = SearchResult & {
46390
46459
  __typename?: 'SearchResultGoogleDocument';
46391
46460
  bodyText: Scalars['String']['output'];
@@ -46527,6 +46596,7 @@ export declare enum SearchResultType {
46527
46596
  Blogpost = "blogpost",
46528
46597
  Board = "board",
46529
46598
  Comment = "comment",
46599
+ Component = "component",
46530
46600
  Dashboard = "dashboard",
46531
46601
  Database = "database",
46532
46602
  Document = "document",
@@ -50755,6 +50825,127 @@ export declare type UnassignIssueParentOutput = MutationResponse & {
50755
50825
  statusCode: Scalars['Int']['output'];
50756
50826
  success: Scalars['Boolean']['output'];
50757
50827
  };
50828
+ export declare type UnifiedAccount = {
50829
+ __typename?: 'UnifiedAccount';
50830
+ aaid: Scalars['ID']['output'];
50831
+ conpAaid?: Maybe<Scalars['String']['output']>;
50832
+ uaIid?: Maybe<Scalars['String']['output']>;
50833
+ upIid?: Maybe<Scalars['String']['output']>;
50834
+ };
50835
+ export declare type UnifiedAccountInput = {
50836
+ aaid: Scalars['String']['input'];
50837
+ conpAaid?: InputMaybe<Scalars['String']['input']>;
50838
+ upIid?: InputMaybe<Scalars['String']['input']>;
50839
+ };
50840
+ export declare type UnifiedCreateAccountSuccess = {
50841
+ __typename?: 'UnifiedCreateAccountSuccess';
50842
+ data: UnifiedAccount;
50843
+ };
50844
+ export declare type UnifiedCreateAccountUnion = UnifiedCreateAccountSuccess | UnifiedError;
50845
+ export declare type UnifiedCreateProfileSuccess = {
50846
+ __typename?: 'UnifiedCreateProfileSuccess';
50847
+ data: UnifiedProfile;
50848
+ };
50849
+ export declare type UnifiedCreateProfileUnion = UnifiedCreateProfileSuccess | UnifiedError;
50850
+ export declare type UnifiedError = {
50851
+ __typename?: 'UnifiedError';
50852
+ message: Scalars['String']['output'];
50853
+ };
50854
+ export declare type UnifiedForumsUser = {
50855
+ __typename?: 'UnifiedForumsUser';
50856
+ acceptedAnswersCreated: Scalars['Int']['output'];
50857
+ answersCreated: Scalars['Int']['output'];
50858
+ badgesEarned: Scalars['Int']['output'];
50859
+ kudosGiven: Scalars['Int']['output'];
50860
+ kudosReceived: Scalars['Int']['output'];
50861
+ lastPostTime: Scalars['String']['output'];
50862
+ lastVisitTime: Scalars['String']['output'];
50863
+ minutesOnline: Scalars['Int']['output'];
50864
+ rank: Scalars['String']['output'];
50865
+ repliesCreated: Scalars['Int']['output'];
50866
+ roles: Array<Scalars['String']['output']>;
50867
+ status: Scalars['String']['output'];
50868
+ topicsCreated: Scalars['Int']['output'];
50869
+ totalLoginsRecorded: Scalars['String']['output'];
50870
+ totalPosts: Scalars['Int']['output'];
50871
+ };
50872
+ export declare type UnifiedMutation = {
50873
+ __typename?: 'UnifiedMutation';
50874
+ createAccount: UnifiedCreateAccountUnion;
50875
+ createProfile: UnifiedCreateProfileUnion;
50876
+ };
50877
+ export declare type UnifiedMutationCreateAccountArgs = {
50878
+ input: UnifiedAccountInput;
50879
+ };
50880
+ export declare type UnifiedMutationCreateProfileArgs = {
50881
+ input: UnifiedProfileInput;
50882
+ };
50883
+ export declare type UnifiedProfile = {
50884
+ __typename?: 'UnifiedProfile';
50885
+ aaids: Array<UnifiedAccount>;
50886
+ bio?: Maybe<Scalars['String']['output']>;
50887
+ communityId?: Maybe<Scalars['String']['output']>;
50888
+ company?: Maybe<Scalars['String']['output']>;
50889
+ learningId?: Maybe<Scalars['String']['output']>;
50890
+ linkedinUrl?: Maybe<Scalars['String']['output']>;
50891
+ name?: Maybe<Scalars['String']['output']>;
50892
+ photoUrl?: Maybe<Scalars['String']['output']>;
50893
+ role?: Maybe<Scalars['String']['output']>;
50894
+ uaEmailId?: Maybe<Scalars['String']['output']>;
50895
+ uaIid?: Maybe<Scalars['String']['output']>;
50896
+ upIid: Scalars['ID']['output'];
50897
+ upUsername?: Maybe<Scalars['String']['output']>;
50898
+ websiteUrl?: Maybe<Scalars['String']['output']>;
50899
+ };
50900
+ export declare type UnifiedProfileInput = {
50901
+ aaid: Scalars['String']['input'];
50902
+ bio?: InputMaybe<Scalars['String']['input']>;
50903
+ communityId?: InputMaybe<Scalars['String']['input']>;
50904
+ company?: InputMaybe<Scalars['String']['input']>;
50905
+ learningId?: InputMaybe<Scalars['String']['input']>;
50906
+ linkedinUrl?: InputMaybe<Scalars['String']['input']>;
50907
+ name?: InputMaybe<Scalars['String']['input']>;
50908
+ photoUrl?: InputMaybe<Scalars['String']['input']>;
50909
+ role?: InputMaybe<Scalars['String']['input']>;
50910
+ uaEmailId?: InputMaybe<Scalars['String']['input']>;
50911
+ websiteUrl?: InputMaybe<Scalars['String']['input']>;
50912
+ };
50913
+ export declare type UnifiedQuery = {
50914
+ __typename?: 'UnifiedQuery';
50915
+ account: UnifiedQueryAccountUnion;
50916
+ forumSnapshot: UnifiedQueryForumSnapshotUnion;
50917
+ profile: UnifiedQueryProfileUnion;
50918
+ profiles: UnifiedQueryProfilesUnion;
50919
+ };
50920
+ export declare type UnifiedQueryAccountArgs = {
50921
+ aaid: Scalars['String']['input'];
50922
+ };
50923
+ export declare type UnifiedQueryForumSnapshotArgs = {
50924
+ aaid: Scalars['String']['input'];
50925
+ };
50926
+ export declare type UnifiedQueryProfileArgs = {
50927
+ aaid: Scalars['String']['input'];
50928
+ };
50929
+ export declare type UnifiedQueryAccountSuccess = {
50930
+ __typename?: 'UnifiedQueryAccountSuccess';
50931
+ data: UnifiedAccount;
50932
+ };
50933
+ export declare type UnifiedQueryAccountUnion = UnifiedError | UnifiedQueryAccountSuccess;
50934
+ export declare type UnifiedQueryForumSnapshotSuccess = {
50935
+ __typename?: 'UnifiedQueryForumSnapshotSuccess';
50936
+ data: UnifiedForumsUser;
50937
+ };
50938
+ export declare type UnifiedQueryForumSnapshotUnion = UnifiedError | UnifiedQueryForumSnapshotSuccess;
50939
+ export declare type UnifiedQueryProfileSuccess = {
50940
+ __typename?: 'UnifiedQueryProfileSuccess';
50941
+ data: UnifiedProfile;
50942
+ };
50943
+ export declare type UnifiedQueryProfileUnion = UnifiedError | UnifiedQueryProfileSuccess;
50944
+ export declare type UnifiedQueryProfilesSuccess = {
50945
+ __typename?: 'UnifiedQueryProfilesSuccess';
50946
+ data: Array<UnifiedProfile>;
50947
+ };
50948
+ export declare type UnifiedQueryProfilesUnion = UnifiedError | UnifiedQueryProfilesSuccess;
50758
50949
  export declare type UnlinkExternalSourceInput = {
50759
50950
  cloudId: Scalars['ID']['input'];
50760
50951
  ecosystemAppId: Scalars['ID']['input'];
@@ -50933,6 +51124,7 @@ export declare type UpdateCompassScorecardCriteriaInput = {
50933
51124
  };
50934
51125
  export declare type UpdateCompassScorecardInput = {
50935
51126
  componentLabelNames?: InputMaybe<Array<Scalars['String']['input']>>;
51127
+ componentOwnerIds?: InputMaybe<Array<Scalars['ID']['input']>>;
50936
51128
  componentTierValues?: InputMaybe<Array<Scalars['String']['input']>>;
50937
51129
  componentTypeIds?: InputMaybe<Array<Scalars['ID']['input']>>;
50938
51130
  createCriteria?: InputMaybe<Array<CreateCompassScorecardCriteriaInput>>;