[wip] daemon separation

This commit is contained in:
royalcat 2024-11-24 20:33:44 +03:00
parent 98ee1dc6f1
commit fa084118c3
48 changed files with 48 additions and 35 deletions
ui/lib/api

View file

@ -57,8 +57,12 @@ interface Progress {
current: Int!
total: Int!
}
type QBitCleanupResponse {
count: Int!
hashes: [String!]!
}
type QBitTorrentDaemonMutation {
cleanup(dryRun: Boolean!): Int! @resolver
cleanup(run: Boolean!): QBitCleanupResponse! @resolver
}
type QBitTorrentDaemonQuery {
torrents: [QTorrent!]! @resolver