ManagementOptions
Defined in: surface/types.ts:126
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:132
Optional authorization hook invoked before reads and mutations.
monque
Section titled “monque”Defined in: surface/types.ts:128
Scheduler instance or facade backing the management endpoints.
readOnly?
Section titled “readOnly?”Defined in: surface/types.ts:130
When true, all mutation endpoints return 403 even if the scheduler supports them.
serializePayload?
Section titled “serializePayload?”Defined in: surface/types.ts:134
Default payload serializer for returned jobs.
serializePayloadByJobName?
Section titled “serializePayloadByJobName?”Defined in: surface/types.ts:136
Payload serializers keyed by job name, taking precedence over serializePayload.