Files
zooqueenandHanzo Dev dff97c65fb sqlite: name the enum columns by their type instead of restating them
The last of it, all one shape: sqlite has no enum, so those columns read back
as `string`, while hand-written prop and payload types restated the literals.
Each now names the type the shim already exports — DownloadType, ViewType —
so the column and the code that consumes it stay in step.

`linkType` reaches an outgoing webhook, whose contract is a zod enum and
should stay strict, so the assertion happens where the payload is built and
LINK_TYPES lives with the schema that defines it.

DocumentPage.embeddedLinks is the last postgres String[] that became Json;
duplicating a document read it back out and wrote it straight into the copy.

99 errors -> 0. Verified from a clean `prisma generate`.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-09 12:01:34 -07:00
..
fix
2026-02-22 19:17:46 +11:00