torrent source filter

This commit is contained in:
royalcat 2024-12-17 01:04:44 +03:00
parent ee2fc5ab9d
commit 92bb67959b
6 changed files with 139 additions and 9 deletions
ui/lib/api

View file

@ -65,12 +65,15 @@ type QBitCleanupUnregistredResponse {
count: Int!
hashes: [String!]!
}
input QBitTorrentDaemonFilter {
multipleSources: Boolean
}
type QBitTorrentDaemonMutation {
cleanup(run: Boolean!): QBitCleanupResponse! @resolver
cleanupUnregistred(run: Boolean!): QBitCleanupUnregistredResponse! @resolver
}
type QBitTorrentDaemonQuery {
torrents: [QTorrent!]! @resolver
torrents(filter: QBitTorrentDaemonFilter): [QTorrent!]! @resolver
}
type QTorrent {
name: String!