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