1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-19 07:35:48 +02:00
bitwarden-browser/src/abstractions/sync.service.ts

10 lines
290 B
TypeScript
Raw Normal View History

2018-02-08 16:49:00 +01:00
export abstract class SyncService {
2018-01-10 05:25:59 +01:00
syncInProgress: boolean;
2018-02-08 16:49:00 +01:00
getLastSync: () => Promise<Date>;
setLastSync: (date: Date) => Promise<any>;
syncStarted: () => void;
syncCompleted: (successfully: boolean) => void;
fullSync: (forceSync: boolean) => Promise<boolean>;
2018-01-10 05:25:59 +01:00
}