ManagementOptions
Defined in: surface/types.ts:124
Options used to create a management router or OpenAPI handler.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type | Description |
|---|---|---|
TContext | unknown | Application context supplied through the OpenAPI handler call. |
Properties
Section titled “Properties”authorize?
Section titled “authorize?”Defined in: surface/types.ts:133
Optional authorization hook invoked before reads and mutations.
maxBodySize?
Section titled “maxBodySize?”Defined in: surface/types.ts:128
Maximum request body size in bytes. Defaults to 65,536 bytes.
monque
Section titled “monque”Defined in: surface/types.ts:126
Scheduler instance or facade backing the management endpoints.
parallelCapabilityChecks?
Section titled “parallelCapabilityChecks?”Defined in: surface/types.ts:135
Opt in only when authorization checks can run independently. Defaults to sequential.
readOnly?
Section titled “readOnly?”Defined in: surface/types.ts:131
When true, all mutation endpoints return 403 even if the scheduler supports them.
serializePayload?
Section titled “serializePayload?”Defined in: surface/types.ts:137
Default payload serializer for returned jobs.
serializePayloadByJobName?
Section titled “serializePayloadByJobName?”Defined in: surface/types.ts:139
Payload serializers keyed by job name, taking precedence over serializePayload.
trustedOrigins?
Section titled “trustedOrigins?”Defined in: surface/types.ts:129