internal: incomplete vault systems behind feature flag (#2340)
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
|
||||
import { FullyFormedPayloadInterface } from '@standardnotes/models'
|
||||
import { SyncOptions } from './SyncOptions'
|
||||
import { AbstractService } from '../Service/AbstractService'
|
||||
import { SyncEvent } from '../Event/SyncEvent'
|
||||
|
||||
export interface SyncServiceInterface {
|
||||
export interface SyncServiceInterface extends AbstractService<SyncEvent> {
|
||||
sync(options?: Partial<SyncOptions>): Promise<unknown>
|
||||
resetSyncState(): void
|
||||
markAllItemsAsNeedingSyncAndPersist(): Promise<void>
|
||||
@@ -11,4 +13,5 @@ export interface SyncServiceInterface {
|
||||
persistPayloads(payloads: FullyFormedPayloadInterface[]): Promise<void>
|
||||
lockSyncing(): void
|
||||
unlockSyncing(): void
|
||||
syncSharedVaultsFromScratch(sharedVaultUuids: string[]): Promise<void>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user