Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias Lever

    one lever of the ledger: the bytes it saves on each page of a corpus, in page order

    type Lever = {
        bytes: number[];
        corpus: "crawl" | "trim";
        id: string;
        sites: string[];
        status: "default" | "option" | "max";
    }
    Index
    bytes: number[]
    corpus: "crawl" | "trim"
    id: string
    sites: string[]

    the site of each page, in the same order as bytes

    status: "default" | "option" | "max"

    where the lever stands: default is on once its parent option is set, option needs its own option, max is not built or needs a condition the corpus does not show