@nationalarchives/tdr-generated-graphql 1.0.218 → 1.0.221
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.
- package/index.d.ts +26 -0
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -124,7 +124,9 @@ 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']>;
|
|
129
|
+
parentFolderId?: Maybe<Scalars['UUID']>;
|
|
128
130
|
series?: Maybe<Series>;
|
|
129
131
|
seriesid?: Maybe<Scalars['UUID']>;
|
|
130
132
|
totalFiles: Scalars['Int'];
|
|
@@ -132,6 +134,9 @@ export declare type Consignment = {
|
|
|
132
134
|
transferringBody?: Maybe<TransferringBody>;
|
|
133
135
|
userid: Scalars['UUID'];
|
|
134
136
|
};
|
|
137
|
+
export declare type ConsignmentPaginatedFilesArgs = {
|
|
138
|
+
paginationInput?: InputMaybe<PaginationInput>;
|
|
139
|
+
};
|
|
135
140
|
/** A connection to a list of items. */
|
|
136
141
|
export declare type ConsignmentConnection = {
|
|
137
142
|
__typename?: 'ConsignmentConnection';
|
|
@@ -246,6 +251,22 @@ export declare type FileChecks = {
|
|
|
246
251
|
checksumProgress: ChecksumProgress;
|
|
247
252
|
ffidProgress: FfidProgress;
|
|
248
253
|
};
|
|
254
|
+
/** A connection to a list of items. */
|
|
255
|
+
export declare type FileConnection = {
|
|
256
|
+
__typename?: 'FileConnection';
|
|
257
|
+
/** A list of edges. */
|
|
258
|
+
edges?: Maybe<Array<Maybe<FileEdge>>>;
|
|
259
|
+
/** Information to aid in pagination. */
|
|
260
|
+
pageInfo: PageInfo;
|
|
261
|
+
};
|
|
262
|
+
/** An edge in a connection. */
|
|
263
|
+
export declare type FileEdge = {
|
|
264
|
+
__typename?: 'FileEdge';
|
|
265
|
+
/** A cursor for use in pagination. */
|
|
266
|
+
cursor: Scalars['String'];
|
|
267
|
+
/** The item at the end of the edge. */
|
|
268
|
+
node: File;
|
|
269
|
+
};
|
|
249
270
|
export declare type FileMatches = {
|
|
250
271
|
__typename?: 'FileMatches';
|
|
251
272
|
fileId: Scalars['UUID'];
|
|
@@ -364,6 +385,10 @@ export declare type PageInfo = {
|
|
|
364
385
|
/** When paginating backwards, the cursor to continue. */
|
|
365
386
|
startCursor?: Maybe<Scalars['String']>;
|
|
366
387
|
};
|
|
388
|
+
export declare type PaginationInput = {
|
|
389
|
+
currentCursor?: InputMaybe<Scalars['String']>;
|
|
390
|
+
limit: Scalars['Int'];
|
|
391
|
+
};
|
|
367
392
|
export declare enum PropertyType {
|
|
368
393
|
Defined = "Defined",
|
|
369
394
|
Supplied = "Supplied",
|
|
@@ -389,6 +414,7 @@ export declare type QueryGetClosureMetadataArgs = {
|
|
|
389
414
|
};
|
|
390
415
|
export declare type QueryGetConsignmentArgs = {
|
|
391
416
|
consignmentid: Scalars['UUID'];
|
|
417
|
+
paginationInput?: InputMaybe<PaginationInput>;
|
|
392
418
|
};
|
|
393
419
|
export declare type QueryGetSeriesArgs = {
|
|
394
420
|
body: Scalars['String'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nationalarchives/tdr-generated-graphql",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.221",
|
|
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": "^
|
|
33
|
-
"typescript": "^4.
|
|
32
|
+
"ts-loader": "^9.3.0",
|
|
33
|
+
"typescript": "^4.7.3",
|
|
34
34
|
"webpack": "5.70.0",
|
|
35
35
|
"webpack-cli": "^4.9.2"
|
|
36
36
|
},
|