torrent cleanup
This commit is contained in:
parent
b069b3ad1c
commit
fc6b838cf5
24 changed files with 1316 additions and 395 deletions
|
@ -1,5 +1,6 @@
|
|||
type Mutation {
|
||||
torrentDaemon: TorrentDaemonMutation @resolver
|
||||
qbitTorrentDaemon: QBitTorrentDaemonMutation @resolver
|
||||
|
||||
uploadFile(dir: String!, file: Upload!): Boolean!
|
||||
dedupeStorage: Int!
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
type Query {
|
||||
torrentDaemon: TorrentDaemonQuery @resolver
|
||||
qbittorrentDaemon: QBitTorrentDaemonQuery @resolver
|
||||
qbitTorrentDaemon: QBitTorrentDaemonQuery @resolver
|
||||
|
||||
fsEntry(path: String!): FsEntry
|
||||
}
|
||||
|
|
8
graphql/sources/qbittorrent_mutation.graphql
Normal file
8
graphql/sources/qbittorrent_mutation.graphql
Normal file
|
@ -0,0 +1,8 @@
|
|||
type QBitTorrentDaemonMutation {
|
||||
cleanup(dryRun: Boolean!): QBitCleanupResponse! @resolver
|
||||
}
|
||||
|
||||
type QBitCleanupResponse {
|
||||
count: Int!
|
||||
hashes: [String!]!
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue