@nationalarchives/tdr-generated-graphql 1.0.257 → 1.0.260

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 -0
  2. package/index.js +1 -0
  3. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -75,6 +75,10 @@ export declare type AddTransferAgreementPrivateBetaInput = {
75
75
  allPublicRecords: Scalars['Boolean'];
76
76
  consignmentId: Scalars['UUID'];
77
77
  };
78
+ export declare type AllDescendantsInput = {
79
+ consignmentId: Scalars['UUID'];
80
+ parentIds: Array<Scalars['UUID']>;
81
+ };
78
82
  export declare type AntivirusMetadata = {
79
83
  __typename?: 'AntivirusMetadata';
80
84
  databaseVersion: Scalars['String'];
@@ -263,6 +267,7 @@ export declare type FileConnection = {
263
267
  edges?: Maybe<Array<Maybe<FileEdge>>>;
264
268
  /** Information to aid in pagination. */
265
269
  pageInfo: PageInfo;
270
+ totalItems?: Maybe<Scalars['Int']>;
266
271
  totalPages?: Maybe<Scalars['Int']>;
267
272
  };
268
273
  /** An edge in a connection. */
@@ -409,12 +414,16 @@ export declare enum PropertyType {
409
414
  }
410
415
  export declare type Query = {
411
416
  __typename?: 'Query';
417
+ allDescendants: Array<File>;
412
418
  consignments: ConsignmentConnection;
413
419
  customMetadata: Array<CustomMetadataField>;
414
420
  getClientFileMetadata: ClientFileMetadata;
415
421
  getConsignment?: Maybe<Consignment>;
416
422
  getSeries: Array<Series>;
417
423
  };
424
+ export declare type QueryAllDescendantsArgs = {
425
+ allDescendantsInput: AllDescendantsInput;
426
+ };
418
427
  export declare type QueryConsignmentsArgs = {
419
428
  currentCursor?: InputMaybe<Scalars['String']>;
420
429
  limit: Scalars['Int'];
@@ -728,6 +737,7 @@ export declare type GetConsignmentPaginatedFilesQuery = {
728
737
  paginatedFiles: {
729
738
  __typename?: 'FileConnection';
730
739
  totalPages?: number | null;
740
+ totalItems?: number | null;
731
741
  pageInfo: {
732
742
  __typename?: 'PageInfo';
733
743
  startCursor?: string | null;
package/index.js CHANGED
@@ -191,6 +191,7 @@
191
191
  }
192
192
  }
193
193
  totalPages
194
+ totalItems
194
195
  }
195
196
  }
196
197
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nationalarchives/tdr-generated-graphql",
3
- "version": "1.0.257",
3
+ "version": "1.0.260",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -24,18 +24,18 @@
24
24
  ],
25
25
  "homepage": "https://github.com/nationalarchives/tdr-generated-graphql#readme",
26
26
  "devDependencies": {
27
- "@graphql-codegen/introspection": "^2.2.0",
28
- "@graphql-codegen/typescript": "^2.7.2",
29
- "@graphql-codegen/typescript-document-nodes": "^2.3.2",
30
- "@graphql-codegen/typescript-graphql-files-modules": "^2.2.0",
31
- "@graphql-codegen/typescript-operations": "^2.5.2",
27
+ "@graphql-codegen/introspection": "^2.2.1",
28
+ "@graphql-codegen/typescript": "^2.7.3",
29
+ "@graphql-codegen/typescript-document-nodes": "^2.3.3",
30
+ "@graphql-codegen/typescript-graphql-files-modules": "^2.2.1",
31
+ "@graphql-codegen/typescript-operations": "^2.5.3",
32
32
  "ts-loader": "^9.3.0",
33
33
  "typescript": "^4.7.4",
34
34
  "webpack": "5.70.0",
35
35
  "webpack-cli": "^4.10.0"
36
36
  },
37
37
  "dependencies": {
38
- "@graphql-codegen/cli": "^2.11.3",
38
+ "@graphql-codegen/cli": "^2.11.5",
39
39
  "graphql": "^16.5.0",
40
40
  "y18n": "^5.0.8"
41
41
  }