I\'m trying to create a generic function which takes a FieldType and returns an object containing the properties from a common base type as well as default values for that speci