form-graph
    Preparing search index...

    Type Alias DefInputValue<D>

    DefInputValue: D extends { input: infer S }
        ? unknown extends InferSchemaInput<S>
            ? DefValue<D>
            : InferSchemaInput<S>
        : DefValue<D>

    What a field's WRITE path accepts: the input schema's raw side when the def kept its concrete schema type (satisfies FieldDef<...>, never an annotation), else the parsed value type. The conservative fallback means an annotated def demands parsed-shaped writes rather than accepting anything.

    Type Parameters

    • D