mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02: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 {
|
"flagResolver": FlagResolver {
|
||||||
"experiments": {
|
"experiments": {
|
||||||
"anonymiseEventLog": false,
|
"anonymiseEventLog": false,
|
||||||
|
"automatedActions": false,
|
||||||
"caseInsensitiveInOperators": false,
|
"caseInsensitiveInOperators": false,
|
||||||
"celebrateUnleash": false,
|
"celebrateUnleash": false,
|
||||||
"customRootRolesKillSwitch": false,
|
"customRootRolesKillSwitch": false,
|
||||||
|
@ -34,6 +34,7 @@ export type IFlagKey =
|
|||||||
| 'newStrategyConfiguration'
|
| 'newStrategyConfiguration'
|
||||||
| 'stripHeadersOnAPI'
|
| 'stripHeadersOnAPI'
|
||||||
| 'incomingWebhooks'
|
| 'incomingWebhooks'
|
||||||
|
| 'automatedActions'
|
||||||
| 'celebrateUnleash'
|
| 'celebrateUnleash'
|
||||||
| 'increaseUnleashWidth'
|
| 'increaseUnleashWidth'
|
||||||
| 'featureSearchFeedback'
|
| 'featureSearchFeedback'
|
||||||
@ -151,6 +152,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_INCOMING_WEBHOOKS,
|
process.env.UNLEASH_EXPERIMENTAL_INCOMING_WEBHOOKS,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
automatedActions: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_AUTOMATED_ACTIONS,
|
||||||
|
false,
|
||||||
|
),
|
||||||
celebrateUnleash: parseEnvVarBoolean(
|
celebrateUnleash: parseEnvVarBoolean(
|
||||||
process.env.UNLEASH_EXPERIMENTAL_CELEBRATE_UNLEASH,
|
process.env.UNLEASH_EXPERIMENTAL_CELEBRATE_UNLEASH,
|
||||||
false,
|
false,
|
||||||
|
Loading…
Reference in New Issue
Block a user