tstor/graphql/subscription.graphql

16 lines
266 B
GraphQL
Raw Permalink Normal View History

2024-03-17 21:00:34 +00:00
type Subscription {
taskProgress(taskID: ID!): Progress
torrentDownloadUpdates: TorrentProgress
}
type TorrentProgress implements Progress {
torrent: Torrent!
current: Int!
total: Int!
}
interface Progress {
current: Int!
total: Int!
}