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