The main goal is to simplify reusing this drawing code when drawing properties for group input/output nodes. This is not implemented as part of this patch though. The UI shouldn't change, except that the old code had an incomplete `field_socket_types` list. Pull Request: https://projects.blender.org/blender/blender/pulls/147231