Commit 03274a7e authored by Illya Klymov's avatar Illya Klymov Committed by Jacques Erasmus

Consume last_import_target in queries

* query last_import_target on source group fragment
* query last_import_target on set_import_progress mutation
parent c44040bb
...@@ -12,6 +12,10 @@ fragment BulkImportSourceGroupItem on ClientBulkImportSourceGroup { ...@@ -12,6 +12,10 @@ fragment BulkImportSourceGroupItem on ClientBulkImportSourceGroup {
target_namespace target_namespace
new_name new_name
} }
last_import_target {
target_namespace
new_name
}
validation_errors { validation_errors {
field field
message message
......
mutation setImportProgress($status: String!, $sourceGroupId: String!, $jobId: String) { mutation setImportProgress(
setImportProgress(status: $status, sourceGroupId: $sourceGroupId, jobId: $jobId) @client { $status: String!
$sourceGroupId: String!
$jobId: String
$importTarget: ImportTargetInput!
) {
setImportProgress(
status: $status
sourceGroupId: $sourceGroupId
jobId: $jobId
importTarget: $importTarget
) @client {
id id
progress { progress {
id id
status status
} }
last_import_target {
target_namespace
new_name
}
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment