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:
parent
3fb683ffd9
commit
1875c9b6d1
@ -60,7 +60,8 @@ export type IFlagKey =
|
|||||||
| 'projectRoleAssignment'
|
| 'projectRoleAssignment'
|
||||||
| 'eventTimeline'
|
| 'eventTimeline'
|
||||||
| 'personalDashboardUI'
|
| 'personalDashboardUI'
|
||||||
| 'trackLifecycleMetrics';
|
| 'trackLifecycleMetrics'
|
||||||
|
| 'purchaseAdditionalEnvironments';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -297,6 +298,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_TRACK_LIFECYCLE_METRICS,
|
process.env.UNLEASH_EXPERIMENTAL_TRACK_LIFECYCLE_METRICS,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
purchaseAdditionalEnvironments: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_PURCHASE_ADDITIONAL_ENVIRONMENTS,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
@ -55,6 +55,7 @@ process.nextTick(async () => {
|
|||||||
onboardingMetrics: true,
|
onboardingMetrics: true,
|
||||||
onboardingUI: true,
|
onboardingUI: true,
|
||||||
personalDashboardUI: true,
|
personalDashboardUI: true,
|
||||||
|
purchaseAdditionalEnvironments: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
authentication: {
|
authentication: {
|
||||||
|
Loading…
Reference in New Issue
Block a user