Documents: Proxy created from createdDate
Version: 1.7.0 Date: 2026-07-15
Goal: Documents inserted via neo-backend only have createdDate. Legacy API consumers still expect created in JSON responses.
Solution: In document schema transforms and list routes, expose created as createdDate when created is absent.
Features:
- IP Magic Box and admin list views show consistent timestamps for neo-deposited documents
- No database migration required
Implementation Details:
toObject/toJSONhooks on document schema- Explicit fallback in
documents.jslist mapping
Files Modified:
app/database/schema/document.js- Serialization proxyapp/routes/documents.js- List response fallback