mirror of
https://github.com/bitwarden/browser
synced 2026-02-09 13:10:17 +00:00
feat(extension-notification-demo): Fixed more nits.
This commit is contained in:
@@ -173,7 +173,7 @@ import { SyncService } from "@bitwarden/common/platform/sync";
|
||||
// eslint-disable-next-line no-restricted-imports -- Needed for service creation
|
||||
import { DefaultSyncService } from "@bitwarden/common/platform/sync/internal";
|
||||
import { BrowserSystemNotificationService } from "@bitwarden/common/platform/system-notifications/browser-system-notification.service";
|
||||
import { SystemNotificationServiceAbstraction } from "@bitwarden/common/platform/system-notifications/system-notification-service.abstraction";
|
||||
import { SystemNotificationServiceAbstraction } from "@bitwarden/common/platform/system-notifications/system-notification-service";
|
||||
import { DefaultThemeStateService } from "@bitwarden/common/platform/theming/theme-state.service";
|
||||
import { ApiService } from "@bitwarden/common/services/api.service";
|
||||
import { AuditService } from "@bitwarden/common/services/audit.service";
|
||||
|
||||
@@ -243,8 +243,8 @@ import { StateEventRunnerService } from "@bitwarden/common/platform/state/state-
|
||||
import { SyncService } from "@bitwarden/common/platform/sync";
|
||||
// eslint-disable-next-line no-restricted-imports -- Needed for DI
|
||||
import { DefaultSyncService } from "@bitwarden/common/platform/sync/internal";
|
||||
import { UnsupportedSystemNotificationService } from "@bitwarden/common/platform/system-notifications";
|
||||
import { SystemNotificationServiceAbstraction } from "@bitwarden/common/platform/system-notifications/system-notification-service.abstraction";
|
||||
import { SystemNotificationServiceAbstraction } from "@bitwarden/common/platform/system-notifications/system-notification-service";
|
||||
import { UnsupportedSystemNotificationService } from "@bitwarden/common/platform/system-notifications/unsupported-system-notification.service";
|
||||
import {
|
||||
DefaultThemeStateService,
|
||||
ThemeStateService,
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
SystemNotificationServiceAbstraction,
|
||||
SystemNotificationEvent,
|
||||
ButtonLocation,
|
||||
} from "@bitwarden/common/platform/system-notifications/system-notification-service.abstraction";
|
||||
} from "@bitwarden/common/platform/system-notifications/system-notification-service";
|
||||
|
||||
export abstract class AuthRequestLoginApprovalAbstraction {
|
||||
abstract receivedPendingAuthRequest(notificationId: string): Promise<void>;
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
SystemNotificationCreateInfo,
|
||||
SystemNotificationEvent,
|
||||
SystemNotificationServiceAbstraction as SystemNotificationServiceAbstraction,
|
||||
} from "@bitwarden/common/platform/system-notifications/system-notification-service.abstraction";
|
||||
} from "@bitwarden/common/platform/system-notifications/system-notification-service";
|
||||
|
||||
export class BrowserSystemNotificationService implements SystemNotificationServiceAbstraction {
|
||||
private systemNotificationClickedSubject = new Subject<SystemNotificationEvent>();
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
export * from "./system-notification-service.abstraction";
|
||||
export * from "./unsupported-system-notification.service";
|
||||
export * from "./system-notification-service";
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
SystemNotificationCreateInfo,
|
||||
SystemNotificationEvent,
|
||||
SystemNotificationServiceAbstraction as SystemNotificationServiceAbstraction,
|
||||
} from "@bitwarden/common/platform/system-notifications/system-notification-service.abstraction";
|
||||
} from "@bitwarden/common/platform/system-notifications/system-notification-service";
|
||||
|
||||
export class UnsupportedSystemNotificationService implements SystemNotificationServiceAbstraction {
|
||||
private systemNotificationClickedSubject = new Subject<SystemNotificationEvent>();
|
||||
|
||||
Reference in New Issue
Block a user