file controller

This commit is contained in:
royalcat 2024-07-09 00:19:04 +03:00
parent 199a82ff0c
commit 0371af3344
21 changed files with 440 additions and 280 deletions
graphql/sources

View file

@ -4,7 +4,7 @@ type Torrent {
bytesCompleted: Int!
torrentFilePath: String!
bytesMissing: Int!
priority: TorrentPriority! @resolver
priority: TorrentPriority!
files: [TorrentFile!]! @resolver
excludedFiles: [TorrentFile!]! @resolver
peers: [TorrentPeer!]! @resolver
@ -14,6 +14,7 @@ type TorrentFile {
filename: String!
size: Int!
bytesCompleted: Int!
priority: TorrentPriority! @resolver
}
type TorrentPeer {