Skip to content

AIDK API Reference / aidk-server / InputTransformer

Type Alias: InputTransformer()<TBody> ​

ts
type InputTransformer<TBody> = (body: TBody, context: RequestContext) => EngineInput;

Defined in: packages/server/src/execution-context.ts:150

Type Parameters ​

Type ParameterDefault type
TBodyStandardRequestBody

Parameters ​

ParameterType
bodyTBody
contextRequestContext

Returns ​

EngineInput

Released under the MIT License.