type TorrentDaemonMutation {
  validateTorrent(filter: TorrentFilter!): Boolean! @resolver
  setTorrentPriority(
    infohash: String!
    file: String
    priority: TorrentPriority!
  ): Boolean! @resolver
  cleanup(files: Boolean, dryRun: Boolean!): CleanupResponse! @resolver
}

type CleanupResponse {
  count: Int!
  list: [String!]!
}

type DownloadTorrentResponse {
  task: Task
}