docling-studio/frontend
Pier-Jean Malandrino fe4e792885 Fix audit findings: remove domain→infra violation, align Serve API, fix DI
- Delete domain/parsing.py (broke hexagonal layering by importing infra)
- Migrate all tests to import directly from domain.value_objects and
  infra.local_converter
- Rewrite ServeConverter to match real Docling Serve v1 API contract:
  options sent as individual form fields (not JSON blob), response
  parsed from document.json_content (DoclingDocument), proper bbox
  coord_origin handling (TOPLEFT/BOTTOMLEFT)
- Transmit all conversion options including generate_picture_images
- Replace fragile lazy import circular dep with FastAPI Depends() +
  app.state for AnalysisService injection
- Add frontend file size validation (50MB) before upload

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 10:58:58 +02:00
..
public Make a nex project base, managing new Docling version 2026-03-17 08:43:00 +01:00
src Fix audit findings: remove domain→infra violation, align Serve API, fix DI 2026-03-31 10:58:58 +02:00
.prettierignore Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
.prettierrc Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
Dockerfile Refacto and add cp paste btn 2026-03-21 15:03:10 +01:00
env.d.ts Migrate frontend in typescript 2026-03-21 15:58:43 +01:00
eslint.config.js Migrate frontend in typescript 2026-03-21 15:58:43 +01:00
index.html Migrate frontend in typescript 2026-03-21 15:58:43 +01:00
nginx.conf Radical architecture change, migration to a more lightweight 2026-03-17 16:06:27 +01:00
package-lock.json Fix esbuild vulnerability by upgrading Vite 5 → 6 and vitest 2026-03-28 15:16:09 +01:00
package.json Fix esbuild vulnerability by upgrading Vite 5 → 6 and vitest 2026-03-28 15:16:09 +01:00
tsconfig.json Migrate frontend in typescript 2026-03-21 15:58:43 +01:00
vite.config.js Radical architecture change, migration to a more lightweight 2026-03-17 16:06:27 +01:00