tstor/graphql/subscription.graphql
2024-03-18 00:00:34 +03:00

16 lines
No EOL
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!
}