github-project
github-project copied to clipboard
make `fields` accept options such as `name`, `type`, and `options`
For example
{
myEnumField: {name:"My Enum Field",options:["option 1", "option 2"]},
myDateField: {name:"My Date Field",type:"date"},
}