@maschinenlesbar.org/lebensmittelwarnung-cli
    Preparing search index...

    Interface ReasonMatch

    What resolveReason gives: the category, and how the word given maps to it.

    interface ReasonMatch {
        by?: string;
        category:
            | "Allergene"
            | "Fremdkörper"
            | "Gesundheitsschädliche Substanz"
            | "Irreführung und Täuschung"
            | "Krankheitserreger"
            | "Rückstände und Kontaminanten"
            | "Sonstige Gründe";
        mappedFrom?: string;
    }
    Index
    by?: string

    The part of the word it was read by ("salmonell").

    category:
        | "Allergene"
        | "Fremdkörper"
        | "Gesundheitsschädliche Substanz"
        | "Irreführung und Täuschung"
        | "Krankheitserreger"
        | "Rückstände und Kontaminanten"
        | "Sonstige Gründe"
    mappedFrom?: string

    Set when the word given is not the category itself ("Salmonellen" -> Krankheitserreger).