mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
feat: add automated actions flag (#5805)
Just a flag for an enterprise feature
This commit is contained in:
parent
99b165741d
commit
eb7882e2eb
@ -73,6 +73,7 @@ exports[`should create default config 1`] = `
|
||||
"flagResolver": FlagResolver {
|
||||
"experiments": {
|
||||
"anonymiseEventLog": false,
|
||||
"automatedActions": false,
|
||||
"caseInsensitiveInOperators": false,
|
||||
"celebrateUnleash": false,
|
||||
"customRootRolesKillSwitch": false,
|
||||
|
@ -34,6 +34,7 @@ export type IFlagKey =
|
||||
| 'newStrategyConfiguration'
|
||||
| 'stripHeadersOnAPI'
|
||||
| 'incomingWebhooks'
|
||||
| 'automatedActions'
|
||||
| 'celebrateUnleash'
|
||||
| 'increaseUnleashWidth'
|
||||
| 'featureSearchFeedback'
|
||||
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user