@forge/cli-shared 8.1.1-next.0-experimental-981ff57 → 8.2.0-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.
package/CHANGELOG.md CHANGED
@@ -1,11 +1,17 @@
1
1
  # @forge/cli-shared
2
2
 
3
- ## 8.1.1-next.0-experimental-981ff57
3
+ ## 8.2.0-next.2
4
+
5
+ ### Minor Changes
6
+
7
+ - 05d33ea: Upgraded archiver from 6.0.2 to 7.0.1, moved atlassian-openapi to @atlassian/atlassian-openapi, bumped get-folder-size from 2.0.1 to 5.0.0
8
+
9
+ ## 8.1.1-next.1
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - Updated dependencies [e029de1]
8
- - @forge/manifest@10.1.1-next.0-experimental-981ff57
13
+ - Updated dependencies [7abca30]
14
+ - @forge/util@2.0.0-next.0
9
15
 
10
16
  ## 8.1.1-next.0
11
17
 
@@ -1 +1 @@
1
- {"version":3,"file":"file-system-reader.d.ts","sourceRoot":"","sources":["../../src/file-system/file-system-reader.ts"],"names":[],"mappings":";;;AAAA,OAAO,EAA4B,MAAM,IAAI,CAAC;AAW9C,aAAK,cAAc,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,OAAO,CAAC;AAEjE,qBAAa,gBAAgB;IACpB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAIrC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQxC,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAS5D,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,CAAC,MAAM,GAAG,cAAc,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAgBtG,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAiB,EAAE,EAAE;QA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AgBtG,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAiB,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAmB3G,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO;IAI7C,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQ9C,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IASxE,gBAAgB,IAAI,MAAM;IAI1B,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM;IAO3C,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQvC,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAU/E,OAAO,CAAC,eAAe;IAQV,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;CAIpE"}
@@ -8,7 +8,6 @@ const os_1 = require("os");
8
8
  const path_1 = tslib_1.__importStar(require("path"));
9
9
  const util_1 = require("util");
10
10
  const recursive_readdir_1 = tslib_1.__importDefault(require("recursive-readdir"));
11
- const get_folder_size_1 = tslib_1.__importDefault(require("get-folder-size"));
12
11
  const shared_1 = require("../shared");
13
12
  const FILE_NOT_FOUND_CODE = 'ENOENT';
14
13
  class FileSystemReader {
@@ -97,14 +96,12 @@ class FileSystemReader {
97
96
  }
98
97
  }
99
98
  async getFolderSizeAsync(directory) {
100
- return new Promise((resolve) => {
101
- (0, get_folder_size_1.default)(directory, (err, size) => {
102
- if (err) {
103
- resolve(undefined);
104
- }
105
- return resolve(size);
106
- });
107
- });
99
+ const getFolderSize = (await import('get-folder-size')).default;
100
+ const result = await getFolderSize(directory);
101
+ if (result.errors) {
102
+ return undefined;
103
+ }
104
+ return result.size;
108
105
  }
