@nationalarchives/tdr-generated-graphql 1.0.249 → 1.0.252

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 +13 -1
  2. package/index.js +1 -0
  3. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -135,6 +135,9 @@ export declare type Consignment = {
135
135
  transferringBody?: Maybe<TransferringBody>;
136
136
  userid: Scalars['UUID'];
137
137
  };
138
+ export declare type ConsignmentFilesArgs = {
139
+ fileFiltersInput?: InputMaybe<FileFilters>;
140
+ };
138
141
  export declare type ConsignmentPaginatedFilesArgs = {
139
142
  paginationInput?: InputMaybe<PaginationInput>;
140
143
  };
@@ -260,6 +263,7 @@ export declare type FileConnection = {
260
263
  edges?: Maybe<Array<Maybe<FileEdge>>>;
261
264
  /** Information to aid in pagination. */
262
265
  pageInfo: PageInfo;
266
+ totalPages?: Maybe<Scalars['Int']>;
263
267
  };
264
268
  /** An edge in a connection. */
265
269
  export declare type FileEdge = {
@@ -269,6 +273,11 @@ export declare type FileEdge = {
269
273
  /** The item at the end of the edge. */
270
274
  node: File;
271
275
  };
276
+ export declare type FileFilters = {
277
+ fileTypeIdentifier?: InputMaybe<Scalars['String']>;
278
+ parentId?: InputMaybe<Scalars['UUID']>;
279
+ selectedFileIds?: InputMaybe<Array<Scalars['UUID']>>;
280
+ };
272
281
  export declare type FileMatches = {
273
282
  __typename?: 'FileMatches';
274
283
  fileId: Scalars['UUID'];
@@ -389,7 +398,9 @@ export declare type PageInfo = {
389
398
  };
390
399
  export declare type PaginationInput = {
391
400
  currentCursor?: InputMaybe<Scalars['String']>;
392
- limit: Scalars['Int'];
401
+ currentPage?: InputMaybe<Scalars['Int']>;
402
+ fileFilters?: InputMaybe<FileFilters>;
403
+ limit?: InputMaybe<Scalars['Int']>;
393
404
  };
394
405
  export declare enum PropertyType {
395
406
  Defined = "Defined",
@@ -595,6 +606,7 @@ export declare type GetConsignmentQuery = {
595
606
  seriesid?: any | null;
596
607
  parentFolder?: string | null;
597
608
  consignmentReference: string;
609
+ parentFolderId?: any | null;
598
610
  } | null;
599
611
  };
600
612
  export declare type GetConsignmentForExportQueryVariables = Exact<{
package/index.js CHANGED
@@ -89,6 +89,7 @@
89
89
  seriesid
90
90
  parentFolder
91
91
  consignmentReference
92
+ parentFolderId
92
93
  }
93
94
  }
94
95
  `,t.GetConsignmentForExport=s.default`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nationalarchives/tdr-generated-graphql",
3
- "version": "1.0.249",
3
+ "version": "1.0.252",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -28,14 +28,14 @@
28
28
  "@graphql-codegen/typescript": "^2.7.2",
29
29
  "@graphql-codegen/typescript-document-nodes": "^2.3.2",
30
30
  "@graphql-codegen/typescript-graphql-files-modules": "^2.2.0",
31
- "@graphql-codegen/typescript-operations": "^2.5.1",
31
+ "@graphql-codegen/typescript-operations": "^2.5.2",
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.9.1",
38
+ "@graphql-codegen/cli": "^2.10.0",
39
39
  "graphql": "^16.5.0",
40
40
  "y18n": "^5.0.8"
41
41
  }