Skip to content

Meilisearch JS / index / RenderTemplateParams

Type Alias: RenderTemplateParams

RenderTemplateParams = object

Defined in: src/types/types.ts:848

See

https://www.meilisearch.com/docs/reference/api/template/render-documents-with-post

Properties

input?

optional input?: RenderTemplateSource | null

Defined in: src/types/types.ts:855

Input injected into the template to render the final string/JSON object. If null or missing, the template is not rendered.


template

template: RenderTemplateSource

Defined in: src/types/types.ts:850

Template/fragment to fetch for rendering.