Keystone 6: Built-In Field Types #392
Unanswered
molomby
asked this question in
Upgrading to Keystone 6
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Many of the built-in field types have been updated in the development of Keystone 6. This table shows how many fields should be mapped between versions:
document
image
.jpg
,.png
,.webp
, or.gif
)json
AuthedRelationship
AutoIncrement
integer
{ kind: 'autoincrement' }
option for theinteger
type and systemidField
configCalendarDay
text
Checkbox
checkbox
CloudinaryImage
cloudinaryImage
image
Color
text
Content
document
type for a function equivalentDateTime
timestamp
typeDateTimeUtc
timestamp
Decimal
decimal
File
file
Float
float
Integer
integer
LocationGoogle
json
Markdown
text
MongoId
text
OEmbed
json
Password
password
Relationship
relationships
Select
select
Slug
text
and hooksText
text
Unsplash
json
Url
text
with validation for formatUuid
{ kind: 'uuid' }
option for systemidField
config or non-primary keys can be stored astext
Virtual
virtual
Wysiwyg
document
type similar functionalityDon't see exactly what you need? Well, extending Keystone is easier than ever. Have a look at the Custom Fields guide, the
custom-field
example project and check out the relevant upgrade discussion here on GitHub.Beta Was this translation helpful? Give feedback.
All reactions