Interface: TransformResult
Defined in: index.ts:235
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:237
Replaces the document's body, eg with rendered HTML.
metadata?
metadata?: object;Defined in: index.ts:239
Replaces the document's metadata, eg to add derived fields.