mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	
							parent
							
								
									76fc25123f
								
							
						
					
					
						commit
						cc9558689b
					
				| @ -96,6 +96,7 @@ exports[`should create default config 1`] = ` | ||||
|       "personalAccessTokensKillSwitch": false, | ||||
|       "proPlanAutoCharge": false, | ||||
|       "responseTimeWithAppNameKillSwitch": false, | ||||
|       "segmentChangeRequests": false, | ||||
|       "slackAppAddon": false, | ||||
|       "strategyVariant": false, | ||||
|       "strictSchemaValidation": false, | ||||
| @ -132,6 +133,7 @@ exports[`should create default config 1`] = ` | ||||
|       "personalAccessTokensKillSwitch": false, | ||||
|       "proPlanAutoCharge": false, | ||||
|       "responseTimeWithAppNameKillSwitch": false, | ||||
|       "segmentChangeRequests": false, | ||||
|       "slackAppAddon": false, | ||||
|       "strategyVariant": false, | ||||
|       "strictSchemaValidation": false, | ||||
|  | ||||
| @ -28,7 +28,8 @@ export type IFlagKey = | ||||
|     | 'configurableFeatureTypeLifetimes' | ||||
|     | 'filterInvalidClientMetrics' | ||||
|     | 'frontendNavigationUpdate' | ||||
|     | 'lastSeenByEnvironment'; | ||||
|     | 'lastSeenByEnvironment' | ||||
|     | 'segmentChangeRequests'; | ||||
| 
 | ||||
| export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; | ||||
| 
 | ||||
| @ -133,6 +134,10 @@ const flags: IFlags = { | ||||
|         process.env.LAST_SEEN_BY_ENVIRONMENT, | ||||
|         false, | ||||
|     ), | ||||
|     segmentChangeRequests: parseEnvVarBoolean( | ||||
|         process.env.UNLEASH_EXPERIMENTAL_SEGMENT_CHANGE_REQUESTS, | ||||
|         false, | ||||
|     ), | ||||
| }; | ||||
| 
 | ||||
| export const defaultExperimentalOptions: IExperimentalOptions = { | ||||
|  | ||||
| @ -44,6 +44,7 @@ process.nextTick(async () => { | ||||
|                         configurableFeatureTypeLifetimes: true, | ||||
|                         frontendNavigationUpdate: true, | ||||
|                         lastSeenByEnvironment: true, | ||||
|                         segmentChangeRequests: true, | ||||
|                     }, | ||||
|                 }, | ||||
|                 authentication: { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user