Skip to content

Meilisearch JS / index / RenderTemplateParams

Type Alias: RenderTemplateParams ​

RenderTemplateParams = object

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

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:866

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:861

Template/fragment to fetch for rendering.