@couchbase/lite-js
    Preparing search index...

    Interface ReplicatorConfig

    Configuration for Replicator.

    interface ReplicatorConfig {
        collections: Record<string, ReplicatorCollectionConfig>;
        credentials?: Credentials;
        database: Database;
        url: string;
    }
    Index

    Properties

    collections: Record<string, ReplicatorCollectionConfig>

    Keys are names of collections to sync; values are per-collection configuration.

    credentials?: Credentials
    database: Database

    The Database to sync.

    url: string

    Server URL to connect to, with scheme "wss:" or "ws:", and database name as first path component.