ADMIN_FIELDS
constADMIN_FIELDS:object
Defined in: packages/core/src/fields/constants.ts:11
Convex schema metadata for each supported field type, keyed by field type name.
Type Declaration
Section titled “Type Declaration”
readonlyarray:object
array.defaultValue
Section titled “array.defaultValue”
readonlydefaultValue: readonly [] =[]
array.inputMasks
Section titled “array.inputMasks”
readonlyinputMasks:false=false
array.interfaceType
Section titled “array.interfaceType”
readonlyinterfaceType:"unknown[]"="unknown[]"
array.kind
Section titled “array.kind”
readonlykind:"data"="data"
array.type
Section titled “array.type”
readonlytype:"array"="array"
array.validator
Section titled “array.validator”
readonlyvalidator: “v.array(\nv.any()\n)” = “v.array(\nv.any()\n)“
blocks
Section titled “blocks”
readonlyblocks:object
blocks.defaultValue
Section titled “blocks.defaultValue”
readonlydefaultValue: readonly [] =[]
blocks.inputMasks
Section titled “blocks.inputMasks”
readonlyinputMasks:false=false
blocks.interfaceType
Section titled “blocks.interfaceType”
readonlyinterfaceType:"Record<string, any>[]"="Record<string, any>[]"
blocks.kind
Section titled “blocks.kind”
readonlykind:"data"="data"
blocks.type
Section titled “blocks.type”
readonlytype:"blocks"="blocks"
blocks.validator
Section titled “blocks.validator”
readonlyvalidator:"v.array(v.any())"="v.array(v.any())"
checkbox
Section titled “checkbox”
readonlycheckbox:object
checkbox.defaultValue
Section titled “checkbox.defaultValue”
readonlydefaultValue:false=false
checkbox.inputMasks
Section titled “checkbox.inputMasks”
readonlyinputMasks:false=false
checkbox.interfaceType
Section titled “checkbox.interfaceType”
readonlyinterfaceType:"boolean"="boolean"
checkbox.kind
Section titled “checkbox.kind”
readonlykind:"data"="data"
checkbox.type
Section titled “checkbox.type”
readonlytype:"checkbox"="checkbox"
checkbox.validator
Section titled “checkbox.validator”
readonlyvalidator:"v.boolean()"="v.boolean()"
collapsible
Section titled “collapsible”
readonlycollapsible:object
collapsible.defaultValue
Section titled “collapsible.defaultValue”
readonlydefaultValue:undefined=undefined
collapsible.inputMasks
Section titled “collapsible.inputMasks”
readonlyinputMasks:false=false
collapsible.interfaceType
Section titled “collapsible.interfaceType”
readonlyinterfaceType:"never"="never"
collapsible.kind
Section titled “collapsible.kind”
readonlykind:"ui"="ui"
collapsible.type
Section titled “collapsible.type”
readonlytype:"collapsible"="collapsible"
collapsible.validator
Section titled “collapsible.validator”
readonlyvalidator:"never"="never"
readonlycolor:object
color.defaultValue
Section titled “color.defaultValue”
readonlydefaultValue:""=""
color.inputMasks
Section titled “color.inputMasks”
readonlyinputMasks:false=false
color.interfaceType
Section titled “color.interfaceType”
readonlyinterfaceType:"string"="string"
color.kind
Section titled “color.kind”
readonlykind:"data"="data"
color.type
Section titled “color.type”
readonlytype:"color"="color"
color.validator
Section titled “color.validator”
readonlyvalidator:"v.string()"="v.string()"
commitTs
Section titled “commitTs”
readonlycommitTs:object
commitTs.defaultValue
Section titled “commitTs.defaultValue”
readonlydefaultValue:undefined=undefined
commitTs.inputMasks
Section titled “commitTs.inputMasks”
readonlyinputMasks:false=false
commitTs.interfaceType
Section titled “commitTs.interfaceType”
readonlyinterfaceType:"number"="number"
commitTs.kind
Section titled “commitTs.kind”
readonlykind:"data"="data"
commitTs.type
Section titled “commitTs.type”
readonlytype:"commitTs"="commitTs"
commitTs.validator
Section titled “commitTs.validator”
readonlyvalidator:"v.commitTs()"="v.commitTs()"
readonlydate:object
date.defaultValue
Section titled “date.defaultValue”
readonlydefaultValue:undefined=undefined
date.inputMasks
Section titled “date.inputMasks”
readonlyinputMasks:false=false
date.interfaceType
Section titled “date.interfaceType”
readonlyinterfaceType:"number"="number"
date.kind
Section titled “date.kind”
readonlykind:"data"="data"
date.type
Section titled “date.type”
readonlytype:"date"="date"
date.validator
Section titled “date.validator”
readonlyvalidator:"v.number()"="v.number()"
readonlyemail:object
email.defaultValue
Section titled “email.defaultValue”
readonlydefaultValue:""=""
email.inputMasks
Section titled “email.inputMasks”
readonlyinputMasks:true=true
email.interfaceType
Section titled “email.interfaceType”
readonlyinterfaceType:"string"="string"
email.kind
Section titled “email.kind”
readonlykind:"data"="data"
email.type
Section titled “email.type”
readonlytype:"email"="email"
email.validator
Section titled “email.validator”
readonlyvalidator:"v.string()"="v.string()"
readonlygroup:object
group.defaultValue
Section titled “group.defaultValue”
readonlydefaultValue:Record<string,any>
group.inputMasks
Section titled “group.inputMasks”
readonlyinputMasks:false=false
group.interfaceType
Section titled “group.interfaceType”
readonlyinterfaceType:"Record<string, any>"="Record<string, any>"
group.kind
Section titled “group.kind”
readonlykind:"data"="data"
group.type
Section titled “group.type”
readonlytype:"group"="group"
group.validator
Section titled “group.validator”
readonlyvalidator:"v.object({})"="v.object({})"
readonlyjson:object
json.defaultValue
Section titled “json.defaultValue”
readonlydefaultValue:undefined=undefined
json.inputMasks
Section titled “json.inputMasks”
readonlyinputMasks:false=false
json.interfaceType
Section titled “json.interfaceType”
readonlyinterfaceType:"unknown"="unknown"
json.kind
Section titled “json.kind”
readonlykind:"data"="data"
json.type
Section titled “json.type”
readonlytype:"json"="json"
json.validator
Section titled “json.validator”
readonlyvalidator:"v.any()"="v.any()"
number
Section titled “number”
readonlynumber:object
number.defaultValue
Section titled “number.defaultValue”
readonlydefaultValue:0=0
number.inputMasks
Section titled “number.inputMasks”
readonlyinputMasks:true=true
number.interfaceType
Section titled “number.interfaceType”
readonlyinterfaceType:"number"="number"
number.kind
Section titled “number.kind”
readonlykind:"data"="data"
number.type
Section titled “number.type”
readonlytype:"number"="number"
number.validator
Section titled “number.validator”
readonlyvalidator:"v.number()"="v.number()"
relationship
Section titled “relationship”
readonlyrelationship:object
relationship.defaultValue
Section titled “relationship.defaultValue”
readonlydefaultValue:string[]
relationship.inputMasks
Section titled “relationship.inputMasks”
readonlyinputMasks:false=false
relationship.interfaceType
Section titled “relationship.interfaceType”
readonlyinterfaceType:"Id<CollectionSlug>[]"="Id<CollectionSlug>[]"
relationship.kind
Section titled “relationship.kind”
readonlykind:"data"="data"
relationship.type
Section titled “relationship.type”
readonlytype:"relationship"="relationship"
relationship.validator
Section titled “relationship.validator”
readonlyvalidator: “v.array(\nv.string()\n)” = “v.array(\nv.string()\n)“
richtext
Section titled “richtext”
readonlyrichtext:object
richtext.defaultValue
Section titled “richtext.defaultValue”
readonlydefaultValue: readonly [] =[]
richtext.inputMasks
Section titled “richtext.inputMasks”
readonlyinputMasks:false=false
richtext.interfaceType
Section titled “richtext.interfaceType”
readonlyinterfaceType:"RichTextDocument"="RichTextDocument"
richtext.kind
Section titled “richtext.kind”
readonlykind:"data"="data"
richtext.type
Section titled “richtext.type”
readonlytype:"richtext"="richtext"
richtext.validator
Section titled “richtext.validator”
readonlyvalidator: “v.array(\nv.any()\n)” = “v.array(\nv.any()\n)“
readonlyrow:object
row.defaultValue
Section titled “row.defaultValue”
readonlydefaultValue:undefined=undefined
row.inputMasks
Section titled “row.inputMasks”
readonlyinputMasks:false=false
row.interfaceType
Section titled “row.interfaceType”
readonlyinterfaceType:"never"="never"
row.kind
Section titled “row.kind”
readonlykind:"ui"="ui"
row.type
Section titled “row.type”
readonlytype:"row"="row"
row.validator
Section titled “row.validator”
readonlyvalidator:"never"="never"
select
Section titled “select”
readonlyselect:object
select.defaultValue
Section titled “select.defaultValue”
readonlydefaultValue:string[]
select.inputMasks
Section titled “select.inputMasks”
readonlyinputMasks:false=false
select.interfaceType
Section titled “select.interfaceType”
readonlyinterfaceType:"string[]"="string[]"
select.kind
Section titled “select.kind”
readonlykind:"data"="data"
select.type
Section titled “select.type”
readonlytype:"select"="select"
select.validator
Section titled “select.validator”
readonlyvalidator: “v.array(\nv.string()\n)” = “v.array(\nv.string()\n)“
readonlytabs:object
tabs.defaultValue
Section titled “tabs.defaultValue”
readonlydefaultValue:undefined=undefined
tabs.inputMasks
Section titled “tabs.inputMasks”
readonlyinputMasks:false=false
tabs.interfaceType
Section titled “tabs.interfaceType”
readonlyinterfaceType:"never"="never"
tabs.kind
Section titled “tabs.kind”
readonlykind:"ui"="ui"
tabs.type
Section titled “tabs.type”
readonlytype:"tabs"="tabs"
tabs.validator
Section titled “tabs.validator”
readonlyvalidator:"never"="never"
readonlytext:object
text.defaultValue
Section titled “text.defaultValue”
readonlydefaultValue:""=""
text.inputMasks
Section titled “text.inputMasks”
readonlyinputMasks:true=true
text.interfaceType
Section titled “text.interfaceType”
readonlyinterfaceType:"string"="string"
text.kind
Section titled “text.kind”
readonlykind:"data"="data"
text.type
Section titled “text.type”
readonlytype:"text"="text"
text.validator
Section titled “text.validator”
readonlyvalidator:"v.string()"="v.string()"
textarea
Section titled “textarea”
readonlytextarea:object
textarea.defaultValue
Section titled “textarea.defaultValue”
readonlydefaultValue:""=""
textarea.inputMasks
Section titled “textarea.inputMasks”
readonlyinputMasks:false=false
textarea.interfaceType
Section titled “textarea.interfaceType”
readonlyinterfaceType:"string"="string"
textarea.kind
Section titled “textarea.kind”
readonlykind:"data"="data"
textarea.type
Section titled “textarea.type”
readonlytype:"textarea"="textarea"
textarea.validator
Section titled “textarea.validator”
readonlyvalidator:"v.string()"="v.string()"
readonlyui:object
ui.defaultValue
Section titled “ui.defaultValue”
readonlydefaultValue:undefined=undefined
ui.inputMasks
Section titled “ui.inputMasks”
readonlyinputMasks:false=false
ui.interfaceType
Section titled “ui.interfaceType”
readonlyinterfaceType:"never"="never"
ui.kind
Section titled “ui.kind”
readonlykind:"ui"="ui"
ui.type
Section titled “ui.type”
readonlytype:"ui"="ui"
ui.validator
Section titled “ui.validator”
readonlyvalidator:"never"="never"
upload
Section titled “upload”
readonlyupload:object
upload.defaultValue
Section titled “upload.defaultValue”
readonlydefaultValue:undefined=undefined
upload.inputMasks
Section titled “upload.inputMasks”
readonlyinputMasks:false=false
upload.interfaceType
Section titled “upload.interfaceType”
readonlyinterfaceType:"Id<MediaCollectionSlug>[]"="Id<MediaCollectionSlug>[]"
upload.kind
Section titled “upload.kind”
readonlykind:"data"="data"
upload.type
Section titled “upload.type”
readonlytype:"upload"="upload"
upload.validator
Section titled “upload.validator”
readonlyvalidator: “v.array(\nv.string()\n)” = “v.array(\nv.string()\n)“
readonlyurl:object
url.defaultValue
Section titled “url.defaultValue”
readonlydefaultValue:""=""
url.inputMasks
Section titled “url.inputMasks”
readonlyinputMasks:true=true
url.interfaceType
Section titled “url.interfaceType”
readonlyinterfaceType:"string"="string"
url.kind
Section titled “url.kind”
readonlykind:"data"="data"
url.type
Section titled “url.type”
readonlytype:"url"="url"
url.validator
Section titled “url.validator”
readonlyvalidator:"v.string()"="v.string()"