🔨 Fixed the status updates on Import
This commit is contained in:
@@ -11,21 +11,6 @@ query GetImportStatistics($directoryPath: String) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetCachedImportStatistics {
|
||||
getCachedImportStatistics {
|
||||
success
|
||||
message
|
||||
stats {
|
||||
totalLocalFiles
|
||||
alreadyImported
|
||||
newFiles
|
||||
percentageImported
|
||||
pendingFiles
|
||||
}
|
||||
lastUpdated
|
||||
}
|
||||
}
|
||||
|
||||
mutation StartNewImport($sessionId: String!) {
|
||||
startNewImport(sessionId: $sessionId) {
|
||||
success
|
||||
@@ -55,3 +40,21 @@ query GetJobResultStatistics {
|
||||
failedJobs
|
||||
}
|
||||
}
|
||||
|
||||
query GetActiveImportSession {
|
||||
getActiveImportSession {
|
||||
sessionId
|
||||
type
|
||||
status
|
||||
startedAt
|
||||
completedAt
|
||||
directoryPath
|
||||
stats {
|
||||
totalFiles
|
||||
filesQueued
|
||||
filesProcessed
|
||||
filesSucceeded
|
||||
filesFailed
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user