Type Alias Lever
type Lever = {
bytes: number[];
corpus: "crawl" | "trim";
id: string;
sites: string[];
status: "default" | "option" | "max";
}
bytes: number[];
corpus: "crawl" | "trim";
id: string;
sites: string[];
status: "default" | "option" | "max";
}
Properties
bytes
bytes: number[]
corpus
corpus: "crawl" | "trim"
id
id: string
sites
sites: string[]
the site of each page, in the same order as bytes
status
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
one lever of the ledger: the bytes it saves on each page of a corpus, in page order