Skip to content

Commit

Permalink
feat: add automated actions flag (#5805)
Browse files Browse the repository at this point in the history
Just a flag for an enterprise feature
  • Loading branch information
gastonfournier committed Jan 9, 2024
1 parent 99b1657 commit eb7882e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/__snapshots__/create-config.test.ts.snap
Expand Up @@ -73,6 +73,7 @@ exports[`should create default config 1`] = `
"flagResolver": FlagResolver {
"experiments": {
"anonymiseEventLog": false,
"automatedActions": false,
"caseInsensitiveInOperators": false,
"celebrateUnleash": false,
"customRootRolesKillSwitch": false,
Expand Down
5 changes: 5 additions & 0 deletions src/lib/types/experimental.ts
Expand Up @@ -34,6 +34,7 @@ export type IFlagKey =
| 'newStrategyConfiguration'
| 'stripHeadersOnAPI'
| 'incomingWebhooks'
| 'automatedActions'
| 'celebrateUnleash'
| 'increaseUnleashWidth'
| 'featureSearchFeedback'
Expand Down Expand Up @@ -151,6 +152,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_INCOMING_WEBHOOKS,
false,
),
automatedActions: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_AUTOMATED_ACTIONS,
false,
),
celebrateUnleash: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_CELEBRATE_UNLEASH,
false,
Expand Down

0 comments on commit eb7882e

Please sign in to comment.