From edf55e120cfefde00ef5381e5e1894b32201c41d Mon Sep 17 00:00:00 2001 From: TomJKing Date: Wed, 27 Sep 2023 07:35:26 +0100 Subject: [PATCH] Remove series and transferring body objects --- src/main/graphql/GetConsignmentExport.graphql | 8 ++------ src/main/graphql/GetConsignmentStatus.graphql | 6 ++---- src/main/graphql/GetConsignmentSummary.graphql | 10 +++------- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/src/main/graphql/GetConsignmentExport.graphql b/src/main/graphql/GetConsignmentExport.graphql index 07401476..1c154e0a 100644 --- a/src/main/graphql/GetConsignmentExport.graphql +++ b/src/main/graphql/GetConsignmentExport.graphql @@ -7,12 +7,8 @@ query getConsignmentForExport($consignmentId: UUID!) { consignmentReference consignmentType includeTopLevelFolder - series { - code - } - transferringBody { - name - } + seriesName + transferringBodyName files { fileId fileType diff --git a/src/main/graphql/GetConsignmentStatus.graphql b/src/main/graphql/GetConsignmentStatus.graphql index 075e773e..e6b2971c 100644 --- a/src/main/graphql/GetConsignmentStatus.graphql +++ b/src/main/graphql/GetConsignmentStatus.graphql @@ -1,9 +1,7 @@ query getConsignmentStatus($consignmentId: UUID!) { getConsignment(consignmentid: $consignmentId) { - series { - seriesid - code - } + seriesid + seriesName consignmentStatuses { consignmentStatusId consignmentId diff --git a/src/main/graphql/GetConsignmentSummary.graphql b/src/main/graphql/GetConsignmentSummary.graphql index 8be3fbb6..e82fd939 100644 --- a/src/main/graphql/GetConsignmentSummary.graphql +++ b/src/main/graphql/GetConsignmentSummary.graphql @@ -1,12 +1,8 @@ query getConsignmentSummary($consignmentId: UUID!) { getConsignment(consignmentid: $consignmentId) { - series { - code - }, - transferringBody { - name - } - totalFiles, + seriesName + transferringBodyName + totalFiles consignmentReference } }