@nationalarchives/tdr-generated-graphql 1.0.217 → 1.0.220

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 (2) hide show
  1. package/index.d.ts +25 -0
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -124,6 +124,7 @@ export declare type Consignment = {
124
124
  exportDatetime?: Maybe<Scalars['ZonedDateTime']>;
125
125
  fileChecks: FileChecks;
126
126
  files: Array<File>;
127
+ paginatedFiles: FileConnection;
127
128
  parentFolder?: Maybe<Scalars['String']>;
128
129
  series?: Maybe<Series>;
129
130
  seriesid?: Maybe<Scalars['UUID']>;
@@ -132,6 +133,9 @@ export declare type Consignment = {
132
133
  transferringBody?: Maybe<TransferringBody>;
133
134
  userid: Scalars['UUID'];
134
135
  };
136
+ export declare type ConsignmentPaginatedFilesArgs = {
137
+ paginationInput?: InputMaybe<PaginationInput>;
138
+ };
135
139
  /** A connection to a list of items. */
136
140
  export declare type ConsignmentConnection = {
137
141
  __typename?: 'ConsignmentConnection';
@@ -246,6 +250,22 @@ export declare type FileChecks = {
246
250
  checksumProgress: ChecksumProgress;
247
251
  ffidProgress: FfidProgress;
248
252
  };
253
+ /** A connection to a list of items. */
254
+ export declare type FileConnection = {
255
+ __typename?: 'FileConnection';
256
+ /** A list of edges. */
257
+ edges?: Maybe<Array<Maybe<FileEdge>>>;
258
+ /** Information to aid in pagination. */
259
+ pageInfo: PageInfo;
260
+ };
261
+ /** An edge in a connection. */
262
+ export declare type FileEdge = {
263
+ __typename?: 'FileEdge';
264
+ /** A cursor for use in pagination. */
265
+ cursor: Scalars['String'];
266
+ /** The item at the end of the edge. */
267
+ node: File;
268
+ };
249
269
  export declare type FileMatches = {
250
270
  __typename?: 'FileMatches';
251
271
  fileId: Scalars['UUID'];
@@ -364,6 +384,10 @@ export declare type PageInfo = {
364
384
  /** When paginating backwards, the cursor to continue. */
365
385
  startCursor?: Maybe<Scalars['String']>;
366
386
  };
387
+ export declare type PaginationInput = {
388
+ currentCursor?: InputMaybe<Scalars['String']>;
389
+ limit: Scalars['Int'];
390
+ };
367
391
  export declare enum PropertyType {
368
392
  Defined = "Defined",
369
393
  Supplied = "Supplied",
@@ -389,6 +413,7 @@ export declare type QueryGetClosureMetadataArgs = {
389
413
  };
390
414
  export declare type QueryGetConsignmentArgs = {
391
415
  consignmentid: Scalars['UUID'];
416
+ paginationInput?: InputMaybe<PaginationInput>;
392
417
  };
393
418
  export declare type QueryGetSeriesArgs = {
394
419
  body: Scalars['String'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nationalarchives/tdr-generated-graphql",
3
- "version": "1.0.217",
3
+ "version": "1.0.220",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -29,8 +29,8 @@
29
29
  "@graphql-codegen/typescript-document-nodes": "^2.2.11",
30
30
  "@graphql-codegen/typescript-graphql-files-modules": "^2.1.1",
31
31
  "@graphql-codegen/typescript-operations": "^2.4.0",
32
- "ts-loader": "^7.0.5",
33
- "typescript": "^4.6.4",
32
+ "ts-loader": "^9.3.0",
33
+ "typescript": "^4.7.2",
34
34
  "webpack": "5.70.0",
35
35
  "webpack-cli": "^4.9.2"
36
36
  },