HomeSoftware Heritage

Rename 'type' field to 'targetType' in the schema

Description

Rename 'type' field to 'targetType' in the schema

'target type' is called 'type' in sanpshot branch, search and directoy entry
objects. This is inconsistent with the field name used in the release object.
Change all the field names representing the type of a target to 'targetType'.

Related to T4492