@leav/ui 0.3.6-7be4667 → 0.3.6-810391e
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/dist/__mocks__/common/form.d.ts +10 -5
- package/dist/__mocks__/common/record.d.ts +13 -2
- package/dist/__mocks__/common/record.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +53 -18
- package/dist/_gqlTypes/index.js +1057 -1038
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/components/Explorer/DataView.d.ts +2 -1
- package/dist/components/Explorer/DataView.js +9 -34
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +8 -4
- package/dist/components/Explorer/Explorer.js +24 -9
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerTitle.d.ts +7 -0
- package/dist/components/Explorer/ExplorerTitle.js +30 -0
- package/dist/components/Explorer/ExplorerTitle.js.map +1 -0
- package/dist/components/Explorer/IdCard.d.ts +7 -0
- package/dist/components/Explorer/IdCard.js +15 -0
- package/dist/components/Explorer/IdCard.js.map +1 -0
- package/dist/components/Explorer/TableCell.d.ts +8 -0
- package/dist/components/Explorer/TableCell.js +63 -0
- package/dist/components/Explorer/TableCell.js.map +1 -0
- package/dist/components/Explorer/TableTagGroup.d.ts +6 -0
- package/dist/components/Explorer/TableTagGroup.js +22 -0
- package/dist/components/Explorer/TableTagGroup.js.map +1 -0
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +2 -2
- package/dist/components/Explorer/_queries/useExplorerData.js +35 -14
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +16 -3
- package/dist/components/Explorer/index.d.ts +1 -3
- package/dist/components/Explorer/index.js +1 -3
- package/dist/components/Explorer/index.js.map +1 -1
- package/dist/components/Explorer/{edit-settings → manage-view-settings/_shared}/ColumnItem.d.ts +1 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/_shared}/ColumnItem.js +17 -1
- package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/_shared}/useGetLibraryColumns.d.ts +1 -1
- package/dist/components/Explorer/{edit-settings → manage-view-settings/_shared}/useGetLibraryColumns.js +6 -6
- package/dist/components/Explorer/manage-view-settings/_shared/useGetLibraryColumns.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +28 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +89 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.d.ts +8 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js +12 -0
- package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/index.d.ts +8 -0
- package/dist/components/Explorer/manage-view-settings/index.js +11 -0
- package/dist/components/Explorer/manage-view-settings/index.js.map +1 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.d.ts +1 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContext.js +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.d.ts +7 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/EditSettingsContextProvider.js +2 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.js +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useOpenSettings.js +2 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenSettings.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -0
- package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingsPanel.d.ts +1 -1
- package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingsPanel.js +7 -7
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.d.ts +6 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +11 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.d.ts +4 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js +7 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.d.ts +2 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +5 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +43 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +57 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -0
- package/dist/components/Explorer/{useCreateMainAction.d.ts → useCreateAction.d.ts} +3 -3
- package/dist/components/Explorer/{useCreateMainAction.js → useCreateAction.js} +11 -7
- package/dist/components/Explorer/useCreateAction.js.map +1 -0
- package/dist/components/Explorer/useEditAction.js +1 -1
- package/dist/components/Explorer/useEditAction.js.map +1 -1
- package/dist/components/Explorer/usePrimaryActions.d.ts +20 -0
- package/dist/components/Explorer/usePrimaryActions.js +29 -0
- package/dist/components/Explorer/usePrimaryActions.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/locales/en/shared.json +9 -7
- package/dist/locales/fr/shared.json +9 -7
- package/package.json +3 -1
- package/dist/components/Explorer/edit-settings/ColumnItem.js.map +0 -1
- package/dist/components/Explorer/edit-settings/DisplayMode.d.ts +0 -6
- package/dist/components/Explorer/edit-settings/DisplayMode.js +0 -28
- package/dist/components/Explorer/edit-settings/DisplayMode.js.map +0 -1
- package/dist/components/Explorer/edit-settings/DisplayModeTable.d.ts +0 -6
- package/dist/components/Explorer/edit-settings/DisplayModeTable.js +0 -77
- package/dist/components/Explorer/edit-settings/DisplayModeTable.js.map +0 -1
- package/dist/components/Explorer/edit-settings/EditSettingsContext.js.map +0 -1
- package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.d.ts +0 -2
- package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.js.map +0 -1
- package/dist/components/Explorer/edit-settings/SettingItem.js.map +0 -1
- package/dist/components/Explorer/edit-settings/SettingsPanel.js.map +0 -1
- package/dist/components/Explorer/edit-settings/SidePanel.js.map +0 -1
- package/dist/components/Explorer/edit-settings/useEditSettings.js.map +0 -1
- package/dist/components/Explorer/edit-settings/useGetLibraryColumns.js.map +0 -1
- package/dist/components/Explorer/edit-settings/useOpenSettings.js.map +0 -1
- package/dist/components/Explorer/useCreateMainAction.js.map +0 -1
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/SidePanel.d.ts +0 -0
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.d.ts +0 -0
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useEditSettings.js +0 -0
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/open-view-settings}/useOpenSettings.d.ts +0 -0
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.d.ts +0 -0
- /package/dist/components/Explorer/{edit-settings → manage-view-settings/router-menu}/SettingItem.js +0 -0
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -327,587 +327,584 @@ export var ViewTypes;
|
|
|
327
327
|
})(ViewTypes || (ViewTypes = {}));
|
|
328
328
|
export const RecordIdentityFragmentDoc = gql `
|
|
329
329
|
fragment RecordIdentity on Record {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
`;
|
|
330
|
+
id
|
|
331
|
+
whoAmI {
|
|
332
|
+
id
|
|
333
|
+
label
|
|
334
|
+
subLabel
|
|
335
|
+
color
|
|
336
|
+
library {
|
|
337
|
+
id
|
|
338
|
+
label
|
|
339
|
+
}
|
|
340
|
+
preview
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
`;
|
|
344
344
|
export const DetailsApplicationFragmentDoc = gql `
|
|
345
345
|
fragment DetailsApplication on Application {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
${RecordIdentityFragmentDoc}
|
|
364
|
-
`;
|
|
346
|
+
id
|
|
347
|
+
label
|
|
348
|
+
type
|
|
349
|
+
description
|
|
350
|
+
endpoint
|
|
351
|
+
url
|
|
352
|
+
color
|
|
353
|
+
icon {
|
|
354
|
+
...RecordIdentity
|
|
355
|
+
}
|
|
356
|
+
module
|
|
357
|
+
permissions {
|
|
358
|
+
access_application
|
|
359
|
+
admin_application
|
|
360
|
+
}
|
|
361
|
+
settings
|
|
362
|
+
}
|
|
363
|
+
${RecordIdentityFragmentDoc}`;
|
|
365
364
|
export const AttributeDetailsFragmentDoc = gql `
|
|
366
365
|
fragment AttributeDetails on Attribute {
|
|
366
|
+
id
|
|
367
|
+
type
|
|
368
|
+
format
|
|
369
|
+
system
|
|
370
|
+
readonly
|
|
371
|
+
label
|
|
372
|
+
description
|
|
373
|
+
multiple_values
|
|
374
|
+
metadata_fields {
|
|
375
|
+
id
|
|
376
|
+
label
|
|
377
|
+
type
|
|
378
|
+
format
|
|
379
|
+
}
|
|
380
|
+
versions_conf {
|
|
381
|
+
versionable
|
|
382
|
+
mode
|
|
383
|
+
profile {
|
|
384
|
+
id
|
|
385
|
+
label
|
|
386
|
+
trees {
|
|
367
387
|
id
|
|
368
|
-
type
|
|
369
|
-
format
|
|
370
|
-
system
|
|
371
|
-
readonly
|
|
372
388
|
label
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
maxLength
|
|
400
|
-
}
|
|
401
|
-
... on LinkAttribute {
|
|
402
|
-
linked_library {
|
|
403
|
-
id
|
|
404
|
-
label
|
|
405
|
-
}
|
|
406
|
-
reverse_link
|
|
407
|
-
}
|
|
408
|
-
... on TreeAttribute {
|
|
409
|
-
linked_tree {
|
|
410
|
-
id
|
|
411
|
-
label
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
`;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
libraries {
|
|
393
|
+
id
|
|
394
|
+
label
|
|
395
|
+
}
|
|
396
|
+
... on StandardAttribute {
|
|
397
|
+
unique
|
|
398
|
+
maxLength
|
|
399
|
+
}
|
|
400
|
+
... on LinkAttribute {
|
|
401
|
+
linked_library {
|
|
402
|
+
id
|
|
403
|
+
label
|
|
404
|
+
}
|
|
405
|
+
reverse_link
|
|
406
|
+
}
|
|
407
|
+
... on TreeAttribute {
|
|
408
|
+
linked_tree {
|
|
409
|
+
id
|
|
410
|
+
label
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
`;
|
|
416
415
|
export const AttributesByLibAttributeFragmentDoc = gql `
|
|
417
416
|
fragment AttributesByLibAttribute on Attribute {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
`;
|
|
417
|
+
id
|
|
418
|
+
type
|
|
419
|
+
format
|
|
420
|
+
label
|
|
421
|
+
multiple_values
|
|
422
|
+
system
|
|
423
|
+
readonly
|
|
424
|
+
... on LinkAttribute {
|
|
425
|
+
linked_library {
|
|
426
|
+
id
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
... on TreeAttribute {
|
|
430
|
+
linked_tree {
|
|
431
|
+
id
|
|
432
|
+
label
|
|
433
|
+
libraries {
|
|
434
|
+
library {
|
|
435
|
+
id
|
|
436
|
+
label
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
... on StandardAttribute {
|
|
442
|
+
embedded_fields {
|
|
443
|
+
id
|
|
444
|
+
format
|
|
445
|
+
label
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
`;
|
|
451
450
|
export const LibraryLightFragmentDoc = gql `
|
|
452
451
|
fragment LibraryLight on Library {
|
|
452
|
+
id
|
|
453
|
+
label
|
|
454
|
+
icon {
|
|
455
|
+
id
|
|
456
|
+
whoAmI {
|
|
457
|
+
id
|
|
458
|
+
library {
|
|
453
459
|
id
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
id
|
|
457
|
-
whoAmI {
|
|
458
|
-
id
|
|
459
|
-
library {
|
|
460
|
-
id
|
|
461
|
-
}
|
|
462
|
-
preview
|
|
463
|
-
}
|
|
464
|
-
}
|
|
460
|
+
}
|
|
461
|
+
preview
|
|
465
462
|
}
|
|
466
|
-
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
`;
|
|
467
466
|
export const LibraryLinkAttributeDetailsFragmentDoc = gql `
|
|
468
467
|
fragment LibraryLinkAttributeDetails on LinkAttribute {
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
`;
|
|
468
|
+
linked_library {
|
|
469
|
+
id
|
|
470
|
+
behavior
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
`;
|
|
475
474
|
export const LibraryAttributesFragmentDoc = gql `
|
|
476
475
|
fragment LibraryAttributes on Attribute {
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
${LibraryLinkAttributeDetailsFragmentDoc}
|
|
485
|
-
`;
|
|
476
|
+
id
|
|
477
|
+
label
|
|
478
|
+
system
|
|
479
|
+
type
|
|
480
|
+
format
|
|
481
|
+
...LibraryLinkAttributeDetails
|
|
482
|
+
}
|
|
483
|
+
${LibraryLinkAttributeDetailsFragmentDoc}`;
|
|
486
484
|
export const LibraryPreviewsSettingsFragmentDoc = gql `
|
|
487
485
|
fragment LibraryPreviewsSettings on LibraryPreviewsSettings {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
`;
|
|
486
|
+
label
|
|
487
|
+
description
|
|
488
|
+
system
|
|
489
|
+
versions {
|
|
490
|
+
background
|
|
491
|
+
density
|
|
492
|
+
sizes {
|
|
493
|
+
name
|
|
494
|
+
size
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
`;
|
|
501
499
|
export const LibraryDetailsFragmentDoc = gql `
|
|
502
500
|
fragment LibraryDetails on Library {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
501
|
+
id
|
|
502
|
+
label
|
|
503
|
+
behavior
|
|
504
|
+
system
|
|
505
|
+
label
|
|
506
|
+
fullTextAttributes {
|
|
507
|
+
id
|
|
508
|
+
label
|
|
509
|
+
}
|
|
510
|
+
attributes {
|
|
511
|
+
...LibraryAttributes
|
|
512
|
+
}
|
|
513
|
+
permissions_conf {
|
|
514
|
+
permissionTreeAttributes {
|
|
515
|
+
id
|
|
516
|
+
... on TreeAttribute {
|
|
517
|
+
linked_tree {
|
|
518
|
+
id
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
label
|
|
522
|
+
}
|
|
523
|
+
relation
|
|
524
|
+
}
|
|
525
|
+
recordIdentityConf {
|
|
526
|
+
label
|
|
527
|
+
subLabel
|
|
528
|
+
color
|
|
529
|
+
preview
|
|
530
|
+
treeColorPreview
|
|
531
|
+
}
|
|
532
|
+
permissions {
|
|
533
|
+
admin_library
|
|
534
|
+
access_library
|
|
535
|
+
access_record
|
|
536
|
+
create_record
|
|
537
|
+
edit_record
|
|
538
|
+
delete_record
|
|
539
|
+
}
|
|
540
|
+
icon {
|
|
541
|
+
...RecordIdentity
|
|
542
|
+
}
|
|
543
|
+
previewsSettings {
|
|
544
|
+
...LibraryPreviewsSettings
|
|
545
|
+
}
|
|
546
|
+
}
|
|
549
547
|
${LibraryAttributesFragmentDoc}
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
`;
|
|
548
|
+
${RecordIdentityFragmentDoc}
|
|
549
|
+
${LibraryPreviewsSettingsFragmentDoc}`;
|
|
553
550
|
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
554
551
|
fragment ValuesVersionDetails on ValueVersion {
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
}
|
|
552
|
+
treeId
|
|
553
|
+
treeNode {
|
|
554
|
+
id
|
|
555
|
+
record {
|
|
556
|
+
id
|
|
557
|
+
whoAmI {
|
|
558
|
+
id
|
|
559
|
+
label
|
|
560
|
+
library {
|
|
561
|
+
id
|
|
568
562
|
}
|
|
563
|
+
}
|
|
569
564
|
}
|
|
570
|
-
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
`;
|
|
571
568
|
export const ValueDetailsFragmentDoc = gql `
|
|
572
569
|
fragment ValueDetails on GenericValue {
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
}
|
|
570
|
+
id_value
|
|
571
|
+
isInherited
|
|
572
|
+
isCalculated
|
|
573
|
+
modified_at
|
|
574
|
+
modified_by {
|
|
575
|
+
...RecordIdentity
|
|
576
|
+
}
|
|
577
|
+
created_at
|
|
578
|
+
created_by {
|
|
579
|
+
...RecordIdentity
|
|
580
|
+
}
|
|
581
|
+
version {
|
|
582
|
+
...ValuesVersionDetails
|
|
583
|
+
}
|
|
584
|
+
attribute {
|
|
585
|
+
id
|
|
586
|
+
format
|
|
587
|
+
type
|
|
588
|
+
system
|
|
589
|
+
}
|
|
590
|
+
metadata {
|
|
591
|
+
name
|
|
592
|
+
value {
|
|
593
|
+
id_value
|
|
594
|
+
modified_at
|
|
595
|
+
modified_by {
|
|
596
|
+
...RecordIdentity
|
|
597
|
+
}
|
|
598
|
+
created_at
|
|
599
|
+
created_by {
|
|
600
|
+
...RecordIdentity
|
|
601
|
+
}
|
|
602
|
+
version {
|
|
603
|
+
...ValuesVersionDetails
|
|
604
|
+
}
|
|
605
|
+
payload
|
|
606
|
+
raw_payload
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
... on Value {
|
|
610
|
+
payload
|
|
611
|
+
raw_payload
|
|
612
|
+
value
|
|
613
|
+
raw_value
|
|
614
|
+
}
|
|
615
|
+
... on LinkValue {
|
|
616
|
+
linkValue: payload {
|
|
617
|
+
...RecordIdentity
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
... on TreeValue {
|
|
621
|
+
treeValue: payload {
|
|
622
|
+
id
|
|
623
|
+
record {
|
|
624
|
+
...RecordIdentity
|
|
625
|
+
}
|
|
626
|
+
ancestors {
|
|
627
|
+
record {
|
|
628
|
+
...RecordIdentity
|
|
635
629
|
}
|
|
630
|
+
}
|
|
636
631
|
}
|
|
632
|
+
}
|
|
633
|
+
}
|
|
637
634
|
${RecordIdentityFragmentDoc}
|
|
638
|
-
|
|
639
|
-
`;
|
|
635
|
+
${ValuesVersionDetailsFragmentDoc}`;
|
|
640
636
|
export const StandardValuesListFragmentFragmentDoc = gql `
|
|
641
637
|
fragment StandardValuesListFragment on StandardValuesListConf {
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
`;
|
|
638
|
+
... on StandardStringValuesListConf {
|
|
639
|
+
enable
|
|
640
|
+
allowFreeEntry
|
|
641
|
+
allowListUpdate
|
|
642
|
+
values
|
|
643
|
+
}
|
|
644
|
+
... on StandardDateRangeValuesListConf {
|
|
645
|
+
enable
|
|
646
|
+
allowFreeEntry
|
|
647
|
+
allowListUpdate
|
|
648
|
+
dateRangeValues: values {
|
|
649
|
+
from
|
|
650
|
+
to
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
`;
|
|
659
655
|
export const RecordFormAttributeFragmentDoc = gql `
|
|
660
656
|
fragment RecordFormAttribute on Attribute {
|
|
657
|
+
id
|
|
658
|
+
label
|
|
659
|
+
description
|
|
660
|
+
type
|
|
661
|
+
format
|
|
662
|
+
system
|
|
663
|
+
readonly
|
|
664
|
+
multiple_values
|
|
665
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
666
|
+
access_attribute
|
|
667
|
+
edit_value
|
|
668
|
+
}
|
|
669
|
+
versions_conf {
|
|
670
|
+
versionable
|
|
671
|
+
profile {
|
|
672
|
+
id
|
|
673
|
+
trees {
|
|
661
674
|
id
|
|
662
675
|
label
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
...RecordIdentity
|
|
723
|
-
}
|
|
724
|
-
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
metadata_fields {
|
|
680
|
+
id
|
|
681
|
+
label
|
|
682
|
+
description
|
|
683
|
+
type
|
|
684
|
+
format
|
|
685
|
+
system
|
|
686
|
+
readonly
|
|
687
|
+
multiple_values
|
|
688
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
689
|
+
access_attribute
|
|
690
|
+
edit_value
|
|
691
|
+
}
|
|
692
|
+
values_list {
|
|
693
|
+
...StandardValuesListFragment
|
|
694
|
+
}
|
|
695
|
+
metadata_fields {
|
|
696
|
+
id
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
... on StandardAttribute {
|
|
700
|
+
values_list {
|
|
701
|
+
...StandardValuesListFragment
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
... on LinkAttribute {
|
|
705
|
+
linked_library {
|
|
706
|
+
id
|
|
707
|
+
label
|
|
708
|
+
behavior
|
|
709
|
+
permissions {
|
|
710
|
+
create_record
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
linkValuesList: values_list {
|
|
714
|
+
enable
|
|
715
|
+
allowFreeEntry
|
|
716
|
+
allowListUpdate
|
|
717
|
+
values {
|
|
718
|
+
...RecordIdentity
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
... on TreeAttribute {
|
|
723
|
+
linked_tree {
|
|
724
|
+
id
|
|
725
|
+
label
|
|
726
|
+
}
|
|
727
|
+
treeValuesList: values_list {
|
|
728
|
+
enable
|
|
729
|
+
allowFreeEntry
|
|
730
|
+
allowListUpdate
|
|
731
|
+
values {
|
|
732
|
+
id
|
|
733
|
+
record {
|
|
734
|
+
...RecordIdentity
|
|
725
735
|
}
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
}
|
|
731
|
-
treeValuesList: values_list {
|
|
732
|
-
enable
|
|
733
|
-
allowFreeEntry
|
|
734
|
-
allowListUpdate
|
|
735
|
-
values {
|
|
736
|
-
id
|
|
737
|
-
record {
|
|
738
|
-
...RecordIdentity
|
|
739
|
-
}
|
|
740
|
-
ancestors {
|
|
741
|
-
record {
|
|
742
|
-
...RecordIdentity
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
}
|
|
736
|
+
ancestors {
|
|
737
|
+
record {
|
|
738
|
+
...RecordIdentity
|
|
739
|
+
}
|
|
747
740
|
}
|
|
741
|
+
}
|
|
748
742
|
}
|
|
743
|
+
}
|
|
744
|
+
}
|
|
749
745
|
${StandardValuesListFragmentFragmentDoc}
|
|
750
|
-
|
|
751
|
-
`;
|
|
746
|
+
${RecordIdentityFragmentDoc}`;
|
|
752
747
|
export const RecordFormElementFragmentDoc = gql `
|
|
753
748
|
fragment RecordFormElement on FormElementWithValues {
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
749
|
+
id
|
|
750
|
+
containerId
|
|
751
|
+
uiElementType
|
|
752
|
+
type
|
|
753
|
+
valueError
|
|
754
|
+
values {
|
|
755
|
+
...ValueDetails
|
|
756
|
+
}
|
|
757
|
+
attribute {
|
|
758
|
+
...RecordFormAttribute
|
|
759
|
+
}
|
|
760
|
+
settings {
|
|
761
|
+
key
|
|
762
|
+
value
|
|
763
|
+
}
|
|
764
|
+
}
|
|
770
765
|
${ValueDetailsFragmentDoc}
|
|
771
|
-
|
|
772
|
-
`;
|
|
766
|
+
${RecordFormAttributeFragmentDoc}`;
|
|
773
767
|
export const TreeLightFragmentDoc = gql `
|
|
774
768
|
fragment TreeLight on Tree {
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
`;
|
|
769
|
+
id
|
|
770
|
+
label
|
|
771
|
+
}
|
|
772
|
+
`;
|
|
779
773
|
export const TreeDetailsFragmentDoc = gql `
|
|
780
774
|
fragment TreeDetails on Tree {
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
`;
|
|
775
|
+
id
|
|
776
|
+
label
|
|
777
|
+
behavior
|
|
778
|
+
system
|
|
779
|
+
libraries {
|
|
780
|
+
library {
|
|
781
|
+
id
|
|
782
|
+
label
|
|
783
|
+
}
|
|
784
|
+
settings {
|
|
785
|
+
allowMultiplePositions
|
|
786
|
+
allowedAtRoot
|
|
787
|
+
allowedChildren
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
`;
|
|
798
792
|
export const TreeNodeChildFragmentDoc = gql `
|
|
799
793
|
fragment TreeNodeChild on TreeNodeLight {
|
|
794
|
+
id
|
|
795
|
+
order
|
|
796
|
+
childrenCount
|
|
797
|
+
record {
|
|
798
|
+
...RecordIdentity
|
|
799
|
+
active: property(attribute: "active") {
|
|
800
|
+
... on Value {
|
|
801
|
+
value
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
ancestors {
|
|
806
|
+
id
|
|
807
|
+
record {
|
|
808
|
+
id
|
|
809
|
+
library {
|
|
800
810
|
id
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
...RecordIdentity
|
|
805
|
-
active: property(attribute: "active") {
|
|
806
|
-
... on Value {
|
|
807
|
-
value
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
ancestors {
|
|
812
|
-
id
|
|
813
|
-
record {
|
|
814
|
-
id
|
|
815
|
-
library {
|
|
816
|
-
id
|
|
817
|
-
label
|
|
818
|
-
}
|
|
819
|
-
...RecordIdentity
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
permissions {
|
|
823
|
-
access_tree
|
|
824
|
-
detach
|
|
825
|
-
edit_children
|
|
826
|
-
}
|
|
811
|
+
label
|
|
812
|
+
}
|
|
813
|
+
...RecordIdentity
|
|
827
814
|
}
|
|
828
|
-
|
|
829
|
-
|
|
815
|
+
}
|
|
816
|
+
permissions {
|
|
817
|
+
access_tree
|
|
818
|
+
detach
|
|
819
|
+
edit_children
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
${RecordIdentityFragmentDoc}`;
|
|
830
823
|
export const ViewDetailsFragmentDoc = gql `
|
|
831
824
|
fragment ViewDetails on View {
|
|
825
|
+
id
|
|
826
|
+
display {
|
|
827
|
+
size
|
|
828
|
+
type
|
|
829
|
+
}
|
|
830
|
+
shared
|
|
831
|
+
created_by {
|
|
832
|
+
id
|
|
833
|
+
whoAmI {
|
|
834
|
+
id
|
|
835
|
+
label
|
|
836
|
+
library {
|
|
832
837
|
id
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
id
|
|
869
|
-
record {
|
|
870
|
-
...RecordIdentity
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
settings {
|
|
875
|
-
name
|
|
876
|
-
value
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
${RecordIdentityFragmentDoc}
|
|
880
|
-
`;
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
label
|
|
842
|
+
description
|
|
843
|
+
color
|
|
844
|
+
filters {
|
|
845
|
+
field
|
|
846
|
+
value
|
|
847
|
+
tree {
|
|
848
|
+
id
|
|
849
|
+
label
|
|
850
|
+
}
|
|
851
|
+
condition
|
|
852
|
+
operator
|
|
853
|
+
}
|
|
854
|
+
sort {
|
|
855
|
+
field
|
|
856
|
+
order
|
|
857
|
+
}
|
|
858
|
+
valuesVersions {
|
|
859
|
+
treeId
|
|
860
|
+
treeNode {
|
|
861
|
+
id
|
|
862
|
+
record {
|
|
863
|
+
...RecordIdentity
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
settings {
|
|
868
|
+
name
|
|
869
|
+
value
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
${RecordIdentityFragmentDoc}`;
|
|
881
873
|
export const PropertyValueFragmentDoc = gql `
|
|
882
874
|
fragment PropertyValue on GenericValue {
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
...
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
875
|
+
... on Value {
|
|
876
|
+
valuePayload: payload
|
|
877
|
+
}
|
|
878
|
+
... on LinkValue {
|
|
879
|
+
linkPayload: payload {
|
|
880
|
+
...RecordIdentity
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
... on TreeValue {
|
|
884
|
+
treePayload: payload {
|
|
885
|
+
record {
|
|
886
|
+
...RecordIdentity
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
${RecordIdentityFragmentDoc}`;
|
|
892
|
+
export const AttributePropertiesFragmentDoc = gql `
|
|
893
|
+
fragment AttributeProperties on Attribute {
|
|
894
|
+
id
|
|
895
|
+
label
|
|
896
|
+
type
|
|
897
|
+
format
|
|
898
|
+
multiple_values
|
|
899
|
+
}
|
|
900
|
+
`;
|
|
904
901
|
export const CheckApplicationExistenceDocument = gql `
|
|
905
902
|
query CHECK_APPLICATION_EXISTENCE($id: ID, $endpoint: String) {
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
`;
|
|
903
|
+
applications(filters: {id: $id, endpoint: $endpoint}) {
|
|
904
|
+
totalCount
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
`;
|
|
911
908
|
/**
|
|
912
909
|
* __useCheckApplicationExistenceQuery__
|
|
913
910
|
*
|
|
@@ -935,14 +932,13 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
935
932
|
}
|
|
936
933
|
export const GetApplicationByIdDocument = gql `
|
|
937
934
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
}
|
|
942
|
-
}
|
|
935
|
+
applications(filters: {id: $id}) {
|
|
936
|
+
list {
|
|
937
|
+
...DetailsApplication
|
|
943
938
|
}
|
|
944
|
-
|
|
945
|
-
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
${DetailsApplicationFragmentDoc}`;
|
|
946
942
|
/**
|
|
947
943
|
* __useGetApplicationByIdQuery__
|
|
948
944
|
*
|
|
@@ -969,13 +965,13 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
969
965
|
}
|
|
970
966
|
export const GetApplicationModulesDocument = gql `
|
|
971
967
|
query GET_APPLICATION_MODULES {
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
`;
|
|
968
|
+
applicationsModules {
|
|
969
|
+
id
|
|
970
|
+
description
|
|
971
|
+
version
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
`;
|
|
979
975
|
/**
|
|
980
976
|
* __useGetApplicationModulesQuery__
|
|
981
977
|
*
|
|
@@ -1001,12 +997,11 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1001
997
|
}
|
|
1002
998
|
export const SaveApplicationDocument = gql `
|
|
1003
999
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
${DetailsApplicationFragmentDoc}
|
|
1009
|
-
`;
|
|
1000
|
+
saveApplication(application: $application) {
|
|
1001
|
+
...DetailsApplication
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
${DetailsApplicationFragmentDoc}`;
|
|
1010
1005
|
/**
|
|
1011
1006
|
* __useSaveApplicationMutation__
|
|
1012
1007
|
*
|
|
@@ -1030,11 +1025,11 @@ export function useSaveApplicationMutation(baseOptions) {
|
|
|
1030
1025
|
}
|
|
1031
1026
|
export const CheckAttributeExistenceDocument = gql `
|
|
1032
1027
|
query CHECK_ATTRIBUTE_EXISTENCE($id: ID!) {
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
`;
|
|
1028
|
+
attributes(filters: {id: $id}) {
|
|
1029
|
+
totalCount
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
`;
|
|
1038
1033
|
/**
|
|
1039
1034
|
* __useCheckAttributeExistenceQuery__
|
|
1040
1035
|
*
|
|
@@ -1061,11 +1056,11 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1061
1056
|
}
|
|
1062
1057
|
export const DeleteAttributeDocument = gql `
|
|
1063
1058
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
`;
|
|
1059
|
+
deleteAttribute(id: $id) {
|
|
1060
|
+
id
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
`;
|
|
1069
1064
|
/**
|
|
1070
1065
|
* __useDeleteAttributeMutation__
|
|
1071
1066
|
*
|
|
@@ -1089,14 +1084,13 @@ export function useDeleteAttributeMutation(baseOptions) {
|
|
|
1089
1084
|
}
|
|
1090
1085
|
export const GetAttributeByIdDocument = gql `
|
|
1091
1086
|
query GET_ATTRIBUTE_BY_ID($id: ID) {
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1087
|
+
attributes(filters: {id: $id}) {
|
|
1088
|
+
list {
|
|
1089
|
+
...AttributeDetails
|
|
1097
1090
|
}
|
|
1098
|
-
|
|
1099
|
-
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1100
1094
|
/**
|
|
1101
1095
|
* __useGetAttributeByIdQuery__
|
|
1102
1096
|
*
|
|
@@ -1123,14 +1117,13 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1123
1117
|
}
|
|
1124
1118
|
export const GetAttributesByLibDocument = gql `
|
|
1125
1119
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1120
|
+
attributes(filters: {libraries: [$library]}) {
|
|
1121
|
+
list {
|
|
1122
|
+
...AttributesByLibAttribute
|
|
1131
1123
|
}
|
|
1132
|
-
|
|
1133
|
-
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
${AttributesByLibAttributeFragmentDoc}`;
|
|
1134
1127
|
/**
|
|
1135
1128
|
* __useGetAttributesByLibQuery__
|
|
1136
1129
|
*
|
|
@@ -1157,18 +1150,18 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1157
1150
|
}
|
|
1158
1151
|
export const GetAttributesDocument = gql `
|
|
1159
1152
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
`;
|
|
1153
|
+
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
1154
|
+
totalCount
|
|
1155
|
+
list {
|
|
1156
|
+
id
|
|
1157
|
+
label
|
|
1158
|
+
type
|
|
1159
|
+
format
|
|
1160
|
+
system
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
`;
|
|
1172
1165
|
/**
|
|
1173
1166
|
* __useGetAttributesQuery__
|
|
1174
1167
|
*
|
|
@@ -1197,14 +1190,14 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1197
1190
|
}
|
|
1198
1191
|
export const GetVersionProfilesDocument = gql `
|
|
1199
1192
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1193
|
+
versionProfiles(filters: $filters, sort: $sort) {
|
|
1194
|
+
list {
|
|
1195
|
+
id
|
|
1196
|
+
label
|
|
1206
1197
|
}
|
|
1207
|
-
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
`;
|
|
1208
1201
|
/**
|
|
1209
1202
|
* __useGetVersionProfilesQuery__
|
|
1210
1203
|
*
|
|
@@ -1232,23 +1225,23 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1232
1225
|
}
|
|
1233
1226
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1234
1227
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1228
|
+
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
1229
|
+
list {
|
|
1230
|
+
id
|
|
1231
|
+
versions_conf {
|
|
1232
|
+
versionable
|
|
1233
|
+
profile {
|
|
1234
|
+
id
|
|
1235
|
+
trees {
|
|
1236
|
+
id
|
|
1237
|
+
label
|
|
1238
|
+
}
|
|
1249
1239
|
}
|
|
1240
|
+
}
|
|
1250
1241
|
}
|
|
1251
|
-
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
`;
|
|
1252
1245
|
/**
|
|
1253
1246
|
* __useGetVersionableAttributesByLibraryQuery__
|
|
1254
1247
|
*
|
|
@@ -1275,12 +1268,11 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1275
1268
|
}
|
|
1276
1269
|
export const SaveAttributeDocument = gql `
|
|
1277
1270
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
${AttributeDetailsFragmentDoc}
|
|
1283
|
-
`;
|
|
1271
|
+
saveAttribute(attribute: $attribute) {
|
|
1272
|
+
...AttributeDetails
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1284
1276
|
/**
|
|
1285
1277
|
* __useSaveAttributeMutation__
|
|
1286
1278
|
*
|
|
@@ -1304,9 +1296,9 @@ export function useSaveAttributeMutation(baseOptions) {
|
|
|
1304
1296
|
}
|
|
1305
1297
|
export const ExportDocument = gql `
|
|
1306
1298
|
query EXPORT($library: ID!, $attributes: [ID!], $filters: [RecordFilterInput!]) {
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
`;
|
|
1299
|
+
export(library: $library, attributes: $attributes, filters: $filters)
|
|
1300
|
+
}
|
|
1301
|
+
`;
|
|
1310
1302
|
/**
|
|
1311
1303
|
* __useExportQuery__
|
|
1312
1304
|
*
|
|
@@ -1335,12 +1327,11 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1335
1327
|
}
|
|
1336
1328
|
export const CreateDirectoryDocument = gql `
|
|
1337
1329
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
${RecordIdentityFragmentDoc}
|
|
1343
|
-
`;
|
|
1330
|
+
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
1331
|
+
...RecordIdentity
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
${RecordIdentityFragmentDoc}`;
|
|
1344
1335
|
/**
|
|
1345
1336
|
* __useCreateDirectoryMutation__
|
|
1346
1337
|
*
|
|
@@ -1365,22 +1356,16 @@ export function useCreateDirectoryMutation(baseOptions) {
|
|
|
1365
1356
|
return Apollo.useMutation(CreateDirectoryDocument, options);
|
|
1366
1357
|
}
|
|
1367
1358
|
export const ForcePreviewsGenerationDocument = gql `
|
|
1368
|
-
mutation FORCE_PREVIEWS_GENERATION(
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
recordIds: $recordIds
|
|
1379
|
-
failedOnly: $failedOnly
|
|
1380
|
-
previewVersionSizeNames: $previewVersionSizeNames
|
|
1381
|
-
)
|
|
1382
|
-
}
|
|
1383
|
-
`;
|
|
1359
|
+
mutation FORCE_PREVIEWS_GENERATION($libraryId: ID!, $filters: [RecordFilterInput!], $recordIds: [ID!], $failedOnly: Boolean, $previewVersionSizeNames: [String!]) {
|
|
1360
|
+
forcePreviewsGeneration(
|
|
1361
|
+
libraryId: $libraryId
|
|
1362
|
+
filters: $filters
|
|
1363
|
+
recordIds: $recordIds
|
|
1364
|
+
failedOnly: $failedOnly
|
|
1365
|
+
previewVersionSizeNames: $previewVersionSizeNames
|
|
1366
|
+
)
|
|
1367
|
+
}
|
|
1368
|
+
`;
|
|
1384
1369
|
/**
|
|
1385
1370
|
* __useForcePreviewsGenerationMutation__
|
|
1386
1371
|
*
|
|
@@ -1408,51 +1393,53 @@ export function useForcePreviewsGenerationMutation(baseOptions) {
|
|
|
1408
1393
|
}
|
|
1409
1394
|
export const GetDirectoryDataDocument = gql `
|
|
1410
1395
|
query GET_DIRECTORY_DATA($library: ID!, $directoryId: String!) {
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
... on Value {
|
|
1428
|
-
value
|
|
1429
|
-
}
|
|
1430
|
-
}
|
|
1431
|
-
modified_by: property(attribute: "modified_by") {
|
|
1432
|
-
... on LinkValue {
|
|
1433
|
-
value {
|
|
1434
|
-
...RecordIdentity
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
file_name: property(attribute: "file_name") {
|
|
1439
|
-
... on Value {
|
|
1440
|
-
value
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
file_path: property(attribute: "file_path") {
|
|
1444
|
-
... on Value {
|
|
1445
|
-
value
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
library {
|
|
1449
|
-
behavior
|
|
1450
|
-
}
|
|
1451
|
-
}
|
|
1396
|
+
records(
|
|
1397
|
+
library: $library
|
|
1398
|
+
filters: [{field: "id", value: $directoryId, condition: EQUAL}]
|
|
1399
|
+
) {
|
|
1400
|
+
list {
|
|
1401
|
+
...RecordIdentity
|
|
1402
|
+
created_at: property(attribute: "created_at") {
|
|
1403
|
+
... on Value {
|
|
1404
|
+
value
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
created_by: property(attribute: "created_by") {
|
|
1408
|
+
... on LinkValue {
|
|
1409
|
+
value {
|
|
1410
|
+
...RecordIdentity
|
|
1411
|
+
}
|
|
1452
1412
|
}
|
|
1413
|
+
}
|
|
1414
|
+
modified_at: property(attribute: "modified_at") {
|
|
1415
|
+
... on Value {
|
|
1416
|
+
value
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
modified_by: property(attribute: "modified_by") {
|
|
1420
|
+
... on LinkValue {
|
|
1421
|
+
value {
|
|
1422
|
+
...RecordIdentity
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
file_name: property(attribute: "file_name") {
|
|
1427
|
+
... on Value {
|
|
1428
|
+
value
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
file_path: property(attribute: "file_path") {
|
|
1432
|
+
... on Value {
|
|
1433
|
+
value
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
library {
|
|
1437
|
+
behavior
|
|
1438
|
+
}
|
|
1453
1439
|
}
|
|
1454
|
-
|
|
1455
|
-
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
${RecordIdentityFragmentDoc}`;
|
|
1456
1443
|
/**
|
|
1457
1444
|
* __useGetDirectoryDataQuery__
|
|
1458
1445
|
*
|
|
@@ -1480,22 +1467,22 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1480
1467
|
}
|
|
1481
1468
|
export const UploadUpdateDocument = gql `
|
|
1482
1469
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
`;
|
|
1470
|
+
upload(filters: $filters) {
|
|
1471
|
+
userId
|
|
1472
|
+
progress {
|
|
1473
|
+
length
|
|
1474
|
+
transferred
|
|
1475
|
+
speed
|
|
1476
|
+
runtime
|
|
1477
|
+
remaining
|
|
1478
|
+
percentage
|
|
1479
|
+
eta
|
|
1480
|
+
delta
|
|
1481
|
+
}
|
|
1482
|
+
uid
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
`;
|
|
1499
1486
|
/**
|
|
1500
1487
|
* __useUploadUpdateSubscription__
|
|
1501
1488
|
*
|
|
@@ -1518,15 +1505,14 @@ export function useUploadUpdateSubscription(baseOptions) {
|
|
|
1518
1505
|
}
|
|
1519
1506
|
export const UploadDocument = gql `
|
|
1520
1507
|
mutation UPLOAD($library: String!, $nodeId: String!, $files: [FileInput!]!) {
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
}
|
|
1526
|
-
}
|
|
1508
|
+
upload(library: $library, nodeId: $nodeId, files: $files) {
|
|
1509
|
+
uid
|
|
1510
|
+
record {
|
|
1511
|
+
...RecordIdentity
|
|
1527
1512
|
}
|
|
1528
|
-
|
|
1529
|
-
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
${RecordIdentityFragmentDoc}`;
|
|
1530
1516
|
/**
|
|
1531
1517
|
* __useUploadMutation__
|
|
1532
1518
|
*
|
|
@@ -1552,9 +1538,9 @@ export function useUploadMutation(baseOptions) {
|
|
|
1552
1538
|
}
|
|
1553
1539
|
export const ImportExcelDocument = gql `
|
|
1554
1540
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
`;
|
|
1541
|
+
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
1542
|
+
}
|
|
1543
|
+
`;
|
|
1558
1544
|
/**
|
|
1559
1545
|
* __useImportExcelMutation__
|
|
1560
1546
|
*
|
|
@@ -1580,11 +1566,11 @@ export function useImportExcelMutation(baseOptions) {
|
|
|
1580
1566
|
}
|
|
1581
1567
|
export const CheckLibraryExistenceDocument = gql `
|
|
1582
1568
|
query CHECK_LIBRARY_EXISTENCE($id: [ID!]) {
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
`;
|
|
1569
|
+
libraries(filters: {id: $id}) {
|
|
1570
|
+
totalCount
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
`;
|
|
1588
1574
|
/**
|
|
1589
1575
|
* __useCheckLibraryExistenceQuery__
|
|
1590
1576
|
*
|
|
@@ -1611,11 +1597,11 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1611
1597
|
}
|
|
1612
1598
|
export const DeleteLibraryDocument = gql `
|
|
1613
1599
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
`;
|
|
1600
|
+
deleteLibrary(id: $id) {
|
|
1601
|
+
id
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
`;
|
|
1619
1605
|
/**
|
|
1620
1606
|
* __useDeleteLibraryMutation__
|
|
1621
1607
|
*
|
|
@@ -1639,14 +1625,13 @@ export function useDeleteLibraryMutation(baseOptions) {
|
|
|
1639
1625
|
}
|
|
1640
1626
|
export const GetLibrariesDocument = gql `
|
|
1641
1627
|
query GET_LIBRARIES {
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1628
|
+
libraries {
|
|
1629
|
+
list {
|
|
1630
|
+
...LibraryLight
|
|
1647
1631
|
}
|
|
1648
|
-
|
|
1649
|
-
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
${LibraryLightFragmentDoc}`;
|
|
1650
1635
|
/**
|
|
1651
1636
|
* __useGetLibrariesQuery__
|
|
1652
1637
|
*
|
|
@@ -1672,14 +1657,13 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1672
1657
|
}
|
|
1673
1658
|
export const GetLibraryByIdDocument = gql `
|
|
1674
1659
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1660
|
+
libraries(filters: {id: $id}) {
|
|
1661
|
+
list {
|
|
1662
|
+
...LibraryDetails
|
|
1680
1663
|
}
|
|
1681
|
-
|
|
1682
|
-
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
${LibraryDetailsFragmentDoc}`;
|
|
1683
1667
|
/**
|
|
1684
1668
|
* __useGetLibraryByIdQuery__
|
|
1685
1669
|
*
|
|
@@ -1706,19 +1690,19 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1706
1690
|
}
|
|
1707
1691
|
export const GetLibraryPermissionsDocument = gql `
|
|
1708
1692
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
`;
|
|
1693
|
+
libraries(filters: {id: $libraryId}) {
|
|
1694
|
+
list {
|
|
1695
|
+
permissions {
|
|
1696
|
+
access_library
|
|
1697
|
+
access_record
|
|
1698
|
+
create_record
|
|
1699
|
+
edit_record
|
|
1700
|
+
delete_record
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
`;
|
|
1722
1706
|
/**
|
|
1723
1707
|
* __useGetLibraryPermissionsQuery__
|
|
1724
1708
|
*
|
|
@@ -1745,28 +1729,28 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1745
1729
|
}
|
|
1746
1730
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1747
1731
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
}
|
|
1732
|
+
libraries(filters: {id: [$id]}) {
|
|
1733
|
+
list {
|
|
1734
|
+
id
|
|
1735
|
+
label
|
|
1736
|
+
behavior
|
|
1737
|
+
previewsSettings {
|
|
1738
|
+
description
|
|
1739
|
+
label
|
|
1740
|
+
system
|
|
1741
|
+
versions {
|
|
1742
|
+
background
|
|
1743
|
+
density
|
|
1744
|
+
sizes {
|
|
1745
|
+
name
|
|
1746
|
+
size
|
|
1747
|
+
}
|
|
1767
1748
|
}
|
|
1749
|
+
}
|
|
1768
1750
|
}
|
|
1769
|
-
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
`;
|
|
1770
1754
|
/**
|
|
1771
1755
|
* __useGetLibraryPreviewsSettingsQuery__
|
|
1772
1756
|
*
|
|
@@ -1793,12 +1777,11 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1793
1777
|
}
|
|
1794
1778
|
export const SaveLibraryDocument = gql `
|
|
1795
1779
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
${LibraryDetailsFragmentDoc}
|
|
1801
|
-
`;
|
|
1780
|
+
saveLibrary(library: $library) {
|
|
1781
|
+
...LibraryDetails
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
${LibraryDetailsFragmentDoc}`;
|
|
1802
1785
|
/**
|
|
1803
1786
|
* __useSaveLibraryMutation__
|
|
1804
1787
|
*
|
|
@@ -1821,18 +1804,13 @@ export function useSaveLibraryMutation(baseOptions) {
|
|
|
1821
1804
|
return Apollo.useMutation(SaveLibraryDocument, options);
|
|
1822
1805
|
}
|
|
1823
1806
|
export const IsAllowedDocument = gql `
|
|
1824
|
-
query IS_ALLOWED(
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
name
|
|
1832
|
-
allowed
|
|
1833
|
-
}
|
|
1834
|
-
}
|
|
1835
|
-
`;
|
|
1807
|
+
query IS_ALLOWED($type: PermissionTypes!, $actions: [PermissionsActions!]!, $applyTo: ID, $target: PermissionTarget) {
|
|
1808
|
+
isAllowed(type: $type, actions: $actions, applyTo: $applyTo, target: $target) {
|
|
1809
|
+
name
|
|
1810
|
+
allowed
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
`;
|
|
1836
1814
|
/**
|
|
1837
1815
|
* __useIsAllowedQuery__
|
|
1838
1816
|
*
|
|
@@ -1862,21 +1840,20 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1862
1840
|
}
|
|
1863
1841
|
export const CreateRecordDocument = gql `
|
|
1864
1842
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
}
|
|
1869
|
-
valuesErrors {
|
|
1870
|
-
attributeId
|
|
1871
|
-
id_value
|
|
1872
|
-
input
|
|
1873
|
-
message
|
|
1874
|
-
type
|
|
1875
|
-
}
|
|
1876
|
-
}
|
|
1843
|
+
createRecord(library: $library, data: $data) {
|
|
1844
|
+
record {
|
|
1845
|
+
...RecordIdentity
|
|
1877
1846
|
}
|
|
1878
|
-
|
|
1879
|
-
|
|
1847
|
+
valuesErrors {
|
|
1848
|
+
attributeId
|
|
1849
|
+
id_value
|
|
1850
|
+
input
|
|
1851
|
+
message
|
|
1852
|
+
type
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
${RecordIdentityFragmentDoc}`;
|
|
1880
1857
|
/**
|
|
1881
1858
|
* __useCreateRecordMutation__
|
|
1882
1859
|
*
|
|
@@ -1901,13 +1878,16 @@ export function useCreateRecordMutation(baseOptions) {
|
|
|
1901
1878
|
}
|
|
1902
1879
|
export const DeactivateRecordsDocument = gql `
|
|
1903
1880
|
mutation DEACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1881
|
+
deactivateRecords(
|
|
1882
|
+
recordsIds: $recordsIds
|
|
1883
|
+
filters: $filters
|
|
1884
|
+
libraryId: $libraryId
|
|
1885
|
+
) {
|
|
1886
|
+
id
|
|
1887
|
+
...RecordIdentity
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
${RecordIdentityFragmentDoc}`;
|
|
1911
1891
|
/**
|
|
1912
1892
|
* __useDeactivateRecordsMutation__
|
|
1913
1893
|
*
|
|
@@ -1933,9 +1913,13 @@ export function useDeactivateRecordsMutation(baseOptions) {
|
|
|
1933
1913
|
}
|
|
1934
1914
|
export const DoesFileExistAsChildDocument = gql `
|
|
1935
1915
|
query DOES_FILE_EXIST_AS_CHILD($parentNode: ID, $treeId: ID!, $filename: String!) {
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1916
|
+
doesFileExistAsChild(
|
|
1917
|
+
parentNode: $parentNode
|
|
1918
|
+
treeId: $treeId
|
|
1919
|
+
filename: $filename
|
|
1920
|
+
)
|
|
1921
|
+
}
|
|
1922
|
+
`;
|
|
1939
1923
|
/**
|
|
1940
1924
|
* __useDoesFileExistAsChildQuery__
|
|
1941
1925
|
*
|
|
@@ -1964,56 +1948,58 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
1964
1948
|
}
|
|
1965
1949
|
export const GetFileDataDocument = gql `
|
|
1966
1950
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
... on Value {
|
|
1996
|
-
value
|
|
1997
|
-
}
|
|
1998
|
-
}
|
|
1999
|
-
file_path: property(attribute: "file_path") {
|
|
2000
|
-
... on Value {
|
|
2001
|
-
value
|
|
2002
|
-
}
|
|
2003
|
-
}
|
|
2004
|
-
previews_status: property(attribute: $previewsStatusAttribute) {
|
|
2005
|
-
... on Value {
|
|
2006
|
-
value
|
|
2007
|
-
}
|
|
2008
|
-
}
|
|
2009
|
-
library {
|
|
2010
|
-
behavior
|
|
2011
|
-
}
|
|
2012
|
-
}
|
|
1951
|
+
records(
|
|
1952
|
+
library: $library
|
|
1953
|
+
filters: [{field: "id", value: $fileId, condition: EQUAL}]
|
|
1954
|
+
) {
|
|
1955
|
+
list {
|
|
1956
|
+
...RecordIdentity
|
|
1957
|
+
created_at: property(attribute: "created_at") {
|
|
1958
|
+
... on Value {
|
|
1959
|
+
value
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
created_by: property(attribute: "created_by") {
|
|
1963
|
+
... on LinkValue {
|
|
1964
|
+
value {
|
|
1965
|
+
...RecordIdentity
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
modified_at: property(attribute: "modified_at") {
|
|
1970
|
+
... on Value {
|
|
1971
|
+
value
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
modified_by: property(attribute: "modified_by") {
|
|
1975
|
+
... on LinkValue {
|
|
1976
|
+
value {
|
|
1977
|
+
...RecordIdentity
|
|
1978
|
+
}
|
|
2013
1979
|
}
|
|
1980
|
+
}
|
|
1981
|
+
file_name: property(attribute: "file_name") {
|
|
1982
|
+
... on Value {
|
|
1983
|
+
value
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
file_path: property(attribute: "file_path") {
|
|
1987
|
+
... on Value {
|
|
1988
|
+
value
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
previews_status: property(attribute: $previewsStatusAttribute) {
|
|
1992
|
+
... on Value {
|
|
1993
|
+
value
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
library {
|
|
1997
|
+
behavior
|
|
1998
|
+
}
|
|
2014
1999
|
}
|
|
2015
|
-
|
|
2016
|
-
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
${RecordIdentityFragmentDoc}`;
|
|
2017
2003
|
/**
|
|
2018
2004
|
* __useGetFileDataQuery__
|
|
2019
2005
|
*
|
|
@@ -2042,22 +2028,26 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2042
2028
|
}
|
|
2043
2029
|
export const RecordFormDocument = gql `
|
|
2044
2030
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
|
-
|
|
2031
|
+
recordForm(
|
|
2032
|
+
recordId: $recordId
|
|
2033
|
+
libraryId: $libraryId
|
|
2034
|
+
formId: $formId
|
|
2035
|
+
version: $version
|
|
2036
|
+
) {
|
|
2037
|
+
id
|
|
2038
|
+
recordId
|
|
2039
|
+
library {
|
|
2040
|
+
id
|
|
2041
|
+
}
|
|
2042
|
+
dependencyAttributes {
|
|
2043
|
+
id
|
|
2044
|
+
}
|
|
2045
|
+
elements {
|
|
2046
|
+
...RecordFormElement
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
${RecordFormElementFragmentDoc}`;
|
|
2061
2051
|
/**
|
|
2062
2052
|
* __useRecordFormQuery__
|
|
2063
2053
|
*
|
|
@@ -2087,28 +2077,27 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2087
2077
|
}
|
|
2088
2078
|
export const RecordUpdateDocument = gql `
|
|
2089
2079
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
}
|
|
2099
|
-
}
|
|
2100
|
-
}
|
|
2101
|
-
updatedValues {
|
|
2102
|
-
attribute
|
|
2103
|
-
value {
|
|
2104
|
-
...ValueDetails
|
|
2105
|
-
}
|
|
2106
|
-
}
|
|
2080
|
+
recordUpdate(filters: $filters) {
|
|
2081
|
+
record {
|
|
2082
|
+
...RecordIdentity
|
|
2083
|
+
modified_by: property(attribute: "modified_by") {
|
|
2084
|
+
... on LinkValue {
|
|
2085
|
+
value {
|
|
2086
|
+
...RecordIdentity
|
|
2087
|
+
}
|
|
2107
2088
|
}
|
|
2089
|
+
}
|
|
2108
2090
|
}
|
|
2091
|
+
updatedValues {
|
|
2092
|
+
attribute
|
|
2093
|
+
value {
|
|
2094
|
+
...ValueDetails
|
|
2095
|
+
}
|
|
2096
|
+
}
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2109
2099
|
${RecordIdentityFragmentDoc}
|
|
2110
|
-
|
|
2111
|
-
`;
|
|
2100
|
+
${ValueDetailsFragmentDoc}`;
|
|
2112
2101
|
/**
|
|
2113
2102
|
* __useRecordUpdateSubscription__
|
|
2114
2103
|
*
|
|
@@ -2131,9 +2120,9 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2131
2120
|
}
|
|
2132
2121
|
export const IndexRecordsDocument = gql `
|
|
2133
2122
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
`;
|
|
2123
|
+
indexRecords(libraryId: $libraryId, records: $records)
|
|
2124
|
+
}
|
|
2125
|
+
`;
|
|
2137
2126
|
/**
|
|
2138
2127
|
* __useIndexRecordsMutation__
|
|
2139
2128
|
*
|
|
@@ -2158,9 +2147,9 @@ export function useIndexRecordsMutation(baseOptions) {
|
|
|
2158
2147
|
}
|
|
2159
2148
|
export const CancelTaskDocument = gql `
|
|
2160
2149
|
mutation CANCEL_TASK($taskId: ID!) {
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
`;
|
|
2150
|
+
cancelTask(taskId: $taskId)
|
|
2151
|
+
}
|
|
2152
|
+
`;
|
|
2164
2153
|
/**
|
|
2165
2154
|
* __useCancelTaskMutation__
|
|
2166
2155
|
*
|
|
@@ -2184,11 +2173,11 @@ export function useCancelTaskMutation(baseOptions) {
|
|
|
2184
2173
|
}
|
|
2185
2174
|
export const CheckTreeExistenceDocument = gql `
|
|
2186
2175
|
query CHECK_TREE_EXISTENCE($id: [ID!]) {
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
`;
|
|
2176
|
+
trees(filters: {id: $id}) {
|
|
2177
|
+
totalCount
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
`;
|
|
2192
2181
|
/**
|
|
2193
2182
|
* __useCheckTreeExistenceQuery__
|
|
2194
2183
|
*
|
|
@@ -2215,11 +2204,11 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2215
2204
|
}
|
|
2216
2205
|
export const DeleteTreeDocument = gql `
|
|
2217
2206
|
mutation DELETE_TREE($id: ID!) {
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
`;
|
|
2207
|
+
deleteTree(id: $id) {
|
|
2208
|
+
id
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
`;
|
|
2223
2212
|
/**
|
|
2224
2213
|
* __useDeleteTreeMutation__
|
|
2225
2214
|
*
|
|
@@ -2243,14 +2232,13 @@ export function useDeleteTreeMutation(baseOptions) {
|
|
|
2243
2232
|
}
|
|
2244
2233
|
export const GetTreeByIdDocument = gql `
|
|
2245
2234
|
query GET_TREE_BY_ID($id: [ID!]) {
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
}
|
|
2250
|
-
}
|
|
2235
|
+
trees(filters: {id: $id}) {
|
|
2236
|
+
list {
|
|
2237
|
+
...TreeDetails
|
|
2251
2238
|
}
|
|
2252
|
-
|
|
2253
|
-
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
${TreeDetailsFragmentDoc}`;
|
|
2254
2242
|
/**
|
|
2255
2243
|
* __useGetTreeByIdQuery__
|
|
2256
2244
|
*
|
|
@@ -2277,29 +2265,29 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2277
2265
|
}
|
|
2278
2266
|
export const GetTreeLibrariesDocument = gql `
|
|
2279
2267
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
}
|
|
2293
|
-
settings {
|
|
2294
|
-
allowMultiplePositions
|
|
2295
|
-
allowedChildren
|
|
2296
|
-
allowedAtRoot
|
|
2297
|
-
}
|
|
2298
|
-
}
|
|
2299
|
-
}
|
|
2268
|
+
trees(filters: {id: $treeId, library: $library}) {
|
|
2269
|
+
totalCount
|
|
2270
|
+
list {
|
|
2271
|
+
id
|
|
2272
|
+
behavior
|
|
2273
|
+
system
|
|
2274
|
+
libraries {
|
|
2275
|
+
library {
|
|
2276
|
+
id
|
|
2277
|
+
label
|
|
2278
|
+
behavior
|
|
2279
|
+
system
|
|
2300
2280
|
}
|
|
2281
|
+
settings {
|
|
2282
|
+
allowMultiplePositions
|
|
2283
|
+
allowedChildren
|
|
2284
|
+
allowedAtRoot
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2301
2287
|
}
|
|
2302
|
-
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
`;
|
|
2303
2291
|
/**
|
|
2304
2292
|
* __useGetTreeLibrariesQuery__
|
|
2305
2293
|
*
|
|
@@ -2327,14 +2315,13 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2327
2315
|
}
|
|
2328
2316
|
export const GetTreesDocument = gql `
|
|
2329
2317
|
query GET_TREES {
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
}
|
|
2334
|
-
}
|
|
2318
|
+
trees {
|
|
2319
|
+
list {
|
|
2320
|
+
...TreeLight
|
|
2335
2321
|
}
|
|
2336
|
-
|
|
2337
|
-
|
|
2322
|
+
}
|
|
2323
|
+
}
|
|
2324
|
+
${TreeLightFragmentDoc}`;
|
|
2338
2325
|
/**
|
|
2339
2326
|
* __useGetTreesQuery__
|
|
2340
2327
|
*
|
|
@@ -2360,12 +2347,11 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2360
2347
|
}
|
|
2361
2348
|
export const SaveTreeDocument = gql `
|
|
2362
2349
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
${TreeDetailsFragmentDoc}
|
|
2368
|
-
`;
|
|
2350
|
+
saveTree(tree: $tree) {
|
|
2351
|
+
...TreeDetails
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
${TreeDetailsFragmentDoc}`;
|
|
2369
2355
|
/**
|
|
2370
2356
|
* __useSaveTreeMutation__
|
|
2371
2357
|
*
|
|
@@ -2389,15 +2375,14 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2389
2375
|
}
|
|
2390
2376
|
export const TreeNodeChildrenDocument = gql `
|
|
2391
2377
|
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
}
|
|
2397
|
-
}
|
|
2378
|
+
treeNodeChildren(treeId: $treeId, node: $node, pagination: $pagination) {
|
|
2379
|
+
totalCount
|
|
2380
|
+
list {
|
|
2381
|
+
...TreeNodeChild
|
|
2398
2382
|
}
|
|
2399
|
-
|
|
2400
|
-
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
${TreeNodeChildFragmentDoc}`;
|
|
2401
2386
|
/**
|
|
2402
2387
|
* __useTreeNodeChildrenQuery__
|
|
2403
2388
|
*
|
|
@@ -2426,12 +2411,12 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2426
2411
|
}
|
|
2427
2412
|
export const GetUserDataDocument = gql `
|
|
2428
2413
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
`;
|
|
2414
|
+
userData(keys: $keys, global: $global) {
|
|
2415
|
+
global
|
|
2416
|
+
data
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
`;
|
|
2435
2420
|
/**
|
|
2436
2421
|
* __useGetUserDataQuery__
|
|
2437
2422
|
*
|
|
@@ -2459,12 +2444,12 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2459
2444
|
}
|
|
2460
2445
|
export const SaveUserDataDocument = gql `
|
|
2461
2446
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
`;
|
|
2447
|
+
saveUserData(key: $key, value: $value, global: $global) {
|
|
2448
|
+
global
|
|
2449
|
+
data
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2452
|
+
`;
|
|
2468
2453
|
/**
|
|
2469
2454
|
* __useSaveUserDataMutation__
|
|
2470
2455
|
*
|
|
@@ -2490,12 +2475,16 @@ export function useSaveUserDataMutation(baseOptions) {
|
|
|
2490
2475
|
}
|
|
2491
2476
|
export const DeleteValueDocument = gql `
|
|
2492
2477
|
mutation DELETE_VALUE($library: ID!, $recordId: ID!, $attribute: ID!, $value: ValueInput) {
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
$
|
|
2498
|
-
|
|
2478
|
+
deleteValue(
|
|
2479
|
+
library: $library
|
|
2480
|
+
recordId: $recordId
|
|
2481
|
+
attribute: $attribute
|
|
2482
|
+
value: $value
|
|
2483
|
+
) {
|
|
2484
|
+
...ValueDetails
|
|
2485
|
+
}
|
|
2486
|
+
}
|
|
2487
|
+
${ValueDetailsFragmentDoc}`;
|
|
2499
2488
|
/**
|
|
2500
2489
|
* __useDeleteValueMutation__
|
|
2501
2490
|
*
|
|
@@ -2522,12 +2511,15 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2522
2511
|
}
|
|
2523
2512
|
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2524
2513
|
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2514
|
+
runActionsListAndFormatOnValue(
|
|
2515
|
+
library: $library
|
|
2516
|
+
value: $value
|
|
2517
|
+
version: $version
|
|
2518
|
+
) {
|
|
2519
|
+
...ValueDetails
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
${ValueDetailsFragmentDoc}`;
|
|
2531
2523
|
/**
|
|
2532
2524
|
* __useRunActionsListAndFormatOnValueQuery__
|
|
2533
2525
|
*
|
|
@@ -2555,33 +2547,26 @@ export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
|
2555
2547
|
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2556
2548
|
}
|
|
2557
2549
|
export const SaveValueBatchDocument = gql `
|
|
2558
|
-
mutation SAVE_VALUE_BATCH(
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
input
|
|
2579
|
-
message
|
|
2580
|
-
}
|
|
2581
|
-
}
|
|
2582
|
-
}
|
|
2583
|
-
${ValueDetailsFragmentDoc}
|
|
2584
|
-
`;
|
|
2550
|
+
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2551
|
+
saveValueBatch(
|
|
2552
|
+
library: $library
|
|
2553
|
+
recordId: $recordId
|
|
2554
|
+
version: $version
|
|
2555
|
+
values: $values
|
|
2556
|
+
deleteEmpty: $deleteEmpty
|
|
2557
|
+
) {
|
|
2558
|
+
values {
|
|
2559
|
+
...ValueDetails
|
|
2560
|
+
}
|
|
2561
|
+
errors {
|
|
2562
|
+
type
|
|
2563
|
+
attribute
|
|
2564
|
+
input
|
|
2565
|
+
message
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
${ValueDetailsFragmentDoc}`;
|
|
2585
2570
|
/**
|
|
2586
2571
|
* __useSaveValueBatchMutation__
|
|
2587
2572
|
*
|
|
@@ -2609,12 +2594,12 @@ export function useSaveValueBatchMutation(baseOptions) {
|
|
|
2609
2594
|
}
|
|
2610
2595
|
export const DeleteViewDocument = gql `
|
|
2611
2596
|
mutation DELETE_VIEW($viewId: String!) {
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
`;
|
|
2597
|
+
deleteView(viewId: $viewId) {
|
|
2598
|
+
id
|
|
2599
|
+
library
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2602
|
+
`;
|
|
2618
2603
|
/**
|
|
2619
2604
|
* __useDeleteViewMutation__
|
|
2620
2605
|
*
|
|
@@ -2638,12 +2623,11 @@ export function useDeleteViewMutation(baseOptions) {
|
|
|
2638
2623
|
}
|
|
2639
2624
|
export const GetViewDocument = gql `
|
|
2640
2625
|
query GET_VIEW($viewId: String!) {
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
${ViewDetailsFragmentDoc}
|
|
2646
|
-
`;
|
|
2626
|
+
view(viewId: $viewId) {
|
|
2627
|
+
...ViewDetails
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
${ViewDetailsFragmentDoc}`;
|
|
2647
2631
|
/**
|
|
2648
2632
|
* __useGetViewQuery__
|
|
2649
2633
|
*
|
|
@@ -2670,15 +2654,14 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2670
2654
|
}
|
|
2671
2655
|
export const GetViewsListDocument = gql `
|
|
2672
2656
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
}
|
|
2678
|
-
}
|
|
2657
|
+
views(library: $libraryId) {
|
|
2658
|
+
totalCount
|
|
2659
|
+
list {
|
|
2660
|
+
...ViewDetails
|
|
2679
2661
|
}
|
|
2680
|
-
|
|
2681
|
-
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
${ViewDetailsFragmentDoc}`;
|
|
2682
2665
|
/**
|
|
2683
2666
|
* __useGetViewsListQuery__
|
|
2684
2667
|
*
|
|
@@ -2705,12 +2688,11 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2705
2688
|
}
|
|
2706
2689
|
export const AddViewDocument = gql `
|
|
2707
2690
|
mutation ADD_VIEW($view: ViewInput!) {
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
${ViewDetailsFragmentDoc}
|
|
2713
|
-
`;
|
|
2691
|
+
saveView(view: $view) {
|
|
2692
|
+
...ViewDetails
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
${ViewDetailsFragmentDoc}`;
|
|
2714
2696
|
/**
|
|
2715
2697
|
* __useAddViewMutation__
|
|
2716
2698
|
*
|
|
@@ -2734,21 +2716,24 @@ export function useAddViewMutation(baseOptions) {
|
|
|
2734
2716
|
}
|
|
2735
2717
|
export const ExplorerDocument = gql `
|
|
2736
2718
|
query Explorer($libraryId: ID!, $attributeIds: [ID!]!, $filters: [RecordFilterInput]) {
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2719
|
+
records(library: $libraryId, filters: $filters) {
|
|
2720
|
+
list {
|
|
2721
|
+
...RecordIdentity
|
|
2722
|
+
properties(attributeIds: $attributeIds) {
|
|
2723
|
+
attributeId
|
|
2724
|
+
attributeProperties {
|
|
2725
|
+
...AttributeProperties
|
|
2726
|
+
}
|
|
2727
|
+
values {
|
|
2728
|
+
...PropertyValue
|
|
2747
2729
|
}
|
|
2730
|
+
}
|
|
2748
2731
|
}
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2749
2734
|
${RecordIdentityFragmentDoc}
|
|
2750
|
-
|
|
2751
|
-
`;
|
|
2735
|
+
${AttributePropertiesFragmentDoc}
|
|
2736
|
+
${PropertyValueFragmentDoc}`;
|
|
2752
2737
|
/**
|
|
2753
2738
|
* __useExplorerQuery__
|
|
2754
2739
|
*
|
|
@@ -2775,4 +2760,38 @@ export function useExplorerLazyQuery(baseOptions) {
|
|
|
2775
2760
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2776
2761
|
return Apollo.useLazyQuery(ExplorerDocument, options);
|
|
2777
2762
|
}
|
|
2763
|
+
export const ExplorerLibraryDataDocument = gql `
|
|
2764
|
+
query ExplorerLibraryData($libraryId: ID!) {
|
|
2765
|
+
libraries(filters: {id: [$libraryId]}) {
|
|
2766
|
+
list {
|
|
2767
|
+
id
|
|
2768
|
+
label
|
|
2769
|
+
}
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2772
|
+
`;
|
|
2773
|
+
/**
|
|
2774
|
+
* __useExplorerLibraryDataQuery__
|
|
2775
|
+
*
|
|
2776
|
+
* To run a query within a React component, call `useExplorerLibraryDataQuery` and pass it any options that fit your needs.
|
|
2777
|
+
* When your component renders, `useExplorerLibraryDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2778
|
+
* you can use to render your UI.
|
|
2779
|
+
*
|
|
2780
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
2781
|
+
*
|
|
2782
|
+
* @example
|
|
2783
|
+
* const { data, loading, error } = useExplorerLibraryDataQuery({
|
|
2784
|
+
* variables: {
|
|
2785
|
+
* libraryId: // value for 'libraryId'
|
|
2786
|
+
* },
|
|
2787
|
+
* });
|
|
2788
|
+
*/
|
|
2789
|
+
export function useExplorerLibraryDataQuery(baseOptions) {
|
|
2790
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2791
|
+
return Apollo.useQuery(ExplorerLibraryDataDocument, options);
|
|
2792
|
+
}
|
|
2793
|
+
export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
2794
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2795
|
+
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
2796
|
+
}
|
|
2778
2797
|
//# sourceMappingURL=index.js.map
|