Skip to main content

Interface: OutputConfig<T>

Defined in: packages/core/src/utils/output.ts:61

Configuration for output helpers

This is the unified type returned by Output.* methods. It wraps the schema with metadata for processing.

Type Parameters

T

T

Properties

_choices?

optional _choices?: readonly string[]

Defined in: packages/core/src/utils/output.ts:67

Choice options (only for choice type)


_type

_type: "object" | "value" | "array" | "choice"

Defined in: packages/core/src/utils/output.ts:65

Type of output (for internal use)


schema

schema: ZodType<T>

Defined in: packages/core/src/utils/output.ts:63

Transport schema: root for object/value, element for array, unused for choice.