GraphQL: rename type fields to targetType for consistency
target type is called 'targetType' in release object, but is called in 'type' in branch, directory entry and searchresult. change everything to targetType for consistency.
Migrated from T4492 (view on Phabricator)
Edited by Phabricator Migration user