@nationalarchives/tdr-generated-graphql 1.0.300 → 1.0.302

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 -0
  2. package/index.js +5 -0
  3. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -321,6 +321,7 @@ export declare type FileMetadataValues = {
321
321
  clientSideOriginalFilePath?: Maybe<Scalars['String']>;
322
322
  closurePeriod?: Maybe<Scalars['Int']>;
323
323
  closureStartDate?: Maybe<Scalars['LocalDateTime']>;
324
+ descriptionClosed?: Maybe<Scalars['Boolean']>;
324
325
  foiExemptionAsserted?: Maybe<Scalars['LocalDateTime']>;
325
326
  foiExemptionCode?: Maybe<Scalars['String']>;
326
327
  heldBy?: Maybe<Scalars['String']>;
@@ -787,6 +788,10 @@ export declare type GetConsignmentFilesQuery = {
787
788
  __typename?: 'Consignment';
788
789
  files: Array<{
789
790
  __typename?: 'File';
791
+ fileId: any;
792
+ fileName?: string | null;
793
+ fileType?: string | null;
794
+ parentId?: any | null;
790
795
  metadata: {
791
796
  __typename?: 'FileMetadataValues';
792
797
  clientSideOriginalFilePath?: string | null;
@@ -818,6 +823,7 @@ export declare type GetConsignmentFilesMetadataQuery = {
818
823
  closureStartDate?: any | null;
819
824
  foiExemptionAsserted?: any | null;
820
825
  titleClosed?: boolean | null;
826
+ descriptionClosed?: boolean | null;
821
827
  };
822
828
  }>;
823
829
  } | null;
package/index.js CHANGED
@@ -180,6 +180,10 @@
180
180
  query getConsignmentFiles($consignmentId: UUID!) {
181
181
  getConsignment(consignmentid: $consignmentId) {
182
182
  files {
183
+ fileId
184
+ fileName
185
+ fileType
186
+ parentId
183
187
  metadata {
184
188
  clientSideOriginalFilePath
185
189
  }
@@ -201,6 +205,7 @@
201
205
  closureStartDate
202
206
  foiExemptionAsserted
203
207
  titleClosed
208
+ descriptionClosed
204
209
  }
205
210
  }
206
211
  consignmentReference
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nationalarchives/tdr-generated-graphql",
3
- "version": "1.0.300",
3
+ "version": "1.0.302",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -35,7 +35,7 @@
35
35
  "webpack-cli": "^4.10.0"
36
36
  },
37
37
  "dependencies": {
38
- "@graphql-codegen/cli": "^2.13.8",
38
+ "@graphql-codegen/cli": "^2.13.9",
39
39
  "graphql": "^16.6.0",
40
40
  "y18n": "^5.0.8"
41
41
  }