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