mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-28 19:06:12 +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;
|
||||
newEventSearch?: boolean;
|
||||
changeRequestPlayground?: boolean;
|
||||
archiveProjects?: boolean;
|
||||
};
|
||||
|
||||
export interface IVersionInfo {
|
||||
|
@ -78,6 +78,7 @@ exports[`should create default config 1`] = `
|
||||
"adminTokenKillSwitch": false,
|
||||
"anonymiseEventLog": false,
|
||||
"anonymizeProjectOwners": false,
|
||||
"archiveProjects": false,
|
||||
"automatedActions": false,
|
||||
"caseInsensitiveInOperators": false,
|
||||
"celebrateUnleash": false,
|
||||
|
@ -71,7 +71,8 @@ export type IFlagKey =
|
||||
| 'improveCreateFlagFlow'
|
||||
| 'originMiddleware'
|
||||
| 'newEventSearch'
|
||||
| 'changeRequestPlayground';
|
||||
| 'changeRequestPlayground'
|
||||
| 'archiveProjects';
|
||||
|
||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||
|
||||
@ -344,6 +345,10 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_CHANGE_REQUEST_PLAYGROUND,
|
||||
false,
|
||||
),
|
||||
archiveProjects: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_ARCHIVE_PROJECTS,
|
||||
false,
|
||||
),
|
||||
};
|
||||
|
||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||
|
Loading…
Reference in New Issue
Block a user