qbittorrent cleanup

This commit is contained in:
royalcat 2024-12-16 00:43:04 +03:00
parent 109bbb202d
commit ee2fc5ab9d
8 changed files with 459 additions and 12 deletions
ui/lib/api

View file

@ -61,8 +61,13 @@ type QBitCleanupResponse {
count: Int!
hashes: [String!]!
}
type QBitCleanupUnregistredResponse {
count: Int!
hashes: [String!]!
}
type QBitTorrentDaemonMutation {
cleanup(run: Boolean!): QBitCleanupResponse! @resolver
cleanupUnregistred(run: Boolean!): QBitCleanupUnregistredResponse! @resolver
}
type QBitTorrentDaemonQuery {
torrents: [QTorrent!]! @resolver