@forge/cli-shared 8.2.0-next.5-experimental-255e232 → 8.2.0-next.7

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,20 +1,17 @@
1
1
  # @forge/cli-shared
2
2
 
3
- ## 8.2.0-next.5-experimental-255e232
3
+ ## 8.2.0-next.7
4
4
 
5
- ### Minor Changes
5
+ ### Patch Changes
6
6
 
7
- - adb270d: 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
- - d544fc6: separate 2 options license-modes and users-with-access
7
+ - Updated dependencies [5069c3c]
8
+ - @forge/manifest@10.1.1-next.1
9
+
10
+ ## 8.2.0-next.6
9
11
 
10
12
  ### Patch Changes
11
13
 
12
- - a26c603: revert package upgrades
13
- - 73f3108: Add tip about variables only changing after deployment
14
- - Updated dependencies [7abca30]
15
- - Updated dependencies [e029de1]
16
- - @forge/util@2.0.0-next.0-experimental-255e232
17
- - @forge/manifest@10.1.1-next.0-experimental-255e232
14
+ - e118b07: Remove remnants of sandbox runtime
18
15
 
19
16
  ## 8.2.0-next.5
20
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;AAU9C,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,gBAAg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AAM,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;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;IAW/E,OAAO,CAAC,eAAe;IAQV,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;CAIpE"}
@@ -8,6 +8,7 @@ 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"));
11
12
  const shared_1 = require("../shared");
12
13
  const FILE_NOT_FOUND_CODE = 'ENOENT';
13
14
  class FileSystemReader {
@@ -96,12 +97,14 @@ class FileSystemReader {
96
97
  }
97
98
  }
98
99
  async getFolderSizeAsync(directory) {
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;
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
+ });
105
108
  }
