2 * Feature flag list from Unleash
3 * Format should be FeatureFlagName = 'FeatureFlagName'
5 enum CommonFeatureFlag {
6 ColorPerEventWeb = 'ColorPerEventWeb',
7 AutoReloadPage = 'AutoReloadPage',
8 DisableElectronMail = 'DisableElectronMail',
9 KeyTransparencyShowUI = 'KeyTransparencyShowUI',
10 KeyTransparencyLogOnly = 'KeyTransparencyLogOnly',
11 CryptoDisableUndecryptableKeys = 'CryptoDisableUndecryptableKeys',
12 CryptoCanaryOpenPGPjsV6 = 'CryptoCanaryOpenPGPjsV6',
13 BreachesSecurityCenter = 'BreachesSecurityCenter',
14 InboxUpsellFlow = 'InboxUpsellFlow',
15 ABTestInboxUpsellStep = 'ABTestInboxUpsellStep',
16 ABTestSubscriptionReminder = 'ABTestSubscriptionReminder',
17 CalendarBusyTimeSlots = 'CalendarBusyTimeSlots',
18 InboxDesktopInAppPayments = 'InboxDesktopInAppPayments',
19 InboxDesktopMultiAccountSupport = 'InboxDesktopMultiAccountSupport',
20 InboxDesktopThemeSelection = 'InboxDesktopThemeSelection',
21 InboxDesktopManualUpdateBannerDisabled = 'InboxDesktopManualUpdateBannerDisabled',
22 BreachAlertsNotificationsCommon = 'BreachAlertsNotificationsCommon',
23 WalletPlan = 'WalletPlan',
24 WalletAutoSetup = 'WalletAutoSetup',
25 SentinelRecoverySettings = 'SentinelRecoverySettings',
26 InboxDesktopWinLinNewAppSwitcher = 'InboxDesktopWinLinNewAppSwitcher',
27 DarkWebEmailNotifications = 'DarkWebEmailNotifications',
28 InboxNewUpsellModals = 'InboxNewUpsellModals',
29 NewCancellationFlowUpsell = 'NewCancellationFlowUpsell',
30 ScribeAdminSetting = 'ScribeAdminSetting',
31 WalletRbf = 'WalletRbf',
32 WalletAddressList = 'WalletAddressList',
33 WalletMinFee = 'WalletMinFee',
34 WalletAztecoWeb = 'WalletAztecoWeb',
38 MagicLink = 'MagicLink',
39 PersistedState = 'PersistedState',
40 MailTrialOffer = 'MailTrialOffer',
41 DriveTrialOffer = 'DriveTrialOffer',
42 MaintenanceImporter = 'MaintenanceImporter',
43 VisionarySignup = 'VisionarySignup',
44 BreachesAccountDashboard = 'BreachesAccountDashboard',
45 NewCancellationFlow = 'NewCancellationFlow',
46 B2BLogsPass = 'B2BLogsPass',
47 UnprivatizeMember = 'UnprivatizeMember',
48 B2BLogsVPN = 'B2BLogsVPN',
49 WalletAppSwitcherNewBadge = 'WalletAppSwitcherNewBadge',
50 UserGroupsPermissionCheck = 'UserGroupsPermissionCheck',
51 UserGroupsMembersPermissionCheck = 'UserGroupsMembersPermissionCheck',
52 B2BAuthenticationLogs = 'B2BAuthenticationLogs',
53 GlobalSSO = 'GlobalSSO',
54 EasySwitchConsentExperiment = 'EasySwitchConsentExperiment',
58 AllowDowncycling = 'AllowDowncycling',
59 SepaPayments = 'SepaPayments',
62 enum CalendarFeatureFlag {
63 EditSingleOccurrenceWeb = 'EditSingleOccurrenceWeb',
64 VideoConferenceWidget = 'VideoConferenceWidget',
65 CalendarRedux = 'CalendarRedux',
66 // CancelSingleOccurrenceWeb = 'CancelSingleOccurrenceWeb', removed with proton-calendar@5.0.21.0, can be removed from Unleash when FU'd
67 ZoomIntegration = 'ZoomIntegration',
70 enum DriveFeatureFlag {
72 DrivePhotos = 'DrivePhotos',
73 DrivePhotosUploadDisabled = 'DrivePhotosUploadDisabled',
75 DriveSharingInvitations = 'DriveSharingInvitations',
76 DriveSharingDisabled = 'DriveSharingDisabled',
77 DriveSharingEditingDisabled = 'DriveSharingEditingDisabled',
78 DriveSharingDevelopment = 'DriveSharingDevelopment',
79 DriveExternalInvitationsDisabled = 'DriveSharingExternalInvitationsDisabled',
80 DriveExternalInvitations = 'DriveSharingExternalInvitations',
82 DriveDownloadScan = 'DriveDownloadScan',
83 DriveDownloadScanDisabled = 'DriveDownloadScanDisabled',
85 DriveShareURLBookmarking = 'DriveShareURLBookmarking',
86 DriveShareURLBookmarksDisabled = 'DriveShareURLBookmarksDisabled',
87 DriveWebShareURLSignupModal = 'DriveWebShareURLSignupModal',
89 DriveDecryptionErrorDebugging = 'DriveDecryptionErrorDebugging',
91 DriveB2BPhotosUpload = 'DriveB2BPhotosUpload',
94 enum DocsFeatureFlag {
96 DriveDocs = 'DriveDocs',
97 DriveDocsDisabled = 'DriveDocsDisabled',
98 DocsAppSwitcher = 'DocsAppSwitcher',
100 DocsEnableNotificationsOnNewComment = 'DocsEnableNotificationsOnNewComment',
102 DriveDocsLandingPageEnabled = 'DriveDocsLandingPageEnabled',
104 DriveDocsPublicSharing = 'DriveDocsPublicSharing',
105 DriveDocsPublicSharingDisabled = 'DriveDocsPublicSharingDisabled',
107 DriveDocsSuggestionModeEnabled = 'DriveDocsSuggestionModeEnabled',
108 DocsSuggestionsDisabled = 'DocsSuggestionsDisabled',
111 enum MailFeatureFlag {
112 AttachmentThumbnails = 'AttachmentThumbnails',
113 WebMailPageSizeSetting = 'WebMailPageSizeSetting',
114 SelectAll = 'SelectAll',
115 SelectAllOptimistic = 'SelectAllOptimistic',
116 ComposerAssistant = 'ComposerAssistant',
117 ComposerAssistantFormatting = 'ComposerAssistantFormatting',
118 WalletRightSidebarLink = 'WalletRightSidebarLink',
119 ProtonTips = 'ProtonTips',
120 MailOnboarding = 'MailOnboarding',
121 ReplayOnboardingModal = 'ReplayOnboardingModal',
124 enum AdminFeatureFlag {
125 UserSecurityModal = 'UserSecurityModal',
128 export type FeatureFlag =
129 | `${CommonFeatureFlag}`
132 | `${CalendarFeatureFlag}`
133 | `${DriveFeatureFlag}`
134 | `${DocsFeatureFlag}`
135 | `${MailFeatureFlag}`
136 | `${AdminFeatureFlag}`;