@forge/cli-shared 3.23.4-next.0 → 3.23.4-next.0-experimental-326ff96
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 +12 -0
- package/out/apps/template.d.ts.map +1 -1
- package/out/apps/template.js +2 -1
- package/out/graphql/graphql-types.d.ts +56 -11
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +7 -0
- package/out/service/feature-flag-service.d.ts +2 -0
- package/out/service/feature-flag-service.d.ts.map +1 -1
- package/out/service/feature-flag-service.js +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
+
## 3.23.4-next.0-experimental-326ff96
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5477c90: Support for AI modules
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [afb1634]
|
|
12
|
+
- Updated dependencies [75f0e40]
|
|
13
|
+
- @forge/manifest@5.6.0-next.0-experimental-326ff96
|
|
14
|
+
|
|
3
15
|
## 3.23.4-next.0
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/apps/template.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/apps/template.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBA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,CAAC;CAcxD;AAED,qBAAa,mBAAoB,YAAW,SAAS;IAEjD,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAHN,UAAU,EAAE,kBAAkB,EAC9B,SAAS,EAAE,iBAAiB,EAC5B,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,MAAM;IAEpB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAsBnF,qBAAqB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;CAG3C"}
|
package/out/apps/template.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var _a;
|
|
2
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
4
|
exports.ComposableTemplater = exports.TemplateServiceLister = exports.TemplateFetchError = exports.ZipTemplateExtractor = exports.TemplateServiceDownloader = exports.InvalidTemplateArchiveError = exports.NoTemplateError = void 0;
|
|
4
5
|
const tslib_1 = require("tslib");
|
|
@@ -10,7 +11,7 @@ const tmp_1 = tslib_1.__importDefault(require("tmp"));
|
|
|
10
11
|
const url_1 = require("url");
|
|
11
12
|
const error_handling_1 = require("../shared/error-handling");
|
|
12
13
|
const ui_1 = require("../ui");
|
|
13
|
-
const TEMPLATE_SERVICE_URL = 'https://forge-templates.us-west-2.prod.public.atl-paas.net/';
|
|
14
|
+
const TEMPLATE_SERVICE_URL = (_a = process.env.FORGE_TEMPLATE_URL) !== null && _a !== void 0 ? _a : 'https://forge-templates.us-west-2.prod.public.atl-paas.net/';
|
|
14
15
|
const TEMPLATE_MAP = 'templates.json';
|
|
15
16
|
class NoTemplateError extends error_handling_1.UserError {
|
|
16
17
|
constructor(template) {
|
|
@@ -9349,20 +9349,25 @@ export declare type DevOpsMutation_EmptyArgs = {
|
|
|
9349
9349
|
};
|
|
9350
9350
|
export declare type DevOpsOperationsIncidentDetails = {
|
|
9351
9351
|
__typename?: 'DevOpsOperationsIncidentDetails';
|
|
9352
|
-
|
|
9352
|
+
actionItems?: Maybe<GraphStoreSimplifiedIncidentLinkedJswIssueConnection>;
|
|
9353
|
+
affectedComponentIds?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
9354
|
+
affectedComponents?: Maybe<Array<DevOpsService>>;
|
|
9353
9355
|
createdDate?: Maybe<Scalars['DateTime']['output']>;
|
|
9354
9356
|
description?: Maybe<Scalars['String']['output']>;
|
|
9355
9357
|
id: Scalars['ID']['output'];
|
|
9356
|
-
linkedPostIncidentReviews?: Maybe<
|
|
9358
|
+
linkedPostIncidentReviews?: Maybe<GraphStoreSimplifiedIncidentAssociatedPostIncidentReviewLinkConnection>;
|
|
9357
9359
|
severity?: Maybe<DevOpsOperationsIncidentSeverity>;
|
|
9358
9360
|
status?: Maybe<DevOpsOperationsIncidentStatus>;
|
|
9359
9361
|
summary?: Maybe<Scalars['String']['output']>;
|
|
9360
9362
|
url?: Maybe<Scalars['String']['output']>;
|
|
9361
9363
|
};
|
|
9364
|
+
export declare type DevOpsOperationsIncidentDetailsActionItemsArgs = {
|
|
9365
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
9366
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
9367
|
+
};
|
|
9362
9368
|
export declare type DevOpsOperationsIncidentDetailsLinkedPostIncidentReviewsArgs = {
|
|
9363
9369
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
9364
9370
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
9365
|
-
type?: InputMaybe<Scalars['String']['input']>;
|
|
9366
9371
|
};
|
|
9367
9372
|
export declare enum DevOpsOperationsIncidentSeverity {
|
|
9368
9373
|
P1 = "P1",
|
|
@@ -9385,7 +9390,7 @@ export declare type DevOpsOperationsProvider = DevOpsDataProvider & {
|
|
|
9385
9390
|
documentationUrl?: Maybe<Scalars['URL']['output']>;
|
|
9386
9391
|
homeUrl?: Maybe<Scalars['URL']['output']>;
|
|
9387
9392
|
id: Scalars['ID']['output'];
|
|
9388
|
-
linkedContainers?: Maybe<
|
|
9393
|
+
linkedContainers?: Maybe<GraphStoreSimplifiedJswProjectAssociatedComponentConnection>;
|
|
9389
9394
|
logoUrl?: Maybe<Scalars['URL']['output']>;
|
|
9390
9395
|
name?: Maybe<Scalars['String']['output']>;
|
|
9391
9396
|
providerType?: Maybe<DevOpsProviderType>;
|
|
@@ -9397,8 +9402,7 @@ export declare type DevOpsOperationsProviderConfigStateArgs = {
|
|
|
9397
9402
|
export declare type DevOpsOperationsProviderLinkedContainersArgs = {
|
|
9398
9403
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
9399
9404
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
9400
|
-
|
|
9401
|
-
type?: InputMaybe<Scalars['String']['input']>;
|
|
9405
|
+
id: Scalars['ID']['input'];
|
|
9402
9406
|
};
|
|
9403
9407
|
export declare type DevOpsProvider = {
|
|
9404
9408
|
__typename?: 'DevOpsProvider';
|
|
@@ -24509,7 +24513,7 @@ export declare type HelpLayoutAnnouncementElementData = {
|
|
|
24509
24513
|
__typename?: 'HelpLayoutAnnouncementElementData';
|
|
24510
24514
|
announcementContent?: Maybe<Scalars['String']['output']>;
|
|
24511
24515
|
};
|
|
24512
|
-
export declare type HelpLayoutAtomicElement = HelpLayoutHeadingAtomicElement | HelpLayoutImageAtomicElement | HelpLayoutParagraphAtomicElement | HelpLayoutSearchAtomicElement;
|
|
24516
|
+
export declare type HelpLayoutAtomicElement = HelpLayoutAnnouncementElement | HelpLayoutHeadingAtomicElement | HelpLayoutImageAtomicElement | HelpLayoutParagraphAtomicElement | HelpLayoutPortalsListElement | HelpLayoutSearchAtomicElement | HelpLayoutSuggestedRequestFormsListElement | HelpLayoutTopicsListElement;
|
|
24513
24517
|
export declare type HelpLayoutAtomicElementInput = {
|
|
24514
24518
|
elementTypeKey: HelpLayoutAtomicElementKey;
|
|
24515
24519
|
headingConfigInput?: InputMaybe<HelpLayoutHeadingConfigInput>;
|
|
@@ -24518,10 +24522,14 @@ export declare type HelpLayoutAtomicElementInput = {
|
|
|
24518
24522
|
searchConfigInput?: InputMaybe<HelpLayoutSearchConfigInput>;
|
|
24519
24523
|
};
|
|
24520
24524
|
export declare enum HelpLayoutAtomicElementKey {
|
|
24525
|
+
Announcement = "ANNOUNCEMENT",
|
|
24521
24526
|
Heading = "HEADING",
|
|
24522
24527
|
Image = "IMAGE",
|
|
24523
24528
|
Paragraph = "PARAGRAPH",
|
|
24524
|
-
|
|
24529
|
+
PortalsList = "PORTALS_LIST",
|
|
24530
|
+
Search = "SEARCH",
|
|
24531
|
+
SuggestedRequestFormsList = "SUGGESTED_REQUEST_FORMS_LIST",
|
|
24532
|
+
TopicsList = "TOPICS_LIST"
|
|
24525
24533
|
}
|
|
24526
24534
|
export declare type HelpLayoutAtomicElementType = HelpLayoutElementType & {
|
|
24527
24535
|
__typename?: 'HelpLayoutAtomicElementType';
|
|
@@ -24550,6 +24558,7 @@ export declare type HelpLayoutCompositeElement = {
|
|
|
24550
24558
|
visualConfig?: Maybe<HelpLayoutVisualConfig>;
|
|
24551
24559
|
};
|
|
24552
24560
|
export declare enum HelpLayoutCompositeElementKey {
|
|
24561
|
+
Hero = "HERO",
|
|
24553
24562
|
LinkCard = "LINK_CARD"
|
|
24554
24563
|
}
|
|
24555
24564
|
export declare type HelpLayoutCompositeElementType = HelpLayoutElementType & {
|
|
@@ -24570,7 +24579,7 @@ export declare type HelpLayoutCreationInput = {
|
|
|
24570
24579
|
parentAri: Scalars['ID']['input'];
|
|
24571
24580
|
sections: Array<HelpLayoutSectionInput>;
|
|
24572
24581
|
};
|
|
24573
|
-
export declare type HelpLayoutElement = HelpLayoutHeadingAtomicElement | HelpLayoutImageAtomicElement | HelpLayoutLinkCardCompositeElement | HelpLayoutParagraphAtomicElement | HelpLayoutSearchAtomicElement;
|
|
24582
|
+
export declare type HelpLayoutElement = HelpLayoutAnnouncementElement | HelpLayoutHeadingAtomicElement | HelpLayoutHeroElement | HelpLayoutImageAtomicElement | HelpLayoutLinkCardCompositeElement | HelpLayoutParagraphAtomicElement | HelpLayoutPortalsListElement | HelpLayoutSearchAtomicElement | HelpLayoutSuggestedRequestFormsListElement | HelpLayoutTopicsListElement;
|
|
24574
24583
|
export declare enum HelpLayoutElementCategory {
|
|
24575
24584
|
Basic = "BASIC",
|
|
24576
24585
|
Navigation = "NAVIGATION"
|
|
@@ -24585,6 +24594,7 @@ export declare type HelpLayoutElementInput = {
|
|
|
24585
24594
|
};
|
|
24586
24595
|
export declare enum HelpLayoutElementKey {
|
|
24587
24596
|
Heading = "HEADING",
|
|
24597
|
+
Hero = "HERO",
|
|
24588
24598
|
Image = "IMAGE",
|
|
24589
24599
|
LinkCard = "LINK_CARD",
|
|
24590
24600
|
Paragraph = "PARAGRAPH",
|
|
@@ -25382,6 +25392,17 @@ export declare type InsightsActionNextBestTaskPayload = Payload & {
|
|
|
25382
25392
|
success: Scalars['Boolean']['output'];
|
|
25383
25393
|
userActionState?: Maybe<InsightsUserActionState>;
|
|
25384
25394
|
};
|
|
25395
|
+
export declare type InsightsBlockedIssue = {
|
|
25396
|
+
__typename?: 'InsightsBlockedIssue';
|
|
25397
|
+
issueKey: Scalars['String']['output'];
|
|
25398
|
+
title: Scalars['String']['output'];
|
|
25399
|
+
};
|
|
25400
|
+
export declare type InsightsBlockingIssueDetails = {
|
|
25401
|
+
__typename?: 'InsightsBlockingIssueDetails';
|
|
25402
|
+
blockedIssues?: Maybe<Array<InsightsBlockedIssue>>;
|
|
25403
|
+
issueIconUrl: Scalars['String']['output'];
|
|
25404
|
+
issueId: Scalars['String']['output'];
|
|
25405
|
+
};
|
|
25385
25406
|
export declare type InsightsBuildDetails = {
|
|
25386
25407
|
__typename?: 'InsightsBuildDetails';
|
|
25387
25408
|
buildNumber: Scalars['Int']['output'];
|
|
@@ -25450,7 +25471,7 @@ export declare type InsightsNextBestTaskConnection = {
|
|
|
25450
25471
|
pageInfo: PageInfo;
|
|
25451
25472
|
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
25452
25473
|
};
|
|
25453
|
-
export declare type InsightsNextBestTaskDetails = InsightsBuildDetails | InsightsDeploymentDetails | InsightsPullRequestNeedsWorkDetails | InsightsPullRequestReviewDetails | InsightsVulnDetails;
|
|
25474
|
+
export declare type InsightsNextBestTaskDetails = InsightsBlockingIssueDetails | InsightsBuildDetails | InsightsDeploymentDetails | InsightsPullRequestNeedsWorkDetails | InsightsPullRequestReviewDetails | InsightsVulnDetails;
|
|
25454
25475
|
export declare type InsightsNextBestTaskEdge = {
|
|
25455
25476
|
__typename?: 'InsightsNextBestTaskEdge';
|
|
25456
25477
|
cursor: Scalars['String']['output'];
|
|
@@ -25471,6 +25492,7 @@ export declare type InsightsPullRequestReviewDetails = {
|
|
|
25471
25492
|
repositoryName?: Maybe<Scalars['String']['output']>;
|
|
25472
25493
|
};
|
|
25473
25494
|
export declare enum InsightsTaskType {
|
|
25495
|
+
BlockingIssue = "BLOCKING_ISSUE",
|
|
25474
25496
|
BuildFailed = "BUILD_FAILED",
|
|
25475
25497
|
CritVuln = "CRIT_VULN",
|
|
25476
25498
|
DeploymentFailed = "DEPLOYMENT_FAILED",
|
|
@@ -32131,6 +32153,7 @@ export declare type JiraQuery = {
|
|
|
32131
32153
|
jsmProjectTeamType?: Maybe<JiraServiceManagementProjectTeamType>;
|
|
32132
32154
|
jsmWorkflowTemplates?: Maybe<JiraServiceManagementWorkflowTemplatesMetadataConnection>;
|
|
32133
32155
|
jsonUserProperty?: Maybe<JiraEntityPropertyJson>;
|
|
32156
|
+
jwmAddableViewTypes?: Maybe<JiraWorkManagementSavedViewTypeConnection>;
|
|
32134
32157
|
jwmCustomBackgrounds?: Maybe<JiraWorkManagementCustomBackgroundConnection>;
|
|
32135
32158
|
jwmFilters?: Maybe<JiraWorkManagementFilterConnectionResult>;
|
|
32136
32159
|
jwmForm?: Maybe<JiraWorkManagementFormConfiguration>;
|
|
@@ -32507,6 +32530,11 @@ export declare type JiraQueryJsonUserPropertyArgs = {
|
|
|
32507
32530
|
cloudId: Scalars['ID']['input'];
|
|
32508
32531
|
propertyKey: Scalars['String']['input'];
|
|
32509
32532
|
};
|
|
32533
|
+
export declare type JiraQueryJwmAddableViewTypesArgs = {
|
|
32534
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
32535
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
32536
|
+
projectId: Scalars['ID']['input'];
|
|
32537
|
+
};
|
|
32510
32538
|
export declare type JiraQueryJwmCustomBackgroundsArgs = {
|
|
32511
32539
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
32512
32540
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -36282,7 +36310,24 @@ export declare type JiraWorkManagementSavedView = JiraNavigationItem & Node & {
|
|
|
36282
36310
|
id: Scalars['ID']['output'];
|
|
36283
36311
|
isDefault?: Maybe<Scalars['Boolean']['output']>;
|
|
36284
36312
|
label?: Maybe<Scalars['String']['output']>;
|
|
36285
|
-
type?: Maybe<
|
|
36313
|
+
type?: Maybe<JiraWorkManagementSavedViewType>;
|
|
36314
|
+
};
|
|
36315
|
+
export declare type JiraWorkManagementSavedViewType = Node & {
|
|
36316
|
+
__typename?: 'JiraWorkManagementSavedViewType';
|
|
36317
|
+
id: Scalars['ID']['output'];
|
|
36318
|
+
key?: Maybe<Scalars['String']['output']>;
|
|
36319
|
+
label?: Maybe<Scalars['String']['output']>;
|
|
36320
|
+
};
|
|
36321
|
+
export declare type JiraWorkManagementSavedViewTypeConnection = HasPageInfo & {
|
|
36322
|
+
__typename?: 'JiraWorkManagementSavedViewTypeConnection';
|
|
36323
|
+
edges?: Maybe<Array<Maybe<JiraWorkManagementSavedViewTypeEdge>>>;
|
|
36324
|
+
errors?: Maybe<Array<QueryError>>;
|
|
36325
|
+
pageInfo: PageInfo;
|
|
36326
|
+
};
|
|
36327
|
+
export declare type JiraWorkManagementSavedViewTypeEdge = {
|
|
36328
|
+
__typename?: 'JiraWorkManagementSavedViewTypeEdge';
|
|
36329
|
+
cursor: Scalars['String']['output'];
|
|
36330
|
+
node?: Maybe<JiraWorkManagementSavedViewType>;
|
|
36286
36331
|
};
|
|
36287
36332
|
export declare type JiraWorkManagementUpdateActiveBackgroundPayload = Payload & {
|
|
36288
36333
|
__typename?: 'JiraWorkManagementUpdateActiveBackgroundPayload';
|