mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-21 04:52:40 +00:00
Update frontend to use the bulk operation queuing pathway
This commit is contained in:
5 files changed
+140
-75
No files matched your search
@@ -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' }
|
||||
Reference in new issue
Block a user