Interface: TransformResult

Defined in: index.ts:236

What transform returns: a new metadata and/or body. Whatever it leaves out stays as it was.

Properties

body?

body?: unknown;

Defined in: index.ts:238

Replaces the document's body, eg with rendered HTML.


metadata?

metadata?: unknown;

Defined in: index.ts:240

Replaces the document's metadata, eg to add derived fields.