mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
[PM-8682] Add Flags for New Device Verification Notice (#11968)
This commit is contained in:
@@ -40,6 +40,8 @@ export enum FeatureFlag {
|
|||||||
CriticalApps = "pm-14466-risk-insights-critical-application",
|
CriticalApps = "pm-14466-risk-insights-critical-application",
|
||||||
TrialPaymentOptional = "PM-8163-trial-payment",
|
TrialPaymentOptional = "PM-8163-trial-payment",
|
||||||
SecurityTasks = "security-tasks",
|
SecurityTasks = "security-tasks",
|
||||||
|
NewDeviceVerificationTemporaryDismiss = "new-device-temporary-dismiss",
|
||||||
|
NewDeviceVerificationPermanentDismiss = "new-device-permanent-dismiss",
|
||||||
}
|
}
|
||||||
|
|
||||||
export type AllowedFeatureFlagTypes = boolean | number | string;
|
export type AllowedFeatureFlagTypes = boolean | number | string;
|
||||||
@@ -90,6 +92,8 @@ export const DefaultFeatureFlagValue = {
|
|||||||
[FeatureFlag.CriticalApps]: FALSE,
|
[FeatureFlag.CriticalApps]: FALSE,
|
||||||
[FeatureFlag.TrialPaymentOptional]: FALSE,
|
[FeatureFlag.TrialPaymentOptional]: FALSE,
|
||||||
[FeatureFlag.SecurityTasks]: FALSE,
|
[FeatureFlag.SecurityTasks]: FALSE,
|
||||||
|
[FeatureFlag.NewDeviceVerificationTemporaryDismiss]: FALSE,
|
||||||
|
[FeatureFlag.NewDeviceVerificationPermanentDismiss]: FALSE,
|
||||||
} satisfies Record<FeatureFlag, AllowedFeatureFlagTypes>;
|
} satisfies Record<FeatureFlag, AllowedFeatureFlagTypes>;
|
||||||
|
|
||||||
export type DefaultFeatureFlagValueType = typeof DefaultFeatureFlagValue;
|
export type DefaultFeatureFlagValueType = typeof DefaultFeatureFlagValue;
|
||||||
|
|||||||
Reference in New Issue
Block a user