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

option to allow sync to throw error

This commit is contained in:
Kyle Spearrin
2019-10-15 11:06:55 -04:00
parent e35431f374
commit 669f6ddf93
2 changed files with 7 additions and 3 deletions

View File

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