Skip to main content

Interface: OutputConfig<T>

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

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:66

Choice options (only for choice type)


_type

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

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

Type of output (for internal use)


schema

schema: ZodType<T>

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

The underlying schema (element schema for array, unused for choice)