diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 4c2b8e17e211..4ea7e2369e42 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -63,7 +63,8 @@ export type IFlagKey = | 'originMiddlewareRequestLogging' | 'unleashAI' | 'webhookDomainLogging' - | 'addonUsageMetrics'; + | 'addonUsageMetrics' + | 'releasePlans'; export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; @@ -312,6 +313,10 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_ADDON_USAGE_METRICS, false, ), + releasePlans: parseEnvVarBoolean( + process.env.UNLEASH_EXPERIMENTAL_RELEASE_PLANS, + false, + ), }; export const defaultExperimentalOptions: IExperimentalOptions = { diff --git a/src/server-dev.ts b/src/server-dev.ts index 1da3845e862e..e38f98ee78a2 100644 --- a/src/server-dev.ts +++ b/src/server-dev.ts @@ -58,6 +58,7 @@ process.nextTick(async () => { unleashAI: true, webhookDomainLogging: true, addonUsageMetrics: true, + releasePlans: true, }, }, authentication: {