1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

[PM-25633] - fix premium upgrade prompt (#16445)

* fix premium upgrade prompt

* use map instead of adding tap dep

* update route
This commit is contained in:
Jordan Aasen
2025-09-17 09:30:39 -07:00
committed by GitHub
parent 814305a778
commit caf4ca6980
3 changed files with 36 additions and 13 deletions

View File

@@ -1,7 +1,10 @@
import { Observable } from "rxjs";
/**
* This interface defines the a contract for a service that prompts the user to upgrade to premium.
* It ensures that PremiumUpgradePromptService contains a promptForPremium method.
*/
export abstract class PremiumUpgradePromptService {
abstract promptForPremium(organizationId?: string): Promise<void>;
abstract upgradeConfirmed$?: Observable<boolean>;
}