weasel API - v0.8.0
    Preparing search index...

    Type Alias IngestItem

    IngestItem:
        | { file: File; kind: "file"; mime: string }
        | { kind: "string"; mime: string; text: string }

    One piece of external content arriving via OS drop, clipboard paste, or a file picker — fully materialized (string contents already read), so it is safe to hold past the originating DOM event. File is a lib.dom type; no runtime DOM dependency.