Interface: WSRenderRequest
ghostly-engine.WSRenderRequest
The HTTP request message.
Hierarchyβ
β³
WSRenderRequest
Propertiesβ
attachmentsβ
β’ Optional
attachments: boolean
Set to true
if attachments, if any, should be generated as well.
Inherited fromβ
Defined inβ
ghostly-engine/src/engine.ts:88
contentTypeβ
β’ contentType: string
The model's media type. Used when document
is a string.
Inherited fromβ
Defined inβ
ghostly-engine/src/engine.ts:82
documentβ
β’ document: string
| object
The model to render, as a string or embedded JSON object.
Inherited fromβ
Defined inβ
ghostly-engine/src/engine.ts:79
localeβ
β’ Optional
locale: string
The locale to use when rendering. Defaults to the EngineConfig locale.
Inherited fromβ
Defined inβ
ghostly-engine/src/engine.ts:91
templateβ
β’ template: string
URL to the template to use.
Defined inβ
ghostly-engine/src/engine.ts:100
timeZoneβ
β’ Optional
timeZone: string
The time zone to use when rendering. Defaults to the EngineConfig time zone.
Inherited fromβ
Defined inβ
ghostly-engine/src/engine.ts:94
viewsβ
β’ views: View
<unknown
>[]
What views to render.