1
0
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:
Patrick Pimentel
2025-04-17 13:48:09 -04:00
parent 538450f874
commit 7fd3d05598
7 changed files with 7 additions and 8 deletions

View File

@@ -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";

View File

@@ -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,

View File

@@ -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>;

View File

@@ -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>();

View File

@@ -1,2 +1 @@
export * from "./system-notification-service.abstraction";
export * from "./unsupported-system-notification.service";
export * from "./system-notification-service";

View File

@@ -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>();