@forge/cli-shared 3.26.1-next.2 → 4.0.0-next.3

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 +11 -0
  2. package/out/app-logs/graphql-client.js +9 -2
  3. package/out/app-logs/view-logs.js +4 -0
  4. package/out/apps/app-config.js +4 -1
  5. package/out/apps/create-an-app.js +3 -0
  6. package/out/apps/create-app-graphql-client.js +1 -0
  7. package/out/apps/get-app-owner.js +2 -0
  8. package/out/apps/package-installer.js +1 -0
  9. package/out/apps/register-app.js +8 -1
  10. package/out/apps/template.js +5 -0
  11. package/out/auth/personal/credential-store.js +7 -2
  12. package/out/auth/personal/login.js +8 -2
  13. package/out/auth/personal/logout.js +1 -0
  14. package/out/auth/personal/me-graphql-client.js +2 -0
  15. package/out/auth/personal/token-authenticator.js +1 -0
  16. package/out/cache/cached-conf.js +1 -0
  17. package/out/config/config-file-section-reader.js +4 -0
  18. package/out/config/config-file-section-writer.js +2 -0
  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 +37 -44
  22. package/out/config/config-section.js +1 -0
  23. package/out/file-system/file-system-reader.js +2 -2
  24. package/out/graphql/app-environment-graphql-client.js +1 -0
  25. package/out/graphql/app-oauth-client-id-graphql-client.js +1 -0
  26. package/out/graphql/debugging-graphql-runner.js +3 -0
  27. package/out/graphql/get-mutation-error.js +4 -5
  28. package/out/graphql/graphql-types.d.ts +33 -258
  29. package/out/graphql/graphql-types.d.ts.map +1 -1
  30. package/out/graphql/graphql-types.js +18 -108
  31. package/out/graphql/minimal-graphql-runner.js +30 -22
  32. package/out/graphql/mutation-aware-graphql-client.js +14 -10
  33. package/out/http-client/feedback-post-client.js +1 -3
  34. package/out/http-client/file-uploader.js +1 -0
  35. package/out/http-client/global-edge-http-client.js +1 -0
  36. package/out/http-client/trace.js +1 -2
  37. package/out/runtimes/helper.js +1 -1
  38. package/out/service/bridge-script-service.js +1 -0
  39. package/out/service/feature-flag-service.js +50 -46
  40. package/out/service/iframe-resizer-script-service.js +1 -0
  41. package/out/shared/cli-details.js +2 -2
  42. package/out/shared/error-handling.js +5 -3
  43. package/out/shared/product.js +2 -4
  44. package/out/shared/read-app-config-files.js +7 -5
  45. package/out/shared/validate.js +1 -1
  46. package/out/ui/command-line-ui.js +14 -8
  47. package/out/ui/multiple-table-prompt.js +1 -1
  48. package/out/ui/table-prompt.js +8 -1
  49. package/package.json +2 -2
@@ -523,259 +523,6 @@ export declare type AddPolarisColumnInput = {
523
523
  width?: InputMaybe<Scalars['Int']['input']>;
524
524
  };
525
525
  export declare type Admin = JiraUser | JiraUserGroup;
