code: def reftrack_type_data(rt, role):
      
      if role == QtCore.Qt.DisplayRole or role == QtCore.Qt.EditRole:
          return rt.get_typ()
      elif role == QtCore.Qt.DecorationRole:
          return rt.get_typ_icon()
docs: Return the data for the type (e.g. Asset, Alembic, Camera etc)
  
      :param rt: the :class:`jukeboxcore.reftrack.Reftrack` holds the data
      :type rt: :class:`jukeboxcore.reftrack.Reftrack`
      :param role: item data role
      :type role: QtCore.Qt.ItemDataRole
      :returns: data for the type
      :rtype: depending on role
      :raises: None