Update frontend to use the bulk operation queuing pathway

This commit is contained in:
shamoon committed 2026-11-19 22:25:07 -08:00
1 parent c5fdba73a1
commit a08918eb9c
5 files changed
+140 -75

No files matched your search

+3 -13
View File
@@ -100,16 +100,6 @@ export interface OcrZoneTestResult {
error?: string
}
export interface OcrZoneRunResult {
template: string
zone: string
custom_field: string
value: string | number | boolean | null
reason?: string | null
}
export interface OcrZoneRunResponse {
status: 'completed' | 'skipped'
reason?: 'no_template'
results: OcrZoneRunResult[]
}
export type OcrZoneRunResponse =
| { result: 'OK'; task_id: string }
| { result: 'skipped'; reason: 'no_template' }