1.1.1 - OCR garbage removal detection frontend changes
This commit is contained in:
@@ -485,6 +485,18 @@ export async function clearAllSuggestedMatches() {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* POST /api/clean/preview - Preview cleaning changes
|
||||
* Body: { file: string }
|
||||
* Returns: { success, preview }
|
||||
*/
|
||||
export async function previewClean(file) {
|
||||
return apiFetch('/clean/preview', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ file })
|
||||
})
|
||||
}
|
||||
|
||||
// ============ MAINTENANCE API ============
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user