@openvireo/sdk - v1.0.0
    Preparing search index...

    Interface SelfHostedSyncOptions

    Options for SelfHostedSync.syncDatabase.

    interface SelfHostedSyncOptions {
        acceptServerState?: boolean;
        localChanged?: boolean;
    }
    Index
    acceptServerState?: boolean

    start over from what the server has (after the user confirmed a rollback or loss)

    localChanged?: boolean

    whether the local copy changed since the last sync (default true). False → a HEAD check first.