generate type for enums
populate default values. update to 0.13.2