Middleware<
TField
>: (options
) =>MayPromise
<InferOutput
<InferFieldOutput
<TField
>>>
• TField extends GenericFieldOrOperation
= FieldOrOperation
<any
, any
, any
, any
>
• options: CallableMiddlewareOptions
<TField
>
MayPromise
<InferOutput
<InferFieldOutput
<TField
>>>
packages/core/src/utils/middleware.ts:43