remove old torrent for better times

This commit is contained in:
royalcat 2025-01-08 01:25:46 +03:00
parent 10c3f126f0
commit 5b11b70370
32 changed files with 243 additions and 6575 deletions

View file

@ -1,5 +1,4 @@
type Mutation {
torrentDaemon: TorrentDaemonMutation @resolver
qbitTorrentDaemon: QBitTorrentDaemonMutation @resolver
uploadFile(dir: String!, file: Upload!): Boolean!

View file

@ -1,16 +1,8 @@
type Subscription {
taskProgress(taskID: ID!): Progress
torrentDownloadUpdates: TorrentProgress
}
type TorrentProgress implements Progress {
torrent: Torrent!
current: Int!
total: Int!
taskProgress(taskID: ID!): Progress
}
interface Progress {
current: Int!
total: Int!
}
current: Int!
total: Int!
}

View file

@ -33,15 +33,3 @@ type ArchiveFS implements Dir & FsEntry {
size: Int!
}
type TorrentFS implements Dir & FsEntry {
name: String!
torrent: Torrent!
entries: [FsEntry!]! @resolver
}
type TorrentFileEntry implements File & FsEntry {
name: String!
torrent: Torrent!
size: Int!
}

View file

@ -0,0 +1,4 @@
interface Progress {
current: Int!
total: Int!
}