Interface: CreateCommandBuilderState<TIn, TOut, THandle>
Defined in: builders/create-command-builder-state.ts:14
Internal copy-on-write state for createCommandBuilder.
Holds the optional input schema, output schema, partition extractor, and passive execution callback across fluent builder transitions.
Type Parameters
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
extractPartitions? | readonly | (input) => readonly string[] | Optional partition extractor. | builders/create-command-builder-state.ts:20 |
fn? | readonly | (input, ctx) => Promise<TOut> | Passive step callback. | builders/create-command-builder-state.ts:22 |
inputSchema? | readonly | ZodType<TIn, unknown, $ZodTypeInternals<TIn, unknown>> | Input schema. | builders/create-command-builder-state.ts:16 |
outputSchema? | readonly | ZodType<TOut, unknown, $ZodTypeInternals<TOut, unknown>> | Output schema. | builders/create-command-builder-state.ts:18 |