mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-04 01:18:20 +02:00
chore: change request playground flag (#7707)
This commit is contained in:
parent
6170d10e62
commit
126dff2344
@ -82,6 +82,7 @@ exports[`should create default config 1`] = `
|
|||||||
"automatedActions": false,
|
"automatedActions": false,
|
||||||
"caseInsensitiveInOperators": false,
|
"caseInsensitiveInOperators": false,
|
||||||
"celebrateUnleash": false,
|
"celebrateUnleash": false,
|
||||||
|
"changeRequestPlayground": false,
|
||||||
"cleanApiTokenWhenOrphaned": false,
|
"cleanApiTokenWhenOrphaned": false,
|
||||||
"collectTrafficDataUsage": false,
|
"collectTrafficDataUsage": false,
|
||||||
"commandBarUI": false,
|
"commandBarUI": false,
|
||||||
|
@ -72,7 +72,8 @@ export type IFlagKey =
|
|||||||
| 'featureCollaborators'
|
| 'featureCollaborators'
|
||||||
| 'improveCreateFlagFlow'
|
| 'improveCreateFlagFlow'
|
||||||
| 'originMiddleware'
|
| 'originMiddleware'
|
||||||
| 'newEventSearch';
|
| 'newEventSearch'
|
||||||
|
| 'changeRequestPlayground';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -349,6 +350,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_NEW_EVENT_SEARCH,
|
process.env.UNLEASH_EXPERIMENTAL_NEW_EVENT_SEARCH,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
changeRequestPlayground: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_CHANGE_REQUEST_PLAYGROUND,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
@ -62,6 +62,7 @@ process.nextTick(async () => {
|
|||||||
improveCreateFlagFlow: true,
|
improveCreateFlagFlow: true,
|
||||||
originMiddleware: true,
|
originMiddleware: true,
|
||||||
newEventSearch: true,
|
newEventSearch: true,
|
||||||
|
changeRequestPlayground: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
authentication: {
|
authentication: {
|
||||||
|
Loading…
Reference in New Issue
Block a user