1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

feat: add flag to purchase additional environments (#8366)

This commit is contained in:
Jaanus Sellin 2024-10-04 15:07:14 +03:00 committed by GitHub
parent 3fb683ffd9
commit 1875c9b6d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -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 = {

View File

@ -55,6 +55,7 @@ process.nextTick(async () => {
onboardingMetrics: true,
onboardingUI: true,
personalDashboardUI: true,
purchaseAdditionalEnvironments: true,
},
},
authentication: {