feat: implement region-based QR code scanning for inbox documents
Build and Push Multi-Platform Images / build-and-push (push) Successful in 33s

This commit is contained in:
2026-05-04 21:39:32 +02:00
parent 60ac522435
commit 9a1095ad6e
7 changed files with 226 additions and 3 deletions
+8
View File
@@ -93,6 +93,14 @@ export const inboxApi = {
api
.post(`/api/inbox/${encodeURIComponent(id)}/source`, { source })
.then((r) => r.data),
scanRegion: (id: string, page: number, region: { x: number; y: number; w: number; h: number }) =>
api
.post<{ found: string[] }>(
`/api/inbox/${encodeURIComponent(id)}/pages/${page}/scan-region`,
region,
)
.then((r) => r.data),
};
export interface PostprocessActionResult {