Preparing search index...

    Type Alias OcrFieldStatus

    OcrFieldStatus: "empty" | "mismatch" | "success"

    Non-blocking feedback outcome of an OCR field extraction, so the UI can surface a snackbar without inspecting the raw payload.

    • success: usable data was extracted for the field.
    • empty: the image yielded no usable data for the requested field.
    • mismatch: a quantity-only scan whose extracted count does not line up with the ingredient rows already on the form, so quantities cannot be paired one-to-one.