Skip to content

Interface: BaseDomainStepASTNode<TType, TIn, TOut, THandle> ​

Defined in: ast/base/base-domain-step-ast-node.ts:15

Domain-agnostic base AST node contract for external adapter step nodes (DomainStepASTNode).

Dispatched by executeStepNode via ctx.registry.steps[node.type] after validating inputSchema and prior to validating outputSchema.

Extended by ​

Type Parameters ​

Type ParameterDefault typeDescription
TType extends stringstringString-literal discriminant of the domain step node.
TInunknownValidated step input payload type.
TOutunknownValidated step output payload type.
THandleunknownIsolation scope handle type required by the step.

Properties ​

PropertyModifierTypeDescriptionDefined in
__handleBrand?readonlyBivariantCallback<[handle: THandle], void>Phantom type brand binding the step to its compatible scope handle type.ast/base/base-domain-step-ast-node.ts:30
idreadonlystringLogical identifier of the step node.ast/base/base-domain-step-ast-node.ts:24
inputSchemareadonlyZodType<TIn>Zod schema validating the step's input payload at entry.ast/base/base-domain-step-ast-node.ts:26
outputSchemareadonlyZodType<TOut>Zod schema validating the step's output payload at exit.ast/base/base-domain-step-ast-node.ts:28
typereadonlyTTypeUnique string-literal discriminant of the domain step node.ast/base/base-domain-step-ast-node.ts:22

Released under the MIT License.