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]>