Skip to content

Commit

Permalink
chore: releasePlans feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
daveleek committed Oct 16, 2024
1 parent 8d4e84d commit f713ba1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib/types/experimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ export type IFlagKey =
| 'originMiddlewareRequestLogging'
| 'unleashAI'
| 'webhookDomainLogging'
| 'addonUsageMetrics';
| 'addonUsageMetrics'
| 'releasePlans';

export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;

Expand Down Expand Up @@ -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 = {
Expand Down
1 change: 1 addition & 0 deletions src/server-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ process.nextTick(async () => {
unleashAI: true,
webhookDomainLogging: true,
addonUsageMetrics: true,
releasePlans: true,
},
},
authentication: {
Expand Down

0 comments on commit f713ba1

Please sign in to comment.