diff --git a/src/lib/__snapshots__/create-config.test.ts.snap b/src/lib/__snapshots__/create-config.test.ts.snap index 907f898639..8f03087ac7 100644 --- a/src/lib/__snapshots__/create-config.test.ts.snap +++ b/src/lib/__snapshots__/create-config.test.ts.snap @@ -94,6 +94,7 @@ exports[`should create default config 1`] = ` "proPlanAutoCharge": false, "responseTimeWithAppNameKillSwitch": false, "segmentContextFieldUsage": false, + "slackAppAddon": false, "strategySplittedButton": false, "strategyVariant": false, "strictSchemaValidation": false, @@ -128,6 +129,7 @@ exports[`should create default config 1`] = ` "proPlanAutoCharge": false, "responseTimeWithAppNameKillSwitch": false, "segmentContextFieldUsage": false, + "slackAppAddon": false, "strategySplittedButton": false, "strategyVariant": false, "strictSchemaValidation": false, diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index d3f5066b83..8aa0e0dacc 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -25,7 +25,8 @@ export type IFlagKey = | 'customRootRoles' | 'strategySplittedButton' | 'strategyVariant' - | 'newProjectLayout'; + | 'newProjectLayout' + | 'slackAppAddon'; export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; @@ -118,6 +119,10 @@ const flags: IFlags = { process.env.UNLEASH_STRATEGY_VARIANT, false, ), + slackAppAddon: parseEnvVarBoolean( + process.env.UNLEASH_SLACK_APP_ADDON, + false, + ), }; export const defaultExperimentalOptions: IExperimentalOptions = {