All the attributes which can be set on a field in frappe.ui.Dialog

I’m trying to figure out how to see which attributes other than the usual fieldtype, fieldname, reqd, etc can be set on a field in frappe.ui.Dialog.

When I do a console.log(dialog.fields);, I can only see the attributes which are set, not which others are also available on the field object.

How can I see all available attributes?