Interface: HandlerOptions
Defined in: server/src/handler.ts:22
Properties
assets?
optionalassets?:AssetResolver
Defined in: server/src/handler.ts:28
cors?
optionalcors?:string[] |"*"
Defined in: server/src/handler.ts:38
Extra CORS origins allowed; * allows all. Default none (same-origin).
destinations?
optionaldestinations?:DestinationAdapter[]
Defined in: server/src/handler.ts:27
idempotent?
optionalidempotent?:boolean
Defined in: server/src/handler.ts:33
Return an existing destination object for the same job key without rendering. Default true.
limits?
optionallimits?:object
Defined in: server/src/handler.ts:29
maxBytes?
optionalmaxBytes?:number
maxLogBytes?
optionalmaxLogBytes?:number
maxMegapixels?
optionalmaxMegapixels?:number
timeoutMs?
optionaltimeoutMs?:number
pluginOptions?
optionalpluginOptions?: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?
optionalproxyMaxSide?: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?
optionalverifySourceHash?:boolean
Defined in: server/src/handler.ts:31
Reject when the log's source.hash differs from the fetched bytes. Default true.
wasm?
optionalwasm?:SealpixelWasm|Promise<SealpixelWasm>
Defined in: server/src/handler.ts:36