upload post type enum