@forge/cli-shared 7.1.0-next.5 → 7.1.0-next.6
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 +11 -0
- package/out/config/config-file.d.ts +1 -4
- package/out/config/config-file.d.ts.map +1 -1
- package/out/config/config-file.js +2 -9
- package/out/graphql/graphql-types.d.ts +26 -21
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/index.d.ts +0 -1
- package/out/index.d.ts.map +1 -1
- package/out/index.js +0 -1
- package/package.json +2 -2
- package/out/runtimes/helper.d.ts +0 -6
- package/out/runtimes/helper.d.ts.map +0 -1
- package/out/runtimes/helper.js +0 -18
- package/out/runtimes/index.d.ts +0 -2
- package/out/runtimes/index.d.ts.map +0 -1
- package/out/runtimes/index.js +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
+
## 7.1.0-next.6
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9f050ff: Removed support for Sandbox Runtime and Sanpshots
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [9f050ff]
|
|
12
|
+
- @forge/manifest@9.5.0-next.5
|
|
13
|
+
|
|
3
14
|
## 7.1.0-next.5
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -2,7 +2,6 @@ import { FileSystemReader, FileSystemWriter } from '../file-system';
|
|
|
2
2
|
import { ConfigReader, ConfigWriter } from './';
|
|
3
3
|
import { Modules, ManifestSchema, Resources } from '@forge/manifest';
|
|
4
4
|
import { UserError, ValidationError } from '../shared';
|
|
5
|
-
import { RuntimeType } from '../runtimes';
|
|
6
5
|
export declare class InvalidManifestError extends ValidationError {
|
|
7
6
|
constructor();
|
|
8
7
|
}
|
|
@@ -15,7 +14,6 @@ export interface Handler {
|
|
|
15
14
|
}
|
|
16
15
|
export interface ConfigInteractor {
|
|
17
16
|
getAppHandlers(): Promise<Array<Handler>>;
|
|
18
|
-
snapshotsEnabled(): Promise<boolean>;
|
|
19
17
|
}
|
|
20
18
|
export declare type Resource = Resources[0];
|
|
21
19
|
export declare type UIResourceType = 'customUI' | 'nativeUI' | 'default';
|
|
@@ -30,8 +28,7 @@ export declare class ConfigFile implements ConfigReader, ConfigWriter, ConfigInt
|
|
|
30
28
|
constructor(fileReader: FileSystemReader, fileWriter: FileSystemWriter);
|
|
31
29
|
getAppHandlers(): Promise<Array<Handler>>;
|
|
32
30
|
readConfig(): Promise<ManifestSchema>;
|
|
33
|
-
|
|
34
|
-
runtimeType(): Promise<RuntimeType>;
|
|
31
|
+
runtimeName(): Promise<string | undefined>;
|
|
35
32
|
private makeManifestUnique;
|
|
36
33
|
prependAppNameToModules(name: string): Promise<void>;
|
|
37
34
|
private writeManifest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-file.d.ts","sourceRoot":"","sources":["../../src/config/config-file.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAoB,MAAM,IAAI,CAAC;AAGlE,OAAO,EACL,OAAO,EACP,cAAc,EACd,SAAS,EAMV,MAAM,iBAAiB,CAAC;AASzB,OAAO,EAAE,SAAS,EAAE,eAAe,EAAQ,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"config-file.d.ts","sourceRoot":"","sources":["../../src/config/config-file.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAoB,MAAM,IAAI,CAAC;AAGlE,OAAO,EACL,OAAO,EACP,cAAc,EACd,SAAS,EAMV,MAAM,iBAAiB,CAAC;AASzB,OAAO,EAAE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AM,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAe1G,OAAO,CAAC,wBAAwB;IAKhC,OAAO,CAAC,wBAAwB;IAgBhC,OAAO,CAAC,6BAA6B;IAarC,OAAO,CAAC,gBAAgB;IAIX,oBAAoB,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;KAAE,EAAE,CAAC;IAqClF,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAe1E,YAAY,CAAC,aAAa,CAAC,EAAE,cAAc,EAAE,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAsB1E,aAAa,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAKzD,OAAO,CAAC,eAAe;CA0BxB"}
|
|
@@ -10,7 +10,6 @@ const config_1 = require("./config");
|
|
|
10
10
|
const manifest_1 = require("@forge/manifest");
|
|
11
11
|
const url_1 = require("url");
|
|
12
12
|
const shared_1 = require("../shared");
|
|
13
|
-
const runtimes_1 = require("../runtimes");
|
|
14
13
|
class InvalidManifestError extends shared_1.ValidationError {
|
|
15
14
|
constructor() {
|
|
16
15
|
super(ui_1.Text.artifact.error.invalidYaml(_1.manifestFileName));
|
|
@@ -125,15 +124,9 @@ class ConfigFile {
|
|
|
125
124
|
throw new InvalidManifestError();
|
|
126
125
|
}
|
|
127
126
|
}
|
|
128
|
-
async
|
|
127
|
+
async runtimeName() {
|
|
129
128
|
const config = await this.readConfig();
|
|
130
|
-
|
|
131
|
-
return entry || entry === undefined;
|
|
132
|
-
}
|
|
133
|
-
async runtimeType() {
|
|
134
|
-
const config = await this.readConfig();
|
|
135
|
-
const runtimeName = config.app?.runtime?.name;
|
|
136
|
-
return (0, runtimes_1.getRuntimeType)(runtimeName);
|
|
129
|
+
return config.app?.runtime?.name;
|
|
137
130
|
}
|
|
138
131
|
makeManifestUnique(modules, appName) {
|
|
139
132
|
const actualModules = {};
|
|
@@ -33065,6 +33065,7 @@ export declare type GraphStore = {
|
|
|
33065
33065
|
testPerfhammerRelationshipInverseRelationship?: Maybe<GraphStoreFullTestPerfhammerRelationshipConnection>;
|
|
33066
33066
|
testPerfhammerRelationshipRelationship?: Maybe<GraphStoreFullTestPerfhammerRelationshipConnection>;
|
|
33067
33067
|
thirdPartyToGraphRemoteLink?: Maybe<GraphStoreSimplifiedThirdPartyToGraphRemoteLinkConnection>;
|
|
33068
|
+
topicHasRelatedEntity?: Maybe<GraphStoreSimplifiedTopicHasRelatedEntityConnection>;
|
|
33068
33069
|
userAssignedIncident?: Maybe<GraphStoreSimplifiedUserAssignedIncidentConnection>;
|
|
33069
33070
|
userAssignedIncidentInverse?: Maybe<GraphStoreSimplifiedUserAssignedIncidentInverseConnection>;
|
|
33070
33071
|
userAssignedIssue?: Maybe<GraphStoreSimplifiedUserAssignedIssueConnection>;
|
|
@@ -36698,6 +36699,13 @@ export declare type GraphStoreThirdPartyToGraphRemoteLinkArgs = {
|
|
|
36698
36699
|
id: Scalars['ID']['input'];
|
|
36699
36700
|
sort?: InputMaybe<GraphStoreThirdPartyToGraphRemoteLinkSortInput>;
|
|
36700
36701
|
};
|
|
36702
|
+
export declare type GraphStoreTopicHasRelatedEntityArgs = {
|
|
36703
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
36704
|
+
consistentRead?: InputMaybe<Scalars['Boolean']['input']>;
|
|
36705
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
36706
|
+
id: Scalars['ID']['input'];
|
|
36707
|
+
sort?: InputMaybe<GraphStoreTopicHasRelatedEntitySortInput>;
|
|
36708
|
+
};
|
|
36701
36709
|
export declare type GraphStoreUserAssignedIncidentArgs = {
|
|
36702
36710
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
36703
36711
|
consistentRead?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -50068,6 +50076,20 @@ export declare type GraphStoreSimplifiedThirdPartyToGraphRemoteLinkEdge = {
|
|
|
50068
50076
|
node?: Maybe<GraphStoreSimplifiedThirdPartyToGraphRemoteLinkUnion>;
|
|
50069
50077
|
};
|
|
50070
50078
|
export declare type GraphStoreSimplifiedThirdPartyToGraphRemoteLinkUnion = ExternalRemoteLink;
|
|
50079
|
+
export declare type GraphStoreSimplifiedTopicHasRelatedEntityConnection = HasPageInfo & {
|
|
50080
|
+
__typename?: 'GraphStoreSimplifiedTopicHasRelatedEntityConnection';
|
|
50081
|
+
edges?: Maybe<Array<Maybe<GraphStoreSimplifiedTopicHasRelatedEntityEdge>>>;
|
|
50082
|
+
pageInfo: PageInfo;
|
|
50083
|
+
};
|
|
50084
|
+
export declare type GraphStoreSimplifiedTopicHasRelatedEntityEdge = {
|
|
50085
|
+
__typename?: 'GraphStoreSimplifiedTopicHasRelatedEntityEdge';
|
|
50086
|
+
createdAt: Scalars['DateTime']['output'];
|
|
50087
|
+
cursor?: Maybe<Scalars['String']['output']>;
|
|
50088
|
+
id: Scalars['ID']['output'];
|
|
50089
|
+
lastUpdated: Scalars['DateTime']['output'];
|
|
50090
|
+
node?: Maybe<GraphStoreSimplifiedTopicHasRelatedEntityUnion>;
|
|
50091
|
+
};
|
|
50092
|
+
export declare type GraphStoreSimplifiedTopicHasRelatedEntityUnion = ConfluenceBlogPost | ConfluencePage;
|
|
50071
50093
|
export declare type GraphStoreSimplifiedUserAssignedIncidentConnection = HasPageInfo & {
|
|
50072
50094
|
__typename?: 'GraphStoreSimplifiedUserAssignedIncidentConnection';
|
|
50073
50095
|
edges?: Maybe<Array<Maybe<GraphStoreSimplifiedUserAssignedIncidentEdge>>>;
|
|
@@ -53300,6 +53322,9 @@ export declare type GraphStoreTestPerfhammerRelationshipSortInput = {
|
|
|
53300
53322
|
export declare type GraphStoreThirdPartyToGraphRemoteLinkSortInput = {
|
|
53301
53323
|
lastModified?: InputMaybe<GraphStoreSortInput>;
|
|
53302
53324
|
};
|
|
53325
|
+
export declare type GraphStoreTopicHasRelatedEntitySortInput = {
|
|
53326
|
+
lastModified?: InputMaybe<GraphStoreSortInput>;
|
|
53327
|
+
};
|
|
53303
53328
|
export declare type GraphStoreUserAssignedIncidentSortInput = {
|
|
53304
53329
|
lastModified?: InputMaybe<GraphStoreSortInput>;
|
|
53305
53330
|
};
|
|
@@ -60581,16 +60606,6 @@ export declare type JiraDeleteFormattingRulePayload = Payload & {
|
|
|
60581
60606
|
errors?: Maybe<Array<MutationError>>;
|
|
60582
60607
|
success: Scalars['Boolean']['output'];
|
|
60583
60608
|
};
|
|
60584
|
-
export declare type JiraDeleteGlobalCustomFieldsInput = {
|
|
60585
|
-
fieldIds: Array<Scalars['String']['input']>;
|
|
60586
|
-
};
|
|
60587
|
-
export declare type JiraDeleteGlobalCustomFieldsPayload = Payload & {
|
|
60588
|
-
__typename?: 'JiraDeleteGlobalCustomFieldsPayload';
|
|
60589
|
-
errors?: Maybe<Array<MutationError>>;
|
|
60590
|
-
failedFieldIds?: Maybe<Array<Scalars['String']['output']>>;
|
|
60591
|
-
success: Scalars['Boolean']['output'];
|
|
60592
|
-
tasks?: Maybe<Array<JiraFieldLongRunningTask>>;
|
|
60593
|
-
};
|
|
60594
60609
|
export declare type JiraDeleteIssueLinkPayload = Payload & {
|
|
60595
60610
|
__typename?: 'JiraDeleteIssueLinkPayload';
|
|
60596
60611
|
deletedIds?: Maybe<Array<Maybe<Scalars['ID']['output']>>>;
|
|
@@ -61075,6 +61090,7 @@ export declare type JiraEchoWhereInput = {
|
|
|
61075
61090
|
export declare type JiraEditCustomFieldInput = {
|
|
61076
61091
|
cloudId: Scalars['ID']['input'];
|
|
61077
61092
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
61093
|
+
fieldFormatConfig?: InputMaybe<JiraFieldFormatConfigInput>;
|
|
61078
61094
|
fieldId: Scalars['String']['input'];
|
|
61079
61095
|
name: Scalars['String']['input'];
|
|
61080
61096
|
options?: InputMaybe<Array<JiraCustomFieldOptionInput>>;
|
|
@@ -61423,12 +61439,6 @@ export declare type JiraFieldKeyValueInput = {
|
|
|
61423
61439
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
61424
61440
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
61425
61441
|
};
|
|
61426
|
-
export declare type JiraFieldLongRunningTask = {
|
|
61427
|
-
__typename?: 'JiraFieldLongRunningTask';
|
|
61428
|
-
fieldConfigId?: Maybe<Scalars['ID']['output']>;
|
|
61429
|
-
fieldId?: Maybe<Scalars['String']['output']>;
|
|
61430
|
-
task?: Maybe<JiraLongRunningTaskProgress>;
|
|
61431
|
-
};
|
|
61432
61442
|
export declare type JiraFieldNonEditableReason = {
|
|
61433
61443
|
__typename?: 'JiraFieldNonEditableReason';
|
|
61434
61444
|
message?: Maybe<Scalars['String']['output']>;
|
|
@@ -83173,7 +83183,6 @@ export declare type Mutation = {
|
|
|
83173
83183
|
jira_createCustomBackground?: Maybe<JiraProjectCreateCustomBackgroundMutationPayload>;
|
|
83174
83184
|
jira_createGlobalCustomField?: Maybe<JiraCreateGlobalCustomFieldPayload>;
|
|
83175
83185
|
jira_deleteCustomBackground?: Maybe<JiraProjectDeleteCustomBackgroundMutationPayload>;
|
|
83176
|
-
jira_deleteGlobalCustomFields?: Maybe<JiraDeleteGlobalCustomFieldsPayload>;
|
|
83177
83186
|
jira_discardUserBoardViewConfig?: Maybe<JiraDiscardUserBoardViewConfigPayload>;
|
|
83178
83187
|
jira_discardUserIssueSearchConfig?: Maybe<JiraDiscardUserIssueSearchConfigPayload>;
|
|
83179
83188
|
jira_publishBoardViewConfig?: Maybe<JiraPublishBoardViewConfigPayload>;
|
|
@@ -84661,10 +84670,6 @@ export declare type MutationJira_CreateGlobalCustomFieldArgs = {
|
|
|
84661
84670
|
export declare type MutationJira_DeleteCustomBackgroundArgs = {
|
|
84662
84671
|
input: JiraProjectDeleteCustomBackgroundInput;
|
|
84663
84672
|
};
|
|
84664
|
-
export declare type MutationJira_DeleteGlobalCustomFieldsArgs = {
|
|
84665
|
-
cloudId: Scalars['ID']['input'];
|
|
84666
|
-
input: JiraDeleteGlobalCustomFieldsInput;
|
|
84667
|
-
};
|
|
84668
84673
|
export declare type MutationJira_DiscardUserBoardViewConfigArgs = {
|
|
84669
84674
|
input: JiraDiscardUserBoardViewConfigInput;
|
|
84670
84675
|
};
|