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

    Interface Bloblike

    Metadata of a binary blob or attachment embedded in a document. (The data is external.) Originally from CouchDB, and Sync Gateway / App Services still uses it the same way:

    • Attachments live in a top-level _attachments property, whose value is an object that maps names to these metadata dicts. Couchbase Lite, since 2.0, lets blobs live anywhere in a document:
    • A blob is any object with a "@type": "blob" property, as well as a digest.
    interface Bloblike {
        "@type"?: "blob";
        content_type?: string;
        digest: string;
        length?: number;
        revpos?: number;
        stub?: boolean;
    }

    Implemented by

    Index

    Properties

    "@type"?: "blob"
    content_type?: string
    digest: string
    length?: number
    revpos?: number
    stub?: boolean