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:
parent
6ba87d1436
commit
2cac903068
@ -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 = {
|
||||||
|
@ -58,6 +58,7 @@ process.nextTick(async () => {
|
|||||||
unleashAI: true,
|
unleashAI: true,
|
||||||
webhookDomainLogging: true,
|
webhookDomainLogging: true,
|
||||||
addonUsageMetrics: true,
|
addonUsageMetrics: true,
|
||||||
|
releasePlans: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
authentication: {
|
authentication: {
|
||||||
|
Loading…
Reference in New Issue
Block a user