109
106
  handleFileError(error) {
110
107
  if (error && error.code === FILE_NOT_FOUND_CODE) {
@@ -6221,6 +6221,22 @@ export declare type CollabTokenResponse = {
6221
6221
  __typename?: 'CollabTokenResponse';
6222
6222
  token: Scalars['String']['output'];
6223
6223
  };
6224
+ export declare type CollaborationGraphRecommendationResult = {
6225
+ __typename?: 'CollaborationGraphRecommendationResult';
6226
+ id: Scalars['ID']['output'];
6227
+ score: Scalars['Float']['output'];
6228
+ };
6229
+ export declare type CollaborationGraphRecommendationResults = {
6230
+ __typename?: 'CollaborationGraphRecommendationResults';
6231
+ nodes: Array<CollaborationGraphRecommendationResult>;
6232
+ totalCount: Scalars['Int']['output'];
6233
+ };
6234
+ export declare type CollaborationGraphRequestContext = {
6235
+ containerId?: InputMaybe<Scalars['String']['input']>;
6236
+ objectId?: InputMaybe<Scalars['String']['input']>;
6237
+ product?: InputMaybe<Scalars['String']['input']>;
6238
+ toPrivacySafeString?: InputMaybe<Scalars['String']['input']>;
6239
+ };
6224
6240
  export declare type Column = {
6225
6241
  __typename?: 'Column';
6226
6242
  cards: Array<Maybe<SoftwareCard>>;
@@ -34224,7 +34240,7 @@ export declare type GraphStoreBatchContentReferencedEntityEndNode = {
34224
34240
  data?: Maybe<GraphStoreBatchContentReferencedEntityEndUnion>;
34225
34241
  id: Scalars['ID']['output'];
34226
34242
  };
34227
- export declare type GraphStoreBatchContentReferencedEntityEndUnion = CompassComponent | ConfluenceBlogPost | ConfluencePage | JiraIssue;
34243
+ export declare type GraphStoreBatchContentReferencedEntityEndUnion = CompassComponent | ConfluenceBlogPost | ConfluencePage | JiraIssue | LoomSpace | LoomVideo;
34228
34244
  export declare type GraphStoreBatchContentReferencedEntityInnerConnection = {
34229
34245
  __typename?: 'GraphStoreBatchContentReferencedEntityInnerConnection';
34230
34246
  edges: Array<Maybe<GraphStoreBatchContentReferencedEntityInnerEdge>>;
@@ -36372,7 +36388,7 @@ export declare type GraphStoreFullContentReferencedEntityEndNode = {
36372
36388
  data?: Maybe<GraphStoreFullContentReferencedEntityEndUnion>;
36373
36389
  id: Scalars['ID']['output'];
36374
36390
  };
36375
- export declare type GraphStoreFullContentReferencedEntityEndUnion = CompassComponent | ConfluenceBlogPost | ConfluencePage | JiraIssue;
36391
+ export declare type GraphStoreFullContentReferencedEntityEndUnion = CompassComponent | ConfluenceBlogPost | ConfluencePage | JiraIssue | LoomSpace | LoomVideo;
36376
36392
  export declare type GraphStoreFullContentReferencedEntityNode = Node & {
36377
36393
  __typename?: 'GraphStoreFullContentReferencedEntityNode';
36378
36394
  createdAt: Scalars['DateTime']['output'];
@@ -41840,7 +41856,7 @@ export declare type GraphStoreSimplifiedContentReferencedEntityInverseEdge = {
41840
41856
  node?: Maybe<GraphStoreSimplifiedContentReferencedEntityInverseUnion>;
41841
41857
  };
41842
41858
  export declare type GraphStoreSimplifiedContentReferencedEntityInverseUnion = ConfluenceBlogPost | ConfluencePage | DeploymentSummary | DevOpsPullRequestDetails | DevOpsRepository | DevOpsSecurityVulnerabilityDetails | ExternalBranch | ExternalBuildInfo | ExternalComment | ExternalCommit | ExternalDeployment | ExternalPullRequest | ExternalRepository | ExternalVulnerability | JiraIssue | JiraPlatformComment | JiraServiceManagementComment;
41843
- export declare type GraphStoreSimplifiedContentReferencedEntityUnion = CompassComponent | ConfluenceBlogPost | ConfluencePage | JiraIssue;
41859
+ export declare type GraphStoreSimplifiedContentReferencedEntityUnion = CompassComponent | ConfluenceBlogPost | ConfluencePage | JiraIssue | LoomSpace | LoomVideo;
41844
41860
  export declare type GraphStoreSimplifiedConversationHasMessageConnection = HasPageInfo & {
41845
41861
  __typename?: 'GraphStoreSimplifiedConversationHasMessageConnection';
41846
41862
  edges?: Maybe<Array<Maybe<GraphStoreSimplifiedConversationHasMessageEdge>>>;
@@ -50649,7 +50665,7 @@ export declare type HelpCenterPageUpdatePayload = Payload & {
50649
50665
  success: Scalars['Boolean']['output'];
50650
50666
  };
50651
50667
  export declare type HelpCenterPagesFilter = {
50652
- ids?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
50668
+ ids: Array<Scalars['ID']['input']>;
50653
50669
  };
50654
50670
  export declare type HelpCenterPermissionSettings = {
50655
50671
  __typename?: 'HelpCenterPermissionSettings';
@@ -51441,15 +51457,11 @@ export declare type HelpLayoutMediaConfig = {
51441
51457
  export declare type HelpLayoutMutationApi = {
51442
51458
  __typename?: 'HelpLayoutMutationApi';
51443
51459
  createLayout: HelpLayoutCreatePayload;
51444
- deleteLayout?: Maybe<Payload>;
51445
51460
  updateLayout: HelpLayoutUpdatePayload;
51446
51461
  };
51447
51462
  export declare type HelpLayoutMutationApiCreateLayoutArgs = {
51448
51463
  input: HelpLayoutCreationInput;
51449
51464
  };
51450
- export declare type HelpLayoutMutationApiDeleteLayoutArgs = {
51451
- layoutId: Scalars['ID']['input'];
51452
- };
51453
51465
  export declare type HelpLayoutMutationApiUpdateLayoutArgs = {
51454
51466
  input: HelpLayoutUpdateInput;
51455
51467
  };
@@ -52565,6 +52577,17 @@ export declare type InstallationContext = {
52565
52577
  installationContext: Scalars['ID']['output'];
52566
52578
  tenantContext?: Maybe<TenantContext>;
52567
52579
  };
52580
+ export declare type InstallationContextWithInstallationIdInput = {
52581
+ contextAri: Scalars['String']['input'];
52582
+ envType: AppEnvironmentType;
52583
+ installationId: Scalars['String']['input'];
52584
+ };
52585
+ export declare type InstallationContextWithInstallationIdResponse = {
52586
+ __typename?: 'InstallationContextWithInstallationIdResponse';
52587
+ envType: AppEnvironmentType;
52588
+ installationContext: Scalars['ID']['output'];
52589
+ installationId: Scalars['ID']['output'];
52590
+ };
52568
52591
  export declare type InstallationContextWithLogAccess = {
52569
52592
  __typename?: 'InstallationContextWithLogAccess';
52570
52593
  installationContext: Scalars['ID']['output'];
@@ -58590,6 +58613,7 @@ export declare type JiraIssue = HasMercuryProjectFields & JiraScenarioIssueLike
58590
58613
  lastViewedTimestamp?: Maybe<Scalars['Long']['output']>;
58591
58614
  legacyContentPanels?: Maybe<JiraIssueContentPanelConnection>;
58592
58615
  lifecycleState?: Maybe<JiraIssueLifecycleState>;
58616
+ linkedCommits?: Maybe<JiraIssueCommits>;
58593
58617
  linkedPullRequests?: Maybe<JiraIssuePullRequests>;
58594
58618
  matchesIssueSearch?: Maybe<Scalars['Boolean']['output']>;
58595
58619
  mediaReadToken?: Maybe<JiraMediaReadToken>;
@@ -58777,6 +58801,9 @@ export declare type JiraIssueLegacyContentPanelsArgs = {
58777
58801
  first?: InputMaybe<Scalars['Int']['input']>;
58778
58802
  last?: InputMaybe<Scalars['Int']['input']>;
58779
58803
  };
58804
+ export declare type JiraIssueLinkedCommitsArgs = {
58805
+ input?: InputMaybe<JiraIssueCommitsInput>;
58806
+ };
58780
58807
  export declare type JiraIssueLinkedPullRequestsArgs = {
58781
58808
  input?: InputMaybe<JiraIssuePullRequestsInput>;
58782
58809
  };
@@ -58969,6 +58996,9 @@ export declare type JiraIssueCommits = {
58969
58996
  configErrors?: Maybe<Array<JiraDevInfoConfigError>>;
58970
58997
  details?: Maybe<Array<JiraDevOpsCommitDetails>>;
58971
58998
  };
58999
+ export declare type JiraIssueCommitsInput = {
59000
+ filterLegacy?: InputMaybe<Scalars['Boolean']['input']>;
59001
+ };
58972
59002
  export declare type JiraIssueConnection = {
58973
59003
  __typename?: 'JiraIssueConnection';
58974
59004
  edges?: Maybe<Array<Maybe<JiraIssueEdge>>>;
@@ -79205,6 +79235,10 @@ export declare enum MobilePlatform {
79205
79235
  Android = "ANDROID",
79206
79236
  Ios = "IOS"
79207
79237
  }
79238
+ export declare type ModelRequestParams = {
79239
+ caller: Scalars['String']['input'];
79240
+ experience: Scalars['String']['input'];
79241
+ };
79208
79242
  export declare type ModuleCompleteKey = {
79209
79243
  __typename?: 'ModuleCompleteKey';
79210
79244
  moduleKey?: Maybe<Scalars['String']['output']>;
@@ -84391,6 +84425,7 @@ export declare type Query = {
84391
84425
  contentVersionHistory?: Maybe<ContentVersionHistoryConnection>;
84392
84426
  contentWatchers?: Maybe<PaginatedPersonList>;
84393
84427
  contributorsLinkedToAtlasProject?: Maybe<GraphStoreCypherQueryConnection>;
84428
+ contributorsLinkedToConfluencePage?: Maybe<GraphStoreCypherQueryConnection>;
84394
84429
  convoai_jiraEchoAiFeature?: Maybe<Scalars['String']['output']>;
84395
84430
  convoai_jiraRelatedResourcesSuggestions?: Maybe<ConvoAiJiraIssueRelatedResourcesResult>;
84396
84431
  convoai_jiraSimilarWorkItems?: Maybe<ConvoAiJiraSimilarWorkItemsConnection>;
@@ -84576,6 +84611,7 @@ export declare type Query = {
84576
84611
  latestKnowledgeGraphObject?: Maybe<KnowledgeGraphObjectResponse>;
84577
84612
  license?: Maybe<License>;
84578
84613
  localStorage?: Maybe<LocalStorage>;
84614
+ logAccessByContexts?: Maybe<Array<InstallationContextWithInstallationIdResponse>>;
84579
84615
  lookAndFeel?: Maybe<LookAndFeelSettings>;
84580
84616
  loomToken?: Maybe<LoomToken>;
84581
84617
  loomUserStatus?: Maybe<LoomUserStatus>;
@@ -84624,6 +84660,7 @@ export declare type Query = {
84624
84660
  notesByCreator?: Maybe<NoteConnection>;
84625
84661
  notifications?: Maybe<InfluentsNotificationQuery>;
84626
84662
  oauthClients?: Maybe<OAuthClientsQuery>;
84663
+ objectRecommendations?: Maybe<CollaborationGraphRecommendationResults>;
84627
84664
  onboardingState?: Maybe<Array<OnboardingState>>;
84628
84665
  opsgenie?: Maybe<OpsgenieQuery>;
84629
84666
  opsgenieTeamRelationshipForDevOpsService?: Maybe<DevOpsServiceAndOpsgenieTeamRelationship>;
@@ -85598,6 +85635,11 @@ export declare type QueryContributorsLinkedToAtlasProjectArgs = {
85598
85635
  first?: InputMaybe<Scalars['Int']['input']>;
85599
85636
  projectId: Scalars['ID']['input'];
85600
85637
  };
85638
+ export declare type QueryContributorsLinkedToConfluencePageArgs = {
85639
+ after?: InputMaybe<Scalars['String']['input']>;
85640
+ first?: InputMaybe<Scalars['Int']['input']>;
85641
+ pageId: Scalars['ID']['input'];
85642
+ };
85601
85643
  export declare type QueryConvoai_JiraEchoAiFeatureArgs = {
85602
85644
  cloudId?: InputMaybe<Scalars['ID']['input']>;
85603
85645
  text?: InputMaybe<Scalars['String']['input']>;
@@ -86268,6 +86310,10 @@ export declare type QueryLatestKnowledgeGraphObjectArgs = {
86268
86310
  objectType: KnowledgeGraphObjectType;
86269
86311
  objectVersion?: Scalars['String']['input'];
86270
86312
  };
86313
+ export declare type QueryLogAccessByContextsArgs = {
86314
+ appId: Scalars['ID']['input'];
86315
+ contextInstallationPairs: Array<InstallationContextWithInstallationIdInput>;
86316
+ };
86271
86317
  export declare type QueryLookAndFeelArgs = {
86272
86318
  spaceKey?: InputMaybe<Scalars['String']['input']>;
86273
86319
  };
@@ -86396,6 +86442,11 @@ export declare type QueryNodeArgs = {
86396
86442
  export declare type QueryNotesByCreatorArgs = {
86397
86443
  input?: InputMaybe<NotesByCreatorInput>;
86398
86444
  };
86445
+ export declare type QueryObjectRecommendationsArgs = {
86446
+ context: CollaborationGraphRequestContext;
86447
+ maxNumberOfResults?: InputMaybe<Scalars['Int']['input']>;
86448
+ modelRequestParams: ModelRequestParams;
86449
+ };
86399
86450
  export declare type QueryOnboardingStateArgs = {
86400
86451
  key?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
86401
86452
  };
@@ -87411,7 +87462,6 @@ export declare type RadarFunction = {
87411
87462
  operators: Array<RadarFilterOperators>;
87412
87463
  };
87413
87464
  export declare enum RadarFunctionId {
87414
- Haschild = "HASCHILD",
87415
87465
  Under = "UNDER"
87416
87466
  }
87417
87467
  export declare type RadarGroupMetrics = {
@@ -90113,6 +90163,7 @@ export declare type SearchThirdPartyFilter = {
90113
90163
  assignees?: InputMaybe<Array<Scalars['String']['input']>>;
90114
90164
  containerAris?: InputMaybe<Array<Scalars['String']['input']>>;
90115
90165
  containerNames?: InputMaybe<Array<Scalars['String']['input']>>;
90166
+ containerTypes?: InputMaybe<Array<Scalars['String']['input']>>;
90116
90167
  createdBy?: InputMaybe<Array<Scalars['String']['input']>>;
90117
90168
  excludeSubtypes?: InputMaybe<Array<Scalars['String']['input']>>;
90118
90169
  integrations?: InputMaybe<Array<Scalars['ID']['input']>>;
@@ -96688,6 +96739,7 @@ export declare type TrelloCard = Node & {
96688
96739
  customFieldItems?: Maybe<TrelloCustomFieldItemConnection>;
96689
96740
  description?: Maybe<TrelloUserGeneratedText>;
96690
96741
  due?: Maybe<TrelloCardDueInfo>;
96742
+ email?: Maybe<Scalars['String']['output']>;
96691
96743
  id: Scalars['ID']['output'];
96692
96744
  isTemplate?: Maybe<Scalars['Boolean']['output']>;
96693
96745
  labels?: Maybe<TrelloLabelConnection>;
@@ -97019,6 +97071,7 @@ export declare type TrelloCardUpdated = {
97019
97071
  customFieldItems?: Maybe<TrelloCustomFieldItemUpdatedConnection>;
97020
97072
  description?: Maybe<TrelloUserGeneratedText>;
97021
97073
  due?: Maybe<TrelloCardDueInfo>;
97074
+ email?: Maybe<Scalars['String']['output']>;
97022
97075
  id: Scalars['ID']['output'];
97023
97076
  isTemplate?: Maybe<Scalars['Boolean']['output']>;
97024
97077
  labels?: Maybe<TrelloLabelUpdatedConnection>;
@@ -97328,6 +97381,7 @@ export declare type TrelloCreateOAuth2ApplicationInput = {
97328
97381
  author: Scalars['String']['input'];
97329
97382
  email: Scalars['String']['input'];
97330
97383
  iframeUrl?: InputMaybe<Scalars['URL']['input']>;
97384
+ locale?: InputMaybe<Scalars['String']['input']>;
97331
97385
  name: Scalars['String']['input'];
97332
97386
  supportContact: Scalars['String']['input'];
97333
97387
  workspaceId: Scalars['ID']['input'];