Skip to main content

Interface: WSRenderResult

ghostly-engine.WSRenderResult

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

Hierarchy

Properties

contentType

contentType: string

The result's media type.

Inherited from

Omit.contentType

Defined in

ghostly-engine/src/engine.ts:58


data

data: string

The result, as a Base64-encoded string.

Defined in

ghostly-engine/src/engine.ts:73


description

Optional description: string

A descriptipn of the result, if present.

Inherited from

Omit.description

Defined in

ghostly-engine/src/engine.ts:67


name

Optional name: string

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

Inherited from

Omit.name

Defined in

ghostly-engine/src/engine.ts:64


type

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

What kind of result this is.

Inherited from

Omit.type

Defined in

ghostly-engine/src/engine.ts:55