ManagementExpressContextFactory
Defined in: management-express/src/types.ts:44
Creates request-specific context for the Management Surface from Express state.
The returned value is passed through to @monque/management as managementContext.
Management authorization hooks and payload serializers receive that same value as their
context input. If omitted, the Management Surface receives no application context.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type | Description |
|---|---|---|
TContext | unknown | Application-specific context exposed to management hooks. |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input | ManagementExpressContextInput |
Returns
Section titled “Returns”TContext | Promise<TContext>