-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into autofill/pm-5880-refactor-browser-platform-u…
…tils-service-to-remove-window-reference
- Loading branch information
Showing
124 changed files
with
1,936 additions
and
978 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 16 additions & 3 deletions
19
apps/browser/src/autofill/notification/abstractions/notification-bar.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
import { SaveOrUpdateCipherResult } from "../../background/abstractions/notification.background"; | ||
type NotificationBarIframeInitData = { | ||
type?: string; | ||
isVaultLocked?: boolean; | ||
theme?: string; | ||
removeIndividualVault?: boolean; | ||
importType?: string; | ||
}; | ||
|
||
type NotificationBarWindowMessage = { | ||
[key: string]: any; | ||
command: string; | ||
error?: string; | ||
initData?: NotificationBarIframeInitData; | ||
}; | ||
|
||
type NotificationBarWindowMessageHandlers = { | ||
[key: string]: CallableFunction; | ||
saveCipherAttemptCompleted: ({ message }: { message: SaveOrUpdateCipherResult }) => void; | ||
initNotificationBar: ({ message }: { message: NotificationBarWindowMessage }) => void; | ||
saveCipherAttemptCompleted: ({ message }: { message: NotificationBarWindowMessage }) => void; | ||
}; | ||
|
||
export { NotificationBarWindowMessage, NotificationBarWindowMessageHandlers }; | ||
export { | ||
NotificationBarIframeInitData, | ||
NotificationBarWindowMessage, | ||
NotificationBarWindowMessageHandlers, | ||
}; |
Oops, something went wrong.