e91f29e555d2aecf66eb8243757c7e2af05cbd2b
- Auth guard (401), OPENAI_API_KEY guard (503), not-found (404)
- Draft-only guard (403), path traversal guard (403)
- Loads document with client relation via Drizzle with: { client: true }
- Calls extractPdfText then classifyFieldsWithAI in try/catch (500 on error)
- Writes SignatureFieldData[] to DB signatureFields; status stays Draft
- Returns { fields, textFillData } keyed by field UUID
Description
No description provided
Languages
TypeScript
97.5%
Shell
1.6%
Dockerfile
0.4%
JavaScript
0.3%
CSS
0.2%