106
109
  handleFileError(error) {
107
110
  if (error && error.code === FILE_NOT_FOUND_CODE) {
@@ -3128,6 +3128,14 @@ export declare type ArjHierarchyConfigurationLevel = {
3128
3128
  issueTypes?: Maybe<Array<Scalars['String']['output']>>;
3129
3129
  title: Scalars['String']['output'];
3130
3130
  };
3131
+ export declare type AssetsAvatar = {
3132
+ __typename?: 'AssetsAvatar';
3133
+ url16?: Maybe<Scalars['String']['output']>;
3134
+ url48?: Maybe<Scalars['String']['output']>;
3135
+ url72?: Maybe<Scalars['String']['output']>;
3136
+ url144?: Maybe<Scalars['String']['output']>;
3137
+ url288?: Maybe<Scalars['String']['output']>;
3138
+ };
3131
3139
  export declare type AssetsDmAdapter = {
3132
3140
  __typename?: 'AssetsDMAdapter';
3133
3141
  dataSourceType?: Maybe<Scalars['String']['output']>;
@@ -3241,6 +3249,39 @@ export declare enum AssetsDmObjectClassEnum {
3241
3249
  Peripherals = "Peripherals",
3242
3250
  Software = "Software"
3243
3251
  }
3252
+ export declare type AssetsIcon = {
3253
+ __typename?: 'AssetsIcon';
3254
+ id?: Maybe<Scalars['String']['output']>;
3255
+ url16?: Maybe<Scalars['String']['output']>;
3256
+ url48?: Maybe<Scalars['String']['output']>;
3257
+ };
3258
+ export declare type AssetsObject = {
3259
+ __typename?: 'AssetsObject';
3260
+ avatar?: Maybe<AssetsAvatar>;
3261
+ created?: Maybe<Scalars['DateTime']['output']>;
3262
+ id: Scalars['ID']['output'];
3263
+ label?: Maybe<Scalars['String']['output']>;
3264
+ objectKey?: Maybe<Scalars['String']['output']>;
3265
+ objectType?: Maybe<AssetsObjectType>;
3266
+ updated?: Maybe<Scalars['DateTime']['output']>;
3267
+ };
3268
+ export declare type AssetsObjectType = {
3269
+ __typename?: 'AssetsObjectType';
3270
+ created?: Maybe<Scalars['DateTime']['output']>;
3271
+ icon?: Maybe<AssetsIcon>;
3272
+ id: Scalars['ID']['output'];
3273
+ name?: Maybe<Scalars['String']['output']>;
3274
+ schema?: Maybe<AssetsSchema>;
3275
+ updated?: Maybe<Scalars['DateTime']['output']>;
3276
+ };
3277
+ export declare type AssetsSchema = {
3278
+ __typename?: 'AssetsSchema';
3279
+ created?: Maybe<Scalars['DateTime']['output']>;
3280
+ id: Scalars['ID']['output'];
3281
+ key?: Maybe<Scalars['String']['output']>;
3282
+ name?: Maybe<Scalars['String']['output']>;
3283
+ updated?: Maybe<Scalars['DateTime']['output']>;
3284
+ };
3244
3285
  export declare type AssignIssueParentInput = {
3245
3286
  boardId: Scalars['ID']['input'];
3246
3287
  issueIds: Array<Scalars['ID']['input']>;
@@ -54394,6 +54435,7 @@ export declare type JiraBoardView = {
54394
54435
  groupByOptions?: Maybe<Array<JiraViewGroupByConfig>>;
54395
54436
  id: Scalars['ID']['output'];
54396
54437
  isViewConfigModified?: Maybe<Scalars['Boolean']['output']>;
54438
+ layout?: Maybe<JiraBoardViewLayout>;
54397
54439
  selectedWorkflowId?: Maybe<Scalars['ID']['output']>;
54398
54440
  unmappedStatuses?: Maybe<JiraBoardViewStatusConnection>;
54399
54441
  };
@@ -54453,6 +54495,27 @@ export declare type JiraBoardViewCategoryColumn = JiraBoardViewColumn & {
54453
54495
  collapsed?: Maybe<Scalars['Boolean']['output']>;
54454
54496
  id: Scalars['ID']['output'];
54455
54497
  };
54498
+ export declare type JiraBoardViewCell = {
54499
+ __typename?: 'JiraBoardViewCell';
54500
+ column?: Maybe<JiraBoardViewColumn>;
54501
+ id: Scalars['ID']['output'];
54502
+ issues?: Maybe<JiraIssueConnection>;
54503
+ };
54504
+ export declare type JiraBoardViewCellIssuesArgs = {
54505
+ after?: InputMaybe<Scalars['String']['input']>;
54506
+ first?: InputMaybe<Scalars['Int']['input']>;
54507
+ };
54508
+ export declare type JiraBoardViewCellConnection = {
54509
+ __typename?: 'JiraBoardViewCellConnection';
54510
+ edges?: Maybe<Array<Maybe<JiraBoardViewCellEdge>>>;
54511
+ errors?: Maybe<Array<QueryError>>;
54512
+ pageInfo?: Maybe<PageInfo>;
54513
+ };
54514
+ export declare type JiraBoardViewCellEdge = {
54515
+ __typename?: 'JiraBoardViewCellEdge';
54516
+ cursor?: Maybe<Scalars['String']['output']>;
54517
+ node?: Maybe<JiraBoardViewCell>;
54518
+ };
54456
54519
  export declare type JiraBoardViewColumn = {
54457
54520
  canCreateIssue?: Maybe<Scalars['Boolean']['output']>;
54458
54521
  collapsed?: Maybe<Scalars['Boolean']['output']>;
@@ -54470,6 +54533,14 @@ export declare type JiraBoardViewColumnEdge = {
54470
54533
  cursor?: Maybe<Scalars['String']['output']>;
54471
54534
  node?: Maybe<JiraBoardViewColumn>;
54472
54535
  };
54536
+ export declare type JiraBoardViewColumnLayout = {
54537
+ __typename?: 'JiraBoardViewColumnLayout';
54538
+ cells?: Maybe<JiraBoardViewCellConnection>;
54539
+ };
54540
+ export declare type JiraBoardViewColumnLayoutCellsArgs = {
54541
+ after?: InputMaybe<Scalars['String']['input']>;
54542
+ first?: InputMaybe<Scalars['Int']['input']>;
54543
+ };
54473
54544
  export declare type JiraBoardViewFieldCardOption = JiraBoardViewCardOption & {
54474
54545
  __typename?: 'JiraBoardViewFieldCardOption';
54475
54546
  canToggle?: Maybe<Scalars['Boolean']['output']>;
@@ -54481,6 +54552,7 @@ export declare type JiraBoardViewInput = {
54481
54552
  jiraBoardViewQueryInput: JiraBoardViewQueryInput;
54482
54553
  settings?: InputMaybe<JiraBoardViewSettings>;
54483
54554
  };
54555
+ export declare type JiraBoardViewLayout = JiraBoardViewColumnLayout;
54484
54556
  export declare type JiraBoardViewPriorityColumn = JiraBoardViewColumn & {
54485
54557
  __typename?: 'JiraBoardViewPriorityColumn';
54486
54558
  canCreateIssue?: Maybe<Scalars['Boolean']['output']>;
@@ -79876,6 +79948,7 @@ export declare type Mutation = {
79876
79948
  playbook_deleteJiraPlaybook?: Maybe<DeleteJiraPlaybookPayload>;
79877
79949
  playbook_unassignJiraPlaybookLabelFromJiraPlaybook?: Maybe<JiraPlaybookLabelAssignmentPayload>;
79878
79950
  playbook_updateJiraPlaybook?: Maybe<UpdateJiraPlaybookPayload>;
79951
+ playbook_updateJiraPlaybookLabel?: Maybe<UpdateJiraPlaybookLabelPayload>;
79879
79952
  playbook_updateJiraPlaybookState?: Maybe<UpdateJiraPlaybookStatePayload>;
79880
79953
  polaris?: Maybe<PolarisMutationNamespace>;
79881
79954
  polarisAddReaction?: Maybe<PolarisAddReactionPayload>;
@@ -81158,6 +81231,9 @@ export declare type MutationPlaybook_UnassignJiraPlaybookLabelFromJiraPlaybookAr
81158
81231
  export declare type MutationPlaybook_UpdateJiraPlaybookArgs = {
81159
81232
  input: UpdateJiraPlaybookInput;
81160
81233
  };
81234
+ export declare type MutationPlaybook_UpdateJiraPlaybookLabelArgs = {
81235
+ input: UpdateJiraPlaybookLabelInput;
81236
+ };
81161
81237
  export declare type MutationPlaybook_UpdateJiraPlaybookStateArgs = {
81162
81238
  input: UpdateJiraPlaybookStateInput;
81163
81239
  };
@@ -84552,6 +84628,9 @@ export declare type Query = {
84552
84628
  assetsDM_adapters?: Maybe<AssetsDmAdapters>;
84553
84629
  assetsDM_dataSourceFormFields?: Maybe<AssetsDmDataSourceFormFields>;
84554
84630
  assetsDM_objectClasses?: Maybe<Array<Maybe<AssetsDmObjectClass>>>;
84631
+ assets_objectTypesByIds?: Maybe<Array<Maybe<AssetsObjectType>>>;
84632
+ assets_objectsByIds?: Maybe<Array<Maybe<AssetsObject>>>;
84633
+ assets_schemasByIds?: Maybe<Array<Maybe<AssetsSchema>>>;
84555
84634
  atlasGoalsLinkedToJiraIssue?: Maybe<GraphStoreCypherQueryConnection>;
84556
84635
  atlasProjectsLinkedToAtlasGoal?: Maybe<GraphStoreCypherQueryConnection>;
84557
84636
  atlasProjectsLinkedToJiraIssue?: Maybe<GraphStoreCypherQueryConnection>;
@@ -85314,6 +85393,15 @@ export declare type QueryAssetsDm_ObjectClassesArgs = {
85314
85393
  cloudId: Scalars['ID']['input'];
85315
85394
  workspaceId: Scalars['ID']['input'];
85316
85395
  };
85396
+ export declare type QueryAssets_ObjectTypesByIdsArgs = {
85397
+ ids: Array<Scalars['ID']['input']>;
85398
+ };
85399
+ export declare type QueryAssets_ObjectsByIdsArgs = {
85400
+ ids: Array<Scalars['ID']['input']>;
85401
+ };
85402
+ export declare type QueryAssets_SchemasByIdsArgs = {
85403
+ ids: Array<Scalars['ID']['input']>;
85404
+ };
85317
85405
  export declare type QueryAtlasGoalsLinkedToJiraIssueArgs = {
85318
85406
  issueId: Scalars['ID']['input'];
85319
85407
  };
@@ -95498,6 +95586,21 @@ export declare type TownsquareCommentEdge = {
95498
95586
  cursor: Scalars['String']['output'];
95499
95587
  node?: Maybe<TownsquareComment>;
95500
95588
  };
95589
+ export declare type TownsquareContributor = {
95590
+ __typename?: 'TownsquareContributor';
95591
+ teamContributor?: Maybe<TownsquareTeamContributor>;
95592
+ userContributor?: Maybe<User>;
95593
+ };
95594
+ export declare type TownsquareContributorConnection = {
95595
+ __typename?: 'TownsquareContributorConnection';
95596
+ edges?: Maybe<Array<Maybe<TownsquareContributorEdge>>>;
95597
+ pageInfo: PageInfo;
95598
+ };
95599
+ export declare type TownsquareContributorEdge = {
95600
+ __typename?: 'TownsquareContributorEdge';
95601
+ cursor: Scalars['String']['output'];
95602
+ node?: Maybe<TownsquareContributor>;
95603
+ };
95501
95604
  export declare type TownsquareCreateGoalHasJiraAlignProjectInput = {
95502
95605
  from: Scalars['String']['input'];
95503
95606
  to: Scalars['String']['input'];
@@ -95948,6 +96051,7 @@ export declare type TownsquareProject = HasMercuryProjectFields & Node & {
95948
96051
  canEditMembers?: Maybe<Scalars['Boolean']['output']>;
95949
96052
  changelog?: Maybe<TownsquareProjectChangelogItemConnection>;
95950
96053
  comments?: Maybe<TownsquareCommentConnection>;
96054
+ contributors?: Maybe<TownsquareContributorConnection>;
95951
96055
  dependencies?: Maybe<TownsquareProjectDependencyConnection>;
95952
96056
  description?: Maybe<TownsquareProjectDescription>;
95953
96057
  draftUpdate?: Maybe<TownsquareDraftUpdate>;
@@ -96004,6 +96108,10 @@ export declare type TownsquareProjectCommentsArgs = {
96004
96108
  after?: InputMaybe<Scalars['String']['input']>;
96005
96109
  first?: InputMaybe<Scalars['Int']['input']>;
96006
96110
  };
96111
+ export declare type TownsquareProjectContributorsArgs = {
96112
+ after?: InputMaybe<Scalars['String']['input']>;
96113
+ first?: InputMaybe<Scalars['Int']['input']>;
96114
+ };
96007
96115
  export declare type TownsquareProjectDependenciesArgs = {
96008
96116
  after?: InputMaybe<Scalars['String']['input']>;
96009
96117
  first?: InputMaybe<Scalars['Int']['input']>;
@@ -96466,6 +96574,15 @@ export declare type TownsquareTeamConnection = {
96466
96574
  edges?: Maybe<Array<Maybe<TownsquareTeamEdge>>>;
96467
96575
  pageInfo: PageInfo;
96468
96576
  };
96577
+ export declare type TownsquareTeamContributor = {
96578
+ __typename?: 'TownsquareTeamContributor';
96579
+ contributingMembers?: Maybe<TownsquareUserConnection>;
96580
+ team?: Maybe<TeamV2>;
96581
+ };
96582
+ export declare type TownsquareTeamContributorContributingMembersArgs = {
96583
+ after?: InputMaybe<Scalars['String']['input']>;
96584
+ first?: InputMaybe<Scalars['Int']['input']>;
96585
+ };
96469
96586
  export declare type TownsquareTeamEdge = {
96470
96587
  __typename?: 'TownsquareTeamEdge';
96471
96588
  cursor: Scalars['String']['output'];