@forge/cli-shared 8.1.1-next.1 → 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 +6 -0
- package/out/file-system/file-system-reader.d.ts.map +1 -1
- package/out/file-system/file-system-reader.js +6 -9
- package/out/graphql/graphql-types.d.ts +41 -9
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +0 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
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
|
+
|
|
3
9
|
## 8.1.1-next.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -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;
|
|
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,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;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
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
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
|
|
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
|
};
|
|
@@ -58601,6 +58613,7 @@ export declare type JiraIssue = HasMercuryProjectFields & JiraScenarioIssueLike
|
|
|
58601
58613
|
lastViewedTimestamp?: Maybe<Scalars['Long']['output']>;
|
|
58602
58614
|
legacyContentPanels?: Maybe<JiraIssueContentPanelConnection>;
|
|
58603
58615
|
lifecycleState?: Maybe<JiraIssueLifecycleState>;
|
|
58616
|
+
linkedCommits?: Maybe<JiraIssueCommits>;
|
|
58604
58617
|
linkedPullRequests?: Maybe<JiraIssuePullRequests>;
|
|
58605
58618
|
matchesIssueSearch?: Maybe<Scalars['Boolean']['output']>;
|
|
58606
58619
|
mediaReadToken?: Maybe<JiraMediaReadToken>;
|
|
@@ -58788,6 +58801,9 @@ export declare type JiraIssueLegacyContentPanelsArgs = {
|
|
|
58788
58801
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
58789
58802
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
58790
58803
|
};
|
|
58804
|
+
export declare type JiraIssueLinkedCommitsArgs = {
|
|
58805
|
+
input?: InputMaybe<JiraIssueCommitsInput>;
|
|
58806
|
+
};
|
|
58791
58807
|
export declare type JiraIssueLinkedPullRequestsArgs = {
|
|
58792
58808
|
input?: InputMaybe<JiraIssuePullRequestsInput>;
|
|
58793
58809
|
};
|
|
@@ -58980,6 +58996,9 @@ export declare type JiraIssueCommits = {
|
|
|
58980
58996
|
configErrors?: Maybe<Array<JiraDevInfoConfigError>>;
|
|
58981
58997
|
details?: Maybe<Array<JiraDevOpsCommitDetails>>;
|
|
58982
58998
|
};
|
|
58999
|
+
export declare type JiraIssueCommitsInput = {
|
|
59000
|
+
filterLegacy?: InputMaybe<Scalars['Boolean']['input']>;
|
|
59001
|
+
};
|
|
58983
59002
|
export declare type JiraIssueConnection = {
|
|
58984
59003
|
__typename?: 'JiraIssueConnection';
|
|
58985
59004
|
edges?: Maybe<Array<Maybe<JiraIssueEdge>>>;
|
|
@@ -79216,6 +79235,10 @@ export declare enum MobilePlatform {
|
|
|
79216
79235
|
Android = "ANDROID",
|
|
79217
79236
|
Ios = "IOS"
|
|
79218
79237
|
}
|
|
79238
|
+
export declare type ModelRequestParams = {
|
|
79239
|
+
caller: Scalars['String']['input'];
|
|
79240
|
+
experience: Scalars['String']['input'];
|
|
79241
|
+
};
|
|
79219
79242
|
export declare type ModuleCompleteKey = {
|
|
79220
79243
|
__typename?: 'ModuleCompleteKey';
|
|
79221
79244
|
moduleKey?: Maybe<Scalars['String']['output']>;
|
|
@@ -84637,6 +84660,7 @@ export declare type Query = {
|
|
|
84637
84660
|
notesByCreator?: Maybe<NoteConnection>;
|
|
84638
84661
|
notifications?: Maybe<InfluentsNotificationQuery>;
|
|
84639
84662
|
oauthClients?: Maybe<OAuthClientsQuery>;
|
|
84663
|
+
objectRecommendations?: Maybe<CollaborationGraphRecommendationResults>;
|
|
84640
84664
|
onboardingState?: Maybe<Array<OnboardingState>>;
|
|
84641
84665
|
opsgenie?: Maybe<OpsgenieQuery>;
|
|
84642
84666
|
opsgenieTeamRelationshipForDevOpsService?: Maybe<DevOpsServiceAndOpsgenieTeamRelationship>;
|
|
@@ -86418,6 +86442,11 @@ export declare type QueryNodeArgs = {
|
|
|
86418
86442
|
export declare type QueryNotesByCreatorArgs = {
|
|
86419
86443
|
input?: InputMaybe<NotesByCreatorInput>;
|
|
86420
86444
|
};
|
|
86445
|
+
export declare type QueryObjectRecommendationsArgs = {
|
|
86446
|
+
context: CollaborationGraphRequestContext;
|
|
86447
|
+
maxNumberOfResults?: InputMaybe<Scalars['Int']['input']>;
|
|
86448
|
+
modelRequestParams: ModelRequestParams;
|
|
86449
|
+
};
|
|
86421
86450
|
export declare type QueryOnboardingStateArgs = {
|
|
86422
86451
|
key?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
86423
86452
|
};
|
|
@@ -87433,7 +87462,6 @@ export declare type RadarFunction = {
|
|
|
87433
87462
|
operators: Array<RadarFilterOperators>;
|
|
87434
87463
|
};
|
|
87435
87464
|
export declare enum RadarFunctionId {
|
|
87436
|
-
Haschild = "HASCHILD",
|
|
87437
87465
|
Under = "UNDER"
|
|
87438
87466
|
}
|
|
87439
87467
|
export declare type RadarGroupMetrics = {
|
|
@@ -90135,6 +90163,7 @@ export declare type SearchThirdPartyFilter = {
|
|
|
90135
90163
|
assignees?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
90136
90164
|
containerAris?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
90137
90165
|
containerNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
90166
|
+
containerTypes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
90138
90167
|
createdBy?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
90139
90168
|
excludeSubtypes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
90140
90169
|
integrations?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
@@ -96710,6 +96739,7 @@ export declare type TrelloCard = Node & {
|
|
|
96710
96739
|
customFieldItems?: Maybe<TrelloCustomFieldItemConnection>;
|
|
96711
96740
|
description?: Maybe<TrelloUserGeneratedText>;
|
|
96712
96741
|
due?: Maybe<TrelloCardDueInfo>;
|
|
96742
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
96713
96743
|
id: Scalars['ID']['output'];
|
|
96714
96744
|
isTemplate?: Maybe<Scalars['Boolean']['output']>;
|
|
96715
96745
|
labels?: Maybe<TrelloLabelConnection>;
|
|
@@ -97041,6 +97071,7 @@ export declare type TrelloCardUpdated = {
|
|
|
97041
97071
|
customFieldItems?: Maybe<TrelloCustomFieldItemUpdatedConnection>;
|
|
97042
97072
|
description?: Maybe<TrelloUserGeneratedText>;
|
|
97043
97073
|
due?: Maybe<TrelloCardDueInfo>;
|
|
97074
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
97044
97075
|
id: Scalars['ID']['output'];
|
|
97045
97076
|
isTemplate?: Maybe<Scalars['Boolean']['output']>;
|
|
97046
97077
|
labels?: Maybe<TrelloLabelUpdatedConnection>;
|
|
@@ -97350,6 +97381,7 @@ export declare type TrelloCreateOAuth2ApplicationInput = {
|
|
|
97350
97381
|
author: Scalars['String']['input'];
|
|
97351
97382
|
email: Scalars['String']['input'];
|
|
97352
97383
|
iframeUrl?: InputMaybe<Scalars['URL']['input']>;
|
|
97384
|
+
locale?: InputMaybe<Scalars['String']['input']>;
|
|
97353
97385
|
name: Scalars['String']['input'];
|
|
97354
97386
|
supportContact: Scalars['String']['input'];
|
|
97355
97387
|
workspaceId: Scalars['ID']['input'];
|