mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-18 00:19:49 +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;
|
flagCreator?: boolean;
|
||||||
resourceLimits?: boolean;
|
resourceLimits?: boolean;
|
||||||
insightsV2?: boolean;
|
insightsV2?: boolean;
|
||||||
|
featureCollaborators?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface IVersionInfo {
|
export interface IVersionInfo {
|
||||||
|
@ -104,6 +104,7 @@ exports[`should create default config 1`] = `
|
|||||||
"estimateTrafficDataCost": false,
|
"estimateTrafficDataCost": false,
|
||||||
"extendedMetrics": false,
|
"extendedMetrics": false,
|
||||||
"extendedUsageMetrics": false,
|
"extendedUsageMetrics": false,
|
||||||
|
"featureCollaborators": false,
|
||||||
"featureLifecycle": false,
|
"featureLifecycle": false,
|
||||||
"featureSearchFeedback": {
|
"featureSearchFeedback": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
|
@ -68,7 +68,8 @@ export type IFlagKey =
|
|||||||
| 'allowOrphanedWildcardTokens'
|
| 'allowOrphanedWildcardTokens'
|
||||||
| 'removeUnsafeInlineStyleSrc'
|
| 'removeUnsafeInlineStyleSrc'
|
||||||
| 'insightsV2'
|
| 'insightsV2'
|
||||||
| 'integrationEvents';
|
| 'integrationEvents'
|
||||||
|
| 'featureCollaborators';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -329,6 +330,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_INTEGRATION_EVENTS,
|
process.env.UNLEASH_EXPERIMENTAL_INTEGRATION_EVENTS,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
featureCollaborators: parseEnvVarBoolean(
|
||||||
|
process.env.UNEASH_EXPERIMENTAL_FEATURE_COLLABORATORS,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
@ -58,6 +58,7 @@ process.nextTick(async () => {
|
|||||||
extendedMetrics: true,
|
extendedMetrics: true,
|
||||||
insightsV2: true,
|
insightsV2: true,
|
||||||
integrationEvents: true,
|
integrationEvents: true,
|
||||||
|
featureCollaborators: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
authentication: {
|
authentication: {
|
||||||
|
Loading…
Reference in New Issue
Block a user