mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-01 01:18:10 +02:00
add feature flag: network view (#2543)
https://linear.app/unleash/issue/2-453/add-feature-flag
This commit is contained in:
parent
e7225dd29f
commit
1fec43947d
@ -45,6 +45,7 @@ export interface IFlags {
|
||||
cloneEnvironment?: boolean;
|
||||
variantsPerEnvironment?: boolean;
|
||||
tokensLastSeen?: boolean;
|
||||
networkView?: boolean;
|
||||
}
|
||||
|
||||
export interface IVersionInfo {
|
||||
|
@ -74,6 +74,7 @@ exports[`should create default config 1`] = `
|
||||
"cloneEnvironment": false,
|
||||
"embedProxy": false,
|
||||
"embedProxyFrontend": false,
|
||||
"networkView": false,
|
||||
"proxyReturnAllToggles": false,
|
||||
"responseTimeWithAppName": false,
|
||||
"syncSSOGroups": false,
|
||||
@ -91,6 +92,7 @@ exports[`should create default config 1`] = `
|
||||
"cloneEnvironment": false,
|
||||
"embedProxy": false,
|
||||
"embedProxyFrontend": false,
|
||||
"networkView": false,
|
||||
"proxyReturnAllToggles": false,
|
||||
"responseTimeWithAppName": false,
|
||||
"syncSSOGroups": false,
|
||||
|
@ -50,6 +50,10 @@ export const defaultExperimentalOptions = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_TOKENS_LAST_SEEN,
|
||||
false,
|
||||
),
|
||||
networkView: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_NETWORK_VIEW,
|
||||
false,
|
||||
),
|
||||
},
|
||||
externalResolver: { isEnabled: (): boolean => false },
|
||||
};
|
||||
@ -68,6 +72,7 @@ export interface IExperimentalOptions {
|
||||
proxyReturnAllToggles?: boolean;
|
||||
variantsPerEnvironment?: boolean;
|
||||
tokensLastSeen?: boolean;
|
||||
networkView?: boolean;
|
||||
};
|
||||
externalResolver: IExternalFlagResolver;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user