SchemaOverrideInput
SchemaOverrideInput<
THasMany,TValidator> =THasManyextendstrue?never:object
Defined in: packages/core/src/fields/baseTypes.ts:495
Types a field’s schema.validator input: never when the field is
hasMany: true (overrides apply only to single-value storage — see
select()/relationship()/upload()), otherwise an optional
{ validator } narrowed to TValidator. The RESOLVED field type never
uses this — it carries a plain, non-conditional { validator: TValidator }
(traveling values stay generic-erased; only the authoring-time input is
gated).
Type Parameters
Section titled “Type Parameters”THasMany
Section titled “THasMany”THasMany extends boolean
TValidator
Section titled “TValidator”TValidator extends FieldSchemaValidator