@nationalarchives/tdr-generated-graphql 1.0.430 → 1.0.432

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 +10 -22
  2. package/index.js +8 -16
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -169,7 +169,6 @@ export type Consignment = {
169
169
  paginatedFiles: FileConnection;
170
170
  parentFolder?: Maybe<Scalars['String']['output']>;
171
171
  parentFolderId?: Maybe<Scalars['UUID']['output']>;
172
- series?: Maybe<Series>;
173
172
  seriesName?: Maybe<Scalars['String']['output']>;
174
173
  seriesid?: Maybe<Scalars['UUID']['output']>;
175
174
  totalFileSize: Scalars['Int']['output'];
@@ -324,6 +323,7 @@ export type File = {
324
323
  fileId: Scalars['UUID']['output'];
325
324
  fileMetadata: Array<FileMetadataValue>;
326
325
  fileName?: Maybe<Scalars['String']['output']>;
326
+ fileReference?: Maybe<Scalars['String']['output']>;
327
327
  /** @deprecated Should use 'fileStatuses' field */
328
328
  fileStatus?: Maybe<Scalars['String']['output']>;
329
329
  fileStatuses: Array<FileStatus>;
@@ -331,6 +331,7 @@ export type File = {
331
331
  metadata: FileMetadataValues;
332
332
  originalFilePath?: Maybe<Scalars['String']['output']>;
333
333
  parentId?: Maybe<Scalars['UUID']['output']>;
334
+ parentReference?: Maybe<Scalars['String']['output']>;
334
335
  };
335
336
  export type FileChecks = {
336
337
  __typename?: 'FileChecks';
@@ -789,19 +790,15 @@ export type GetConsignmentForExportQuery = {
789
790
  consignmentReference: string;
790
791
  consignmentType?: string | null;
791
792
  includeTopLevelFolder?: boolean | null;
792
- series?: {
793
- __typename?: 'Series';
794
- code: string;
795
- } | null;
796
- transferringBody?: {
797
- __typename?: 'TransferringBody';
798
- name: string;
799
- } | null;
793
+ seriesName?: string | null;
794
+ transferringBodyName?: string | null;
800
795
  files: Array<{
801
796
  __typename?: 'File';
802
797
  fileId: any;
803
798
  fileType?: string | null;
804
799
  fileName?: string | null;
800
+ fileReference?: string | null;
801
+ parentReference?: string | null;
805
802
  originalFilePath?: string | null;
806
803
  fileMetadata: Array<{
807
804
  __typename?: 'FileMetadataValue';
@@ -945,11 +942,8 @@ export type GetConsignmentStatusQuery = {
945
942
  __typename?: 'Query';
946
943
  getConsignment?: {
947
944
  __typename?: 'Consignment';
948
- series?: {
949
- __typename?: 'Series';
950
- seriesid: any;
951
- code: string;
952
- } | null;
945
+ seriesid?: any | null;
946
+ seriesName?: string | null;
953
947
  consignmentStatuses: Array<{
954
948
  __typename?: 'ConsignmentStatus';
955
949
  consignmentStatusId: any;
@@ -968,16 +962,10 @@ export type GetConsignmentSummaryQuery = {
968
962
  __typename?: 'Query';
969
963
  getConsignment?: {
970
964
  __typename?: 'Consignment';
965
+ seriesName?: string | null;
966
+ transferringBodyName?: string | null;
971
967
  totalFiles: number;
972
968
  consignmentReference: string;
973
- series?: {
974
- __typename?: 'Series';
975
- code: string;
976
- } | null;
977
- transferringBody?: {
978
- __typename?: 'TransferringBody';
979
- name: string;
980
- } | null;
981
969
  } | null;
982
970
  };
983
971
  export type GetConsignmentTypeQueryVariables = Exact<{
package/index.js CHANGED
@@ -134,16 +134,14 @@
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
146
142
  fileName
143
+ fileReference
144
+ parentReference
147
145
  originalFilePath
148
146
  fileMetadata {
149
147
  name
@@ -247,10 +245,8 @@
247
245
  `,t.GetConsignmentStatus=s.default`
248
246
  query getConsignmentStatus($consignmentId: UUID!) {
249
247
  getConsignment(consignmentid: $consignmentId) {
250
- series {
251
- seriesid
252
- code
253
- }
248
+ seriesid
249
+ seriesName
254
250
  consignmentStatuses {
255
251
  consignmentStatusId
256
252
  consignmentId
@@ -264,12 +260,8 @@
264
260
  `,t.GetConsignmentSummary=s.default`
265
261
  query getConsignmentSummary($consignmentId: UUID!) {
266
262
  getConsignment(consignmentid: $consignmentId) {
267
- series {
268
- code
269
- }
270
- transferringBody {
271
- name
272
- }
263
+ seriesName
264
+ transferringBodyName
273
265
  totalFiles
274
266
  consignmentReference
275
267
  }
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.432",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {