mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 10:43:35 +00:00
sync folders and ciphers. fix dates
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
import {
|
||||
SyncCipherNotification,
|
||||
SyncFolderNotification,
|
||||
} from '../models/response/notificationResponse';
|
||||
|
||||
export abstract class SyncService {
|
||||
syncInProgress: boolean;
|
||||
|
||||
getLastSync: () => Promise<Date>;
|
||||
setLastSync: (date: Date) => Promise<any>;
|
||||
syncStarted: () => void;
|
||||
syncCompleted: (successfully: boolean) => void;
|
||||
fullSync: (forceSync: boolean) => Promise<boolean>;
|
||||
syncUpsertFolder: (notification: SyncFolderNotification) => Promise<boolean>;
|
||||
syncDeleteFolder: (notification: SyncFolderNotification) => Promise<boolean>;
|
||||
syncUpsertCipher: (notification: SyncCipherNotification) => Promise<boolean>;
|
||||
syncDeleteCipher: (notification: SyncFolderNotification) => Promise<boolean>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user