DocumentValue
A document slot's runtime value after resolution: the upload it references plus the metadata a link needs to describe itself.
A document slot’s runtime value after resolution: the upload it references plus the metadata a link needs to describe itself.
A document is never transformed — no crop, no rendition, no responsive ladder — so unlike an image or a video there is nothing here but the served bytes and their description.
Import from @homepages/template-kit.
Signature
Section titled “Signature”export type DocumentValue = { asset_id: string; url: string; filename: string; content_type: string; size_bytes: number;};