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

    Interface RecallDetail

    A recall with everything the notice has: every field, the images with their credits.

    interface RecallDetail {
        affectedStates?: string[];
        bestBefore?: string;
        bestBeforePassed?: boolean;
        bestBeforeUntil?: string;
        citation: string;
        date?: string;
        fields: Record<string, string>;
        id?: string;
        images?: WarningImage[];
        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;
        pubDate?: 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).

    fields: Record<string, string>

    Every label of the notice with its value (a superset of the fields above, e.g. Kontakt).

    id?: string

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

    images?: WarningImage[]

    The product images, each with its credit; copyright-protected, not free to reuse.

    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.

    pubDate?: string
    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).