mirror of
https://github.com/bitwarden/browser
synced 2026-03-02 03:21:19 +00:00
* feat(notification-processing): [PM-19877] System Notification Implementation - Minor changes to popup logic and removed content in login component. * docs(notification-processing): [PM-19877] System Notification Implementation - Added more docs. * docs(notification-processing): [PM-19877] System Notification Implementation - Added markdown document. * fix(notification-processing): [PM-19877] System Notification Implementation - Updated condition for if notification is supported. * fix(notification-processing): [PM-19877] System Notification Implementation - Updated services module with correct platform utils service.
14 lines
459 B
TypeScript
14 lines
459 B
TypeScript
import { Observable } from "rxjs";
|
|
|
|
import { NotificationResponse } from "../../../models/response/notification.response";
|
|
import { UserId } from "../../../types/guid";
|
|
import { SupportStatus } from "../../misc/support-status";
|
|
|
|
export interface WebPushConnector {
|
|
notifications$: Observable<NotificationResponse>;
|
|
}
|
|
|
|
export abstract class WebPushConnectionService {
|
|
abstract supportStatus$(userId: UserId): Observable<SupportStatus<WebPushConnector>>;
|
|
}
|