Stop tasks and show task progress (#181)

* Add job status to tasks page

* Add support for stopping task

* Show progress of some tasks
This commit is contained in:
WithoutPants
2019-11-07 15:35:04 +11:00
committed by Leopere
parent d1ea2fffa5
commit c0911f1626
13 changed files with 283 additions and 68 deletions

View File

@@ -67,6 +67,9 @@ type Query {
"""Clean metadata. Returns the job ID"""
metadataClean: String!
jobStatus: MetadataUpdateStatus!
stopJob: Boolean!
# Get everything
allPerformers: [Performer!]!
@@ -106,7 +109,7 @@ type Mutation {
type Subscription {
"""Update from the metadata manager"""
metadataUpdate: String!
metadataUpdate: MetadataUpdateStatus!
loggingSubscribe: [LogEntry!]!
}