mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
chore: archive projects flag (#7772)
This commit is contained in:
parent
41c6d06093
commit
f9665233cc
@ -97,6 +97,7 @@ export type UiFlags = {
|
|||||||
improveCreateFlagFlow?: boolean;
|
improveCreateFlagFlow?: boolean;
|
||||||
newEventSearch?: boolean;
|
newEventSearch?: boolean;
|
||||||
changeRequestPlayground?: boolean;
|
changeRequestPlayground?: boolean;
|
||||||
|
archiveProjects?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface IVersionInfo {
|
export interface IVersionInfo {
|
||||||
|
@ -78,6 +78,7 @@ exports[`should create default config 1`] = `
|
|||||||
"adminTokenKillSwitch": false,
|
"adminTokenKillSwitch": false,
|
||||||
"anonymiseEventLog": false,
|
"anonymiseEventLog": false,
|
||||||
"anonymizeProjectOwners": false,
|
"anonymizeProjectOwners": false,
|
||||||
|
"archiveProjects": false,
|
||||||
"automatedActions": false,
|
"automatedActions": false,
|
||||||
"caseInsensitiveInOperators": false,
|
"caseInsensitiveInOperators": false,
|
||||||
"celebrateUnleash": false,
|
"celebrateUnleash": false,
|
||||||
|
@ -71,7 +71,8 @@ export type IFlagKey =
|
|||||||
| 'improveCreateFlagFlow'
|
| 'improveCreateFlagFlow'
|
||||||
| 'originMiddleware'
|
| 'originMiddleware'
|
||||||
| 'newEventSearch'
|
| 'newEventSearch'
|
||||||
| 'changeRequestPlayground';
|
| 'changeRequestPlayground'
|
||||||
|
| 'archiveProjects';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -344,6 +345,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_CHANGE_REQUEST_PLAYGROUND,
|
process.env.UNLEASH_EXPERIMENTAL_CHANGE_REQUEST_PLAYGROUND,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
archiveProjects: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_ARCHIVE_PROJECTS,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
Loading…
Reference in New Issue
Block a user