@trackunit/react-table-helpers 1.15.4 → 1.15.5
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.cjs.js
CHANGED
|
@@ -244,6 +244,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
244
244
|
],
|
|
245
245
|
},
|
|
246
246
|
},
|
|
247
|
+
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
247
248
|
{
|
|
248
249
|
kind: "InlineFragment",
|
|
249
250
|
typeCondition: {
|
|
@@ -252,10 +253,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
252
253
|
},
|
|
253
254
|
selectionSet: {
|
|
254
255
|
kind: "SelectionSet",
|
|
255
|
-
selections: [
|
|
256
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
257
|
-
{ kind: "Field", name: { kind: "Name", value: "booleanValue" } },
|
|
258
|
-
],
|
|
256
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "booleanValue" } }],
|
|
259
257
|
},
|
|
260
258
|
},
|
|
261
259
|
{
|
|
@@ -266,10 +264,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
266
264
|
},
|
|
267
265
|
selectionSet: {
|
|
268
266
|
kind: "SelectionSet",
|
|
269
|
-
selections: [
|
|
270
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
271
|
-
{ kind: "Field", name: { kind: "Name", value: "dateValue" } },
|
|
272
|
-
],
|
|
267
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "dateValue" } }],
|
|
273
268
|
},
|
|
274
269
|
},
|
|
275
270
|
{
|
|
@@ -280,10 +275,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
280
275
|
},
|
|
281
276
|
selectionSet: {
|
|
282
277
|
kind: "SelectionSet",
|
|
283
|
-
selections: [
|
|
284
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
285
|
-
{ kind: "Field", name: { kind: "Name", value: "stringArrayValue" } },
|
|
286
|
-
],
|
|
278
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "stringArrayValue" } }],
|
|
287
279
|
},
|
|
288
280
|
},
|
|
289
281
|
{
|
|
@@ -294,10 +286,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
294
286
|
},
|
|
295
287
|
selectionSet: {
|
|
296
288
|
kind: "SelectionSet",
|
|
297
|
-
selections: [
|
|
298
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
299
|
-
{ kind: "Field", name: { kind: "Name", value: "emailValue" } },
|
|
300
|
-
],
|
|
289
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "emailValue" } }],
|
|
301
290
|
},
|
|
302
291
|
},
|
|
303
292
|
{
|
|
@@ -320,7 +309,6 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
320
309
|
],
|
|
321
310
|
},
|
|
322
311
|
},
|
|
323
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
324
312
|
{
|
|
325
313
|
kind: "Field",
|
|
326
314
|
name: { kind: "Name", value: "numberValue" },
|
|
@@ -346,10 +334,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
346
334
|
},
|
|
347
335
|
selectionSet: {
|
|
348
336
|
kind: "SelectionSet",
|
|
349
|
-
selections: [
|
|
350
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
351
|
-
{ kind: "Field", name: { kind: "Name", value: "phoneNumberValue" } },
|
|
352
|
-
],
|
|
337
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "phoneNumberValue" } }],
|
|
353
338
|
},
|
|
354
339
|
},
|
|
355
340
|
{
|
|
@@ -360,10 +345,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
360
345
|
},
|
|
361
346
|
selectionSet: {
|
|
362
347
|
kind: "SelectionSet",
|
|
363
|
-
selections: [
|
|
364
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
365
|
-
{ kind: "Field", name: { kind: "Name", value: "stringValue" } },
|
|
366
|
-
],
|
|
348
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "stringValue" } }],
|
|
367
349
|
},
|
|
368
350
|
},
|
|
369
351
|
{
|
|
@@ -374,10 +356,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
374
356
|
},
|
|
375
357
|
selectionSet: {
|
|
376
358
|
kind: "SelectionSet",
|
|
377
|
-
selections: [
|
|
378
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
379
|
-
{ kind: "Field", name: { kind: "Name", value: "webAddressValue" } },
|
|
380
|
-
],
|
|
359
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "webAddressValue" } }],
|
|
381
360
|
},
|
|
382
361
|
},
|
|
383
362
|
{
|
|
@@ -388,10 +367,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
388
367
|
},
|
|
389
368
|
selectionSet: {
|
|
390
369
|
kind: "SelectionSet",
|
|
391
|
-
selections: [
|
|
392
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
393
|
-
{ kind: "Field", name: { kind: "Name", value: "jsonValue" } },
|
|
394
|
-
],
|
|
370
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "jsonValue" } }],
|
|
395
371
|
},
|
|
396
372
|
},
|
|
397
373
|
{
|
|
@@ -402,10 +378,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
402
378
|
},
|
|
403
379
|
selectionSet: {
|
|
404
380
|
kind: "SelectionSet",
|
|
405
|
-
selections: [
|
|
406
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
407
|
-
{ kind: "Field", name: { kind: "Name", value: "monetaryValue" } },
|
|
408
|
-
],
|
|
381
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "monetaryValue" } }],
|
|
409
382
|
},
|
|
410
383
|
},
|
|
411
384
|
{
|
|
@@ -414,11 +387,22 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
414
387
|
kind: "NamedType",
|
|
415
388
|
name: { kind: "Name", value: "StringListFieldValueAndDefinition" },
|
|
416
389
|
},
|
|
390
|
+
selectionSet: {
|
|
391
|
+
kind: "SelectionSet",
|
|
392
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "stringArrayValue" } }],
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
kind: "InlineFragment",
|
|
397
|
+
typeCondition: {
|
|
398
|
+
kind: "NamedType",
|
|
399
|
+
name: { kind: "Name", value: "FileFieldValueAndDefinition" },
|
|
400
|
+
},
|
|
417
401
|
selectionSet: {
|
|
418
402
|
kind: "SelectionSet",
|
|
419
403
|
selections: [
|
|
420
|
-
{ kind: "Field", name: { kind: "Name", value: "
|
|
421
|
-
{ kind: "Field", name: { kind: "Name", value: "
|
|
404
|
+
{ kind: "Field", name: { kind: "Name", value: "fileName" } },
|
|
405
|
+
{ kind: "Field", name: { kind: "Name", value: "downloadLink" } },
|
|
422
406
|
],
|
|
423
407
|
},
|
|
424
408
|
},
|
package/index.esm.js
CHANGED
|
@@ -242,6 +242,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
242
242
|
],
|
|
243
243
|
},
|
|
244
244
|
},
|
|
245
|
+
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
245
246
|
{
|
|
246
247
|
kind: "InlineFragment",
|
|
247
248
|
typeCondition: {
|
|
@@ -250,10 +251,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
250
251
|
},
|
|
251
252
|
selectionSet: {
|
|
252
253
|
kind: "SelectionSet",
|
|
253
|
-
selections: [
|
|
254
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
255
|
-
{ kind: "Field", name: { kind: "Name", value: "booleanValue" } },
|
|
256
|
-
],
|
|
254
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "booleanValue" } }],
|
|
257
255
|
},
|
|
258
256
|
},
|
|
259
257
|
{
|
|
@@ -264,10 +262,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
264
262
|
},
|
|
265
263
|
selectionSet: {
|
|
266
264
|
kind: "SelectionSet",
|
|
267
|
-
selections: [
|
|
268
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
269
|
-
{ kind: "Field", name: { kind: "Name", value: "dateValue" } },
|
|
270
|
-
],
|
|
265
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "dateValue" } }],
|
|
271
266
|
},
|
|
272
267
|
},
|
|
273
268
|
{
|
|
@@ -278,10 +273,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
278
273
|
},
|
|
279
274
|
selectionSet: {
|
|
280
275
|
kind: "SelectionSet",
|
|
281
|
-
selections: [
|
|
282
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
283
|
-
{ kind: "Field", name: { kind: "Name", value: "stringArrayValue" } },
|
|
284
|
-
],
|
|
276
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "stringArrayValue" } }],
|
|
285
277
|
},
|
|
286
278
|
},
|
|
287
279
|
{
|
|
@@ -292,10 +284,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
292
284
|
},
|
|
293
285
|
selectionSet: {
|
|
294
286
|
kind: "SelectionSet",
|
|
295
|
-
selections: [
|
|
296
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
297
|
-
{ kind: "Field", name: { kind: "Name", value: "emailValue" } },
|
|
298
|
-
],
|
|
287
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "emailValue" } }],
|
|
299
288
|
},
|
|
300
289
|
},
|
|
301
290
|
{
|
|
@@ -318,7 +307,6 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
318
307
|
],
|
|
319
308
|
},
|
|
320
309
|
},
|
|
321
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
322
310
|
{
|
|
323
311
|
kind: "Field",
|
|
324
312
|
name: { kind: "Name", value: "numberValue" },
|
|
@@ -344,10 +332,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
344
332
|
},
|
|
345
333
|
selectionSet: {
|
|
346
334
|
kind: "SelectionSet",
|
|
347
|
-
selections: [
|
|
348
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
349
|
-
{ kind: "Field", name: { kind: "Name", value: "phoneNumberValue" } },
|
|
350
|
-
],
|
|
335
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "phoneNumberValue" } }],
|
|
351
336
|
},
|
|
352
337
|
},
|
|
353
338
|
{
|
|
@@ -358,10 +343,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
358
343
|
},
|
|
359
344
|
selectionSet: {
|
|
360
345
|
kind: "SelectionSet",
|
|
361
|
-
selections: [
|
|
362
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
363
|
-
{ kind: "Field", name: { kind: "Name", value: "stringValue" } },
|
|
364
|
-
],
|
|
346
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "stringValue" } }],
|
|
365
347
|
},
|
|
366
348
|
},
|
|
367
349
|
{
|
|
@@ -372,10 +354,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
372
354
|
},
|
|
373
355
|
selectionSet: {
|
|
374
356
|
kind: "SelectionSet",
|
|
375
|
-
selections: [
|
|
376
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
377
|
-
{ kind: "Field", name: { kind: "Name", value: "webAddressValue" } },
|
|
378
|
-
],
|
|
357
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "webAddressValue" } }],
|
|
379
358
|
},
|
|
380
359
|
},
|
|
381
360
|
{
|
|
@@ -386,10 +365,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
386
365
|
},
|
|
387
366
|
selectionSet: {
|
|
388
367
|
kind: "SelectionSet",
|
|
389
|
-
selections: [
|
|
390
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
391
|
-
{ kind: "Field", name: { kind: "Name", value: "jsonValue" } },
|
|
392
|
-
],
|
|
368
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "jsonValue" } }],
|
|
393
369
|
},
|
|
394
370
|
},
|
|
395
371
|
{
|
|
@@ -400,10 +376,7 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
400
376
|
},
|
|
401
377
|
selectionSet: {
|
|
402
378
|
kind: "SelectionSet",
|
|
403
|
-
selections: [
|
|
404
|
-
{ kind: "Field", name: { kind: "Name", value: "valueId" } },
|
|
405
|
-
{ kind: "Field", name: { kind: "Name", value: "monetaryValue" } },
|
|
406
|
-
],
|
|
379
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "monetaryValue" } }],
|
|
407
380
|
},
|
|
408
381
|
},
|
|
409
382
|
{
|
|
@@ -412,11 +385,22 @@ const AssetCustomFieldsFragmentDoc = {
|
|
|
412
385
|
kind: "NamedType",
|
|
413
386
|
name: { kind: "Name", value: "StringListFieldValueAndDefinition" },
|
|
414
387
|
},
|
|
388
|
+
selectionSet: {
|
|
389
|
+
kind: "SelectionSet",
|
|
390
|
+
selections: [{ kind: "Field", name: { kind: "Name", value: "stringArrayValue" } }],
|
|
391
|
+
},
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
kind: "InlineFragment",
|
|
395
|
+
typeCondition: {
|
|
396
|
+
kind: "NamedType",
|
|
397
|
+
name: { kind: "Name", value: "FileFieldValueAndDefinition" },
|
|
398
|
+
},
|
|
415
399
|
selectionSet: {
|
|
416
400
|
kind: "SelectionSet",
|
|
417
401
|
selections: [
|
|
418
|
-
{ kind: "Field", name: { kind: "Name", value: "
|
|
419
|
-
{ kind: "Field", name: { kind: "Name", value: "
|
|
402
|
+
{ kind: "Field", name: { kind: "Name", value: "fileName" } },
|
|
403
|
+
{ kind: "Field", name: { kind: "Name", value: "downloadLink" } },
|
|
420
404
|
],
|
|
421
405
|
},
|
|
422
406
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table-helpers",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.5",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -8,20 +8,20 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"react": "19.0.0",
|
|
11
|
-
"@trackunit/filters-filter-bar": "1.14.
|
|
12
|
-
"@trackunit/filters-graphql-hook": "1.17.
|
|
13
|
-
"@trackunit/i18n-library-translation": "1.12.
|
|
14
|
-
"@trackunit/custom-field-components": "1.13.
|
|
15
|
-
"@trackunit/iris-app-runtime-core": "1.13.
|
|
16
|
-
"@trackunit/iris-app-runtime-core-api": "1.12.
|
|
17
|
-
"@trackunit/react-table-base-components": "1.13.
|
|
18
|
-
"@trackunit/react-table": "1.13.
|
|
11
|
+
"@trackunit/filters-filter-bar": "1.14.47",
|
|
12
|
+
"@trackunit/filters-graphql-hook": "1.17.48",
|
|
13
|
+
"@trackunit/i18n-library-translation": "1.12.38",
|
|
14
|
+
"@trackunit/custom-field-components": "1.13.47",
|
|
15
|
+
"@trackunit/iris-app-runtime-core": "1.13.35",
|
|
16
|
+
"@trackunit/iris-app-runtime-core-api": "1.12.33",
|
|
17
|
+
"@trackunit/react-table-base-components": "1.13.41",
|
|
18
|
+
"@trackunit/react-table": "1.13.43",
|
|
19
19
|
"@js-temporal/polyfill": "^0.5.1",
|
|
20
20
|
"@tanstack/react-table": "^8.20.6",
|
|
21
|
-
"@trackunit/react-components": "1.17.
|
|
22
|
-
"@trackunit/react-core-hooks": "1.12.
|
|
23
|
-
"@trackunit/react-graphql-hooks": "1.14.
|
|
24
|
-
"@trackunit/iris-app-api": "1.14.
|
|
21
|
+
"@trackunit/react-components": "1.17.37",
|
|
22
|
+
"@trackunit/react-core-hooks": "1.12.37",
|
|
23
|
+
"@trackunit/react-graphql-hooks": "1.14.40",
|
|
24
|
+
"@trackunit/iris-app-api": "1.14.53",
|
|
25
25
|
"@graphql-codegen/cli": "^5.0.3",
|
|
26
26
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
27
27
|
"graphql": "^16.10.0"
|
|
@@ -12,7 +12,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
|
|
|
12
12
|
* Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
|
|
13
13
|
*/
|
|
14
14
|
declare const documents: {
|
|
15
|
-
"fragment AssetCustomFields on Asset {\n customFields(definitionIds: $definitionIds) {\n edges {\n node {\n __typename\n definition {\n id\n title\n key\n }\n ... on BooleanFieldValueAndDefinition {\n
|
|
15
|
+
"fragment AssetCustomFields on Asset {\n customFields(definitionIds: $definitionIds) {\n edges {\n node {\n __typename\n definition {\n id\n title\n key\n }\n valueId\n ... on BooleanFieldValueAndDefinition {\n booleanValue\n }\n ... on DateFieldValueAndDefinition {\n dateValue\n }\n ... on DropDownFieldValueAndDefinition {\n stringArrayValue\n }\n ... on EmailFieldValueAndDefinition {\n emailValue\n }\n ... on NumberFieldValueAndDefinition {\n definition {\n unitSi\n unitUs\n }\n numberValue(systemOfMeasurement: $systemOfMeasurement)\n }\n ... on PhoneNumberFieldValueAndDefinition {\n phoneNumberValue\n }\n ... on StringFieldValueAndDefinition {\n stringValue\n }\n ... on WebAddressFieldValueAndDefinition {\n webAddressValue\n }\n ... on JsonFieldValueAndDefinition {\n jsonValue\n }\n ... on MonetaryFieldValueAndDefinition {\n monetaryValue\n }\n ... on StringListFieldValueAndDefinition {\n stringArrayValue\n }\n ... on FileFieldValueAndDefinition {\n fileName\n downloadLink\n }\n }\n }\n pageInfo {\n count\n }\n }\n}": DocumentNode<types.AssetCustomFieldsFragment, unknown>;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
@@ -30,6 +30,6 @@ export declare function graphql(source: string): unknown;
|
|
|
30
30
|
/**
|
|
31
31
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
32
32
|
*/
|
|
33
|
-
export declare function graphql(source: "fragment AssetCustomFields on Asset {\n customFields(definitionIds: $definitionIds) {\n edges {\n node {\n __typename\n definition {\n id\n title\n key\n }\n ... on BooleanFieldValueAndDefinition {\n
|
|
33
|
+
export declare function graphql(source: "fragment AssetCustomFields on Asset {\n customFields(definitionIds: $definitionIds) {\n edges {\n node {\n __typename\n definition {\n id\n title\n key\n }\n valueId\n ... on BooleanFieldValueAndDefinition {\n booleanValue\n }\n ... on DateFieldValueAndDefinition {\n dateValue\n }\n ... on DropDownFieldValueAndDefinition {\n stringArrayValue\n }\n ... on EmailFieldValueAndDefinition {\n emailValue\n }\n ... on NumberFieldValueAndDefinition {\n definition {\n unitSi\n unitUs\n }\n numberValue(systemOfMeasurement: $systemOfMeasurement)\n }\n ... on PhoneNumberFieldValueAndDefinition {\n phoneNumberValue\n }\n ... on StringFieldValueAndDefinition {\n stringValue\n }\n ... on WebAddressFieldValueAndDefinition {\n webAddressValue\n }\n ... on JsonFieldValueAndDefinition {\n jsonValue\n }\n ... on MonetaryFieldValueAndDefinition {\n monetaryValue\n }\n ... on StringListFieldValueAndDefinition {\n stringArrayValue\n }\n ... on FileFieldValueAndDefinition {\n fileName\n downloadLink\n }\n }\n }\n pageInfo {\n count\n }\n }\n}"): (typeof documents)["fragment AssetCustomFields on Asset {\n customFields(definitionIds: $definitionIds) {\n edges {\n node {\n __typename\n definition {\n id\n title\n key\n }\n valueId\n ... on BooleanFieldValueAndDefinition {\n booleanValue\n }\n ... on DateFieldValueAndDefinition {\n dateValue\n }\n ... on DropDownFieldValueAndDefinition {\n stringArrayValue\n }\n ... on EmailFieldValueAndDefinition {\n emailValue\n }\n ... on NumberFieldValueAndDefinition {\n definition {\n unitSi\n unitUs\n }\n numberValue(systemOfMeasurement: $systemOfMeasurement)\n }\n ... on PhoneNumberFieldValueAndDefinition {\n phoneNumberValue\n }\n ... on StringFieldValueAndDefinition {\n stringValue\n }\n ... on WebAddressFieldValueAndDefinition {\n webAddressValue\n }\n ... on JsonFieldValueAndDefinition {\n jsonValue\n }\n ... on MonetaryFieldValueAndDefinition {\n monetaryValue\n }\n ... on StringListFieldValueAndDefinition {\n stringArrayValue\n }\n ... on FileFieldValueAndDefinition {\n fileName\n downloadLink\n }\n }\n }\n pageInfo {\n count\n }\n }\n}"];
|
|
34
34
|
export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode<infer TType, any> ? TType : never;
|
|
35
35
|
export {};
|
|
@@ -193,8 +193,8 @@ export type AssetCustomFieldsFragment = {
|
|
|
193
193
|
__typename?: "CustomFieldValueAndDefinitionEdge";
|
|
194
194
|
node: {
|
|
195
195
|
__typename: "BooleanFieldValueAndDefinition";
|
|
196
|
-
valueId: string | null;
|
|
197
196
|
booleanValue: boolean | null;
|
|
197
|
+
valueId: string | null;
|
|
198
198
|
definition: {
|
|
199
199
|
__typename?: "BooleanFieldDefinition";
|
|
200
200
|
id: string;
|
|
@@ -203,8 +203,8 @@ export type AssetCustomFieldsFragment = {
|
|
|
203
203
|
};
|
|
204
204
|
} | {
|
|
205
205
|
__typename: "DateFieldValueAndDefinition";
|
|
206
|
-
valueId: string | null;
|
|
207
206
|
dateValue: DateTimeISOString | null;
|
|
207
|
+
valueId: string | null;
|
|
208
208
|
definition: {
|
|
209
209
|
__typename?: "DateFieldDefinition";
|
|
210
210
|
id: string;
|
|
@@ -213,8 +213,8 @@ export type AssetCustomFieldsFragment = {
|
|
|
213
213
|
};
|
|
214
214
|
} | {
|
|
215
215
|
__typename: "DropDownFieldValueAndDefinition";
|
|
216
|
-
valueId: string | null;
|
|
217
216
|
stringArrayValue: Array<string> | null;
|
|
217
|
+
valueId: string | null;
|
|
218
218
|
definition: {
|
|
219
219
|
__typename?: "DropDownFieldDefinition";
|
|
220
220
|
id: string;
|
|
@@ -223,8 +223,8 @@ export type AssetCustomFieldsFragment = {
|
|
|
223
223
|
};
|
|
224
224
|
} | {
|
|
225
225
|
__typename: "EmailFieldValueAndDefinition";
|
|
226
|
-
valueId: string | null;
|
|
227
226
|
emailValue: string | null;
|
|
227
|
+
valueId: string | null;
|
|
228
228
|
definition: {
|
|
229
229
|
__typename?: "EmailFieldDefinition";
|
|
230
230
|
id: string;
|
|
@@ -232,9 +232,20 @@ export type AssetCustomFieldsFragment = {
|
|
|
232
232
|
key: string | null;
|
|
233
233
|
};
|
|
234
234
|
} | {
|
|
235
|
-
__typename: "
|
|
235
|
+
__typename: "FileFieldValueAndDefinition";
|
|
236
|
+
fileName: string | null;
|
|
237
|
+
downloadLink: string | null;
|
|
236
238
|
valueId: string | null;
|
|
239
|
+
definition: {
|
|
240
|
+
__typename?: "FileFieldDefinition";
|
|
241
|
+
id: string;
|
|
242
|
+
title: string | null;
|
|
243
|
+
key: string | null;
|
|
244
|
+
};
|
|
245
|
+
} | {
|
|
246
|
+
__typename: "JsonFieldValueAndDefinition";
|
|
237
247
|
jsonValue: any | null;
|
|
248
|
+
valueId: string | null;
|
|
238
249
|
definition: {
|
|
239
250
|
__typename?: "JsonFieldDefinition";
|
|
240
251
|
id: string;
|
|
@@ -243,8 +254,8 @@ export type AssetCustomFieldsFragment = {
|
|
|
243
254
|
};
|
|
244
255
|
} | {
|
|
245
256
|
__typename: "MonetaryFieldValueAndDefinition";
|
|
246
|
-
valueId: string | null;
|
|
247
257
|
monetaryValue: number | null;
|
|
258
|
+
valueId: string | null;
|
|
248
259
|
definition: {
|
|
249
260
|
__typename?: "MonetaryFieldDefinition";
|
|
250
261
|
id: string;
|
|
@@ -253,8 +264,8 @@ export type AssetCustomFieldsFragment = {
|
|
|
253
264
|
};
|
|
254
265
|
} | {
|
|
255
266
|
__typename: "NumberFieldValueAndDefinition";
|
|
256
|
-
valueId: string | null;
|
|
257
267
|
numberValue: number | null;
|
|
268
|
+
valueId: string | null;
|
|
258
269
|
definition: {
|
|
259
270
|
__typename?: "NumberFieldDefinition";
|
|
260
271
|
unitSi: UnitOfMeasurement | null;
|
|
@@ -265,8 +276,8 @@ export type AssetCustomFieldsFragment = {
|
|
|
265
276
|
};
|
|
266
277
|
} | {
|
|
267
278
|
__typename: "PhoneNumberFieldValueAndDefinition";
|
|
268
|
-
valueId: string | null;
|
|
269
279
|
phoneNumberValue: string | null;
|
|
280
|
+
valueId: string | null;
|
|
270
281
|
definition: {
|
|
271
282
|
__typename?: "PhoneNumberFieldDefinition";
|
|
272
283
|
id: string;
|
|
@@ -275,8 +286,8 @@ export type AssetCustomFieldsFragment = {
|
|
|
275
286
|
};
|
|
276
287
|
} | {
|
|
277
288
|
__typename: "StringFieldValueAndDefinition";
|
|
278
|
-
valueId: string | null;
|
|
279
289
|
stringValue: string | null;
|
|
290
|
+
valueId: string | null;
|
|
280
291
|
definition: {
|
|
281
292
|
__typename?: "StringFieldDefinition";
|
|
282
293
|
id: string;
|
|
@@ -285,8 +296,8 @@ export type AssetCustomFieldsFragment = {
|
|
|
285
296
|
};
|
|
286
297
|
} | {
|
|
287
298
|
__typename: "StringListFieldValueAndDefinition";
|
|
288
|
-
valueId: string | null;
|
|
289
299
|
stringArrayValue: Array<string> | null;
|
|
300
|
+
valueId: string | null;
|
|
290
301
|
definition: {
|
|
291
302
|
__typename?: "StringListFieldDefinition";
|
|
292
303
|
id: string;
|
|
@@ -295,8 +306,8 @@ export type AssetCustomFieldsFragment = {
|
|
|
295
306
|
};
|
|
296
307
|
} | {
|
|
297
308
|
__typename: "WebAddressFieldValueAndDefinition";
|
|
298
|
-
valueId: string | null;
|
|
299
309
|
webAddressValue: string | null;
|
|
310
|
+
valueId: string | null;
|
|
300
311
|
definition: {
|
|
301
312
|
__typename?: "WebAddressFieldDefinition";
|
|
302
313
|
id: string;
|
|
@@ -3,7 +3,7 @@ import { UnitOfMeasurementType } from "@trackunit/iris-app-runtime-core-api";
|
|
|
3
3
|
* The different types of custom fields that are available.
|
|
4
4
|
* Hardcoded to match the GraphQL API, to keep the lib independent of the API.
|
|
5
5
|
*/
|
|
6
|
-
export type CustomFieldType = "BOOLEAN" | "DATE" | "DROPDOWN" | "STRING_LIST" | "EMAIL" | "NUMBER" | "PHONE_NUMBER" | "STRING" | "WEB_ADDRESS" | "JSON" | "MONETARY";
|
|
6
|
+
export type CustomFieldType = "BOOLEAN" | "DATE" | "DROPDOWN" | "STRING_LIST" | "EMAIL" | "FILE" | "NUMBER" | "PHONE_NUMBER" | "STRING" | "WEB_ADDRESS" | "JSON" | "MONETARY";
|
|
7
7
|
/**
|
|
8
8
|
* The type for the CustomFieldDefinition object from the GraphQL API.
|
|
9
9
|
* This is manually created to match the GraphQL API, to keep the lib independent of the API.
|
|
@@ -12,7 +12,7 @@ export interface CustomFieldDefinition {
|
|
|
12
12
|
id: string;
|
|
13
13
|
title?: string | null;
|
|
14
14
|
key?: string | null;
|
|
15
|
-
__typename?: "BooleanFieldDefinition" | "DateFieldDefinition" | "DropDownFieldDefinition" | "EmailFieldDefinition" | "JsonFieldDefinition" | "MonetaryFieldDefinition" | "NumberFieldDefinition" | "PhoneNumberFieldDefinition" | "StringFieldDefinition" | "StringListFieldDefinition" | "WebAddressFieldDefinition" | null;
|
|
15
|
+
__typename?: "BooleanFieldDefinition" | "DateFieldDefinition" | "DropDownFieldDefinition" | "EmailFieldDefinition" | "FileFieldDefinition" | "JsonFieldDefinition" | "MonetaryFieldDefinition" | "NumberFieldDefinition" | "PhoneNumberFieldDefinition" | "StringFieldDefinition" | "StringListFieldDefinition" | "WebAddressFieldDefinition" | null;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* A representation of the CustomField data exprected to be in the table Data object when using custom fields.
|
|
@@ -129,6 +129,17 @@ export type CustomFieldData = {
|
|
|
129
129
|
key?: string | null;
|
|
130
130
|
id?: string | null;
|
|
131
131
|
};
|
|
132
|
+
} | {
|
|
133
|
+
valueId?: string | null;
|
|
134
|
+
fileId?: string | null;
|
|
135
|
+
fileName?: string | null;
|
|
136
|
+
__typename?: "FileFieldValueAndDefinition";
|
|
137
|
+
definition: {
|
|
138
|
+
__typename?: "FileFieldDefinition";
|
|
139
|
+
title?: string | null;
|
|
140
|
+
key?: string | null;
|
|
141
|
+
id?: string | null;
|
|
142
|
+
};
|
|
132
143
|
};
|
|
133
144
|
/**
|
|
134
145
|
* This is the type for a data object that has custom fields.
|