mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-26 13:48:33 +02:00
feat: add scheduledConfigurationChanges flag (#5161)
add scheduledConfigurationChanges flag --------- Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
acb23e8b87
commit
66cc526855
@ -71,6 +71,7 @@ export type UiFlags = {
|
|||||||
disableEnvsOnRevive?: boolean;
|
disableEnvsOnRevive?: boolean;
|
||||||
playgroundImprovements?: boolean;
|
playgroundImprovements?: boolean;
|
||||||
featureSwitchRefactor?: boolean;
|
featureSwitchRefactor?: boolean;
|
||||||
|
scheduledConfigurationChanges?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface IVersionInfo {
|
export interface IVersionInfo {
|
||||||
|
@ -107,6 +107,7 @@ exports[`should create default config 1`] = `
|
|||||||
"privateProjects": false,
|
"privateProjects": false,
|
||||||
"proPlanAutoCharge": false,
|
"proPlanAutoCharge": false,
|
||||||
"responseTimeWithAppNameKillSwitch": false,
|
"responseTimeWithAppNameKillSwitch": false,
|
||||||
|
"scheduledConfigurationChanges": false,
|
||||||
"separateAdminClientApi": false,
|
"separateAdminClientApi": false,
|
||||||
"strictSchemaValidation": false,
|
"strictSchemaValidation": false,
|
||||||
"useLastSeenRefactor": false,
|
"useLastSeenRefactor": false,
|
||||||
|
@ -36,7 +36,8 @@ export type IFlagKey =
|
|||||||
| 'disableEnvsOnRevive'
|
| 'disableEnvsOnRevive'
|
||||||
| 'playgroundImprovements'
|
| 'playgroundImprovements'
|
||||||
| 'featureSwitchRefactor'
|
| 'featureSwitchRefactor'
|
||||||
| 'featureSearchAPI';
|
| 'featureSearchAPI'
|
||||||
|
| 'scheduledConfigurationChanges';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -172,6 +173,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_FEATURE_SEARCH_API,
|
process.env.UNLEASH_EXPERIMENTAL_FEATURE_SEARCH_API,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
scheduledConfigurationChanges: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_SCHEDULED_CONFIGURATION_CHANGES,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
Loading…
Reference in New Issue
Block a user