1
0
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:
Mateusz Kwasniewski 2024-07-19 10:11:39 +02:00 committed by GitHub
parent 5a2b48687e
commit a0ba44d9f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 1 deletions

View File

@ -92,6 +92,7 @@ export type UiFlags = {
flagCreator?: boolean;
resourceLimits?: boolean;
insightsV2?: boolean;
featureCollaborators?: boolean;
};
export interface IVersionInfo {

View File

@ -104,6 +104,7 @@ exports[`should create default config 1`] = `
"estimateTrafficDataCost": false,
"extendedMetrics": false,
"extendedUsageMetrics": false,
"featureCollaborators": false,
"featureLifecycle": false,
"featureSearchFeedback": {
"enabled": false,

View File

@ -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 = {

View File

@ -58,6 +58,7 @@ process.nextTick(async () => {
extendedMetrics: true,
insightsV2: true,
integrationEvents: true,
featureCollaborators: true,
},
},
authentication: {