mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01: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;
 | 
			
		||||
    playgroundImprovements?: boolean;
 | 
			
		||||
    featureSwitchRefactor?: boolean;
 | 
			
		||||
    scheduledConfigurationChanges?: boolean;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export interface IVersionInfo {
 | 
			
		||||
 | 
			
		||||
@ -107,6 +107,7 @@ exports[`should create default config 1`] = `
 | 
			
		||||
      "privateProjects": false,
 | 
			
		||||
      "proPlanAutoCharge": false,
 | 
			
		||||
      "responseTimeWithAppNameKillSwitch": false,
 | 
			
		||||
      "scheduledConfigurationChanges": false,
 | 
			
		||||
      "separateAdminClientApi": false,
 | 
			
		||||
      "strictSchemaValidation": false,
 | 
			
		||||
      "useLastSeenRefactor": false,
 | 
			
		||||
 | 
			
		||||
@ -36,7 +36,8 @@ export type IFlagKey =
 | 
			
		||||
    | 'disableEnvsOnRevive'
 | 
			
		||||
    | 'playgroundImprovements'
 | 
			
		||||
    | 'featureSwitchRefactor'
 | 
			
		||||
    | 'featureSearchAPI';
 | 
			
		||||
    | 'featureSearchAPI'
 | 
			
		||||
    | 'scheduledConfigurationChanges';
 | 
			
		||||
 | 
			
		||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
 | 
			
		||||
 | 
			
		||||
@ -172,6 +173,10 @@ const flags: IFlags = {
 | 
			
		||||
        process.env.UNLEASH_EXPERIMENTAL_FEATURE_SEARCH_API,
 | 
			
		||||
        false,
 | 
			
		||||
    ),
 | 
			
		||||
    scheduledConfigurationChanges: parseEnvVarBoolean(
 | 
			
		||||
        process.env.UNLEASH_EXPERIMENTAL_SCHEDULED_CONFIGURATION_CHANGES,
 | 
			
		||||
        false,
 | 
			
		||||
    ),
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const defaultExperimentalOptions: IExperimentalOptions = {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user