mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-11-05 07:39:44 +00:00
The API returns memoryEntries[].sourceAddedAt as an ISO-8601 string.
z.date() rejected it, causing DocumentsWithMemoriesResponseSchema and
$fetch("@post/documents/documents") to fail on live responses.
Coerce the wire value to a Date and cover ISO/null sourceAddedAt values.
Refs #1847
|
||
|---|---|---|
| .. | ||
| api.test.ts | ||
| api.ts | ||
| package.json | ||
| schemas.ts | ||
| tsconfig.json | ||