1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

chore: releasePlans feature flag (#8458)

Adds the releasePlans feature flag
This commit is contained in:
David Leek 2024-10-16 09:00:58 +02:00 committed by GitHub
parent 6ba87d1436
commit 2cac903068
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -63,7 +63,8 @@ export type IFlagKey =
| 'originMiddlewareRequestLogging' | 'originMiddlewareRequestLogging'
| 'unleashAI' | 'unleashAI'
| 'webhookDomainLogging' | 'webhookDomainLogging'
| 'addonUsageMetrics'; | 'addonUsageMetrics'
| 'releasePlans';
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
@ -312,6 +313,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_ADDON_USAGE_METRICS, process.env.UNLEASH_EXPERIMENTAL_ADDON_USAGE_METRICS,
false, false,
), ),
releasePlans: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_RELEASE_PLANS,
false,
),
}; };
export const defaultExperimentalOptions: IExperimentalOptions = { export const defaultExperimentalOptions: IExperimentalOptions = {

View File

@ -58,6 +58,7 @@ process.nextTick(async () => {
unleashAI: true, unleashAI: true,
webhookDomainLogging: true, webhookDomainLogging: true,
addonUsageMetrics: true, addonUsageMetrics: true,
releasePlans: true,
}, },
}, },
authentication: { authentication: {