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 Parameter | Default type |
|---|---|
TBody | StandardRequestBody |
Parameters ​
| Parameter | Type |
|---|---|
body | TBody |
context | RequestContext |