mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
parent
c3d2ae08d6
commit
24e2c4030b
@ -95,6 +95,7 @@ export type UiFlags = {
|
||||
featureCollaborators?: boolean;
|
||||
integrationEvents?: boolean;
|
||||
improveCreateFlagFlow?: boolean;
|
||||
newEventSearch?: boolean;
|
||||
};
|
||||
|
||||
export interface IVersionInfo {
|
||||
|
@ -144,6 +144,7 @@ exports[`should create default config 1`] = `
|
||||
},
|
||||
"migrationLock": true,
|
||||
"navigationSidebar": true,
|
||||
"newEventSearch": false,
|
||||
"originMiddleware": false,
|
||||
"outdatedSdksBanner": false,
|
||||
"parseProjectFromSession": false,
|
||||
|
@ -71,7 +71,8 @@ export type IFlagKey =
|
||||
| 'integrationEvents'
|
||||
| 'featureCollaborators'
|
||||
| 'improveCreateFlagFlow'
|
||||
| 'originMiddleware';
|
||||
| 'originMiddleware'
|
||||
| 'newEventSearch';
|
||||
|
||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||
|
||||
@ -344,6 +345,10 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_ORIGIN_MIDDLEWARE,
|
||||
false,
|
||||
),
|
||||
newEventSearch: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_NEW_EVENT_SEARCH,
|
||||
false,
|
||||
),
|
||||
};
|
||||
|
||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||
|
@ -61,6 +61,7 @@ process.nextTick(async () => {
|
||||
featureCollaborators: true,
|
||||
improveCreateFlagFlow: true,
|
||||
originMiddleware: true,
|
||||
newEventSearch: true,
|
||||
},
|
||||
},
|
||||
authentication: {
|
||||
|
Loading…
Reference in New Issue
Block a user