@dxos/client
    Preparing search index...

    Type Alias ClientOptions

    This options object configures the DXOS Client.

    type ClientOptions = {
        config?: Config;
        createOpfsWorker?: () => Worker;
        runtime?: EffectContext.Context<never>;
        services?: MaybePromise<ClientServicesProvider>;
        shell?: string;
        sqlitePath?: string;
        types?: Type.AnyEntity[];
    }
    Index

    Properties

    config?: Config

    Client configuration object.

    createOpfsWorker?: () => Worker

    When running in the host mode, a factory to create the worker for OPFS sqlite database.

    runtime?: EffectContext.Context<never>

    Effect runtime used by client components to run service-rpc effects. Defaults to the default runtime.

    services?: MaybePromise<ClientServicesProvider>

    Custom services provider.

    shell?: string

    Shell path.

    sqlitePath?: string

    Path to SQLite database file for persistent indexing in Node/Bun. Dervied from config's dataRoot.

    types?: Type.AnyEntity[]

    ECHO schema.