Skip to content

DirectInput

Defined in: input.ts:73

Input specification for inline data.

Directly provides data without file I/O. Useful for testing and computed inputs.

T

The type of the inline data

readonly optional __type: T

Defined in: input.ts:75

Phantom type marker for output type inference


readonly data: T

Defined in: input.ts:79

The inline data value


readonly type: "DirectInput"

Defined in: input.ts:77

Discriminator for input type

validate<V>(schema): ValidatedDirectInput<V>

Defined in: input.ts:81

Attach a validation schema to this input

V

Schema<V>

ValidatedDirectInput<V>