Skip to main content

Interface: RenderResult

ghostly-engine.RenderResult

A result part from the template. Returned when using the TemplateEngine API.

Properties​

contentType​

• contentType: string

The result's media type.

Defined in​

ghostly-engine/src/engine.ts:58


data​

• data: Buffer

The result, as a Buffer.

Defined in​

ghostly-engine/src/engine.ts:61


description​

• Optional description: string

A descriptipn of the result, if present.

Defined in​

ghostly-engine/src/engine.ts:67


name​

• Optional name: string

The name of the result, if present (including file extension).

Defined in​

ghostly-engine/src/engine.ts:64


type​

• type: "attachment" | "event" | "view"

What kind of result this is.

Defined in​

ghostly-engine/src/engine.ts:55