1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 10:43:35 +00:00

added Send sync notification support (#250)

This commit is contained in:
Addison Beck
2021-01-22 16:52:08 -05:00
committed by GitHub
parent 6ac6df75d7
commit 68bd93e45b
5 changed files with 64 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import {
SyncCipherNotification,
SyncFolderNotification,
SyncSendNotification,
} from '../models/response/notificationResponse';
export abstract class SyncService {
@@ -13,4 +14,6 @@ export abstract class SyncService {
syncDeleteFolder: (notification: SyncFolderNotification) => Promise<boolean>;
syncUpsertCipher: (notification: SyncCipherNotification, isEdit: boolean) => Promise<boolean>;
syncDeleteCipher: (notification: SyncFolderNotification) => Promise<boolean>;
syncUpsertSend: (notification: SyncSendNotification, isEdit: boolean) => Promise<boolean>;
syncDeleteSend: (notification: SyncSendNotification) => Promise<boolean>;
}