16 lines
266 B
GraphQL
16 lines
266 B
GraphQL
|
type Subscription {
|
||
|
taskProgress(taskID: ID!): Progress
|
||
|
torrentDownloadUpdates: TorrentProgress
|
||
|
}
|
||
|
|
||
|
|
||
|
type TorrentProgress implements Progress {
|
||
|
torrent: Torrent!
|
||
|
current: Int!
|
||
|
total: Int!
|
||
|
}
|
||
|
|
||
|
interface Progress {
|
||
|
current: Int!
|
||
|
total: Int!
|
||
|
}
|