526
- export declare type AdminAllowlistFeature = {
527
- __typename?: 'AdminAllowlistFeature';
528
- ip: Scalars['Int']['output'];
529
- };
530
- export declare enum AdminAuditLogEventTypes {
531
- AdminActivity = "ADMIN_ACTIVITY",
532
- UserActivity = "USER_ACTIVITY"
533
- }
534
- export declare type AdminAuditLogFeature = {
535
- __typename?: 'AdminAuditLogFeature';
536
- allInclusive: Scalars['Boolean']['output'];
537
- events: Array<Maybe<AdminAuditLogEventTypes>>;
538
- };
539
- export declare type AdminByokPolicy = {
540
- __typename?: 'AdminByokPolicy';
541
- awsAccount: Scalars['String']['output'];
542
- policyId: Scalars['String']['output'];
543
- policyName: Scalars['String']['output'];
544
- };
545
- export declare type AdminCheckWorkflowStatusOutput = {
546
- __typename?: 'AdminCheckWorkflowStatusOutput';
547
- status: AdminCheckWorkflowStatusResult;
548
- };
549
- export declare enum AdminCheckWorkflowStatusResult {
550
- Executing = "EXECUTING",
551
- Failure = "FAILURE",
552
- Success = "SUCCESS"
553
- }
554
- export declare type AdminCreateWorkspaceInputAttributes = {
555
- name: Scalars['String']['input'];
556
- productKey: Scalars['String']['input'];
557
- slug: Scalars['String']['input'];
558
- type: Scalars['String']['input'];
559
- };
560
- export declare type AdminCreateWorkspaceOutput = {
561
- __typename?: 'AdminCreateWorkspaceOutput';
562
- id: Scalars['String']['output'];
563
- workflowId: Scalars['String']['output'];
564
- };
565
- export declare type AdminDataResidencyFeature = {
566
- __typename?: 'AdminDataResidencyFeature';
567
- realms: Array<AdminRealmTypes>;
568
- };
569
- export declare type AdminEntitlementFeatures = {
570
- __typename?: 'AdminEntitlementFeatures';
571
- allowlisting?: Maybe<AdminAllowlistFeature>;
572
- auditLog?: Maybe<AdminAuditLogFeature>;
573
- dataResidency?: Maybe<AdminDataResidencyFeature>;
574
- mobileDevicePolicy?: Maybe<AdminMobileDevicePolicyFeature>;
575
- releaseTrack?: Maybe<AdminReleaseTrackFeature>;
576
- sandbox?: Maybe<AdminSandboxFeature>;
577
- };
578
- export declare enum AdminFeatureType {
579
- Allowlisting = "ALLOWLISTING",
580
- AtlassianIntelligence = "ATLASSIAN_INTELLIGENCE"
581
- }
582
- export declare type AdminMobileDevicePolicyFeature = {
583
- __typename?: 'AdminMobileDevicePolicyFeature';
584
- enabled: Scalars['Boolean']['output'];
585
- };
586
- export declare type AdminMutation = {
587
- __typename?: 'AdminMutation';
588
- createWorkspace: AdminCreateWorkspaceOutput;
589
- linkWorkspaceToOrg: Scalars['Boolean']['output'];
590
- };
591
- export declare type AdminMutationCreateWorkspaceArgs = {
592
- attributes: AdminCreateWorkspaceInputAttributes;
593
- orgId: Scalars['String']['input'];
594
- };
595
- export declare type AdminMutationLinkWorkspaceToOrgArgs = {
596
- orgId: Scalars['String']['input'];
597
- workspaceAri: Scalars['String']['input'];
598
- };
599
- export declare type AdminOrganization = {
600
- __typename?: 'AdminOrganization';
601
- checkWorkflowStatus: AdminCheckWorkflowStatusOutput;
602
- id: Scalars['ID']['output'];
603
- workspace: AdminWorkspace;
604
- workspaceByUserContext: AdminWorkspace;
605
- workspacePlans: Array<AdminWorkspacePlan>;
606
- workspaceTypes: Array<AdminUiProductType>;
607
- workspaces: AdminWorkspaces;
608
- workspacesTotalCount: Scalars['Int']['output'];
609
- };
610
- export declare type AdminOrganizationCheckWorkflowStatusArgs = {
611
- workflowId: Scalars['String']['input'];
612
- };
613
- export declare type AdminOrganizationWorkspaceArgs = {
614
- id: Scalars['String']['input'];
615
- };
616
- export declare type AdminOrganizationWorkspaceByUserContextArgs = {
617
- id: Scalars['String']['input'];
618
- };
619
- export declare type AdminOrganizationWorkspacesArgs = {
620
- cursor?: InputMaybe<Scalars['String']['input']>;
621
- excludeSandboxes?: InputMaybe<Scalars['Boolean']['input']>;
622
- features?: InputMaybe<Array<AdminFeatureType>>;
623
- limit?: InputMaybe<Scalars['Int']['input']>;
624
- plans?: InputMaybe<Array<AdminWorkspacePlan>>;
625
- policies?: InputMaybe<Array<AdminPolicyType>>;
626
- query?: InputMaybe<Scalars['String']['input']>;
627
- shouldNotQueryAdminPortfolio?: InputMaybe<Scalars['Boolean']['input']>;
628
- sortBy?: InputMaybe<Scalars['String']['input']>;
629
- sortOrder?: InputMaybe<AdminSortOrder>;
630
- types?: InputMaybe<Array<AdminUiProductType>>;
631
- };
632
- export declare enum AdminPolicyType {
633
- CustomDomains = "CUSTOM_DOMAINS"
634
- }
635
- export declare type AdminProductEntitlements = {
636
- __typename?: 'AdminProductEntitlements';
637
- edition?: Maybe<Scalars['String']['output']>;
638
- features: AdminEntitlementFeatures;
639
- };
640
- export declare type AdminProductLinks = {
641
- __typename?: 'AdminProductLinks';
642
- self?: Maybe<Scalars['String']['output']>;
643
- };
644
- export declare type AdminProductOffline = {
645
- __typename?: 'AdminProductOffline';
646
- reason: AdminProductOfflineReason;
647
- };
648
- export declare enum AdminProductOfflineReason {
649
- Maintenance = "maintenance",
650
- Migration = "migration",
651
- Other = "other",
652
- SandboxDataClone = "sandbox_data_clone",
653
- SandboxDelete = "sandbox_delete",
654
- SandboxReset = "sandbox_reset",
655
- SandboxSoftDelete = "sandbox_soft_delete",
656
- Support = "support",
657
- SuspendedForDestruction = "suspended_for_destruction",
658
- SuspendedPayment = "suspended_payment",
659
- SuspendedSecurity = "suspended_security"
660
- }
661
- export declare type AdminQuery = {
662
- __typename?: 'AdminQuery';
663
- organization: AdminOrganization;
664
- };
665
- export declare type AdminQueryOrganizationArgs = {
666
- id: Scalars['String']['input'];
667
- };
668
- export declare enum AdminRealmTypes {
669
- Au = "au",
670
- De = "de",
671
- Eu = "eu",
672
- Global = "global",
673
- Sg = "sg",
674
- Us = "us"
675
- }
676
- export declare type AdminReleaseTrackFeature = {
677
- __typename?: 'AdminReleaseTrackFeature';
678
- tracks: Array<AdminReleaseTrackTracks>;
679
- };
680
- export declare enum AdminReleaseTrackTracks {
681
- FastTrack = "fastTrack",
682
- PreviewTrack = "previewTrack",
683
- ScheduledTrack = "scheduledTrack"
684
- }
685
- export declare type AdminSandboxFeature = {
686
- __typename?: 'AdminSandboxFeature';
687
- limit: Scalars['Int']['output'];
688
- };
689
- export declare enum AdminSandboxTypes {
690
- Child = "CHILD",
691
- None = "NONE"
692
- }
693
- export declare type AdminSiteSandbox = {
694
- __typename?: 'AdminSiteSandbox';
695
- parentId?: Maybe<Scalars['String']['output']>;
696
- type: AdminSandboxTypes;
697
- };
698
- export declare enum AdminSortOrder {
699
- Asc = "asc",
700
- Desc = "desc"
701
- }
702
- export declare enum AdminUiProductType {
703
- Analytics = "ANALYTICS",
704
- Avocado = "AVOCADO",
705
- Beacon = "BEACON",
706
- Bitbucket = "BITBUCKET",
707
- CloudAdmin = "CLOUD_ADMIN",
708
- Compass = "COMPASS",
709
- Confluence = "CONFLUENCE",
710
- Fabric = "FABRIC",
711
- JiraAdmin = "JIRA_ADMIN",
712
- JiraCore = "JIRA_CORE",
713
- JiraIncidentManager = "JIRA_INCIDENT_MANAGER",
714
- JiraProductDiscovery = "JIRA_PRODUCT_DISCOVERY",
715
- JiraServiceDesk = "JIRA_SERVICE_DESK",
716
- JiraSoftware = "JIRA_SOFTWARE",
717
- Mercury = "MERCURY",
718
- Opsgenie = "OPSGENIE",
719
- Statuspage = "STATUSPAGE",
720
- Stride = "STRIDE",
721
- Teamcentral = "TEAMCENTRAL",
722
- Trello = "TRELLO"
723
- }
724
- export declare type AdminWorkspace = {
725
- __typename?: 'AdminWorkspace';
726
- byok?: Maybe<AdminByokPolicy>;
727
- capacity?: Maybe<Scalars['Int']['output']>;
728
- entitlements?: Maybe<AdminProductEntitlements>;
729
- id: Scalars['ID']['output'];
730
- isCurrentUserPermittedToMutateRole?: Maybe<Scalars['Boolean']['output']>;
731
- key: Scalars['String']['output'];
732
- links?: Maybe<AdminProductLinks>;
733
- name: Scalars['String']['output'];
734
- offline?: Maybe<Array<AdminProductOffline>>;
735
- provisionedDate?: Maybe<Scalars['String']['output']>;
736
- realm?: Maybe<AdminRealmTypes>;
737
- sandbox?: Maybe<AdminSiteSandbox>;
738
- siteAvatarUrl?: Maybe<Scalars['String']['output']>;
739
- siteDisplayName?: Maybe<Scalars['String']['output']>;
740
- siteId?: Maybe<Scalars['String']['output']>;
741
- type: AdminUiProductType;
742
- url?: Maybe<Scalars['String']['output']>;
743
- usage?: Maybe<Scalars['Int']['output']>;
744
- };
745
- export declare type AdminWorkspaceIsCurrentUserPermittedToMutateRoleArgs = {
746
- orgId: Scalars['String']['input'];
747
- };
748
- export declare type AdminWorkspaceAriArgs = {
749
- __typename?: 'AdminWorkspaceAriArgs';
750
- id: Scalars['String']['output'];
751
- orgId: Scalars['String']['output'];
752
- };
753
- export declare enum AdminWorkspacePlan {
754
- AtlassianTeams = "AtlassianTeams",
755
- Beta = "Beta",
756
- Bitbucket100UsersPremium = "Bitbucket100UsersPremium",
757
- Enterprise = "Enterprise",
758
- Essentials = "Essentials",
759
- Free = "Free",
760
- None = "None",
761
- Premium = "Premium",
762
- Standard = "Standard",
763
- Unknown = "Unknown"
764
- }
765
- export declare type AdminWorkspaces = {
766
- __typename?: 'AdminWorkspaces';
767
- meta: AdminWorkspacesMeta;
768
- products: Array<AdminWorkspace>;
769
- };
770
- export declare type AdminWorkspacesMeta = {
771
- __typename?: 'AdminWorkspacesMeta';
772
- endIndex?: Maybe<Scalars['Int']['output']>;
773
- next?: Maybe<Scalars['String']['output']>;
774
- pageSize?: Maybe<Scalars['Int']['output']>;
775
- prev?: Maybe<Scalars['String']['output']>;
776
- startIndex?: Maybe<Scalars['Int']['output']>;
777
- total?: Maybe<Scalars['Int']['output']>;
778
- };
779
526
  export declare enum AlertEventStatus {
780
527
  Acknowledged = "ACKNOWLEDGED",
781
528
  Closed = "CLOSED",
@@ -794,7 +541,6 @@ export declare enum ApiContext {
794
541
  }
795
542
  export declare enum ApiGroup {
796
543
  Actions = "ACTIONS",
797
- AdminGraphqlServer = "ADMIN_GRAPHQL_SERVER",
798
544
  AppRecommendations = "APP_RECOMMENDATIONS",
799
545
  Caas = "CAAS",
800
546
  CloudAdmin = "CLOUD_ADMIN",
@@ -30569,7 +30315,8 @@ export declare type JiraFavouriteEdge = {
30569
30315
  node?: Maybe<JiraFavourite>;
30570
30316
  };
30571
30317
  export declare type JiraFavouriteFilter = {
30572
- type: JiraFavouriteType;
30318
+ type?: InputMaybe<JiraFavouriteType>;
30319
+ types?: InputMaybe<Array<JiraFavouriteType>>;
30573
30320
  };
30574
30321
  export declare enum JiraFavouriteType {
30575
30322
  Board = "BOARD",
@@ -40368,6 +40115,14 @@ export declare type KnowledgeDiscoveryDefinitionList = {
40368
40115
  definitions?: Maybe<Array<Maybe<KnowledgeDiscoveryDefinition>>>;
40369
40116
  };
40370
40117
  export declare type KnowledgeDiscoveryDefinitionResult = KnowledgeDiscoveryDefinition | QueryError;
40118
+ export declare type KnowledgeDiscoveryEntity = {
40119
+ id: Scalars['ID']['output'];
40120
+ };
40121
+ export declare enum KnowledgeDiscoveryEntityType {
40122
+ Document = "DOCUMENT",
40123
+ Keyword = "KEYWORD",
40124
+ Topic = "TOPIC"
40125
+ }
40371
40126
  export declare type KnowledgeDiscoveryMutationApi = {
40372
40127
  __typename?: 'KnowledgeDiscoveryMutationApi';
40373
40128
  createDefinition?: Maybe<KnowledgeDiscoveryCreateDefinitionPayload>;
@@ -40379,6 +40134,7 @@ export declare type KnowledgeDiscoveryQueryApi = {
40379
40134
  __typename?: 'KnowledgeDiscoveryQueryApi';
40380
40135
  definition?: Maybe<KnowledgeDiscoveryDefinitionResult>;
40381
40136
  definitionHistory?: Maybe<KnowledgeDiscoveryDefinitionHistoryResult>;
40137
+ relatedEntities?: Maybe<KnowledgeDiscoveryRelatedEntityConnection>;
40382
40138
  smartAnswersRoute?: Maybe<KnowledgeDiscoverySmartAnswersRouteResult>;
40383
40139
  topic?: Maybe<KnowledgeDiscoveryTopicResult>;
40384
40140
  };
@@ -40390,6 +40146,15 @@ export declare type KnowledgeDiscoveryQueryApiDefinitionHistoryArgs = {
40390
40146
  keyPhrase: Scalars['String']['input'];
40391
40147
  workspaceId: Scalars['String']['input'];
40392
40148
  };
40149
+ export declare type KnowledgeDiscoveryQueryApiRelatedEntitiesArgs = {
40150
+ after?: InputMaybe<Scalars['String']['input']>;
40151
+ cloudId?: InputMaybe<Scalars['String']['input']>;
40152
+ entityType: Scalars['String']['input'];
40153
+ first?: InputMaybe<Scalars['Int']['input']>;
40154
+ id: Scalars['String']['input'];
40155
+ relatedEntityType: Scalars['String']['input'];
40156
+ workspaceId?: InputMaybe<Scalars['String']['input']>;
40157
+ };
40393
40158
  export declare type KnowledgeDiscoveryQueryApiSmartAnswersRouteArgs = {
40394
40159
  locale: Scalars['String']['input'];
40395
40160
  query: Scalars['String']['input'];
@@ -40400,6 +40165,18 @@ export declare type KnowledgeDiscoveryQueryApiTopicArgs = {
40400
40165
  id: Scalars['String']['input'];
40401
40166
  workspaceId?: InputMaybe<Scalars['String']['input']>;
40402
40167
  };
40168
+ export declare type KnowledgeDiscoveryRelatedEntityConnection = {
40169
+ __typename?: 'KnowledgeDiscoveryRelatedEntityConnection';
40170
+ edges?: Maybe<Array<Maybe<KnowledgeDiscoveryRelatedEntityEdge>>>;
40171
+ nodes?: Maybe<Array<Maybe<KnowledgeDiscoveryRelatedEntityResult>>>;
40172
+ pageInfo: PageInfo;
40173
+ };
40174
+ export declare type KnowledgeDiscoveryRelatedEntityEdge = {
40175
+ __typename?: 'KnowledgeDiscoveryRelatedEntityEdge';
40176
+ edgeCursor: Scalars['String']['output'];
40177
+ node?: Maybe<KnowledgeDiscoveryRelatedEntityResult>;
40178
+ };
40179
+ export declare type KnowledgeDiscoveryRelatedEntityResult = KnowledgeDiscoveryTopic | QueryError;
40403
40180
  export declare enum KnowledgeDiscoverySearchQueryClassification {
40404
40181
  KeywordOrAcronym = "KEYWORD_OR_ACRONYM",
40405
40182
  NaturalLanguageQuery = "NATURAL_LANGUAGE_QUERY",
@@ -40412,7 +40189,7 @@ export declare type KnowledgeDiscoverySmartAnswersRoute = {
40412
40189
  transformedQuery: Scalars['String']['output'];
40413
40190
  };
40414
40191
  export declare type KnowledgeDiscoverySmartAnswersRouteResult = KnowledgeDiscoverySmartAnswersRoute | QueryError;
40415
- export declare type KnowledgeDiscoveryTopic = {
40192
+ export declare type KnowledgeDiscoveryTopic = KnowledgeDiscoveryEntity & {
40416
40193
  __typename?: 'KnowledgeDiscoveryTopic';
40417
40194
  description: Scalars['String']['output'];
40418
40195
  documentCount?: Maybe<Scalars['Int']['output']>;
@@ -41180,7 +40957,6 @@ export declare type Mutation = {
41180
40957
  ForgeAi?: Maybe<ForgeAiMutation>;
41181
40958
  actions?: Maybe<ActionsMutation>;
41182
40959
  addBetaUserAsSiteCreator?: Maybe<AddBetaUserAsSiteCreatorPayload>;
41183
- admin?: Maybe<AdminMutation>;
41184
40960
  appRecommendations?: Maybe<AppRecMutation>;
41185
40961
  appStorage?: Maybe<AppStorageMutation>;
41186
40962
  appStorageCustomEntity?: Maybe<AppStorageCustomEntityMutation>;
@@ -43907,7 +43683,6 @@ export declare type Query = {
43907
43683
  actions?: Maybe<Actions>;
43908
43684
  activities?: Maybe<Activities>;
43909
43685
  activity?: Maybe<Activity>;
43910
- admin?: Maybe<AdminQuery>;
43911
43686
  anchor?: Maybe<ContentPlatformAnchor>;
43912
43687
  anchors: ContentPlatformAnchorContentSearchConnection;
43913
43688
  app?: Maybe<App>;