@nationalarchives/tdr-generated-graphql 1.0.430 → 1.0.431

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +6 -21
  2. package/index.js +6 -16
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -789,14 +789,8 @@ export type GetConsignmentForExportQuery = {
789
789
  consignmentReference: string;
790
790
  consignmentType?: string | null;
791
791
  includeTopLevelFolder?: boolean | null;
792
- series?: {
793
- __typename?: 'Series';
794
- code: string;
795
- } | null;
796
- transferringBody?: {
797
- __typename?: 'TransferringBody';
798
- name: string;
799
- } | null;
792
+ seriesName?: string | null;
793
+ transferringBodyName?: string | null;
800
794
  files: Array<{
801
795
  __typename?: 'File';
802
796
  fileId: any;
@@ -945,11 +939,8 @@ export type GetConsignmentStatusQuery = {
945
939
  __typename?: 'Query';
946
940
  getConsignment?: {
947
941
  __typename?: 'Consignment';
948
- series?: {
949
- __typename?: 'Series';
950
- seriesid: any;
951
- code: string;
952
- } | null;
942
+ seriesid?: any | null;
943
+ seriesName?: string | null;
953
944
  consignmentStatuses: Array<{
954
945
  __typename?: 'ConsignmentStatus';
955
946
  consignmentStatusId: any;
@@ -968,16 +959,10 @@ export type GetConsignmentSummaryQuery = {
968
959
  __typename?: 'Query';
969
960
  getConsignment?: {
970
961
  __typename?: 'Consignment';
962
+ seriesName?: string | null;
963
+ transferringBodyName?: string | null;
971
964
  totalFiles: number;
972
965
  consignmentReference: string;
973
- series?: {
974
- __typename?: 'Series';
975
- code: string;
976
- } | null;
977
- transferringBody?: {
978
- __typename?: 'TransferringBody';
979
- name: string;
980
- } | null;
981
966
  } | null;
982
967
  };
983
968
  export type GetConsignmentTypeQueryVariables = Exact<{
package/index.js CHANGED
@@ -134,12 +134,8 @@
134
134
  consignmentReference
135
135
  consignmentType
136
136
  includeTopLevelFolder
137
- series {
138
- code
139
- }
140
- transferringBody {
141
- name
142
- }
137
+ seriesName
138
+ transferringBodyName
143
139
  files {
144
140
  fileId
145
141
  fileType
@@ -247,10 +243,8 @@
247
243
  `,t.GetConsignmentStatus=s.default`
248
244
  query getConsignmentStatus($consignmentId: UUID!) {
249
245
  getConsignment(consignmentid: $consignmentId) {
250
- series {
251
- seriesid
252
- code
253
- }
246
+ seriesid
247
+ seriesName
254
248
  consignmentStatuses {
255
249
  consignmentStatusId
256
250
  consignmentId
@@ -264,12 +258,8 @@
264
258
  `,t.GetConsignmentSummary=s.default`
265
259
  query getConsignmentSummary($consignmentId: UUID!) {
266
260
  getConsignment(consignmentid: $consignmentId) {
267
- series {
268
- code
269
- }
270
- transferringBody {
271
- name
272
- }
261
+ seriesName
262
+ transferringBodyName
273
263
  totalFiles
274
264
  consignmentReference
275
265
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nationalarchives/tdr-generated-graphql",
3
- "version": "1.0.430",
3
+ "version": "1.0.431",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {