@forge/cli-shared 8.1.0-next.7-experimental-effab31 → 8.1.0-next.8-experimental-05d33ea

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,9 +1,10 @@
1
1
  # @forge/cli-shared
2
2
 
3
- ## 8.1.0-next.7-experimental-effab31
3
+ ## 8.1.0-next.8-experimental-05d33ea
4
4
 
5
5
  ### Minor Changes
6
6
 
7
+ - 05d33ea: Upgraded archiver from 6.0.2 to 7.0.1, changed to ref @atlassian/atlassian-openapi, bumped get-folder-size from 2.0.1 to 5.0.0
7
8
  - effab31: Bumped cheerio from 0.22 to 1.1
8
9
  - 620aea7: Added support for Dashboards context for app creation
9
10
 
@@ -18,12 +19,21 @@
18
19
  - Updated dependencies [b9574d4]
19
20
  - Updated dependencies [195411c]
20
21
  - Updated dependencies [d97a252]
22
+ - Updated dependencies [46daa27]
21
23
  - Updated dependencies [1479d2d]
22
24
  - Updated dependencies [ca7e661]
23
25
  - Updated dependencies [5ab2c49]
24
- - @forge/manifest@10.0.1-next.7-experimental-effab31
25
- - @forge/i18n@0.0.7-next.0-experimental-effab31
26
- - @forge/util@1.4.10-next.0-experimental-effab31
26
+ - Updated dependencies [609f68b]
27
+ - @forge/manifest@10.1.0-next.8-experimental-05d33ea
28
+ - @forge/i18n@0.0.7-next.0-experimental-05d33ea
29
+ - @forge/util@1.4.10-next.0-experimental-05d33ea
30
+
31
+ ## 8.1.0-next.8
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies [46daa27]
36
+ - @forge/manifest@10.1.0-next.8
27
37
 
28
38
  ## 8.1.0-next.7
29
39
 
