<%= type_ruby_name %> = GraphQL::InterfaceType.define do name "<%= type_graphql_name %>" <% normalized_fields.each do |f| %> field :<%= f[0] %>, <%= f[1] %> <% end %>end