make `fields` accept options such as `name`, `type`, and `options`
Open
feature
- Dominant language
- JavaScript
- Stars
- 36
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
For example
```js
{
myEnumField: {name:"My Enum Field",options:["option 1", "option 2"]},
myDateField: {name:"My Date Field",type:"date"},
}
```
Contributor guide
Assessment
This issue has not been assessed yet.