Skip to content

BaseUIField

Defined in: packages/core/src/fields/baseTypes.ts:648

Resolved base UI-field definition, after defaults are applied by the field config function.

BaseUIFieldInput for the user-facing input type

  • Omit<BaseField<TCollectionSlug, TFieldMeta>, "required" | "defaultValue" | "index" | "interfaceDescription" | "interfaceType" | "validate" | "admin">

TCollectionSlug extends VexResourceSlug = VexResourceSlug

TFieldMeta extends object = { }

admin: UIFieldAdminConfig<TCollectionSlug>

Defined in: packages/core/src/fields/baseTypes.ts:662

Resolved admin UI configuration with all defaults applied.


optional description?: string

Defined in: packages/core/src/fields/baseTypes.ts:585

Semantic description of the field. Used in three places:

  1. Helper text rendered below the field input in the admin form UI.
  2. As the Zod .meta({ description }) value for form validation.
  3. As the JSDoc comment on the generated document interface property.

To write a separate JSDoc comment, use interfaceDescription in addition.

BaseField.description


label: string

Defined in: packages/core/src/fields/baseTypes.ts:567

Display label shown in the admin form. Always set — inferred from the field key if not provided.

BaseField.label


meta: TFieldMeta

Defined in: packages/core/src/fields/baseTypes.ts:592

Omit.meta