interface
SchemaField
The common field manifest plus the type-specific configuration selected by type.
Properties
| Property | Type | Description |
|---|---|---|
id | string | The id value. |
name | string | The name value. |
path | string | The path value. |
type | FieldType | The type value. |
category | FieldCategory | The category value. |
required | boolean | The required value. |
unique | boolean | The unique value. |
index | boolean | The index value. |
localized | boolean | The localized value. |
queryRestricted | boolean | The queryRestricted value. |
default | string | The default value. |
dynamicDefault | boolean | The dynamicDefault value. |
liveValidation | boolean | The liveValidation value. |
admin | SchemaFieldAdmin | The admin value. |
text | SchemaTextField | The text value. |
textarea | SchemaTextField | The textarea value. |
code | SchemaCodeField | The code value. |
number | SchemaNumberField | The number value. |
list | SchemaPrimitiveListField | The list value. |
date | SchemaDateField | The date value. |
select | SchemaSelectField | The select value. |
point | SchemaPointField | The point value. |
ui | SchemaUIField | The ui value. |
join | SchemaJoinField | The join value. |
virtual | SchemaVirtualField | The virtual value. |
relationship | SchemaRelationshipField | The relationship value. |
upload | SchemaUploadField | The upload value. |
nested | SchemaNestedField | The nested value. |
blocks | SchemaBlocksField | The blocks value. |
plugin | SchemaPluginField | The plugin value. |
Full signature
interface SchemaField { ... }