mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02:00
chore: globalChangeRequestConfig flag (#9607)
This commit is contained in:
parent
678ec24e03
commit
c161291d09
@ -66,7 +66,8 @@ export type IFlagKey =
|
|||||||
| 'edgeObservability'
|
| 'edgeObservability'
|
||||||
| 'simplifyDisableFeature'
|
| 'simplifyDisableFeature'
|
||||||
| 'adminNavUI'
|
| 'adminNavUI'
|
||||||
| 'tagTypeColor';
|
| 'tagTypeColor'
|
||||||
|
| 'globalChangeRequestConfig';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -319,6 +320,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_TAG_TYPE_COLOR,
|
process.env.UNLEASH_EXPERIMENTAL_TAG_TYPE_COLOR,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
globalChangeRequestConfig: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_GLOBAL_CHANGE_REQUEST_CONFIG,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
Loading…
Reference in New Issue
Block a user