_getTypeMapping (type) {
    const map = {}
    switch (type) {
    case 'tag':
      map.log = 'Tag'
      map.column = 'tagId'
      map.type = 'tags'
      break
    case 'star':
      map.log = 'Star'
      map.column = 'starId'
      map.type = 'stars'
      break
    case 'series':
      map.log = 'Series'
      map.column = 'seriesId'
      map.type = 'series'
    }

    return map
  }
Get type mapping

@param {String} type type(tag, series, star)

@returns {Object}