Files
form-capture/package.json
T
Krishna KumarandClaude Fable 5 e73b4f7e34 Add optional message field to /submit for iOS review intercept
- /submit now requires email OR message (email-only calls unchanged)
- message trimmed + capped at 10k chars; stored via guarded ALTER TABLE migration
- /export CSV gains message column with proper quoting/escaping
- test suite (node --test): 9 tests covering compat, validation, truncation, CSV escaping

Ticket: T2 of review-flow-10x epic (chatai-ios#136)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014WPnLnXS4YRz9vVt1BEdeR
2026-07-22 12:22:30 -05:00

19 lines
343 B
JSON

{
"name": "form-capture",
"version": "1.0.0",
"description": "Lightweight form capture microservice",
"main": "index.js",
"scripts": {
"start": "node index.js",
"test": "node --test"
},
"dependencies": {
"sql.js": "^1.11.0",
"cors": "^2.8.5",
"express": "^4.21.2"
},
"engines": {
"node": ">=18"
}
}