mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	
							parent
							
								
									85bd7845b0
								
							
						
					
					
						commit
						00ca1d7186
					
				@ -77,6 +77,7 @@ exports[`should create default config 1`] = `
 | 
			
		||||
      "disableNotifications": false,
 | 
			
		||||
      "embedProxy": true,
 | 
			
		||||
      "embedProxyFrontend": true,
 | 
			
		||||
      "emitPotentiallyStaleEvents": false,
 | 
			
		||||
      "featuresExportImport": true,
 | 
			
		||||
      "googleAuthEnabled": false,
 | 
			
		||||
      "maintenanceMode": false,
 | 
			
		||||
@ -112,6 +113,7 @@ exports[`should create default config 1`] = `
 | 
			
		||||
      "disableNotifications": false,
 | 
			
		||||
      "embedProxy": true,
 | 
			
		||||
      "embedProxyFrontend": true,
 | 
			
		||||
      "emitPotentiallyStaleEvents": false,
 | 
			
		||||
      "featuresExportImport": true,
 | 
			
		||||
      "googleAuthEnabled": false,
 | 
			
		||||
      "maintenanceMode": false,
 | 
			
		||||
 | 
			
		||||
@ -26,7 +26,8 @@ export type IFlagKey =
 | 
			
		||||
    | 'strategySplittedButton'
 | 
			
		||||
    | 'strategyVariant'
 | 
			
		||||
    | 'newProjectLayout'
 | 
			
		||||
    | 'slackAppAddon';
 | 
			
		||||
    | 'slackAppAddon'
 | 
			
		||||
    | 'emitPotentiallyStaleEvents';
 | 
			
		||||
 | 
			
		||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
 | 
			
		||||
 | 
			
		||||
@ -123,6 +124,11 @@ const flags: IFlags = {
 | 
			
		||||
        process.env.UNLEASH_SLACK_APP_ADDON,
 | 
			
		||||
        false,
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    emitPotentiallyStaleEvents: parseEnvVarBoolean(
 | 
			
		||||
        process.env.UNLEASH_EXPERIMENTAL_EMIT_POTENTIALLY_STALE_EVENTS,
 | 
			
		||||
        false,
 | 
			
		||||
    ),
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const defaultExperimentalOptions: IExperimentalOptions = {
 | 
			
		||||
 | 
			
		||||
@ -42,6 +42,7 @@ process.nextTick(async () => {
 | 
			
		||||
                        strategySplittedButton: true,
 | 
			
		||||
                        strategyVariant: true,
 | 
			
		||||
                        newProjectLayout: true,
 | 
			
		||||
                        emitPotentiallyStaleEvents: true,
 | 
			
		||||
                    },
 | 
			
		||||
                },
 | 
			
		||||
                authentication: {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user