@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
|
@@ -2096,13 +2096,18 @@ var HelpExternalResourceLinkResourceType;
|
|
|
2096
2096
|
})(HelpExternalResourceLinkResourceType = exports.HelpExternalResourceLinkResourceType || (exports.HelpExternalResourceLinkResourceType = {}));
|
|
2097
2097
|
var HelpLayoutAtomicElementKey;
|
|
2098
2098
|
(function (HelpLayoutAtomicElementKey) {
|
|
2099
|
+
HelpLayoutAtomicElementKey["Announcement"] = "ANNOUNCEMENT";
|
|
2099
2100
|
HelpLayoutAtomicElementKey["Heading"] = "HEADING";
|
|
2100
2101
|
HelpLayoutAtomicElementKey["Image"] = "IMAGE";
|
|
2101
2102
|
HelpLayoutAtomicElementKey["Paragraph"] = "PARAGRAPH";
|
|
2103
|
+
HelpLayoutAtomicElementKey["PortalsList"] = "PORTALS_LIST";
|
|
2102
2104
|
HelpLayoutAtomicElementKey["Search"] = "SEARCH";
|
|
2105
|
+
HelpLayoutAtomicElementKey["SuggestedRequestFormsList"] = "SUGGESTED_REQUEST_FORMS_LIST";
|
|
2106
|
+
HelpLayoutAtomicElementKey["TopicsList"] = "TOPICS_LIST";
|
|
2103
2107
|
})(HelpLayoutAtomicElementKey = exports.HelpLayoutAtomicElementKey || (exports.HelpLayoutAtomicElementKey = {}));
|
|
2104
2108
|
var HelpLayoutCompositeElementKey;
|
|
2105
2109
|
(function (HelpLayoutCompositeElementKey) {
|
|
2110
|
+
HelpLayoutCompositeElementKey["Hero"] = "HERO";
|
|
2106
2111
|
HelpLayoutCompositeElementKey["LinkCard"] = "LINK_CARD";
|
|
2107
2112
|
})(HelpLayoutCompositeElementKey = exports.HelpLayoutCompositeElementKey || (exports.HelpLayoutCompositeElementKey = {}));
|
|
2108
2113
|
var HelpLayoutElementCategory;
|
|
@@ -2113,6 +2118,7 @@ var HelpLayoutElementCategory;
|
|
|
2113
2118
|
var HelpLayoutElementKey;
|
|
2114
2119
|
(function (HelpLayoutElementKey) {
|
|
2115
2120
|
HelpLayoutElementKey["Heading"] = "HEADING";
|
|
2121
|
+
HelpLayoutElementKey["Hero"] = "HERO";
|
|
2116
2122
|
HelpLayoutElementKey["Image"] = "IMAGE";
|
|
2117
2123
|
HelpLayoutElementKey["LinkCard"] = "LINK_CARD";
|
|
2118
2124
|
HelpLayoutElementKey["Paragraph"] = "PARAGRAPH";
|
|
@@ -2199,6 +2205,7 @@ var InsightsNextBestTaskAction;
|
|
|
2199
2205
|
})(InsightsNextBestTaskAction = exports.InsightsNextBestTaskAction || (exports.InsightsNextBestTaskAction = {}));
|
|
2200
2206
|
var InsightsTaskType;
|
|
2201
2207
|
(function (InsightsTaskType) {
|
|
2208
|
+
InsightsTaskType["BlockingIssue"] = "BLOCKING_ISSUE";
|
|
2202
2209
|
InsightsTaskType["BuildFailed"] = "BUILD_FAILED";
|
|
2203
2210
|
InsightsTaskType["CritVuln"] = "CRIT_VULN";
|
|
2204
2211
|
InsightsTaskType["DeploymentFailed"] = "DEPLOYMENT_FAILED";
|
|
@@ -11,12 +11,14 @@ declare type FeatureFlagType = {
|
|
|
11
11
|
'forge-cli-enable-atlas-product-support': boolean;
|
|
12
12
|
'forge-cli-enable-categorise-templates-by-product_e9fzn': boolean;
|
|
13
13
|
'forge-cli-enable-errors-for-connect-on-forge-apps': boolean;
|
|
14
|
+
'forge-cli-enable-ai-modules': boolean;
|
|
14
15
|
};
|
|
15
16
|
export declare type FeatureFlag = keyof FeatureFlagType;
|
|
16
17
|
export declare abstract class FeatureFlagReader {
|
|
17
18
|
abstract readFlag<F extends FeatureFlag>(flag: F): Promise<FeatureFlagType[F] | null>;
|
|
18
19
|
isAtlasProductSupported(): Promise<boolean>;
|
|
19
20
|
shouldDisplayErrorsForHarmonizedApps(): Promise<boolean>;
|
|
21
|
+
shouldEnableAiModules(): Promise<boolean>;
|
|
20
22
|
}
|
|
21
23
|
declare type ILaunchDarkly = Pick<LDClient, 'variation' | 'waitUntilReady'>;
|
|
22
24
|
declare type LaunchDarklyInitialize = (envKey: string, context: LDContext, options?: LDOptions) => ILaunchDarkly;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-flag-service.d.ts","sourceRoot":"","sources":["../../src/service/feature-flag-service.ts"],"names":[],"mappings":"AAAA,OAAqB,EAAe,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzG,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAyB/B,aAAK,eAAe,GAAG;IACrB,qBAAqB,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,YAAY,CAAC;IACpE,2BAA2B,EAAE,MAAM,CAAC;IACpC,wBAAwB,EAAE,OAAO,CAAC;IAClC,wCAAwC,EAAE,OAAO,CAAC;IAClD,wDAAwD,EAAE,OAAO,CAAC;IAElE,mDAAmD,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"feature-flag-service.d.ts","sourceRoot":"","sources":["../../src/service/feature-flag-service.ts"],"names":[],"mappings":"AAAA,OAAqB,EAAe,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE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))) !== null && _a !== void 0 ? _a : false;
|
|
15
15
|
}
|
|
16
|
+
async shouldEnableAiModules() {
|
|
17
|
+
var _a;
|
|
18
|
+
return (_a = (await this.readFlag('forge-cli-enable-ai-modules'))) !== null && _a !== void 0 ? _a : false;
|
|
19
|
+
}
|
|
16
20
|
}
|
|
17
21
|
exports.FeatureFlagReader = FeatureFlagReader;
|
|
18
22
|
var CLIENT_SIDE_ID;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli-shared",
|
|
3
|
-
"version": "3.23.4-next.0",
|
|
3
|
+
"version": "3.23.4-next.0-experimental-326ff96",
|
|
4
4
|
"description": "Common functionality for Forge CLI",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@forge/manifest": "5.6.0-next.0",
|
|
15
|
+
"@forge/manifest": "5.6.0-next.0-experimental-326ff96",
|
|
16
16
|
"@forge/util": "1.4.1",
|
|
17
17
|
"@sentry/node": "7.100.1",
|
|
18
18
|
"adm-zip": "^0.5.10",
|