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

    Interface Recall

    One recall as the use cases answer it.

    interface Recall {
        affectedStates?: string[];
        bestBefore?: string;
        bestBeforePassed?: boolean;
        bestBeforeUntil?: string;
        citation: string;
        date?: string;
        id?: string;
        issuer?:
            | "BW"
            | "BY"
            | "BE"
            | "BB"
            | "HB"
            | "HH"
            | "HE"
            | "MV"
            | "NI"
            | "NW"
            | "RP"
            | "SL"
            | "SN"
            | "ST"
            | "SH"
            | "TH"
            | "BVL";
        issuerName?: string;
        link?: string;
        lotNumbers?: string;
        manufacturer?: string;
        nationwide: boolean;
        noticeDate?: string;
        packaging?: string;
        product?: string;
        reason?: string;
        title?: string;
        updated?: boolean;
    }

    Hierarchy (View Summary)

    Index
    affectedStates?: string[]

    Where it was sold (Betroffene Bundesländer), unless nationwide.

    bestBefore?: string
    bestBeforePassed?: boolean

    True when that date is before today: the product is likely gone from the shelves.

    bestBeforeUntil?: string

    The latest date bestBefore names, read from its text.

    citation: string

    The citation the portal prescribes: "Portal www.lebensmittelwarnung.de, Jahr: Titel, URL, Stand: Datum."

    date?: string

    The German day of pubDate: when the notice was published or last updated (YYYY-MM-DD).

    id?: string

    The notice's id (its folder name): getRecall takes it.

    issuer?:
        | "BW"
        | "BY"
        | "BE"
        | "BB"
        | "HB"
        | "HH"
        | "HE"
        | "MV"
        | "NI"
        | "NW"
        | "RP"
        | "SL"
        | "SN"
        | "ST"
        | "SH"
        | "TH"
        | "BVL"

    The issuing Land's code, or BVL, from the notice's URL.

    issuerName?: string
    link?: string

    The official notice.

    lotNumbers?: string

    The codes to match on the pack: a recall is batch-specific.

    manufacturer?: string
    nationwide: boolean

    True when the notice lists all 16 Länder (then affectedStates is left out).

    noticeDate?: string

    The day the notice was issued, from its URL (YYYY-MM-DD).

    packaging?: string
    product?: string

    Produktbezeichnung, when it says more than the title.

    reason?: string

    Grund der Meldung: one or more categories, as served.

    title?: string

    The product name: the citation's Produkttitel.

    updated?: boolean

    True when date is more than 3 days after noticeDate: the notice was updated, it is not a new recall (most are published within 3 days of the day they were issued).