@@ -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,MAA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_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) {
@@ -3300,6 +3300,7 @@ export declare type AtlassianStudioUserProductPermissions = {
3300
3300
  export declare type AtlassianStudioUserSiteContextOutput = {
3301
3301
  __typename?: 'AtlassianStudioUserSiteContextOutput';
3302
3302
  isAIEnabledForVirtualAgents?: Maybe<Scalars['Boolean']['output']>;
3303
+ isAIEnabledOnAnyActiveProducts?: Maybe<Scalars['Boolean']['output']>;
3303
3304
  isAssetsEnabled?: Maybe<Scalars['Boolean']['output']>;
3304
3305
  isCompanyHubAvailable?: Maybe<Scalars['Boolean']['output']>;
3305
3306
  isConfluenceAutomationAvailable?: Maybe<Scalars['Boolean']['output']>;
@@ -3308,6 +3309,7 @@ export declare type AtlassianStudioUserSiteContextOutput = {
3308
3309
  isJSMAutomationAvailable?: Maybe<Scalars['Boolean']['output']>;
3309
3310
  isJSMEditionPremiumOrEnterprise?: Maybe<Scalars['Boolean']['output']>;
3310
3311
  isJiraAutomationAvailable?: Maybe<Scalars['Boolean']['output']>;
3312
+ isRovoEnabled?: Maybe<Scalars['Boolean']['output']>;
3311
3313
  isVirtualAgentsAvailable?: Maybe<Scalars['Boolean']['output']>;
3312
3314
  userPermissions?: Maybe<AtlassianStudioUserProductPermissions>;
3313
3315
  };
@@ -47718,7 +47720,7 @@ export declare type GraphStoreSimplifiedUserTrashedConfluenceContentInverseEdge
47718
47720
  node?: Maybe<GraphStoreSimplifiedUserTrashedConfluenceContentInverseUnion>;
47719
47721
  };
47720
47722
  export declare type GraphStoreSimplifiedUserTrashedConfluenceContentInverseUnion = AppUser | AtlassianAccountUser | CustomerUser;
47721
- export declare type GraphStoreSimplifiedUserTrashedConfluenceContentUnion = ConfluenceBlogPost | ConfluenceFolder | ConfluencePage | ConfluenceWhiteboard;
47723
+ export declare type GraphStoreSimplifiedUserTrashedConfluenceContentUnion = ConfluenceSpace;
47722
47724
  export declare type GraphStoreSimplifiedUserTriggeredDeploymentConnection = HasPageInfo & {
47723
47725
  __typename?: 'GraphStoreSimplifiedUserTriggeredDeploymentConnection';
47724
47726
  edges?: Maybe<Array<Maybe<GraphStoreSimplifiedUserTriggeredDeploymentEdge>>>;
@@ -51285,6 +51287,7 @@ export declare type HelpLayoutHeroElement = HelpLayoutVisualEntity & Node & {
51285
51287
  hideTitle?: Maybe<Scalars['Boolean']['output']>;
51286
51288
  homePageTitle?: Maybe<Scalars['String']['output']>;
51287
51289
  id: Scalars['ID']['output'];
51290
+ showCSMAISearchTrigger?: Maybe<Scalars['Boolean']['output']>;
51288
51291
  useGlobalSettings?: Maybe<Scalars['Boolean']['output']>;
51289
51292
  userLanguageTag?: Maybe<Scalars['String']['output']>;
51290
51293
  visualConfig?: Maybe<HelpLayoutVisualConfig>;
@@ -56000,6 +56003,14 @@ export declare type JiraCreateIssueSearchFormattingRulePayload = {
56000
56003
  errors?: Maybe<Array<MutationError>>;
56001
56004
  success: Scalars['Boolean']['output'];
56002
56005
  };
56006
+ export declare type JiraCreateIssueTypeInput = {
56007
+ avatarId: Scalars['String']['input'];
56008
+ cloudId: Scalars['ID']['input'];
56009
+ description: Scalars['String']['input'];
56010
+ hierarchyLevel: Scalars['Int']['input'];
56011
+ name: Scalars['String']['input'];
56012
+ projectId?: InputMaybe<Scalars['ID']['input']>;
56013
+ };
56003
56014
  export declare type JiraCreateJourneyConfigurationInput = {
56004
56015
  createActivityConfigurations?: InputMaybe<Array<InputMaybe<JiraCreateActivityConfigurationInput>>>;
56005
56016
  name: Scalars['String']['input'];
@@ -56498,6 +56509,16 @@ export declare type JiraDeleteIssueLinkPayload = Payload & {
56498
56509
  issueLinkId?: Maybe<Scalars['ID']['output']>;
56499
56510
  success: Scalars['Boolean']['output'];
56500
56511
  };
56512
+ export declare type JiraDeleteIssueSearchFormattingRuleInput = {
56513
+ ruleId: Scalars['ID']['input'];
56514
+ viewId: Scalars['ID']['input'];
56515
+ };
56516
+ export declare type JiraDeleteIssueSearchFormattingRulePayload = {
56517
+ __typename?: 'JiraDeleteIssueSearchFormattingRulePayload';
56518
+ deletedRuleId?: Maybe<Scalars['ID']['output']>;
56519
+ errors?: Maybe<Array<MutationError>>;
56520
+ success: Scalars['Boolean']['output'];
56521
+ };
56501
56522
  export declare type JiraDeleteJourneyItemInput = {
56502
56523
  etag?: InputMaybe<Scalars['String']['input']>;
56503
56524
  itemId: Scalars['ID']['input'];
@@ -69855,6 +69876,19 @@ export declare type JiraUpdateIssueLinkRelationshipTypeFieldPayload = Payload &
69855
69876
  field?: Maybe<JiraIssueLinkRelationshipTypeField>;
69856
69877
  success: Scalars['Boolean']['output'];
69857
69878
  };
69879
+ export declare type JiraUpdateIssueSearchFormattingRuleInput = {
69880
+ expression?: InputMaybe<JiraFormattingRuleExpressionInput>;
69881
+ formatType?: InputMaybe<JiraFormattingArea>;
69882
+ formattingColor?: InputMaybe<JiraColorInput>;
69883
+ ruleId: Scalars['ID']['input'];
69884
+ viewId: Scalars['ID']['input'];
69885
+ };
69886
+ export declare type JiraUpdateIssueSearchFormattingRulePayload = {
69887
+ __typename?: 'JiraUpdateIssueSearchFormattingRulePayload';
69888
+ errors?: Maybe<Array<MutationError>>;
69889
+ success: Scalars['Boolean']['output'];
69890
+ updatedRule?: Maybe<JiraFormattingRule>;
69891
+ };
69858
69892
  export declare type JiraUpdateIssueTransitionInput = {
69859
69893
  comment?: InputMaybe<JiraIssueTransitionCommentInput>;
69860
69894
  fieldInputs?: InputMaybe<JiraIssueTransitionFieldLevelInput>;
@@ -70180,6 +70214,12 @@ export declare type JiraUpdateWorklogFieldInputForIssueTransitions = {
70180
70214
  id: Scalars['ID']['input'];
70181
70215
  operation: JiraWorklogFieldOperationInputForIssueTransitions;
70182
70216
  };
70217
+ export declare type JiraUpsertIssueTypePayload = Payload & {
70218
+ __typename?: 'JiraUpsertIssueTypePayload';
70219
+ errors?: Maybe<Array<MutationError>>;
70220
+ issueType?: Maybe<JiraIssueType>;
70221
+ success: Scalars['Boolean']['output'];
70222
+ };
70183
70223
  export declare type JiraUrlField = JiraIssueField & JiraIssueFieldConfiguration & JiraUserIssueFieldConfiguration & Node & {
70184
70224
  __typename?: 'JiraUrlField';
70185
70225
  aliasFieldId?: Maybe<Scalars['ID']['output']>;
@@ -79396,9 +79436,11 @@ export declare type Mutation = {
79396
79436
  jira_createFieldScheme?: Maybe<JiraFieldSchemePayload>;
79397
79437
  jira_createGlobalCustomField?: Maybe<JiraCreateGlobalCustomFieldPayload>;
79398
79438
  jira_createIssueSearchFormattingRule?: Maybe<JiraCreateIssueSearchFormattingRulePayload>;
79439
+ jira_createIssueType?: Maybe<JiraUpsertIssueTypePayload>;
79399
79440
  jira_deleteBoardViewStatusColumn?: Maybe<JiraDeleteBoardViewStatusColumnPayload>;
79400
79441
  jira_deleteCustomBackground?: Maybe<JiraProjectDeleteCustomBackgroundMutationPayload>;
79401
79442
  jira_deleteFieldScheme?: Maybe<JiraDeleteFieldSchemePayload>;
79443
+ jira_deleteIssueSearchFormattingRule?: Maybe<JiraDeleteIssueSearchFormattingRulePayload>;
79402
79444
  jira_discardUserBoardViewConfig?: Maybe<JiraDiscardUserBoardViewConfigPayload>;
79403
79445
  jira_discardUserIssueSearchConfig?: Maybe<JiraDiscardUserIssueSearchConfigPayload>;
79404
79446
  jira_editFieldScheme?: Maybe<JiraFieldSchemePayload>;
@@ -79432,6 +79474,7 @@ export declare type Mutation = {
79432
79474
  jira_trashGlobalCustomFields?: Maybe<JiraTrashGlobalCustomFieldsPayload>;
79433
79475
  jira_updateFieldToFieldConfigSchemeAssociations?: Maybe<JiraFieldToFieldConfigSchemeAssociationsPayload>;
79434
79476
  jira_updateGlobalCustomField?: Maybe<JiraUpdateGlobalCustomFieldPayload>;
79477
+ jira_updateIssueSearchFormattingRule?: Maybe<JiraUpdateIssueSearchFormattingRulePayload>;
79435
79478
  jira_updateProjectBackground?: Maybe<JiraProjectUpdateBackgroundMutationPayload>;
79436
79479
  jira_updateProjectsSidebarMenu?: Maybe<JiraProjectsSidebarMenu>;
79437
79480
  jsmChat?: Maybe<JsmChatMutation>;
@@ -80522,6 +80565,9 @@ export declare type MutationJira_CreateGlobalCustomFieldArgs = {
80522
80565
  export declare type MutationJira_CreateIssueSearchFormattingRuleArgs = {
80523
80566
  input: JiraCreateIssueSearchFormattingRuleInput;
80524
80567
  };
80568
+ export declare type MutationJira_CreateIssueTypeArgs = {
80569
+ input: JiraCreateIssueTypeInput;
80570
+ };
80525
80571
  export declare type MutationJira_DeleteBoardViewStatusColumnArgs = {
80526
80572
  input: JiraDeleteBoardViewStatusColumnInput;
80527
80573
  };
@@ -80532,6 +80578,9 @@ export declare type MutationJira_DeleteFieldSchemeArgs = {
80532
80578
  cloudId: Scalars['ID']['input'];
80533
80579
  input: JiraDeleteFieldSchemeInput;
80534
80580
  };
80581
+ export declare type MutationJira_DeleteIssueSearchFormattingRuleArgs = {
80582
+ input: JiraDeleteIssueSearchFormattingRuleInput;
80583
+ };
80535
80584
  export declare type MutationJira_DiscardUserBoardViewConfigArgs = {
80536
80585
  input: JiraDiscardUserBoardViewConfigInput;
80537
80586
  };
@@ -80638,6 +80687,9 @@ export declare type MutationJira_UpdateGlobalCustomFieldArgs = {
80638
80687
  cloudId: Scalars['ID']['input'];
80639
80688
  input: JiraUpdateGlobalCustomFieldInput;
80640
80689
  };
80690
+ export declare type MutationJira_UpdateIssueSearchFormattingRuleArgs = {
80691
+ input: JiraUpdateIssueSearchFormattingRuleInput;
80692
+ };
80641
80693
  export declare type MutationJira_UpdateProjectBackgroundArgs = {
80642
80694
  input: JiraUpdateBackgroundInput;
80643
80695
  };
@@ -84532,6 +84584,7 @@ export declare type Query = {
84532
84584
  projects_byAris?: Maybe<Array<Maybe<TownsquareProject>>>;
84533
84585
  projects_byId?: Maybe<TownsquareProject>;
84534
84586
  projects_byIds?: Maybe<Array<Maybe<TownsquareProject>>>;
84587
+ projects_search?: Maybe<TownsquareProjectConnection>;
84535
84588
  projects_updatesByIds?: Maybe<Array<Maybe<TownsquareProjectUpdate>>>;
84536
84589
  ptpage?: Maybe<PtPage>;
84537
84590
  publicLinkInformation?: Maybe<PublicLinkInformation>;
@@ -86435,6 +86488,13 @@ export declare type QueryProjects_ByIdArgs = {
86435
86488
  export declare type QueryProjects_ByIdsArgs = {
86436
86489
  projectIds: Array<Scalars['String']['input']>;
86437
86490
  };
86491
+ export declare type QueryProjects_SearchArgs = {
86492
+ after?: InputMaybe<Scalars['String']['input']>;
86493
+ containerId: Scalars['String']['input'];
86494
+ first?: InputMaybe<Scalars['Int']['input']>;
86495
+ searchString: Scalars['String']['input'];
86496
+ sort?: InputMaybe<Array<InputMaybe<TownsquareProjectSortEnum>>>;
86497
+ };
86438
86498
  export declare type QueryProjects_UpdatesByIdsArgs = {
86439
86499
  projectUpdateIds: Array<Scalars['String']['input']>;
86440
86500
  };
@@ -89440,6 +89500,7 @@ export declare type SearchJiraFilter = {
89440
89500
  export declare type SearchJiraIssueFilter = {
89441
89501
  assigneeARIs?: InputMaybe<Array<Scalars['ID']['input']>>;
89442
89502
  commenterARIs?: InputMaybe<Array<Scalars['ID']['input']>>;
89503
+ issueLabels?: InputMaybe<Array<Scalars['ID']['input']>>;
89443
89504
  issueTypeIDs?: InputMaybe<Array<Scalars['ID']['input']>>;
89444
89505
  projectARIs?: InputMaybe<Array<Scalars['ID']['input']>>;
89445
89506
  reporterARIs?: InputMaybe<Array<Scalars['ID']['input']>>;
@@ -89791,6 +89852,17 @@ export declare type SearchResultJiraIssueStatusCategory = {
89791
89852
  key: Scalars['String']['output'];
89792
89853
  name: Scalars['String']['output'];
89793
89854
  };
89855
+ export declare type SearchResultJiraPlan = SearchResult & {
89856
+ __typename?: 'SearchResultJiraPlan';
89857
+ description: Scalars['String']['output'];
89858
+ iconUrl?: Maybe<Scalars['URL']['output']>;
89859
+ id: Scalars['ID']['output'];
89860
+ lastModifiedDate?: Maybe<Scalars['String']['output']>;
89861
+ scoreL2Ranker?: Maybe<Scalars['Float']['output']>;
89862
+ title: Scalars['String']['output'];
89863
+ type: SearchResultType;
89864
+ url: Scalars['URL']['output'];
89865
+ };
89794
89866
  export declare type SearchResultJiraProject = SearchResult & {
89795
89867
  __typename?: 'SearchResultJiraProject';
89796
89868
  canView: Scalars['Boolean']['output'];