feat(personal): show scanned PDF OCR progress

This commit is contained in:
2026-07-12 21:45:28 +08:00
parent 2e8961c75c
commit 4d393d1751
5 changed files with 64 additions and 5 deletions
@@ -134,6 +134,11 @@ export const retryPersonalItem = (id: string) => apiRequest<PersonalItem>({
method: 'POST'
});
export const retryPersonalOcrPages = (id: string) => apiRequest<PersonalItem>({
url: personalItemApiPath(id, '/ocr/retry-failed'),
method: 'POST'
});
export const deletePersonalItem = (id: string) => apiRequest<{ cleanupJobId: string }>({
url: personalItemApiPath(id),
method: 'DELETE',