Text Field

Schema definition:

import defineField from '@/lib/field/defineField'

defineField({
    id: 'name'
    type: 'text'
})

Format as text

{
    "text": "Lorem ipsum"
}

Change Details

{
    "prev" : null,
    "next" : "Lorem ipsum",
    "userId" : "root",
    "supervisorId" : null,
    "operation" : "add",
    "source" : "user",
    "type" : "text",
    "time" : "2023-12-26T09:29:50.411Z"
}

TODO: demo text field prev next