@forge/cli-shared 6.6.2-next.1 → 6.6.2-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/config/config-file.d.ts +0 -1
- package/out/config/config-file.d.ts.map +1 -1
- package/out/config/config-file.js +0 -7
- package/out/graphql/graphql-types.d.ts +57 -0
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/shared/index.d.ts +3 -3
- package/out/shared/index.d.ts.map +1 -1
- package/out/shared/index.js +3 -3
- package/out/shared/test.d.ts +15 -0
- package/out/shared/test.d.ts.map +1 -0
- package/out/shared/test.js +52 -0
- package/package.json +1 -2
- package/out/shared/mock-logger.d.ts +0 -3
- package/out/shared/mock-logger.d.ts.map +0 -1
- package/out/shared/mock-logger.js +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -30,7 +30,6 @@ export declare class ConfigFile implements ConfigReader, ConfigWriter, ConfigInt
|
|
|
30
30
|
constructor(fileReader: FileSystemReader, fileWriter: FileSystemWriter);
|
|
31
31
|
getAppHandlers(): Promise<Array<Handler>>;
|
|
32
32
|
readConfig(): Promise<ManifestSchema>;
|
|
33
|
-
readConfigAsString(): string;
|
|
34
33
|
snapshotsEnabled(): Promise<boolean>;
|
|
35
34
|
runtimeType(): Promise<RuntimeType>;
|
|
36
35
|
private makeManifestUnique;
|
|
@@ -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;AAGzB,OAAO,EAAE,SAAS,EAAE,eAAe,EAAQ,MAAM,WAAW,CAAC;AAC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;IAMhD,OAAO,CAAC,kBAAkB;IAoBb,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAajE,OAAO,CAAC,aAAa;IAIR,iBAAiB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,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;IAoClF,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"}
|
|
@@ -125,13 +125,6 @@ class ConfigFile {
|
|
|
125
125
|
throw new InvalidManifestError();
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
readConfigAsString() {
|
|
129
|
-
const manifestFileContents = this.fileReader.readFile(_1.manifestFileName);
|
|
130
|
-
return this.manifestParser.parseManifestAsString({
|
|
131
|
-
content: manifestFileContents,
|
|
132
|
-
filePath: _1.manifestFileName
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
128
|
async snapshotsEnabled() {
|
|
136
129
|
const config = await this.readConfig();
|
|
137
130
|
const entry = config.app?.runtime?.snapshots;
|
|
@@ -3243,6 +3243,11 @@ export declare type CcpApplicationReason = {
|
|
|
3243
3243
|
__typename?: 'CcpApplicationReason';
|
|
3244
3244
|
id?: Maybe<Scalars['ID']['output']>;
|
|
3245
3245
|
};
|
|
3246
|
+
export declare type CcpApplyEntitlementPromotionExperienceCapability = CommerceExperienceCapability & {
|
|
3247
|
+
__typename?: 'CcpApplyEntitlementPromotionExperienceCapability';
|
|
3248
|
+
experienceUrl?: Maybe<Scalars['String']['output']>;
|
|
3249
|
+
isAvailableToUser?: Maybe<Scalars['Boolean']['output']>;
|
|
3250
|
+
};
|
|
3246
3251
|
export declare enum CcpBehaviourAtEndOfTrial {
|
|
3247
3252
|
Cancel = "CANCEL",
|
|
3248
3253
|
ConvertToPaid = "CONVERT_TO_PAID",
|
|
@@ -3435,11 +3440,15 @@ export declare type CcpEntitlementDetailsForCreateEntitlement = {
|
|
|
3435
3440
|
};
|
|
3436
3441
|
export declare type CcpEntitlementExperienceCapabilities = CommerceEntitlementExperienceCapabilities & {
|
|
3437
3442
|
__typename?: 'CcpEntitlementExperienceCapabilities';
|
|
3443
|
+
applyEntitlementPromotion?: Maybe<CcpApplyEntitlementPromotionExperienceCapability>;
|
|
3438
3444
|
cancelEntitlement?: Maybe<CcpCancelEntitlementExperienceCapability>;
|
|
3439
3445
|
changeOffering?: Maybe<CcpExperienceCapability>;
|
|
3440
3446
|
changeOfferingV2?: Maybe<CcpChangeOfferingExperienceCapability>;
|
|
3441
3447
|
manageEntitlement?: Maybe<CcpManageEntitlementExperienceCapability>;
|
|
3442
3448
|
};
|
|
3449
|
+
export declare type CcpEntitlementExperienceCapabilitiesApplyEntitlementPromotionArgs = {
|
|
3450
|
+
promotionId: Scalars['ID']['input'];
|
|
3451
|
+
};
|
|
3443
3452
|
export declare type CcpEntitlementExperienceCapabilitiesChangeOfferingArgs = {
|
|
3444
3453
|
offeringKey?: InputMaybe<Scalars['ID']['input']>;
|
|
3445
3454
|
offeringName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -30349,6 +30358,8 @@ export declare type GraphStore = {
|
|
|
30349
30358
|
prInRepoInverse?: Maybe<GraphStoreSimplifiedPrInRepoInverseConnection>;
|
|
30350
30359
|
prInRepoInverseRelationship?: Maybe<GraphStoreFullPrInRepoConnection>;
|
|
30351
30360
|
prInRepoRelationship?: Maybe<GraphStoreFullPrInRepoConnection>;
|
|
30361
|
+
projectAssociatedAutodevJob?: Maybe<GraphStoreSimplifiedProjectAssociatedAutodevJobConnection>;
|
|
30362
|
+
projectAssociatedAutodevJobInverse?: Maybe<GraphStoreSimplifiedProjectAssociatedAutodevJobInverseConnection>;
|
|
30352
30363
|
projectAssociatedBranch?: Maybe<GraphStoreSimplifiedProjectAssociatedBranchConnection>;
|
|
30353
30364
|
projectAssociatedBranchInverse?: Maybe<GraphStoreSimplifiedProjectAssociatedBranchInverseConnection>;
|
|
30354
30365
|
projectAssociatedBranchInverseRelationship?: Maybe<GraphStoreFullProjectAssociatedBranchConnection>;
|
|
@@ -32511,6 +32522,20 @@ export declare type GraphStorePrInRepoRelationshipArgs = {
|
|
|
32511
32522
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
32512
32523
|
id: Scalars['ID']['input'];
|
|
32513
32524
|
};
|
|
32525
|
+
export declare type GraphStoreProjectAssociatedAutodevJobArgs = {
|
|
32526
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
32527
|
+
consistentRead?: InputMaybe<Scalars['Boolean']['input']>;
|
|
32528
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
32529
|
+
id: Scalars['ID']['input'];
|
|
32530
|
+
sort?: InputMaybe<GraphStoreProjectAssociatedAutodevJobSortInput>;
|
|
32531
|
+
};
|
|
32532
|
+
export declare type GraphStoreProjectAssociatedAutodevJobInverseArgs = {
|
|
32533
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
32534
|
+
consistentRead?: InputMaybe<Scalars['Boolean']['input']>;
|
|
32535
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
32536
|
+
id: Scalars['ID']['input'];
|
|
32537
|
+
sort?: InputMaybe<GraphStoreProjectAssociatedAutodevJobSortInput>;
|
|
32538
|
+
};
|
|
32514
32539
|
export declare type GraphStoreProjectAssociatedBranchArgs = {
|
|
32515
32540
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
32516
32541
|
consistentRead?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -40867,6 +40892,9 @@ export declare type GraphStorePositionAllocatedToFocusAreaSortInput = {
|
|
|
40867
40892
|
export declare type GraphStorePrInRepoSortInput = {
|
|
40868
40893
|
lastModified?: InputMaybe<GraphStoreSortInput>;
|
|
40869
40894
|
};
|
|
40895
|
+
export declare type GraphStoreProjectAssociatedAutodevJobSortInput = {
|
|
40896
|
+
lastModified?: InputMaybe<GraphStoreSortInput>;
|
|
40897
|
+
};
|
|
40870
40898
|
export declare type GraphStoreProjectAssociatedBranchSortInput = {
|
|
40871
40899
|
createdAt?: InputMaybe<GraphStoreSortInput>;
|
|
40872
40900
|
fromAti?: InputMaybe<GraphStoreSortInput>;
|
|
@@ -43917,6 +43945,34 @@ export declare type GraphStoreSimplifiedPrInRepoInverseEdge = {
|
|
|
43917
43945
|
};
|
|
43918
43946
|
export declare type GraphStoreSimplifiedPrInRepoInverseUnion = DevOpsPullRequestDetails | ExternalPullRequest;
|
|
43919
43947
|
export declare type GraphStoreSimplifiedPrInRepoUnion = DevOpsRepository | ExternalRepository;
|
|
43948
|
+
export declare type GraphStoreSimplifiedProjectAssociatedAutodevJobConnection = HasPageInfo & {
|
|
43949
|
+
__typename?: 'GraphStoreSimplifiedProjectAssociatedAutodevJobConnection';
|
|
43950
|
+
edges?: Maybe<Array<Maybe<GraphStoreSimplifiedProjectAssociatedAutodevJobEdge>>>;
|
|
43951
|
+
pageInfo: PageInfo;
|
|
43952
|
+
};
|
|
43953
|
+
export declare type GraphStoreSimplifiedProjectAssociatedAutodevJobEdge = {
|
|
43954
|
+
__typename?: 'GraphStoreSimplifiedProjectAssociatedAutodevJobEdge';
|
|
43955
|
+
createdAt: Scalars['DateTime']['output'];
|
|
43956
|
+
cursor?: Maybe<Scalars['String']['output']>;
|
|
43957
|
+
id: Scalars['ID']['output'];
|
|
43958
|
+
lastUpdated: Scalars['DateTime']['output'];
|
|
43959
|
+
node?: Maybe<GraphStoreSimplifiedProjectAssociatedAutodevJobUnion>;
|
|
43960
|
+
};
|
|
43961
|
+
export declare type GraphStoreSimplifiedProjectAssociatedAutodevJobInverseConnection = HasPageInfo & {
|
|
43962
|
+
__typename?: 'GraphStoreSimplifiedProjectAssociatedAutodevJobInverseConnection';
|
|
43963
|
+
edges?: Maybe<Array<Maybe<GraphStoreSimplifiedProjectAssociatedAutodevJobInverseEdge>>>;
|
|
43964
|
+
pageInfo: PageInfo;
|
|
43965
|
+
};
|
|
43966
|
+
export declare type GraphStoreSimplifiedProjectAssociatedAutodevJobInverseEdge = {
|
|
43967
|
+
__typename?: 'GraphStoreSimplifiedProjectAssociatedAutodevJobInverseEdge';
|
|
43968
|
+
createdAt: Scalars['DateTime']['output'];
|
|
43969
|
+
cursor?: Maybe<Scalars['String']['output']>;
|
|
43970
|
+
id: Scalars['ID']['output'];
|
|
43971
|
+
lastUpdated: Scalars['DateTime']['output'];
|
|
43972
|
+
node?: Maybe<GraphStoreSimplifiedProjectAssociatedAutodevJobInverseUnion>;
|
|
43973
|
+
};
|
|
43974
|
+
export declare type GraphStoreSimplifiedProjectAssociatedAutodevJobInverseUnion = JiraProject;
|
|
43975
|
+
export declare type GraphStoreSimplifiedProjectAssociatedAutodevJobUnion = JiraAutodevJob;
|
|
43920
43976
|
export declare type GraphStoreSimplifiedProjectAssociatedBranchConnection = HasPageInfo & HasTotal & {
|
|
43921
43977
|
__typename?: 'GraphStoreSimplifiedProjectAssociatedBranchConnection';
|
|
43922
43978
|
edges?: Maybe<Array<Maybe<GraphStoreSimplifiedProjectAssociatedBranchEdge>>>;
|
|
@@ -61612,6 +61668,7 @@ export declare type JiraProject = Node & {
|
|
|
61612
61668
|
id: Scalars['ID']['output'];
|
|
61613
61669
|
intentTemplates?: Maybe<VirtualAgentIntentTemplatesConnection>;
|
|
61614
61670
|
isAIEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
61671
|
+
isAutomationDiscoverabilityEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
61615
61672
|
isExplicitFieldAssociationsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
61616
61673
|
isFavourite?: Maybe<Scalars['Boolean']['output']>;
|
|
61617
61674
|
isLiveTemplate?: Maybe<Scalars['Boolean']['output']>;
|