diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index ee9f6aecb809..41df802b1f95 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -60,7 +60,8 @@ export type IFlagKey = | 'projectRoleAssignment' | 'eventTimeline' | 'personalDashboardUI' - | 'trackLifecycleMetrics'; + | 'trackLifecycleMetrics' + | 'purchaseAdditionalEnvironments'; export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; @@ -297,6 +298,10 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_TRACK_LIFECYCLE_METRICS, false, ), + purchaseAdditionalEnvironments: parseEnvVarBoolean( + process.env.UNLEASH_EXPERIMENTAL_PURCHASE_ADDITIONAL_ENVIRONMENTS, + false, + ), }; export const defaultExperimentalOptions: IExperimentalOptions = { diff --git a/src/server-dev.ts b/src/server-dev.ts index f702cdbcc2ef..c132b9ec9965 100644 --- a/src/server-dev.ts +++ b/src/server-dev.ts @@ -55,6 +55,7 @@ process.nextTick(async () => { onboardingMetrics: true, onboardingUI: true, personalDashboardUI: true, + purchaseAdditionalEnvironments: true, }, }, authentication: {