Switch between menu readings in review and fix menus after publishing

This commit is contained in:
iamdoubz committed 2026-11-06 00:16:54 -06:00
1 parent 98ef76bc1e
commit 4268e17dea
5 files changed
+112 -35

No files matched your search

+2
View File
@@ -25,7 +25,9 @@ export interface CalEvent {
export interface MenuItem {
id: number; scan_id: number; source_id: number; date: string; items: string[]; no_lunch: boolean;
page: number | null; cell_bbox: number[] | null; flags: string[]; source_name?: string;
reads: MenuRead[] | null; // both readings, when a double read disagreed
}
export interface MenuRead { items: string[]; no_lunch: boolean }
export interface Scan {
id: number; source_id: number; source_name: string; layout_type: Source['layout_type']; hint_month: string;
date_start: string | null; date_end: string | null; image_keys: string[];