Skip to content

AIDK API Reference / aidk-express / ExpressEngineConfig

Interface: ExpressEngineConfig<TBody> ​

Defined in: packages/express/src/middleware/engine.ts:92

Express-specific config (extends base with Express types)

Extends ​

Type Parameters ​

Type ParameterDefault type
TBodyany

Properties ​

PropertyTypeDescriptionInherited fromDefined in
engine| Engine | () => EngineEngine instance or factoryExecutionContextConfig.enginepackages/server/src/execution-context.ts:233
extractContext?ContextExtractor<TBody, Record<string, string | undefined>>Extract context from request body/headersExecutionContextConfig.extractContextpackages/server/src/execution-context.ts:237
generateId?IdGeneratorID generator for execution IDsExecutionContextConfig.generateIdpackages/server/src/execution-context.ts:235
transformInput?InputTransformer<TBody>Transform request body to engine inputExecutionContextConfig.transformInputpackages/server/src/execution-context.ts:239

Released under the MIT License.