@forge/cli-shared 3.2.0-next.6 → 3.2.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,29 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b372c40: Add option to display installations and other tables as JSON
8
+ - 7a27bcd: Display an error when prompting if not run in a terminal
9
+ - 94c798f: Exit with error when a Forge command is not recognised
10
+
11
+ ### Patch Changes
12
+
13
+ - a1c8607: Update debugging instructions when tunneling
14
+ - Updated dependencies [dfc74ba]
15
+ - Updated dependencies [f93ae31]
16
+ - Updated dependencies [05b306b]
17
+ - Updated dependencies [d6ec15d]
18
+ - @forge/manifest@4.4.0
19
+
20
+ ## 3.2.0-next.7
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [05b306b]
25
+ - @forge/manifest@4.4.0-next.3
26
+
3
27
  ## 3.2.0-next.6
4
28
 
5
29
  ### Patch Changes
@@ -516,6 +516,17 @@ export declare type AppInstallation = {
516
516
  appEnvironment?: Maybe<AppEnvironment>;
517
517
  license?: Maybe<AppInstallationLicense>;
518
518
  };
519
+ export declare type AppInstallationByIndexConnection = {
520
+ __typename?: 'AppInstallationByIndexConnection';
521
+ edges?: Maybe<Array<Maybe<AppInstallationByIndexEdge>>>;
522
+ nodes?: Maybe<Array<Maybe<AppInstallation>>>;
523
+ pageInfo: AppInstallationPageInfo;
524
+ };
525
+ export declare type AppInstallationByIndexEdge = {
526
+ __typename?: 'AppInstallationByIndexEdge';
527
+ cursor: Scalars['String'];
528
+ node?: Maybe<AppInstallation>;
529
+ };
519
530
  export declare type AppInstallationConnection = {
520
531
  __typename?: 'AppInstallationConnection';
521
532
  edges?: Maybe<Array<Maybe<AppInstallationEdge>>>;
@@ -571,6 +582,13 @@ export declare type AppInstallationLicense = {
571
582
  ccpEntitlementId?: Maybe<Scalars['String']>;
572
583
  ccpEntitlementSlug?: Maybe<Scalars['String']>;
573
584
  };
585
+ export declare type AppInstallationPageInfo = {
586
+ __typename?: 'AppInstallationPageInfo';
587
+ hasNextPage: Scalars['Boolean'];
588
+ hasPreviousPage: Scalars['Boolean'];
589
+ startCursor?: Maybe<Scalars['String']>;
590
+ endCursor?: Maybe<Scalars['String']>;
591
+ };
574
592
  export declare type AppInstallationResponse = Payload & {
575
593
  __typename?: 'AppInstallationResponse';
576
594
  installationId?: Maybe<Scalars['ID']>;
@@ -628,6 +646,15 @@ export declare type AppInstallationUpgradeTask = AppInstallationTask & {
628
646
  state: AppTaskState;
629
647
  errors?: Maybe<Array<MutationError>>;
630
648
  };
649
+ export declare type AppInstallationsByAppFilter = {
650
+ apps: InstallationsListFilterByApps;
651
+ appEnvironments?: Maybe<InstallationsListFilterByAppEnvironments>;
652
+ appInstallations?: Maybe<InstallationsListFilterByAppInstallations>;
653
+ };
654
+ export declare type AppInstallationsByContextFilter = {
655
+ appInstallations: InstallationsListFilterByAppInstallationsWithCompulsoryContexts;
656
+ apps?: Maybe<InstallationsListFilterByApps>;
657
+ };
631
658
  export declare type AppInstallationsFilter = {
632
659
  appId: Scalars['ID'];
633
660
  environmentType?: Maybe<AppEnvironmentType>;
@@ -5722,6 +5749,13 @@ export declare type DevOpsFeatureFlagEdge = {
5722
5749
  cursor?: Maybe<Scalars['String']>;
5723
5750
  node?: Maybe<DevOpsFeatureFlag>;
5724
5751
  };
5752
+ export declare type DevOpsFeatureFlagProvider = {
5753
+ __typename?: 'DevOpsFeatureFlagProvider';
5754
+ id: Scalars['ID'];
5755
+ name?: Maybe<Scalars['String']>;
5756
+ createFeatureFlagTemplateUrl?: Maybe<Scalars['String']>;
5757
+ connectFeatureFlagTemplateUrl?: Maybe<Scalars['String']>;
5758
+ };
5725
5759
  export declare type DevOpsFeatureFlagSummary = {
5726
5760
  __typename?: 'DevOpsFeatureFlagSummary';
5727
5761
  enabled?: Maybe<Scalars['Boolean']>;
@@ -5927,6 +5961,10 @@ export declare type DevOpsProviderLinks = {
5927
5961
  home?: Maybe<Scalars['URL']>;
5928
5962
  listDeploymentsTemplate?: Maybe<Scalars['URL']>;
5929
5963
  };
5964
+ export declare type DevOpsProviders = {
5965
+ __typename?: 'DevOpsProviders';
5966
+ featureFlagProviders?: Maybe<Array<Maybe<DevOpsFeatureFlagProvider>>>;
5967
+ };
5930
5968
  export declare enum DevOpsPullRequestApprovalStatus {
5931
5969
  Approved = "APPROVED",
5932
5970
  Unapproved = "UNAPPROVED"
@@ -6222,6 +6260,7 @@ export declare type DevOpsSummarisedDeployments = {
6222
6260
  export declare type DevOpsSummarisedEntities = {
6223
6261
  __typename?: 'DevOpsSummarisedEntities';
6224
6262
  entityId: Scalars['ID'];
6263
+ providers?: Maybe<DevOpsProviders>;
6225
6264
  summarisedDeployments?: Maybe<DevOpsSummarisedDeployments>;
6226
6265
  summarisedFeatureFlags?: Maybe<DevOpsSummarisedFeatureFlags>;
6227
6266
  };
@@ -6652,6 +6691,8 @@ export declare type EcosystemQuery = {
6652
6691
  userGrants?: Maybe<UserGrantConnection>;
6653
6692
  checkConsentPermissionByOAuthClientId?: Maybe<PermissionToConsentByOauthId>;
6654
6693
  userInstallationRules?: Maybe<UserInstallationRules>;
6694
+ appInstallationsByContext?: Maybe<AppInstallationByIndexConnection>;
6695
+ appInstallationsByApp?: Maybe<AppInstallationByIndexConnection>;
6655
6696
  fortifiedMetrics?: Maybe<FortifiedMetricsQuery>;
6656
6697
  forgeMetrics?: Maybe<ForgeMetricsQuery>;
6657
6698
  forgeAlerts?: Maybe<ForgeAlertsQuery>;
@@ -6668,6 +6709,20 @@ export declare type EcosystemQueryCheckConsentPermissionByOAuthClientIdArgs = {
6668
6709
  export declare type EcosystemQueryUserInstallationRulesArgs = {
6669
6710
  cloudId: Scalars['ID'];
6670
6711
  };
6712
+ export declare type EcosystemQueryAppInstallationsByContextArgs = {
6713
+ filter: AppInstallationsByContextFilter;
6714
+ first?: Maybe<Scalars['Int']>;
6715
+ last?: Maybe<Scalars['Int']>;
6716
+ before?: Maybe<Scalars['String']>;
6717
+ after?: Maybe<Scalars['String']>;
6718
+ };
6719
+ export declare type EcosystemQueryAppInstallationsByAppArgs = {
6720
+ filter: AppInstallationsByAppFilter;
6721
+ first?: Maybe<Scalars['Int']>;
6722
+ last?: Maybe<Scalars['Int']>;
6723
+ before?: Maybe<Scalars['String']>;
6724
+ after?: Maybe<Scalars['String']>;
6725
+ };
6671
6726
  export declare type EcosystemQueryFortifiedMetricsArgs = {
6672
6727
  appKey: Scalars['ID'];
6673
6728
  };
@@ -7484,6 +7539,20 @@ export declare type InstallationContextWithLogAccess = {
7484
7539
  installationContext: Scalars['ID'];
7485
7540
  tenantContext?: Maybe<TenantContext>;
7486
7541
  };
7542
+ export declare type InstallationsListFilterByAppEnvironments = {
7543
+ types: Array<AppEnvironmentType>;
7544
+ };
7545
+ export declare type InstallationsListFilterByAppInstallations = {
7546
+ ids?: Maybe<Array<Scalars['ID']>>;
7547
+ contexts?: Maybe<Array<Scalars['ID']>>;
7548
+ };
7549
+ export declare type InstallationsListFilterByAppInstallationsWithCompulsoryContexts = {
7550
+ contexts: Array<Scalars['ID']>;
7551
+ ids?: Maybe<Array<Scalars['ID']>>;
7552
+ };
7553
+ export declare type InstallationsListFilterByApps = {
7554
+ ids: Array<Scalars['ID']>;
7555
+ };
7487
7556
  export declare type InvocationResponsePayload = {
7488
7557
  __typename?: 'InvocationResponsePayload';
7489
7558
  body: Scalars['JSON'];
@@ -13234,6 +13303,7 @@ export declare type JiraVersion = Node & {
13234
13303
  releaseNotesOptionsIssueFields?: Maybe<JiraIssueFieldConnection>;
13235
13304
  nativeReleaseNotesOptionsIssueFields?: Maybe<JiraIssueFieldConnection>;
13236
13305
  releaseNotes?: Maybe<JiraAdf>;
13306
+ devOpsSummarisedEntities?: Maybe<DevOpsSummarisedEntities>;
13237
13307
  releaseNotesConfiguration?: Maybe<JiraReleaseNotesConfiguration>;
13238
13308
  availableSites?: Maybe<JiraReleaseNotesInConfluenceAvailableSitesConnection>;
13239
13309
  relatedWork?: Maybe<JiraVersionRelatedWorkConnection>;
@@ -16573,6 +16643,7 @@ export declare type RoadmapAddItemResponse = {
16573
16643
  key: Scalars['String'];
16574
16644
  item?: Maybe<RoadmapItem>;
16575
16645
  matchesSource: Scalars['Boolean'];
16646
+ matchesJqlFilters: Scalars['Boolean'];
16576
16647
  };
16577
16648
  export declare type RoadmapAddLevelOneIssueTypeHealthcheckResolution = {
16578
16649
  create?: Maybe<RoadmapCreateLevelOneIssueType>;
@@ -17716,7 +17787,7 @@ export declare type ShepherdActivityHighlightInput = {
17716
17787
  subject?: Maybe<ShepherdSubjectInput>;
17717
17788
  time: ShepherdTimeInput;
17718
17789
  };
17719
- export declare type ShepherdAlert = {
17790
+ export declare type ShepherdAlert = Node & {
17720
17791
  __typename?: 'ShepherdAlert';
17721
17792
  assignee?: Maybe<ShepherdUser>;
17722
17793
  cloudId?: Maybe<Scalars['ID']>;
@@ -17737,6 +17808,7 @@ export declare enum ShepherdAlertDescriptionType {
17737
17808
  }
17738
17809
  export declare type ShepherdAlertEdge = {
17739
17810
  __typename?: 'ShepherdAlertEdge';
17811
+ cursor?: Maybe<Scalars['String']>;
17740
17812
  node?: Maybe<ShepherdAlert>;
17741
17813
  };
17742
17814
  export declare type ShepherdAlertResult = QueryError | ShepherdAlert;
@@ -17860,11 +17932,6 @@ export declare type ShepherdCreateWebhookInput = {
17860
17932
  status?: Maybe<ShepherdSubscriptionStatus>;
17861
17933
  type?: Maybe<ShepherdWebhookType>;
17862
17934
  };
17863
- export declare type ShepherdDescriptionSection = {
17864
- __typename?: 'ShepherdDescriptionSection';
17865
- text?: Maybe<Scalars['JSON']>;
17866
- type?: Maybe<ShepherdAlertDescriptionType>;
17867
- };
17868
17935
  export declare type ShepherdDescriptionTemplate = {
17869
17936
  __typename?: 'ShepherdDescriptionTemplate';
17870
17937
  text?: Maybe<Scalars['JSON']>;
@@ -17876,9 +17943,10 @@ export declare type ShepherdEmailConnection = {
17876
17943
  };
17877
17944
  export declare type ShepherdEmailEdge = ShepherdSubscriptionEdge & {
17878
17945
  __typename?: 'ShepherdEmailEdge';
17946
+ cursor?: Maybe<Scalars['String']>;
17879
17947
  node?: Maybe<ShepherdEmailSubscription>;
17880
17948
  };
17881
- export declare type ShepherdEmailSubscription = ShepherdSubscription & {
17949
+ export declare type ShepherdEmailSubscription = Node & ShepherdSubscription & {
17882
17950
  __typename?: 'ShepherdEmailSubscription';
17883
17951
  createdBy: Scalars['String'];
17884
17952
  createdOn: Scalars['DateTime'];
@@ -17960,6 +18028,7 @@ export declare type ShepherdQueryShepherdAlertArgs = {
17960
18028
  id: Scalars['ID'];
17961
18029
  };
17962
18030
  export declare type ShepherdQueryShepherdAlertsArgs = {
18031
+ aaid?: Maybe<Scalars['ID']>;
17963
18032
  orgId: Scalars['ID'];
17964
18033
  };
17965
18034
  export declare type ShepherdQueryShepherdOrganizationArgs = {
@@ -17974,9 +18043,10 @@ export declare enum ShepherdQueryErrorType {
17974
18043
  }
17975
18044
  export declare type ShepherdSlackEdge = ShepherdSubscriptionEdge & {
17976
18045
  __typename?: 'ShepherdSlackEdge';
18046
+ cursor?: Maybe<Scalars['String']>;
17977
18047
  node?: Maybe<ShepherdSlackSubscription>;
17978
18048
  };
17979
- export declare type ShepherdSlackSubscription = ShepherdSubscription & {
18049
+ export declare type ShepherdSlackSubscription = Node & ShepherdSubscription & {
17980
18050
  __typename?: 'ShepherdSlackSubscription';
17981
18051
  callbackURL: Scalars['String'];
17982
18052
  channelId: Scalars['String'];
@@ -18012,6 +18082,7 @@ export declare type ShepherdSubscriptionConnection = {
18012
18082
  edges?: Maybe<Array<Maybe<ShepherdSubscriptionEdge>>>;
18013
18083
  };
18014
18084
  export declare type ShepherdSubscriptionEdge = {
18085
+ cursor?: Maybe<Scalars['String']>;
18015
18086
  node?: Maybe<ShepherdSubscription>;
18016
18087
  };
18017
18088
  export declare enum ShepherdSubscriptionStatus {
@@ -18019,11 +18090,6 @@ export declare enum ShepherdSubscriptionStatus {
18019
18090
  Inactive = "INACTIVE"
18020
18091
  }
18021
18092
  export declare type ShepherdSubscriptionsResult = QueryError | ShepherdEmailConnection | ShepherdSubscriptionConnection | ShepherdWebhookConnection;
18022
- export declare type ShepherdTestSubscriptionError = {
18023
- __typename?: 'ShepherdTestSubscriptionError';
18024
- reason?: Maybe<Scalars['String']>;
18025
- statusCode?: Maybe<Scalars['Int']>;
18026
- };
18027
18093
  export declare type ShepherdTestSubscriptionPayload = Payload & {
18028
18094
  __typename?: 'ShepherdTestSubscriptionPayload';
18029
18095
  errors?: Maybe<Array<MutationError>>;
@@ -18089,6 +18155,7 @@ export declare type ShepherdUpdateWebhookInput = {
18089
18155
  export declare type ShepherdUser = {
18090
18156
  __typename?: 'ShepherdUser';
18091
18157
  aaid: Scalars['ID'];
18158
+ createdOn?: Maybe<Scalars['DateTime']>;
18092
18159
  user?: Maybe<User>;
18093
18160
  };
18094
18161
  export declare type ShepherdWebhookConnection = {
@@ -18097,9 +18164,10 @@ export declare type ShepherdWebhookConnection = {
18097
18164
  };
18098
18165
  export declare type ShepherdWebhookEdge = ShepherdSubscriptionEdge & {
18099
18166
  __typename?: 'ShepherdWebhookEdge';
18167
+ cursor?: Maybe<Scalars['String']>;
18100
18168
  node?: Maybe<ShepherdWebhookSubscription>;
18101
18169
  };
18102
- export declare type ShepherdWebhookSubscription = ShepherdSubscription & {
18170
+ export declare type ShepherdWebhookSubscription = Node & ShepherdSubscription & {
18103
18171
  __typename?: 'ShepherdWebhookSubscription';
18104
18172
  authToken: Scalars['String'];
18105
18173
  callbackURL: Scalars['String'];
@@ -19903,6 +19971,7 @@ export declare type VirtualAgentIntentRuleProjection = Node & {
19903
19971
  id: Scalars['ID'];
19904
19972
  isEnabled: Scalars['Boolean'];
19905
19973
  intentProjection?: Maybe<VirtualAgentIntentProjectionResult>;
19974
+ flowJsonRepresentation?: Maybe<Scalars['String']>;
19906
19975
  };
19907
19976
  export declare type VirtualAgentIntentRuleProjectionEdge = {
19908
19977
  __typename?: 'VirtualAgentIntentRuleProjectionEdge';