fragment TagData on Tag {
  id
  name
  description
  aliases
  ignore_auto_tag
  favorite
  image_path
  scene_count
  scene_count_all: scene_count(depth: -1)
  scene_marker_count
  scene_marker_count_all: scene_marker_count(depth: -1)
  image_count
  image_count_all: image_count(depth: -1)
  gallery_count
  gallery_count_all: gallery_count(depth: -1)
  performer_count
  performer_count_all: performer_count(depth: -1)

  parents {
    ...SlimTagData
  }

  children {
    ...SlimTagData
  }
}

fragment SelectTagData on Tag {
  id
  name
  favorite
  description
  aliases
  image_path

  parents {
    id
    name
  }
}
