1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 18:23:31 +00:00

only sync on edit if they already have the item/folder

This commit is contained in:
Kyle Spearrin
2018-08-21 08:20:43 -04:00
parent 50666a761d
commit 9cfd693576
3 changed files with 26 additions and 20 deletions

View File

@@ -9,8 +9,8 @@ export abstract class SyncService {
getLastSync: () => Promise<Date>;
setLastSync: (date: Date) => Promise<any>;
fullSync: (forceSync: boolean) => Promise<boolean>;
syncUpsertFolder: (notification: SyncFolderNotification) => Promise<boolean>;
syncUpsertFolder: (notification: SyncFolderNotification, isEdit: boolean) => Promise<boolean>;
syncDeleteFolder: (notification: SyncFolderNotification) => Promise<boolean>;
syncUpsertCipher: (notification: SyncCipherNotification) => Promise<boolean>;
syncUpsertCipher: (notification: SyncCipherNotification, isEdit: boolean) => Promise<boolean>;
syncDeleteCipher: (notification: SyncFolderNotification) => Promise<boolean>;
}