1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 13:53:34 +00:00

(Billing) [PM-27562] Create PremiumInterestStateService (#17139)

Creates a `PremiumInterestStateService` that manages state which conveys whether or not a user intends to setup a premium subscription. Implemented in Web only. No-op for other clients.

This will apply for users who began the registration process on https://bitwarden.com/go/start-premium/, which is a marketing page designed to streamline users who intend to setup a premium subscription after registration.
This commit is contained in:
rr-bw
2025-11-03 14:42:21 -08:00
committed by GitHub
parent 906ac95175
commit 5c33b2dc89
7 changed files with 234 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ export const AUTO_CONFIRM = new StateDefinition("autoConfirm", "disk");
// Billing
export const BILLING_DISK = new StateDefinition("billing", "disk");
export const BILLING_MEMORY = new StateDefinition("billing", "memory");
// Auth