2024-07-07 20:09:13 +00:00
|
|
|
type TorrentDaemonQuery {
|
|
|
|
torrents(filter: TorrentsFilter): [Torrent!]! @resolver
|
2024-07-10 09:26:17 +00:00
|
|
|
stats: TorrentStats! @resolver
|
2024-07-07 20:09:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input TorrentsFilter {
|
|
|
|
infohash: StringFilter
|
|
|
|
name: StringFilter
|
|
|
|
bytesCompleted: IntFilter
|
|
|
|
bytesMissing: IntFilter
|
|
|
|
peersCount: IntFilter
|
|
|
|
priority: TorrentPriorityFilter
|
|
|
|
}
|
|
|
|
|
|
|
|
input TorrentPriorityFilter @oneOf {
|
|
|
|
eq: TorrentPriority
|
|
|
|
gt: TorrentPriority
|
|
|
|
lt: TorrentPriority
|
|
|
|
gte: TorrentPriority
|
|
|
|
lte: TorrentPriority
|
|
|
|
in: [TorrentPriority!]
|
|
|
|
}
|
|
|
|
|
|
|
|
input TorrentFilter @oneOf {
|
|
|
|
everything: Boolean
|
|
|
|
infohash: String
|
|
|
|
# pathGlob: String!
|
|
|
|
}
|