mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
chore: feature collaborators flag (#7623)
This commit is contained in:
parent
5a2b48687e
commit
a0ba44d9f4
@ -92,6 +92,7 @@ export type UiFlags = {
|
||||
flagCreator?: boolean;
|
||||
resourceLimits?: boolean;
|
||||
insightsV2?: boolean;
|
||||
featureCollaborators?: boolean;
|
||||
};
|
||||
|
||||
export interface IVersionInfo {
|
||||
|
@ -104,6 +104,7 @@ exports[`should create default config 1`] = `
|
||||
"estimateTrafficDataCost": false,
|
||||
"extendedMetrics": false,
|
||||
"extendedUsageMetrics": false,
|
||||
"featureCollaborators": false,
|
||||
"featureLifecycle": false,
|
||||
"featureSearchFeedback": {
|
||||
"enabled": false,
|
||||
|
@ -68,7 +68,8 @@ export type IFlagKey =
|
||||
| 'allowOrphanedWildcardTokens'
|
||||
| 'removeUnsafeInlineStyleSrc'
|
||||
| 'insightsV2'
|
||||
| 'integrationEvents';
|
||||
| 'integrationEvents'
|
||||
| 'featureCollaborators';
|
||||
|
||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||
|
||||
@ -329,6 +330,10 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_INTEGRATION_EVENTS,
|
||||
false,
|
||||
),
|
||||
featureCollaborators: parseEnvVarBoolean(
|
||||
process.env.UNEASH_EXPERIMENTAL_FEATURE_COLLABORATORS,
|
||||
false,
|
||||
),
|
||||
};
|
||||
|
||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||
|
@ -58,6 +58,7 @@ process.nextTick(async () => {
|
||||
extendedMetrics: true,
|
||||
insightsV2: true,
|
||||
integrationEvents: true,
|
||||
featureCollaborators: true,
|
||||
},
|
||||
},
|
||||
authentication: {
|
||||
|
Loading…
Reference in New Issue
Block a user