@forge/cli-shared 3.25.0-next.2-experimental-12c7386 → 3.25.0-next.2-experimental-f4c3b93
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 +2 -4
- package/out/apps/template.d.ts.map +1 -1
- package/out/apps/template.js +1 -2
- package/out/graphql/graphql-types.d.ts +49 -0
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/service/feature-flag-service.d.ts +0 -2
- package/out/service/feature-flag-service.d.ts.map +1 -1
- package/out/service/feature-flag-service.js +0 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
-
## 3.25.0-next.2-experimental-
|
|
3
|
+
## 3.25.0-next.2-experimental-f4c3b93
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
- 5477c90: Support for AI modules
|
|
8
7
|
- ba85e65: Add support for FedRAMP environments
|
|
9
8
|
- a7da8c4: Clean up FF "Forge CLI: Enable categorise templates by product"
|
|
10
9
|
|
|
11
10
|
### Patch Changes
|
|
12
11
|
|
|
13
|
-
- Updated dependencies [afb1634]
|
|
14
12
|
- Updated dependencies [9307e05]
|
|
15
|
-
- @forge/manifest@6.2.0-next.0-experimental-
|
|
13
|
+
- @forge/manifest@6.2.0-next.0-experimental-f4c3b93
|
|
16
14
|
|
|
17
15
|
## 3.25.0-next.2
|
|
18
16
|
|
|
@@ -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","source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D,qBAAa,qBAAsB,YAAW,cAAc;IAC1D,OAAO,CAAC,uBAAuB;IAI/B,OAAO,CAAC,wBAAwB;IAOnB,qBAAqB,IAAI,OAAO,CAAC,MAAM,EAAE,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,5 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var _a;
|
|
3
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
3
|
exports.ComposableTemplater = exports.TemplateServiceLister = exports.TemplateFetchError = exports.ZipTemplateExtractor = exports.TemplateServiceDownloader = exports.InvalidTemplateArchiveError = exports.NoTemplateError = void 0;
|
|
5
4
|
const tslib_1 = require("tslib");
|
|
@@ -11,7 +10,7 @@ const tmp_1 = tslib_1.__importDefault(require("tmp"));
|
|
|
11
10
|
const url_1 = require("url");
|
|
12
11
|
const error_handling_1 = require("../shared/error-handling");
|
|
13
12
|
const ui_1 = require("../ui");
|
|
14
|
-
const TEMPLATE_SERVICE_URL =
|
|
13
|
+
const TEMPLATE_SERVICE_URL = 'https://forge-templates.us-west-2.prod.public.atl-paas.net/';
|
|
15
14
|
const TEMPLATE_MAP = 'templates.json';
|
|
16
15
|
class NoTemplateError extends error_handling_1.UserError {
|
|
17
16
|
constructor(template) {
|
|
@@ -2431,6 +2431,11 @@ export declare enum CcpActivationReason {
|
|
|
2431
2431
|
DefaultPricing = "DEFAULT_PRICING",
|
|
2432
2432
|
ExperimentalPricing = "EXPERIMENTAL_PRICING"
|
|
2433
2433
|
}
|
|
2434
|
+
export declare type CcpAddPaymentMethodExperienceCapability = CommerceExperienceCapability & {
|
|
2435
|
+
__typename?: 'CcpAddPaymentMethodExperienceCapability';
|
|
2436
|
+
experienceUrl?: Maybe<Scalars['String']['output']>;
|
|
2437
|
+
isAvailableToUser?: Maybe<Scalars['Boolean']['output']>;
|
|
2438
|
+
};
|
|
2434
2439
|
export declare type CcpApplicationReason = {
|
|
2435
2440
|
__typename?: 'CcpApplicationReason';
|
|
2436
2441
|
id?: Maybe<Scalars['ID']['output']>;
|
|
@@ -2452,6 +2457,11 @@ export declare type CcpBillingPeriodDetails = {
|
|
|
2452
2457
|
billingAnchorTimestamp?: Maybe<Scalars['Float']['output']>;
|
|
2453
2458
|
nextBillingTimestamp?: Maybe<Scalars['Float']['output']>;
|
|
2454
2459
|
};
|
|
2460
|
+
export declare type CcpChangeOfferingExperienceCapability = CommerceExperienceCapability & {
|
|
2461
|
+
__typename?: 'CcpChangeOfferingExperienceCapability';
|
|
2462
|
+
experienceUrl?: Maybe<Scalars['String']['output']>;
|
|
2463
|
+
isAvailableToUser?: Maybe<Scalars['Boolean']['output']>;
|
|
2464
|
+
};
|
|
2455
2465
|
export declare type CcpChargeDetails = {
|
|
2456
2466
|
__typename?: 'CcpChargeDetails';
|
|
2457
2467
|
chargeQuantities?: Maybe<Array<Maybe<CcpChargeQuantity>>>;
|
|
@@ -2475,6 +2485,11 @@ export declare enum CcpChargeType {
|
|
|
2475
2485
|
Licensed = "LICENSED",
|
|
2476
2486
|
Metered = "METERED"
|
|
2477
2487
|
}
|
|
2488
|
+
export declare type CcpConfigurePaymentMethodExperienceCapability = CommerceExperienceCapability & {
|
|
2489
|
+
__typename?: 'CcpConfigurePaymentMethodExperienceCapability';
|
|
2490
|
+
experienceUrl?: Maybe<Scalars['String']['output']>;
|
|
2491
|
+
isAvailableToUser?: Maybe<Scalars['Boolean']['output']>;
|
|
2492
|
+
};
|
|
2478
2493
|
export declare type CcpContext = {
|
|
2479
2494
|
__typename?: 'CcpContext';
|
|
2480
2495
|
authMechanism?: Maybe<Scalars['String']['output']>;
|
|
@@ -2546,10 +2561,14 @@ export declare type CcpEntitlement = CommerceEntitlement & Node & {
|
|
|
2546
2561
|
export declare type CcpEntitlementExperienceCapabilities = CommerceEntitlementExperienceCapabilities & {
|
|
2547
2562
|
__typename?: 'CcpEntitlementExperienceCapabilities';
|
|
2548
2563
|
changeOffering?: Maybe<CcpExperienceCapability>;
|
|
2564
|
+
changeOfferingV2?: Maybe<CcpChangeOfferingExperienceCapability>;
|
|
2549
2565
|
};
|
|
2550
2566
|
export declare type CcpEntitlementExperienceCapabilitiesChangeOfferingArgs = {
|
|
2551
2567
|
offeringKey?: InputMaybe<Scalars['ID']['input']>;
|
|
2552
2568
|
};
|
|
2569
|
+
export declare type CcpEntitlementExperienceCapabilitiesChangeOfferingV2Args = {
|
|
2570
|
+
offeringKey?: InputMaybe<Scalars['ID']['input']>;
|
|
2571
|
+
};
|
|
2553
2572
|
export declare type CcpEntitlementPreDunning = CommerceEntitlementPreDunning & {
|
|
2554
2573
|
__typename?: 'CcpEntitlementPreDunning';
|
|
2555
2574
|
firstPreDunningEndTimestamp?: Maybe<Scalars['Float']['output']>;
|
|
@@ -2590,6 +2609,7 @@ export declare type CcpInvoiceGroup = CommerceInvoiceGroup & {
|
|
|
2590
2609
|
export declare type CcpInvoiceGroupExperienceCapabilities = CommerceInvoiceGroupExperienceCapabilities & {
|
|
2591
2610
|
__typename?: 'CcpInvoiceGroupExperienceCapabilities';
|
|
2592
2611
|
configurePayment?: Maybe<CcpExperienceCapability>;
|
|
2612
|
+
configurePaymentV2?: Maybe<CcpConfigurePaymentMethodExperienceCapability>;
|
|
2593
2613
|
};
|
|
2594
2614
|
export declare type CcpMapEntry = {
|
|
2595
2615
|
__typename?: 'CcpMapEntry';
|
|
@@ -2806,6 +2826,7 @@ export declare type CcpTransactionAccount = CommerceTransactionAccount & {
|
|
|
2806
2826
|
export declare type CcpTransactionAccountExperienceCapabilities = CommerceTransactionAccountExperienceCapabilities & {
|
|
2807
2827
|
__typename?: 'CcpTransactionAccountExperienceCapabilities';
|
|
2808
2828
|
addPaymentMethod?: Maybe<CcpExperienceCapability>;
|
|
2829
|
+
addPaymentMethodV2?: Maybe<CcpAddPaymentMethodExperienceCapability>;
|
|
2809
2830
|
};
|
|
2810
2831
|
export declare type CcpTrial = CommerceTrial & {
|
|
2811
2832
|
__typename?: 'CcpTrial';
|
|
@@ -2931,10 +2952,14 @@ export declare type CommerceEntitlement = {
|
|
|
2931
2952
|
};
|
|
2932
2953
|
export declare type CommerceEntitlementExperienceCapabilities = {
|
|
2933
2954
|
changeOffering?: Maybe<CommerceExperienceCapability>;
|
|
2955
|
+
changeOfferingV2?: Maybe<CommerceExperienceCapability>;
|
|
2934
2956
|
};
|
|
2935
2957
|
export declare type CommerceEntitlementExperienceCapabilitiesChangeOfferingArgs = {
|
|
2936
2958
|
offeringKey?: InputMaybe<Scalars['ID']['input']>;
|
|
2937
2959
|
};
|
|
2960
|
+
export declare type CommerceEntitlementExperienceCapabilitiesChangeOfferingV2Args = {
|
|
2961
|
+
offeringKey?: InputMaybe<Scalars['ID']['input']>;
|
|
2962
|
+
};
|
|
2938
2963
|
export declare type CommerceEntitlementFilter = {
|
|
2939
2964
|
AND?: InputMaybe<Array<InputMaybe<CommerceEntitlementFilter>>>;
|
|
2940
2965
|
inTrialOrPreDunning?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -2976,6 +3001,7 @@ export declare type CommerceInvoiceGroup = {
|
|
|
2976
3001
|
};
|
|
2977
3002
|
export declare type CommerceInvoiceGroupExperienceCapabilities = {
|
|
2978
3003
|
configurePayment?: Maybe<CommerceExperienceCapability>;
|
|
3004
|
+
configurePaymentV2?: Maybe<CommerceExperienceCapability>;
|
|
2979
3005
|
};
|
|
2980
3006
|
export declare type CommerceOffering = {
|
|
2981
3007
|
name?: Maybe<Scalars['String']['output']>;
|
|
@@ -2997,6 +3023,7 @@ export declare type CommerceTransactionAccount = {
|
|
|
2997
3023
|
};
|
|
2998
3024
|
export declare type CommerceTransactionAccountExperienceCapabilities = {
|
|
2999
3025
|
addPaymentMethod?: Maybe<CommerceExperienceCapability>;
|
|
3026
|
+
addPaymentMethodV2?: Maybe<CommerceExperienceCapability>;
|
|
3000
3027
|
};
|
|
3001
3028
|
export declare type CommerceTrial = {
|
|
3002
3029
|
endTimestamp?: Maybe<Scalars['Float']['output']>;
|
|
@@ -24121,6 +24148,21 @@ export declare type HamsAccountDetails = CommerceAccountDetails & {
|
|
|
24121
24148
|
__typename?: 'HamsAccountDetails';
|
|
24122
24149
|
invoiceGroup?: Maybe<HamsInvoiceGroup>;
|
|
24123
24150
|
};
|
|
24151
|
+
export declare type HamsAddPaymentMethodExperienceCapability = CommerceExperienceCapability & {
|
|
24152
|
+
__typename?: 'HamsAddPaymentMethodExperienceCapability';
|
|
24153
|
+
experienceUrl?: Maybe<Scalars['String']['output']>;
|
|
24154
|
+
isAvailableToUser?: Maybe<Scalars['Boolean']['output']>;
|
|
24155
|
+
};
|
|
24156
|
+
export declare type HamsChangeOfferingExperienceCapability = CommerceExperienceCapability & {
|
|
24157
|
+
__typename?: 'HamsChangeOfferingExperienceCapability';
|
|
24158
|
+
experienceUrl?: Maybe<Scalars['String']['output']>;
|
|
24159
|
+
isAvailableToUser?: Maybe<Scalars['Boolean']['output']>;
|
|
24160
|
+
};
|
|
24161
|
+
export declare type HamsConfigurePaymentMethodExperienceCapability = CommerceExperienceCapability & {
|
|
24162
|
+
__typename?: 'HamsConfigurePaymentMethodExperienceCapability';
|
|
24163
|
+
experienceUrl?: Maybe<Scalars['String']['output']>;
|
|
24164
|
+
isAvailableToUser?: Maybe<Scalars['Boolean']['output']>;
|
|
24165
|
+
};
|
|
24124
24166
|
export declare type HamsEntitlement = CommerceEntitlement & {
|
|
24125
24167
|
__typename?: 'HamsEntitlement';
|
|
24126
24168
|
accountId?: Maybe<Scalars['String']['output']>;
|
|
@@ -24157,10 +24199,14 @@ export declare type HamsEntitlement = CommerceEntitlement & {
|
|
|
24157
24199
|
export declare type HamsEntitlementExperienceCapabilities = CommerceEntitlementExperienceCapabilities & {
|
|
24158
24200
|
__typename?: 'HamsEntitlementExperienceCapabilities';
|
|
24159
24201
|
changeOffering?: Maybe<HamsExperienceCapability>;
|
|
24202
|
+
changeOfferingV2?: Maybe<HamsChangeOfferingExperienceCapability>;
|
|
24160
24203
|
};
|
|
24161
24204
|
export declare type HamsEntitlementExperienceCapabilitiesChangeOfferingArgs = {
|
|
24162
24205
|
offeringKey?: InputMaybe<Scalars['ID']['input']>;
|
|
24163
24206
|
};
|
|
24207
|
+
export declare type HamsEntitlementExperienceCapabilitiesChangeOfferingV2Args = {
|
|
24208
|
+
offeringKey?: InputMaybe<Scalars['ID']['input']>;
|
|
24209
|
+
};
|
|
24164
24210
|
export declare type HamsEntitlementMigrationEvaluation = {
|
|
24165
24211
|
__typename?: 'HamsEntitlementMigrationEvaluation';
|
|
24166
24212
|
btfSourceAccountId?: Maybe<Scalars['String']['output']>;
|
|
@@ -24185,6 +24231,7 @@ export declare type HamsInvoiceGroup = CommerceInvoiceGroup & {
|
|
|
24185
24231
|
export declare type HamsInvoiceGroupExperienceCapabilities = CommerceInvoiceGroupExperienceCapabilities & {
|
|
24186
24232
|
__typename?: 'HamsInvoiceGroupExperienceCapabilities';
|
|
24187
24233
|
configurePayment?: Maybe<HamsExperienceCapability>;
|
|
24234
|
+
configurePaymentV2?: Maybe<HamsExperienceCapability>;
|
|
24188
24235
|
};
|
|
24189
24236
|
export declare type HamsOffering = CommerceOffering & {
|
|
24190
24237
|
__typename?: 'HamsOffering';
|
|
@@ -24212,6 +24259,7 @@ export declare type HamsTransactionAccount = CommerceTransactionAccount & {
|
|
|
24212
24259
|
export declare type HamsTransactionAccountExperienceCapabilities = CommerceTransactionAccountExperienceCapabilities & {
|
|
24213
24260
|
__typename?: 'HamsTransactionAccountExperienceCapabilities';
|
|
24214
24261
|
addPaymentMethod?: Maybe<HamsExperienceCapability>;
|
|
24262
|
+
addPaymentMethodV2?: Maybe<HamsAddPaymentMethodExperienceCapability>;
|
|
24215
24263
|
};
|
|
24216
24264
|
export declare type HamsTrial = CommerceTrial & {
|
|
24217
24265
|
__typename?: 'HamsTrial';
|
|
@@ -24533,6 +24581,7 @@ export declare type HelpCenterPortal = {
|
|
|
24533
24581
|
logoUrl?: Maybe<Scalars['String']['output']>;
|
|
24534
24582
|
name?: Maybe<Scalars['String']['output']>;
|
|
24535
24583
|
portalBaseUrl?: Maybe<Scalars['String']['output']>;
|
|
24584
|
+
rank?: Maybe<Scalars['Int']['output']>;
|
|
24536
24585
|
};
|
|
24537
24586
|
export declare type HelpCenterPortalFilter = {
|
|
24538
24587
|
typeFilter?: InputMaybe<Array<HelpCenterPortalsType>>;
|