13 lines
297 B
TypeScript
13 lines
297 B
TypeScript
import { SyncOpStatus } from './SyncOpStatus'
|
|
import { SyncOptions } from '@standardnotes/services'
|
|
|
|
export interface SyncClientInterface {
|
|
sync(options?: Partial<SyncOptions>): Promise<unknown>
|
|
|
|
isOutOfSync(): boolean
|
|
|
|
getLastSyncDate(): Date | undefined
|
|
|
|
getSyncStatus(): SyncOpStatus
|
|
}
|