Skip to main content

PdfRenderInput

@retinue/monorepo


@retinue/monorepo / backend/src / PdfRenderInput

Type Alias: PdfRenderInput

PdfRenderInput = object

Defined in: backend/src/export/pdf.ts:170

Properties​

blocks​

readonly blocks: readonly DocumentBlock[]

Defined in: backend/src/export/pdf.ts:172


citations?​

readonly optional citations?: readonly ExportCitation[]

Defined in: backend/src/export/pdf.ts:173


createdAt?​

readonly optional createdAt?: string

Defined in: backend/src/export/pdf.ts:180

The document's creation date.

A parameter, and constant by default, because new Date() here would make AC-6 unachievable: two renders of the same artifact would differ in a field nobody reads and every byte-comparison would fail.


title​

readonly title: string

Defined in: backend/src/export/pdf.ts:171