Skip to content

Interface: HandlerOptions

Defined in: server/src/handler.ts:22

Properties

assets?

optional assets?: AssetResolver

Defined in: server/src/handler.ts:28


cors?

optional cors?: string[] | "*"

Defined in: server/src/handler.ts:38

Extra CORS origins allowed; * allows all. Default none (same-origin).


destinations?

optional destinations?: DestinationAdapter[]

Defined in: server/src/handler.ts:27


idempotent?

optional idempotent?: boolean

Defined in: server/src/handler.ts:33

Return an existing destination object for the same job key without rendering. Default true.


limits?

optional limits?: object

Defined in: server/src/handler.ts:29

maxBytes?

optional maxBytes?: number

maxLogBytes?

optional maxLogBytes?: number

maxMegapixels?

optional maxMegapixels?: number

timeoutMs?

optional timeoutMs?: number


pluginOptions?

optional pluginOptions?: Readonly<Record<string, unknown>>

Defined in: server/src/handler.ts:25

{ pluginId: partialOptions } applied through configurePlugins; must mirror the client's.


plugins

plugins: readonly AnyPlugin[]

Defined in: server/src/handler.ts:23


proxyMaxSide?

optional proxyMaxSide?: number

Defined in: server/src/handler.ts:35

Longest proxy side for mode: 'proxy'. Default 2048.


sources

sources: SourceAdapter[]

Defined in: server/src/handler.ts:26


verifySourceHash?

optional verifySourceHash?: boolean

Defined in: server/src/handler.ts:31

Reject when the log's source.hash differs from the fetched bytes. Default true.


wasm?

optional wasm?: SealpixelWasm | Promise<SealpixelWasm>

Defined in: server/src/handler.ts:36