@leav/ui 0.3.6-032b1da → 0.3.6-0ce6d58
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/attribute.js +2 -1
- package/dist/__mocks__/common/attribute.js.map +1 -1
- package/dist/__mocks__/common/form.js +2 -2
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +187 -0
- package/dist/_gqlTypes/index.js +1066 -1000
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js +2 -0
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/records/getRecordPropertiesQuery.js +2 -0
- package/dist/_queries/records/getRecordPropertiesQuery.js.map +1 -1
- package/dist/_queries/records/recordFormAttributeFragment.js +2 -0
- package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
- package/dist/_utils/index.d.ts +2 -0
- package/dist/_utils/index.js +4 -0
- package/dist/_utils/index.js.map +1 -1
- package/dist/components/Explorer/DataView.d.ts +1 -1
- package/dist/components/Explorer/Explorer.d.ts +1 -1
- package/dist/components/Explorer/Explorer.js +5 -3
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +11 -0
- package/dist/components/Explorer/{useExplorerData.js → _queries/useExplorerData.js} +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -0
- package/dist/components/Explorer/_types.js +2 -0
- package/dist/components/Explorer/_types.js.map +1 -0
- package/dist/components/Explorer/edit-settings/ColumnItem.d.ts +11 -0
- package/dist/components/Explorer/edit-settings/ColumnItem.js +59 -0
- package/dist/components/Explorer/edit-settings/ColumnItem.js.map +1 -0
- package/dist/components/Explorer/edit-settings/DisplayMode.d.ts +6 -0
- package/dist/components/Explorer/edit-settings/DisplayMode.js +25 -0
- package/dist/components/Explorer/edit-settings/DisplayMode.js.map +1 -0
- package/dist/components/Explorer/edit-settings/DisplayModeTable.d.ts +6 -0
- package/dist/components/Explorer/edit-settings/DisplayModeTable.js +74 -0
- package/dist/components/Explorer/edit-settings/DisplayModeTable.js.map +1 -0
- package/dist/components/Explorer/edit-settings/EditSettingsContext.d.ts +13 -0
- package/dist/components/Explorer/edit-settings/EditSettingsContext.js +14 -0
- package/dist/components/Explorer/edit-settings/EditSettingsContext.js.map +1 -0
- package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.d.ts +2 -0
- package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.js +16 -0
- package/dist/components/Explorer/edit-settings/EditSettingsContextProvider.js.map +1 -0
- package/dist/components/Explorer/edit-settings/SettingItem.d.ts +9 -0
- package/dist/components/Explorer/edit-settings/SettingItem.js +55 -0
- package/dist/components/Explorer/edit-settings/SettingItem.js.map +1 -0
- package/dist/components/Explorer/edit-settings/SettingsPanel.d.ts +7 -0
- package/dist/components/Explorer/edit-settings/SettingsPanel.js +53 -0
- package/dist/components/Explorer/edit-settings/SettingsPanel.js.map +1 -0
- package/dist/components/Explorer/edit-settings/SidePanel.d.ts +2 -0
- package/dist/components/Explorer/edit-settings/SidePanel.js +19 -0
- package/dist/components/Explorer/edit-settings/SidePanel.js.map +1 -0
- package/dist/components/Explorer/edit-settings/useEditSettings.d.ts +1 -0
- package/dist/components/Explorer/edit-settings/useEditSettings.js +7 -0
- package/dist/components/Explorer/edit-settings/useEditSettings.js.map +1 -0
- package/dist/components/Explorer/edit-settings/useGetLibraryColumns.d.ts +10 -0
- package/dist/components/Explorer/edit-settings/useGetLibraryColumns.js +24 -0
- package/dist/components/Explorer/edit-settings/useGetLibraryColumns.js.map +1 -0
- package/dist/components/Explorer/edit-settings/useOpenSettings.d.ts +1 -0
- package/dist/components/Explorer/edit-settings/useOpenSettings.js +19 -0
- package/dist/components/Explorer/edit-settings/useOpenSettings.js.map +1 -0
- package/dist/components/Explorer/index.d.ts +11 -1
- package/dist/components/Explorer/index.js +8 -1
- package/dist/components/Explorer/index.js.map +1 -1
- package/dist/components/Explorer/useCreateMainAction.d.ts +1 -1
- package/dist/components/Explorer/useCreateMainAction.js +1 -1
- package/dist/components/Explorer/useCreateMainAction.js.map +1 -1
- package/dist/components/Explorer/useDeactivateAction.d.ts +1 -1
- package/dist/components/Explorer/useDeactivateAction.js +1 -1
- package/dist/components/Explorer/useDeactivateAction.js.map +1 -1
- package/dist/components/Explorer/useEditAction.d.ts +1 -1
- package/dist/components/Explorer/useEditAction.js +1 -1
- package/dist/components/Explorer/useEditAction.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +21 -3
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.d.ts +121 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +31 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js +3 -9
- package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +7 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +7 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js +39 -29
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js +5 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js +145 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.d.ts +17 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.js +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.js.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/locales/en/shared.json +19 -3
- package/dist/locales/fr/shared.json +19 -3
- package/package.json +2 -2
- package/dist/components/Explorer/types.js +0 -2
- package/dist/components/Explorer/types.js.map +0 -1
- package/dist/components/Explorer/useExplorerData.d.ts +0 -11
- package/dist/components/Explorer/useExplorerData.js.map +0 -1
- /package/dist/components/Explorer/{types.d.ts → _types.d.ts} +0 -0
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -327,574 +327,587 @@ 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}
|
|
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}
|
|
364
|
+
`;
|
|
364
365
|
export const AttributeDetailsFragmentDoc = gql `
|
|
365
366
|
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 {
|
|
387
367
|
id
|
|
368
|
+
type
|
|
369
|
+
format
|
|
370
|
+
system
|
|
371
|
+
readonly
|
|
388
372
|
label
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
373
|
+
description
|
|
374
|
+
multiple_values
|
|
375
|
+
metadata_fields {
|
|
376
|
+
id
|
|
377
|
+
label
|
|
378
|
+
type
|
|
379
|
+
format
|
|
380
|
+
}
|
|
381
|
+
versions_conf {
|
|
382
|
+
versionable
|
|
383
|
+
mode
|
|
384
|
+
profile {
|
|
385
|
+
id
|
|
386
|
+
label
|
|
387
|
+
trees {
|
|
388
|
+
id
|
|
389
|
+
label
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
libraries {
|
|
394
|
+
id
|
|
395
|
+
label
|
|
396
|
+
}
|
|
397
|
+
... on StandardAttribute {
|
|
398
|
+
unique
|
|
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
|
+
`;
|
|
415
416
|
export const AttributesByLibAttributeFragmentDoc = gql `
|
|
416
417
|
fragment AttributesByLibAttribute on Attribute {
|
|
417
|
-
|
|
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
|
-
|
|
418
|
+
id
|
|
419
|
+
type
|
|
420
|
+
format
|
|
421
|
+
label
|
|
422
|
+
multiple_values
|
|
423
|
+
system
|
|
424
|
+
readonly
|
|
425
|
+
... on LinkAttribute {
|
|
426
|
+
linked_library {
|
|
427
|
+
id
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
... on TreeAttribute {
|
|
431
|
+
linked_tree {
|
|
432
|
+
id
|
|
433
|
+
label
|
|
434
|
+
libraries {
|
|
435
|
+
library {
|
|
436
|
+
id
|
|
437
|
+
label
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
... on StandardAttribute {
|
|
443
|
+
embedded_fields {
|
|
444
|
+
id
|
|
445
|
+
format
|
|
446
|
+
label
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
`;
|
|
450
451
|
export const LibraryLightFragmentDoc = gql `
|
|
451
452
|
fragment LibraryLight on Library {
|
|
452
|
-
id
|
|
453
|
-
label
|
|
454
|
-
icon {
|
|
455
|
-
id
|
|
456
|
-
whoAmI {
|
|
457
|
-
id
|
|
458
|
-
library {
|
|
459
453
|
id
|
|
460
|
-
|
|
461
|
-
|
|
454
|
+
label
|
|
455
|
+
icon {
|
|
456
|
+
id
|
|
457
|
+
whoAmI {
|
|
458
|
+
id
|
|
459
|
+
library {
|
|
460
|
+
id
|
|
461
|
+
}
|
|
462
|
+
preview
|
|
463
|
+
}
|
|
464
|
+
}
|
|
462
465
|
}
|
|
463
|
-
|
|
464
|
-
}
|
|
465
|
-
`;
|
|
466
|
+
`;
|
|
466
467
|
export const LibraryLinkAttributeDetailsFragmentDoc = gql `
|
|
467
468
|
fragment LibraryLinkAttributeDetails on LinkAttribute {
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
}
|
|
473
|
-
|
|
469
|
+
linked_library {
|
|
470
|
+
id
|
|
471
|
+
behavior
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
`;
|
|
474
475
|
export const LibraryAttributesFragmentDoc = gql `
|
|
475
476
|
fragment LibraryAttributes on Attribute {
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
}
|
|
483
|
-
${LibraryLinkAttributeDetailsFragmentDoc}
|
|
477
|
+
id
|
|
478
|
+
label
|
|
479
|
+
system
|
|
480
|
+
type
|
|
481
|
+
format
|
|
482
|
+
...LibraryLinkAttributeDetails
|
|
483
|
+
}
|
|
484
|
+
${LibraryLinkAttributeDetailsFragmentDoc}
|
|
485
|
+
`;
|
|
484
486
|
export const LibraryPreviewsSettingsFragmentDoc = gql `
|
|
485
487
|
fragment LibraryPreviewsSettings on LibraryPreviewsSettings {
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
}
|
|
498
|
-
|
|
488
|
+
label
|
|
489
|
+
description
|
|
490
|
+
system
|
|
491
|
+
versions {
|
|
492
|
+
background
|
|
493
|
+
density
|
|
494
|
+
sizes {
|
|
495
|
+
name
|
|
496
|
+
size
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
`;
|
|
499
501
|
export const LibraryDetailsFragmentDoc = gql `
|
|
500
502
|
fragment LibraryDetails on Library {
|
|
501
|
-
|
|
502
|
-
|
|
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
|
-
}
|
|
503
|
+
id
|
|
504
|
+
label
|
|
505
|
+
behavior
|
|
506
|
+
system
|
|
507
|
+
label
|
|
508
|
+
fullTextAttributes {
|
|
509
|
+
id
|
|
510
|
+
label
|
|
511
|
+
}
|
|
512
|
+
attributes {
|
|
513
|
+
...LibraryAttributes
|
|
514
|
+
}
|
|
515
|
+
permissions_conf {
|
|
516
|
+
permissionTreeAttributes {
|
|
517
|
+
id
|
|
518
|
+
... on TreeAttribute {
|
|
519
|
+
linked_tree {
|
|
520
|
+
id
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
label
|
|
524
|
+
}
|
|
525
|
+
relation
|
|
526
|
+
}
|
|
527
|
+
recordIdentityConf {
|
|
528
|
+
label
|
|
529
|
+
subLabel
|
|
530
|
+
color
|
|
531
|
+
preview
|
|
532
|
+
treeColorPreview
|
|
533
|
+
}
|
|
534
|
+
permissions {
|
|
535
|
+
admin_library
|
|
536
|
+
access_library
|
|
537
|
+
access_record
|
|
538
|
+
create_record
|
|
539
|
+
edit_record
|
|
540
|
+
delete_record
|
|
541
|
+
}
|
|
542
|
+
icon {
|
|
543
|
+
...RecordIdentity
|
|
544
|
+
}
|
|
545
|
+
previewsSettings {
|
|
546
|
+
...LibraryPreviewsSettings
|
|
547
|
+
}
|
|
548
|
+
}
|
|
547
549
|
${LibraryAttributesFragmentDoc}
|
|
548
|
-
${RecordIdentityFragmentDoc}
|
|
549
|
-
${LibraryPreviewsSettingsFragmentDoc}
|
|
550
|
+
${RecordIdentityFragmentDoc}
|
|
551
|
+
${LibraryPreviewsSettingsFragmentDoc}
|
|
552
|
+
`;
|
|
550
553
|
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
551
554
|
fragment ValuesVersionDetails on ValueVersion {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
555
|
+
treeId
|
|
556
|
+
treeNode {
|
|
557
|
+
id
|
|
558
|
+
record {
|
|
559
|
+
id
|
|
560
|
+
whoAmI {
|
|
561
|
+
id
|
|
562
|
+
label
|
|
563
|
+
library {
|
|
564
|
+
id
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
}
|
|
562
568
|
}
|
|
563
|
-
}
|
|
564
569
|
}
|
|
565
|
-
|
|
566
|
-
}
|
|
567
|
-
`;
|
|
570
|
+
`;
|
|
568
571
|
export const ValueDetailsFragmentDoc = gql `
|
|
569
572
|
fragment ValueDetails on GenericValue {
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
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
|
-
|
|
573
|
+
id_value
|
|
574
|
+
isInherited
|
|
575
|
+
isCalculated
|
|
576
|
+
modified_at
|
|
577
|
+
modified_by {
|
|
578
|
+
...RecordIdentity
|
|
579
|
+
}
|
|
580
|
+
created_at
|
|
581
|
+
created_by {
|
|
582
|
+
...RecordIdentity
|
|
583
|
+
}
|
|
584
|
+
version {
|
|
585
|
+
...ValuesVersionDetails
|
|
586
|
+
}
|
|
587
|
+
attribute {
|
|
588
|
+
id
|
|
589
|
+
format
|
|
590
|
+
type
|
|
591
|
+
system
|
|
592
|
+
}
|
|
593
|
+
metadata {
|
|
594
|
+
name
|
|
595
|
+
value {
|
|
596
|
+
id_value
|
|
597
|
+
modified_at
|
|
598
|
+
modified_by {
|
|
599
|
+
...RecordIdentity
|
|
600
|
+
}
|
|
601
|
+
created_at
|
|
602
|
+
created_by {
|
|
603
|
+
...RecordIdentity
|
|
604
|
+
}
|
|
605
|
+
version {
|
|
606
|
+
...ValuesVersionDetails
|
|
607
|
+
}
|
|
608
|
+
payload
|
|
609
|
+
raw_payload
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
... on Value {
|
|
613
|
+
payload
|
|
614
|
+
raw_payload
|
|
615
|
+
value
|
|
616
|
+
raw_value
|
|
617
|
+
}
|
|
618
|
+
... on LinkValue {
|
|
619
|
+
linkValue: payload {
|
|
620
|
+
...RecordIdentity
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
... on TreeValue {
|
|
624
|
+
treeValue: payload {
|
|
625
|
+
id
|
|
626
|
+
record {
|
|
627
|
+
...RecordIdentity
|
|
628
|
+
}
|
|
629
|
+
ancestors {
|
|
630
|
+
record {
|
|
631
|
+
...RecordIdentity
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
629
635
|
}
|
|
630
|
-
}
|
|
631
636
|
}
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
637
|
${RecordIdentityFragmentDoc}
|
|
635
|
-
${ValuesVersionDetailsFragmentDoc}
|
|
638
|
+
${ValuesVersionDetailsFragmentDoc}
|
|
639
|
+
`;
|
|
636
640
|
export const StandardValuesListFragmentFragmentDoc = gql `
|
|
637
641
|
fragment StandardValuesListFragment on StandardValuesListConf {
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
}
|
|
652
|
-
|
|
642
|
+
... on StandardStringValuesListConf {
|
|
643
|
+
enable
|
|
644
|
+
allowFreeEntry
|
|
645
|
+
allowListUpdate
|
|
646
|
+
values
|
|
647
|
+
}
|
|
648
|
+
... on StandardDateRangeValuesListConf {
|
|
649
|
+
enable
|
|
650
|
+
allowFreeEntry
|
|
651
|
+
allowListUpdate
|
|
652
|
+
dateRangeValues: values {
|
|
653
|
+
from
|
|
654
|
+
to
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
`;
|
|
653
659
|
export const RecordFormAttributeFragmentDoc = gql `
|
|
654
660
|
fragment RecordFormAttribute on Attribute {
|
|
655
|
-
id
|
|
656
|
-
label
|
|
657
|
-
description
|
|
658
|
-
type
|
|
659
|
-
format
|
|
660
|
-
system
|
|
661
|
-
readonly
|
|
662
|
-
multiple_values
|
|
663
|
-
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
664
|
-
access_attribute
|
|
665
|
-
edit_value
|
|
666
|
-
}
|
|
667
|
-
versions_conf {
|
|
668
|
-
versionable
|
|
669
|
-
profile {
|
|
670
|
-
id
|
|
671
|
-
trees {
|
|
672
661
|
id
|
|
673
662
|
label
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
system
|
|
684
|
-
readonly
|
|
685
|
-
multiple_values
|
|
686
|
-
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
687
|
-
access_attribute
|
|
688
|
-
edit_value
|
|
689
|
-
}
|
|
690
|
-
values_list {
|
|
691
|
-
...StandardValuesListFragment
|
|
692
|
-
}
|
|
693
|
-
metadata_fields {
|
|
694
|
-
id
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
... on StandardAttribute {
|
|
698
|
-
values_list {
|
|
699
|
-
...StandardValuesListFragment
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
... on LinkAttribute {
|
|
703
|
-
linked_library {
|
|
704
|
-
id
|
|
705
|
-
label
|
|
706
|
-
behavior
|
|
707
|
-
permissions {
|
|
708
|
-
create_record
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
linkValuesList: values_list {
|
|
712
|
-
enable
|
|
713
|
-
allowFreeEntry
|
|
714
|
-
values {
|
|
715
|
-
...RecordIdentity
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
... on TreeAttribute {
|
|
720
|
-
linked_tree {
|
|
721
|
-
id
|
|
722
|
-
label
|
|
723
|
-
}
|
|
724
|
-
treeValuesList: values_list {
|
|
725
|
-
enable
|
|
726
|
-
allowFreeEntry
|
|
727
|
-
values {
|
|
728
|
-
id
|
|
729
|
-
record {
|
|
730
|
-
...RecordIdentity
|
|
663
|
+
description
|
|
664
|
+
type
|
|
665
|
+
format
|
|
666
|
+
system
|
|
667
|
+
readonly
|
|
668
|
+
multiple_values
|
|
669
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
670
|
+
access_attribute
|
|
671
|
+
edit_value
|
|
731
672
|
}
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
673
|
+
versions_conf {
|
|
674
|
+
versionable
|
|
675
|
+
profile {
|
|
676
|
+
id
|
|
677
|
+
trees {
|
|
678
|
+
id
|
|
679
|
+
label
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
metadata_fields {
|
|
684
|
+
id
|
|
685
|
+
label
|
|
686
|
+
description
|
|
687
|
+
type
|
|
688
|
+
format
|
|
689
|
+
system
|
|
690
|
+
readonly
|
|
691
|
+
multiple_values
|
|
692
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
693
|
+
access_attribute
|
|
694
|
+
edit_value
|
|
695
|
+
}
|
|
696
|
+
values_list {
|
|
697
|
+
...StandardValuesListFragment
|
|
698
|
+
}
|
|
699
|
+
metadata_fields {
|
|
700
|
+
id
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
... on StandardAttribute {
|
|
704
|
+
values_list {
|
|
705
|
+
...StandardValuesListFragment
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
... on LinkAttribute {
|
|
709
|
+
linked_library {
|
|
710
|
+
id
|
|
711
|
+
label
|
|
712
|
+
behavior
|
|
713
|
+
permissions {
|
|
714
|
+
create_record
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
linkValuesList: values_list {
|
|
718
|
+
enable
|
|
719
|
+
allowFreeEntry
|
|
720
|
+
allowListUpdate
|
|
721
|
+
values {
|
|
722
|
+
...RecordIdentity
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
... on TreeAttribute {
|
|
727
|
+
linked_tree {
|
|
728
|
+
id
|
|
729
|
+
label
|
|
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
747
|
}
|
|
737
|
-
}
|
|
738
748
|
}
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
749
|
${StandardValuesListFragmentFragmentDoc}
|
|
742
|
-
${RecordIdentityFragmentDoc}
|
|
750
|
+
${RecordIdentityFragmentDoc}
|
|
751
|
+
`;
|
|
743
752
|
export const RecordFormElementFragmentDoc = gql `
|
|
744
753
|
fragment RecordFormElement on FormElementWithValues {
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}
|
|
754
|
+
id
|
|
755
|
+
containerId
|
|
756
|
+
uiElementType
|
|
757
|
+
type
|
|
758
|
+
valueError
|
|
759
|
+
values {
|
|
760
|
+
...ValueDetails
|
|
761
|
+
}
|
|
762
|
+
attribute {
|
|
763
|
+
...RecordFormAttribute
|
|
764
|
+
}
|
|
765
|
+
settings {
|
|
766
|
+
key
|
|
767
|
+
value
|
|
768
|
+
}
|
|
769
|
+
}
|
|
761
770
|
${ValueDetailsFragmentDoc}
|
|
762
|
-
${RecordFormAttributeFragmentDoc}
|
|
771
|
+
${RecordFormAttributeFragmentDoc}
|
|
772
|
+
`;
|
|
763
773
|
export const TreeLightFragmentDoc = gql `
|
|
764
774
|
fragment TreeLight on Tree {
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
}
|
|
768
|
-
|
|
775
|
+
id
|
|
776
|
+
label
|
|
777
|
+
}
|
|
778
|
+
`;
|
|
769
779
|
export const TreeDetailsFragmentDoc = gql `
|
|
770
780
|
fragment TreeDetails on Tree {
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
}
|
|
787
|
-
|
|
781
|
+
id
|
|
782
|
+
label
|
|
783
|
+
behavior
|
|
784
|
+
system
|
|
785
|
+
libraries {
|
|
786
|
+
library {
|
|
787
|
+
id
|
|
788
|
+
label
|
|
789
|
+
}
|
|
790
|
+
settings {
|
|
791
|
+
allowMultiplePositions
|
|
792
|
+
allowedAtRoot
|
|
793
|
+
allowedChildren
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
`;
|
|
788
798
|
export const TreeNodeChildFragmentDoc = gql `
|
|
789
799
|
fragment TreeNodeChild on TreeNodeLight {
|
|
790
|
-
id
|
|
791
|
-
order
|
|
792
|
-
childrenCount
|
|
793
|
-
record {
|
|
794
|
-
...RecordIdentity
|
|
795
|
-
active: property(attribute: "active") {
|
|
796
|
-
... on Value {
|
|
797
|
-
value
|
|
798
|
-
}
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
ancestors {
|
|
802
|
-
id
|
|
803
|
-
record {
|
|
804
|
-
id
|
|
805
|
-
library {
|
|
806
800
|
id
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
801
|
+
order
|
|
802
|
+
childrenCount
|
|
803
|
+
record {
|
|
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
|
+
}
|
|
810
827
|
}
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
access_tree
|
|
814
|
-
detach
|
|
815
|
-
edit_children
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
${RecordIdentityFragmentDoc}`;
|
|
828
|
+
${RecordIdentityFragmentDoc}
|
|
829
|
+
`;
|
|
819
830
|
export const ViewDetailsFragmentDoc = gql `
|
|
820
831
|
fragment ViewDetails on View {
|
|
821
|
-
id
|
|
822
|
-
display {
|
|
823
|
-
size
|
|
824
|
-
type
|
|
825
|
-
}
|
|
826
|
-
shared
|
|
827
|
-
created_by {
|
|
828
|
-
id
|
|
829
|
-
whoAmI {
|
|
830
|
-
id
|
|
831
|
-
label
|
|
832
|
-
library {
|
|
833
832
|
id
|
|
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
|
-
|
|
833
|
+
display {
|
|
834
|
+
size
|
|
835
|
+
type
|
|
836
|
+
}
|
|
837
|
+
shared
|
|
838
|
+
created_by {
|
|
839
|
+
id
|
|
840
|
+
whoAmI {
|
|
841
|
+
id
|
|
842
|
+
label
|
|
843
|
+
library {
|
|
844
|
+
id
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
label
|
|
849
|
+
description
|
|
850
|
+
color
|
|
851
|
+
filters {
|
|
852
|
+
field
|
|
853
|
+
value
|
|
854
|
+
tree {
|
|
855
|
+
id
|
|
856
|
+
label
|
|
857
|
+
}
|
|
858
|
+
condition
|
|
859
|
+
operator
|
|
860
|
+
}
|
|
861
|
+
sort {
|
|
862
|
+
field
|
|
863
|
+
order
|
|
864
|
+
}
|
|
865
|
+
valuesVersions {
|
|
866
|
+
treeId
|
|
867
|
+
treeNode {
|
|
868
|
+
id
|
|
869
|
+
record {
|
|
870
|
+
...RecordIdentity
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
settings {
|
|
875
|
+
name
|
|
876
|
+
value
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
${RecordIdentityFragmentDoc}
|
|
880
|
+
`;
|
|
869
881
|
export const PropertyValueFragmentDoc = gql `
|
|
870
882
|
fragment PropertyValue on GenericValue {
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
}
|
|
890
|
-
${RecordIdentityFragmentDoc}
|
|
883
|
+
attribute {
|
|
884
|
+
type
|
|
885
|
+
}
|
|
886
|
+
... on Value {
|
|
887
|
+
valuePayload: payload
|
|
888
|
+
}
|
|
889
|
+
... on LinkValue {
|
|
890
|
+
linkPayload: payload {
|
|
891
|
+
...RecordIdentity
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
... on TreeValue {
|
|
895
|
+
treePayload: payload {
|
|
896
|
+
record {
|
|
897
|
+
...RecordIdentity
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
${RecordIdentityFragmentDoc}
|
|
903
|
+
`;
|
|
891
904
|
export const CheckApplicationExistenceDocument = gql `
|
|
892
905
|
query CHECK_APPLICATION_EXISTENCE($id: ID, $endpoint: String) {
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
}
|
|
897
|
-
|
|
906
|
+
applications(filters: {id: $id, endpoint: $endpoint}) {
|
|
907
|
+
totalCount
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
`;
|
|
898
911
|
/**
|
|
899
912
|
* __useCheckApplicationExistenceQuery__
|
|
900
913
|
*
|
|
@@ -922,13 +935,14 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
922
935
|
}
|
|
923
936
|
export const GetApplicationByIdDocument = gql `
|
|
924
937
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
938
|
+
applications(filters: {id: $id}) {
|
|
939
|
+
list {
|
|
940
|
+
...DetailsApplication
|
|
941
|
+
}
|
|
942
|
+
}
|
|
928
943
|
}
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
${DetailsApplicationFragmentDoc}`;
|
|
944
|
+
${DetailsApplicationFragmentDoc}
|
|
945
|
+
`;
|
|
932
946
|
/**
|
|
933
947
|
* __useGetApplicationByIdQuery__
|
|
934
948
|
*
|
|
@@ -955,13 +969,13 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
955
969
|
}
|
|
956
970
|
export const GetApplicationModulesDocument = gql `
|
|
957
971
|
query GET_APPLICATION_MODULES {
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
}
|
|
964
|
-
|
|
972
|
+
applicationsModules {
|
|
973
|
+
id
|
|
974
|
+
description
|
|
975
|
+
version
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
`;
|
|
965
979
|
/**
|
|
966
980
|
* __useGetApplicationModulesQuery__
|
|
967
981
|
*
|
|
@@ -987,11 +1001,12 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
987
1001
|
}
|
|
988
1002
|
export const SaveApplicationDocument = gql `
|
|
989
1003
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
}
|
|
994
|
-
${DetailsApplicationFragmentDoc}
|
|
1004
|
+
saveApplication(application: $application) {
|
|
1005
|
+
...DetailsApplication
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
${DetailsApplicationFragmentDoc}
|
|
1009
|
+
`;
|
|
995
1010
|
/**
|
|
996
1011
|
* __useSaveApplicationMutation__
|
|
997
1012
|
*
|
|
@@ -1015,11 +1030,11 @@ export function useSaveApplicationMutation(baseOptions) {
|
|
|
1015
1030
|
}
|
|
1016
1031
|
export const CheckAttributeExistenceDocument = gql `
|
|
1017
1032
|
query CHECK_ATTRIBUTE_EXISTENCE($id: ID!) {
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1033
|
+
attributes(filters: {id: $id}) {
|
|
1034
|
+
totalCount
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
`;
|
|
1023
1038
|
/**
|
|
1024
1039
|
* __useCheckAttributeExistenceQuery__
|
|
1025
1040
|
*
|
|
@@ -1046,11 +1061,11 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1046
1061
|
}
|
|
1047
1062
|
export const DeleteAttributeDocument = gql `
|
|
1048
1063
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1064
|
+
deleteAttribute(id: $id) {
|
|
1065
|
+
id
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
`;
|
|
1054
1069
|
/**
|
|
1055
1070
|
* __useDeleteAttributeMutation__
|
|
1056
1071
|
*
|
|
@@ -1074,13 +1089,14 @@ export function useDeleteAttributeMutation(baseOptions) {
|
|
|
1074
1089
|
}
|
|
1075
1090
|
export const GetAttributeByIdDocument = gql `
|
|
1076
1091
|
query GET_ATTRIBUTE_BY_ID($id: ID) {
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1092
|
+
attributes(filters: {id: $id}) {
|
|
1093
|
+
list {
|
|
1094
|
+
...AttributeDetails
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1080
1097
|
}
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
${AttributeDetailsFragmentDoc}`;
|
|
1098
|
+
${AttributeDetailsFragmentDoc}
|
|
1099
|
+
`;
|
|
1084
1100
|
/**
|
|
1085
1101
|
* __useGetAttributeByIdQuery__
|
|
1086
1102
|
*
|
|
@@ -1107,13 +1123,14 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1107
1123
|
}
|
|
1108
1124
|
export const GetAttributesByLibDocument = gql `
|
|
1109
1125
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1126
|
+
attributes(filters: {libraries: [$library]}) {
|
|
1127
|
+
list {
|
|
1128
|
+
...AttributesByLibAttribute
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1113
1131
|
}
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
${AttributesByLibAttributeFragmentDoc}`;
|
|
1132
|
+
${AttributesByLibAttributeFragmentDoc}
|
|
1133
|
+
`;
|
|
1117
1134
|
/**
|
|
1118
1135
|
* __useGetAttributesByLibQuery__
|
|
1119
1136
|
*
|
|
@@ -1140,18 +1157,18 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1140
1157
|
}
|
|
1141
1158
|
export const GetAttributesDocument = gql `
|
|
1142
1159
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1160
|
+
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
1161
|
+
totalCount
|
|
1162
|
+
list {
|
|
1163
|
+
id
|
|
1164
|
+
label
|
|
1165
|
+
type
|
|
1166
|
+
format
|
|
1167
|
+
system
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
`;
|
|
1155
1172
|
/**
|
|
1156
1173
|
* __useGetAttributesQuery__
|
|
1157
1174
|
*
|
|
@@ -1180,14 +1197,14 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1180
1197
|
}
|
|
1181
1198
|
export const GetVersionProfilesDocument = gql `
|
|
1182
1199
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1200
|
+
versionProfiles(filters: $filters, sort: $sort) {
|
|
1201
|
+
list {
|
|
1202
|
+
id
|
|
1203
|
+
label
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1187
1206
|
}
|
|
1188
|
-
|
|
1189
|
-
}
|
|
1190
|
-
`;
|
|
1207
|
+
`;
|
|
1191
1208
|
/**
|
|
1192
1209
|
* __useGetVersionProfilesQuery__
|
|
1193
1210
|
*
|
|
@@ -1215,23 +1232,23 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1215
1232
|
}
|
|
1216
1233
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1217
1234
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1235
|
+
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
1236
|
+
list {
|
|
1237
|
+
id
|
|
1238
|
+
versions_conf {
|
|
1239
|
+
versionable
|
|
1240
|
+
profile {
|
|
1241
|
+
id
|
|
1242
|
+
trees {
|
|
1243
|
+
id
|
|
1244
|
+
label
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1229
1249
|
}
|
|
1230
|
-
}
|
|
1231
1250
|
}
|
|
1232
|
-
|
|
1233
|
-
}
|
|
1234
|
-
`;
|
|
1251
|
+
`;
|
|
1235
1252
|
/**
|
|
1236
1253
|
* __useGetVersionableAttributesByLibraryQuery__
|
|
1237
1254
|
*
|
|
@@ -1258,11 +1275,12 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1258
1275
|
}
|
|
1259
1276
|
export const SaveAttributeDocument = gql `
|
|
1260
1277
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
}
|
|
1265
|
-
${AttributeDetailsFragmentDoc}
|
|
1278
|
+
saveAttribute(attribute: $attribute) {
|
|
1279
|
+
...AttributeDetails
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
${AttributeDetailsFragmentDoc}
|
|
1283
|
+
`;
|
|
1266
1284
|
/**
|
|
1267
1285
|
* __useSaveAttributeMutation__
|
|
1268
1286
|
*
|
|
@@ -1286,9 +1304,9 @@ export function useSaveAttributeMutation(baseOptions) {
|
|
|
1286
1304
|
}
|
|
1287
1305
|
export const ExportDocument = gql `
|
|
1288
1306
|
query EXPORT($library: ID!, $attributes: [ID!], $filters: [RecordFilterInput!]) {
|
|
1289
|
-
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1307
|
+
export(library: $library, attributes: $attributes, filters: $filters)
|
|
1308
|
+
}
|
|
1309
|
+
`;
|
|
1292
1310
|
/**
|
|
1293
1311
|
* __useExportQuery__
|
|
1294
1312
|
*
|
|
@@ -1317,11 +1335,12 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1317
1335
|
}
|
|
1318
1336
|
export const CreateDirectoryDocument = gql `
|
|
1319
1337
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
}
|
|
1324
|
-
${RecordIdentityFragmentDoc}
|
|
1338
|
+
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
1339
|
+
...RecordIdentity
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
${RecordIdentityFragmentDoc}
|
|
1343
|
+
`;
|
|
1325
1344
|
/**
|
|
1326
1345
|
* __useCreateDirectoryMutation__
|
|
1327
1346
|
*
|
|
@@ -1346,16 +1365,22 @@ export function useCreateDirectoryMutation(baseOptions) {
|
|
|
1346
1365
|
return Apollo.useMutation(CreateDirectoryDocument, options);
|
|
1347
1366
|
}
|
|
1348
1367
|
export const ForcePreviewsGenerationDocument = gql `
|
|
1349
|
-
mutation FORCE_PREVIEWS_GENERATION(
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1368
|
+
mutation FORCE_PREVIEWS_GENERATION(
|
|
1369
|
+
$libraryId: ID!
|
|
1370
|
+
$filters: [RecordFilterInput!]
|
|
1371
|
+
$recordIds: [ID!]
|
|
1372
|
+
$failedOnly: Boolean
|
|
1373
|
+
$previewVersionSizeNames: [String!]
|
|
1374
|
+
) {
|
|
1375
|
+
forcePreviewsGeneration(
|
|
1376
|
+
libraryId: $libraryId
|
|
1377
|
+
filters: $filters
|
|
1378
|
+
recordIds: $recordIds
|
|
1379
|
+
failedOnly: $failedOnly
|
|
1380
|
+
previewVersionSizeNames: $previewVersionSizeNames
|
|
1381
|
+
)
|
|
1382
|
+
}
|
|
1383
|
+
`;
|
|
1359
1384
|
/**
|
|
1360
1385
|
* __useForcePreviewsGenerationMutation__
|
|
1361
1386
|
*
|
|
@@ -1383,53 +1408,51 @@ export function useForcePreviewsGenerationMutation(baseOptions) {
|
|
|
1383
1408
|
}
|
|
1384
1409
|
export const GetDirectoryDataDocument = gql `
|
|
1385
1410
|
query GET_DIRECTORY_DATA($library: ID!, $directoryId: String!) {
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1411
|
+
records(library: $library, filters: [{field: "id", value: $directoryId, condition: EQUAL}]) {
|
|
1412
|
+
list {
|
|
1413
|
+
...RecordIdentity
|
|
1414
|
+
created_at: property(attribute: "created_at") {
|
|
1415
|
+
... on Value {
|
|
1416
|
+
value
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
created_by: property(attribute: "created_by") {
|
|
1420
|
+
... on LinkValue {
|
|
1421
|
+
value {
|
|
1422
|
+
...RecordIdentity
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
modified_at: property(attribute: "modified_at") {
|
|
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
|
+
}
|
|
1395
1452
|
}
|
|
1396
|
-
}
|
|
1397
|
-
created_by: property(attribute: "created_by") {
|
|
1398
|
-
... on LinkValue {
|
|
1399
|
-
value {
|
|
1400
|
-
...RecordIdentity
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
}
|
|
1404
|
-
modified_at: property(attribute: "modified_at") {
|
|
1405
|
-
... on Value {
|
|
1406
|
-
value
|
|
1407
|
-
}
|
|
1408
|
-
}
|
|
1409
|
-
modified_by: property(attribute: "modified_by") {
|
|
1410
|
-
... on LinkValue {
|
|
1411
|
-
value {
|
|
1412
|
-
...RecordIdentity
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
}
|
|
1416
|
-
file_name: property(attribute: "file_name") {
|
|
1417
|
-
... on Value {
|
|
1418
|
-
value
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
file_path: property(attribute: "file_path") {
|
|
1422
|
-
... on Value {
|
|
1423
|
-
value
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
|
-
library {
|
|
1427
|
-
behavior
|
|
1428
|
-
}
|
|
1429
1453
|
}
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
${RecordIdentityFragmentDoc}`;
|
|
1454
|
+
${RecordIdentityFragmentDoc}
|
|
1455
|
+
`;
|
|
1433
1456
|
/**
|
|
1434
1457
|
* __useGetDirectoryDataQuery__
|
|
1435
1458
|
*
|
|
@@ -1457,22 +1480,22 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1457
1480
|
}
|
|
1458
1481
|
export const UploadUpdateDocument = gql `
|
|
1459
1482
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1483
|
+
upload(filters: $filters) {
|
|
1484
|
+
userId
|
|
1485
|
+
progress {
|
|
1486
|
+
length
|
|
1487
|
+
transferred
|
|
1488
|
+
speed
|
|
1489
|
+
runtime
|
|
1490
|
+
remaining
|
|
1491
|
+
percentage
|
|
1492
|
+
eta
|
|
1493
|
+
delta
|
|
1494
|
+
}
|
|
1495
|
+
uid
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
`;
|
|
1476
1499
|
/**
|
|
1477
1500
|
* __useUploadUpdateSubscription__
|
|
1478
1501
|
*
|
|
@@ -1495,14 +1518,15 @@ export function useUploadUpdateSubscription(baseOptions) {
|
|
|
1495
1518
|
}
|
|
1496
1519
|
export const UploadDocument = gql `
|
|
1497
1520
|
mutation UPLOAD($library: String!, $nodeId: String!, $files: [FileInput!]!) {
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1521
|
+
upload(library: $library, nodeId: $nodeId, files: $files) {
|
|
1522
|
+
uid
|
|
1523
|
+
record {
|
|
1524
|
+
...RecordIdentity
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1502
1527
|
}
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
${RecordIdentityFragmentDoc}`;
|
|
1528
|
+
${RecordIdentityFragmentDoc}
|
|
1529
|
+
`;
|
|
1506
1530
|
/**
|
|
1507
1531
|
* __useUploadMutation__
|
|
1508
1532
|
*
|
|
@@ -1528,9 +1552,9 @@ export function useUploadMutation(baseOptions) {
|
|
|
1528
1552
|
}
|
|
1529
1553
|
export const ImportExcelDocument = gql `
|
|
1530
1554
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1531
|
-
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1555
|
+
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
1556
|
+
}
|
|
1557
|
+
`;
|
|
1534
1558
|
/**
|
|
1535
1559
|
* __useImportExcelMutation__
|
|
1536
1560
|
*
|
|
@@ -1556,11 +1580,11 @@ export function useImportExcelMutation(baseOptions) {
|
|
|
1556
1580
|
}
|
|
1557
1581
|
export const CheckLibraryExistenceDocument = gql `
|
|
1558
1582
|
query CHECK_LIBRARY_EXISTENCE($id: [ID!]) {
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1583
|
+
libraries(filters: {id: $id}) {
|
|
1584
|
+
totalCount
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
`;
|
|
1564
1588
|
/**
|
|
1565
1589
|
* __useCheckLibraryExistenceQuery__
|
|
1566
1590
|
*
|
|
@@ -1587,11 +1611,11 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1587
1611
|
}
|
|
1588
1612
|
export const DeleteLibraryDocument = gql `
|
|
1589
1613
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
}
|
|
1594
|
-
|
|
1614
|
+
deleteLibrary(id: $id) {
|
|
1615
|
+
id
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
`;
|
|
1595
1619
|
/**
|
|
1596
1620
|
* __useDeleteLibraryMutation__
|
|
1597
1621
|
*
|
|
@@ -1615,13 +1639,14 @@ export function useDeleteLibraryMutation(baseOptions) {
|
|
|
1615
1639
|
}
|
|
1616
1640
|
export const GetLibrariesDocument = gql `
|
|
1617
1641
|
query GET_LIBRARIES {
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1642
|
+
libraries {
|
|
1643
|
+
list {
|
|
1644
|
+
...LibraryLight
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1621
1647
|
}
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
${LibraryLightFragmentDoc}`;
|
|
1648
|
+
${LibraryLightFragmentDoc}
|
|
1649
|
+
`;
|
|
1625
1650
|
/**
|
|
1626
1651
|
* __useGetLibrariesQuery__
|
|
1627
1652
|
*
|
|
@@ -1647,13 +1672,14 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1647
1672
|
}
|
|
1648
1673
|
export const GetLibraryByIdDocument = gql `
|
|
1649
1674
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1675
|
+
libraries(filters: {id: $id}) {
|
|
1676
|
+
list {
|
|
1677
|
+
...LibraryDetails
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1653
1680
|
}
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
${LibraryDetailsFragmentDoc}`;
|
|
1681
|
+
${LibraryDetailsFragmentDoc}
|
|
1682
|
+
`;
|
|
1657
1683
|
/**
|
|
1658
1684
|
* __useGetLibraryByIdQuery__
|
|
1659
1685
|
*
|
|
@@ -1680,19 +1706,19 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1680
1706
|
}
|
|
1681
1707
|
export const GetLibraryPermissionsDocument = gql `
|
|
1682
1708
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1709
|
+
libraries(filters: {id: $libraryId}) {
|
|
1710
|
+
list {
|
|
1711
|
+
permissions {
|
|
1712
|
+
access_library
|
|
1713
|
+
access_record
|
|
1714
|
+
create_record
|
|
1715
|
+
edit_record
|
|
1716
|
+
delete_record
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
`;
|
|
1696
1722
|
/**
|
|
1697
1723
|
* __useGetLibraryPermissionsQuery__
|
|
1698
1724
|
*
|
|
@@ -1719,28 +1745,28 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1719
1745
|
}
|
|
1720
1746
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1721
1747
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1748
|
+
libraries(filters: {id: [$id]}) {
|
|
1749
|
+
list {
|
|
1750
|
+
id
|
|
1751
|
+
label
|
|
1752
|
+
behavior
|
|
1753
|
+
previewsSettings {
|
|
1754
|
+
description
|
|
1755
|
+
label
|
|
1756
|
+
system
|
|
1757
|
+
versions {
|
|
1758
|
+
background
|
|
1759
|
+
density
|
|
1760
|
+
sizes {
|
|
1761
|
+
name
|
|
1762
|
+
size
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1738
1767
|
}
|
|
1739
|
-
}
|
|
1740
1768
|
}
|
|
1741
|
-
|
|
1742
|
-
}
|
|
1743
|
-
`;
|
|
1769
|
+
`;
|
|
1744
1770
|
/**
|
|
1745
1771
|
* __useGetLibraryPreviewsSettingsQuery__
|
|
1746
1772
|
*
|
|
@@ -1767,11 +1793,12 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1767
1793
|
}
|
|
1768
1794
|
export const SaveLibraryDocument = gql `
|
|
1769
1795
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
}
|
|
1774
|
-
${LibraryDetailsFragmentDoc}
|
|
1796
|
+
saveLibrary(library: $library) {
|
|
1797
|
+
...LibraryDetails
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
${LibraryDetailsFragmentDoc}
|
|
1801
|
+
`;
|
|
1775
1802
|
/**
|
|
1776
1803
|
* __useSaveLibraryMutation__
|
|
1777
1804
|
*
|
|
@@ -1794,13 +1821,18 @@ export function useSaveLibraryMutation(baseOptions) {
|
|
|
1794
1821
|
return Apollo.useMutation(SaveLibraryDocument, options);
|
|
1795
1822
|
}
|
|
1796
1823
|
export const IsAllowedDocument = gql `
|
|
1797
|
-
query IS_ALLOWED(
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1824
|
+
query IS_ALLOWED(
|
|
1825
|
+
$type: PermissionTypes!
|
|
1826
|
+
$actions: [PermissionsActions!]!
|
|
1827
|
+
$applyTo: ID
|
|
1828
|
+
$target: PermissionTarget
|
|
1829
|
+
) {
|
|
1830
|
+
isAllowed(type: $type, actions: $actions, applyTo: $applyTo, target: $target) {
|
|
1831
|
+
name
|
|
1832
|
+
allowed
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
`;
|
|
1804
1836
|
/**
|
|
1805
1837
|
* __useIsAllowedQuery__
|
|
1806
1838
|
*
|
|
@@ -1830,20 +1862,21 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1830
1862
|
}
|
|
1831
1863
|
export const CreateRecordDocument = gql `
|
|
1832
1864
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1865
|
+
createRecord(library: $library, data: $data) {
|
|
1866
|
+
record {
|
|
1867
|
+
...RecordIdentity
|
|
1868
|
+
}
|
|
1869
|
+
valuesErrors {
|
|
1870
|
+
attributeId
|
|
1871
|
+
id_value
|
|
1872
|
+
input
|
|
1873
|
+
message
|
|
1874
|
+
type
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1843
1877
|
}
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
${RecordIdentityFragmentDoc}`;
|
|
1878
|
+
${RecordIdentityFragmentDoc}
|
|
1879
|
+
`;
|
|
1847
1880
|
/**
|
|
1848
1881
|
* __useCreateRecordMutation__
|
|
1849
1882
|
*
|
|
@@ -1868,16 +1901,13 @@ export function useCreateRecordMutation(baseOptions) {
|
|
|
1868
1901
|
}
|
|
1869
1902
|
export const DeactivateRecordsDocument = gql `
|
|
1870
1903
|
mutation DEACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
}
|
|
1879
|
-
}
|
|
1880
|
-
${RecordIdentityFragmentDoc}`;
|
|
1904
|
+
deactivateRecords(recordsIds: $recordsIds, filters: $filters, libraryId: $libraryId) {
|
|
1905
|
+
id
|
|
1906
|
+
...RecordIdentity
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
${RecordIdentityFragmentDoc}
|
|
1910
|
+
`;
|
|
1881
1911
|
/**
|
|
1882
1912
|
* __useDeactivateRecordsMutation__
|
|
1883
1913
|
*
|
|
@@ -1903,13 +1933,9 @@ export function useDeactivateRecordsMutation(baseOptions) {
|
|
|
1903
1933
|
}
|
|
1904
1934
|
export const DoesFileExistAsChildDocument = gql `
|
|
1905
1935
|
query DOES_FILE_EXIST_AS_CHILD($parentNode: ID, $treeId: ID!, $filename: String!) {
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
filename: $filename
|
|
1910
|
-
)
|
|
1911
|
-
}
|
|
1912
|
-
`;
|
|
1936
|
+
doesFileExistAsChild(parentNode: $parentNode, treeId: $treeId, filename: $filename)
|
|
1937
|
+
}
|
|
1938
|
+
`;
|
|
1913
1939
|
/**
|
|
1914
1940
|
* __useDoesFileExistAsChildQuery__
|
|
1915
1941
|
*
|
|
@@ -1938,58 +1964,56 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
1938
1964
|
}
|
|
1939
1965
|
export const GetFileDataDocument = gql `
|
|
1940
1966
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1967
|
+
records(library: $library, filters: [{field: "id", value: $fileId, condition: EQUAL}]) {
|
|
1968
|
+
list {
|
|
1969
|
+
...RecordIdentity
|
|
1970
|
+
created_at: property(attribute: "created_at") {
|
|
1971
|
+
... on Value {
|
|
1972
|
+
value
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
created_by: property(attribute: "created_by") {
|
|
1976
|
+
... on LinkValue {
|
|
1977
|
+
value {
|
|
1978
|
+
...RecordIdentity
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
modified_at: property(attribute: "modified_at") {
|
|
1983
|
+
... on Value {
|
|
1984
|
+
value
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1987
|
+
modified_by: property(attribute: "modified_by") {
|
|
1988
|
+
... on LinkValue {
|
|
1989
|
+
value {
|
|
1990
|
+
...RecordIdentity
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
file_name: property(attribute: "file_name") {
|
|
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
|
+
}
|
|
1950
2013
|
}
|
|
1951
|
-
}
|
|
1952
|
-
created_by: property(attribute: "created_by") {
|
|
1953
|
-
... on LinkValue {
|
|
1954
|
-
value {
|
|
1955
|
-
...RecordIdentity
|
|
1956
|
-
}
|
|
1957
|
-
}
|
|
1958
|
-
}
|
|
1959
|
-
modified_at: property(attribute: "modified_at") {
|
|
1960
|
-
... on Value {
|
|
1961
|
-
value
|
|
1962
|
-
}
|
|
1963
|
-
}
|
|
1964
|
-
modified_by: property(attribute: "modified_by") {
|
|
1965
|
-
... on LinkValue {
|
|
1966
|
-
value {
|
|
1967
|
-
...RecordIdentity
|
|
1968
|
-
}
|
|
1969
|
-
}
|
|
1970
|
-
}
|
|
1971
|
-
file_name: property(attribute: "file_name") {
|
|
1972
|
-
... on Value {
|
|
1973
|
-
value
|
|
1974
|
-
}
|
|
1975
|
-
}
|
|
1976
|
-
file_path: property(attribute: "file_path") {
|
|
1977
|
-
... on Value {
|
|
1978
|
-
value
|
|
1979
|
-
}
|
|
1980
|
-
}
|
|
1981
|
-
previews_status: property(attribute: $previewsStatusAttribute) {
|
|
1982
|
-
... on Value {
|
|
1983
|
-
value
|
|
1984
|
-
}
|
|
1985
|
-
}
|
|
1986
|
-
library {
|
|
1987
|
-
behavior
|
|
1988
|
-
}
|
|
1989
2014
|
}
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
${RecordIdentityFragmentDoc}`;
|
|
2015
|
+
${RecordIdentityFragmentDoc}
|
|
2016
|
+
`;
|
|
1993
2017
|
/**
|
|
1994
2018
|
* __useGetFileDataQuery__
|
|
1995
2019
|
*
|
|
@@ -2018,26 +2042,22 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2018
2042
|
}
|
|
2019
2043
|
export const RecordFormDocument = gql `
|
|
2020
2044
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
}
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
}
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2040
|
-
${RecordFormElementFragmentDoc}`;
|
|
2045
|
+
recordForm(recordId: $recordId, libraryId: $libraryId, formId: $formId, version: $version) {
|
|
2046
|
+
id
|
|
2047
|
+
recordId
|
|
2048
|
+
library {
|
|
2049
|
+
id
|
|
2050
|
+
}
|
|
2051
|
+
dependencyAttributes {
|
|
2052
|
+
id
|
|
2053
|
+
}
|
|
2054
|
+
elements {
|
|
2055
|
+
...RecordFormElement
|
|
2056
|
+
}
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
${RecordFormElementFragmentDoc}
|
|
2060
|
+
`;
|
|
2041
2061
|
/**
|
|
2042
2062
|
* __useRecordFormQuery__
|
|
2043
2063
|
*
|
|
@@ -2067,27 +2087,28 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2067
2087
|
}
|
|
2068
2088
|
export const RecordUpdateDocument = gql `
|
|
2069
2089
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2090
|
+
recordUpdate(filters: $filters) {
|
|
2091
|
+
record {
|
|
2092
|
+
...RecordIdentity
|
|
2093
|
+
modified_by: property(attribute: "modified_by") {
|
|
2094
|
+
... on LinkValue {
|
|
2095
|
+
value {
|
|
2096
|
+
...RecordIdentity
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
}
|
|
2101
|
+
updatedValues {
|
|
2102
|
+
attribute
|
|
2103
|
+
value {
|
|
2104
|
+
...ValueDetails
|
|
2105
|
+
}
|
|
2106
|
+
}
|
|
2078
2107
|
}
|
|
2079
|
-
}
|
|
2080
|
-
}
|
|
2081
|
-
updatedValues {
|
|
2082
|
-
attribute
|
|
2083
|
-
value {
|
|
2084
|
-
...ValueDetails
|
|
2085
|
-
}
|
|
2086
2108
|
}
|
|
2087
|
-
}
|
|
2088
|
-
}
|
|
2089
2109
|
${RecordIdentityFragmentDoc}
|
|
2090
|
-
${ValueDetailsFragmentDoc}
|
|
2110
|
+
${ValueDetailsFragmentDoc}
|
|
2111
|
+
`;
|
|
2091
2112
|
/**
|
|
2092
2113
|
* __useRecordUpdateSubscription__
|
|
2093
2114
|
*
|
|
@@ -2110,9 +2131,9 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2110
2131
|
}
|
|
2111
2132
|
export const IndexRecordsDocument = gql `
|
|
2112
2133
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2113
|
-
|
|
2114
|
-
}
|
|
2115
|
-
|
|
2134
|
+
indexRecords(libraryId: $libraryId, records: $records)
|
|
2135
|
+
}
|
|
2136
|
+
`;
|
|
2116
2137
|
/**
|
|
2117
2138
|
* __useIndexRecordsMutation__
|
|
2118
2139
|
*
|
|
@@ -2137,9 +2158,9 @@ export function useIndexRecordsMutation(baseOptions) {
|
|
|
2137
2158
|
}
|
|
2138
2159
|
export const CancelTaskDocument = gql `
|
|
2139
2160
|
mutation CANCEL_TASK($taskId: ID!) {
|
|
2140
|
-
|
|
2141
|
-
}
|
|
2142
|
-
|
|
2161
|
+
cancelTask(taskId: $taskId)
|
|
2162
|
+
}
|
|
2163
|
+
`;
|
|
2143
2164
|
/**
|
|
2144
2165
|
* __useCancelTaskMutation__
|
|
2145
2166
|
*
|
|
@@ -2163,11 +2184,11 @@ export function useCancelTaskMutation(baseOptions) {
|
|
|
2163
2184
|
}
|
|
2164
2185
|
export const CheckTreeExistenceDocument = gql `
|
|
2165
2186
|
query CHECK_TREE_EXISTENCE($id: [ID!]) {
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
}
|
|
2170
|
-
|
|
2187
|
+
trees(filters: {id: $id}) {
|
|
2188
|
+
totalCount
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
`;
|
|
2171
2192
|
/**
|
|
2172
2193
|
* __useCheckTreeExistenceQuery__
|
|
2173
2194
|
*
|
|
@@ -2194,11 +2215,11 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2194
2215
|
}
|
|
2195
2216
|
export const DeleteTreeDocument = gql `
|
|
2196
2217
|
mutation DELETE_TREE($id: ID!) {
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
}
|
|
2201
|
-
|
|
2218
|
+
deleteTree(id: $id) {
|
|
2219
|
+
id
|
|
2220
|
+
}
|
|
2221
|
+
}
|
|
2222
|
+
`;
|
|
2202
2223
|
/**
|
|
2203
2224
|
* __useDeleteTreeMutation__
|
|
2204
2225
|
*
|
|
@@ -2222,13 +2243,14 @@ export function useDeleteTreeMutation(baseOptions) {
|
|
|
2222
2243
|
}
|
|
2223
2244
|
export const GetTreeByIdDocument = gql `
|
|
2224
2245
|
query GET_TREE_BY_ID($id: [ID!]) {
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2246
|
+
trees(filters: {id: $id}) {
|
|
2247
|
+
list {
|
|
2248
|
+
...TreeDetails
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2228
2251
|
}
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
${TreeDetailsFragmentDoc}`;
|
|
2252
|
+
${TreeDetailsFragmentDoc}
|
|
2253
|
+
`;
|
|
2232
2254
|
/**
|
|
2233
2255
|
* __useGetTreeByIdQuery__
|
|
2234
2256
|
*
|
|
@@ -2255,29 +2277,29 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2255
2277
|
}
|
|
2256
2278
|
export const GetTreeLibrariesDocument = gql `
|
|
2257
2279
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2280
|
+
trees(filters: {id: $treeId, library: $library}) {
|
|
2281
|
+
totalCount
|
|
2282
|
+
list {
|
|
2283
|
+
id
|
|
2284
|
+
behavior
|
|
2285
|
+
system
|
|
2286
|
+
libraries {
|
|
2287
|
+
library {
|
|
2288
|
+
id
|
|
2289
|
+
label
|
|
2290
|
+
behavior
|
|
2291
|
+
system
|
|
2292
|
+
}
|
|
2293
|
+
settings {
|
|
2294
|
+
allowMultiplePositions
|
|
2295
|
+
allowedChildren
|
|
2296
|
+
allowedAtRoot
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2275
2300
|
}
|
|
2276
|
-
}
|
|
2277
2301
|
}
|
|
2278
|
-
|
|
2279
|
-
}
|
|
2280
|
-
`;
|
|
2302
|
+
`;
|
|
2281
2303
|
/**
|
|
2282
2304
|
* __useGetTreeLibrariesQuery__
|
|
2283
2305
|
*
|
|
@@ -2305,13 +2327,14 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2305
2327
|
}
|
|
2306
2328
|
export const GetTreesDocument = gql `
|
|
2307
2329
|
query GET_TREES {
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2330
|
+
trees {
|
|
2331
|
+
list {
|
|
2332
|
+
...TreeLight
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2311
2335
|
}
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
${TreeLightFragmentDoc}`;
|
|
2336
|
+
${TreeLightFragmentDoc}
|
|
2337
|
+
`;
|
|
2315
2338
|
/**
|
|
2316
2339
|
* __useGetTreesQuery__
|
|
2317
2340
|
*
|
|
@@ -2337,11 +2360,12 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2337
2360
|
}
|
|
2338
2361
|
export const SaveTreeDocument = gql `
|
|
2339
2362
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
}
|
|
2344
|
-
${TreeDetailsFragmentDoc}
|
|
2363
|
+
saveTree(tree: $tree) {
|
|
2364
|
+
...TreeDetails
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
${TreeDetailsFragmentDoc}
|
|
2368
|
+
`;
|
|
2345
2369
|
/**
|
|
2346
2370
|
* __useSaveTreeMutation__
|
|
2347
2371
|
*
|
|
@@ -2365,14 +2389,15 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2365
2389
|
}
|
|
2366
2390
|
export const TreeNodeChildrenDocument = gql `
|
|
2367
2391
|
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2392
|
+
treeNodeChildren(treeId: $treeId, node: $node, pagination: $pagination) {
|
|
2393
|
+
totalCount
|
|
2394
|
+
list {
|
|
2395
|
+
...TreeNodeChild
|
|
2396
|
+
}
|
|
2397
|
+
}
|
|
2372
2398
|
}
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
${TreeNodeChildFragmentDoc}`;
|
|
2399
|
+
${TreeNodeChildFragmentDoc}
|
|
2400
|
+
`;
|
|
2376
2401
|
/**
|
|
2377
2402
|
* __useTreeNodeChildrenQuery__
|
|
2378
2403
|
*
|
|
@@ -2401,12 +2426,12 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2401
2426
|
}
|
|
2402
2427
|
export const GetUserDataDocument = gql `
|
|
2403
2428
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
}
|
|
2409
|
-
|
|
2429
|
+
userData(keys: $keys, global: $global) {
|
|
2430
|
+
global
|
|
2431
|
+
data
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
`;
|
|
2410
2435
|
/**
|
|
2411
2436
|
* __useGetUserDataQuery__
|
|
2412
2437
|
*
|
|
@@ -2434,12 +2459,12 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2434
2459
|
}
|
|
2435
2460
|
export const SaveUserDataDocument = gql `
|
|
2436
2461
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
}
|
|
2442
|
-
|
|
2462
|
+
saveUserData(key: $key, value: $value, global: $global) {
|
|
2463
|
+
global
|
|
2464
|
+
data
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
`;
|
|
2443
2468
|
/**
|
|
2444
2469
|
* __useSaveUserDataMutation__
|
|
2445
2470
|
*
|
|
@@ -2465,16 +2490,12 @@ export function useSaveUserDataMutation(baseOptions) {
|
|
|
2465
2490
|
}
|
|
2466
2491
|
export const DeleteValueDocument = gql `
|
|
2467
2492
|
mutation DELETE_VALUE($library: ID!, $recordId: ID!, $attribute: ID!, $value: ValueInput) {
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
...ValueDetails
|
|
2475
|
-
}
|
|
2476
|
-
}
|
|
2477
|
-
${ValueDetailsFragmentDoc}`;
|
|
2493
|
+
deleteValue(library: $library, recordId: $recordId, attribute: $attribute, value: $value) {
|
|
2494
|
+
...ValueDetails
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
${ValueDetailsFragmentDoc}
|
|
2498
|
+
`;
|
|
2478
2499
|
/**
|
|
2479
2500
|
* __useDeleteValueMutation__
|
|
2480
2501
|
*
|
|
@@ -2499,27 +2520,68 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2499
2520
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2500
2521
|
return Apollo.useMutation(DeleteValueDocument, options);
|
|
2501
2522
|
}
|
|
2523
|
+
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2524
|
+
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2525
|
+
runActionsListAndFormatOnValue(library: $library, value: $value, version: $version) {
|
|
2526
|
+
...ValueDetails
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
${ValueDetailsFragmentDoc}
|
|
2530
|
+
`;
|
|
2531
|
+
/**
|
|
2532
|
+
* __useRunActionsListAndFormatOnValueQuery__
|
|
2533
|
+
*
|
|
2534
|
+
* To run a query within a React component, call `useRunActionsListAndFormatOnValueQuery` and pass it any options that fit your needs.
|
|
2535
|
+
* When your component renders, `useRunActionsListAndFormatOnValueQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2536
|
+
* you can use to render your UI.
|
|
2537
|
+
*
|
|
2538
|
+
* @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;
|
|
2539
|
+
*
|
|
2540
|
+
* @example
|
|
2541
|
+
* const { data, loading, error } = useRunActionsListAndFormatOnValueQuery({
|
|
2542
|
+
* variables: {
|
|
2543
|
+
* library: // value for 'library'
|
|
2544
|
+
* value: // value for 'value'
|
|
2545
|
+
* version: // value for 'version'
|
|
2546
|
+
* },
|
|
2547
|
+
* });
|
|
2548
|
+
*/
|
|
2549
|
+
export function useRunActionsListAndFormatOnValueQuery(baseOptions) {
|
|
2550
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2551
|
+
return Apollo.useQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2552
|
+
}
|
|
2553
|
+
export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
2554
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2555
|
+
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2556
|
+
}
|
|
2502
2557
|
export const SaveValueBatchDocument = gql `
|
|
2503
|
-
mutation SAVE_VALUE_BATCH(
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2558
|
+
mutation SAVE_VALUE_BATCH(
|
|
2559
|
+
$library: ID!
|
|
2560
|
+
$recordId: ID!
|
|
2561
|
+
$version: [ValueVersionInput!]
|
|
2562
|
+
$values: [ValueBatchInput!]!
|
|
2563
|
+
$deleteEmpty: Boolean
|
|
2564
|
+
) {
|
|
2565
|
+
saveValueBatch(
|
|
2566
|
+
library: $library
|
|
2567
|
+
recordId: $recordId
|
|
2568
|
+
version: $version
|
|
2569
|
+
values: $values
|
|
2570
|
+
deleteEmpty: $deleteEmpty
|
|
2571
|
+
) {
|
|
2572
|
+
values {
|
|
2573
|
+
...ValueDetails
|
|
2574
|
+
}
|
|
2575
|
+
errors {
|
|
2576
|
+
type
|
|
2577
|
+
attribute
|
|
2578
|
+
input
|
|
2579
|
+
message
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2583
|
+
${ValueDetailsFragmentDoc}
|
|
2584
|
+
`;
|
|
2523
2585
|
/**
|
|
2524
2586
|
* __useSaveValueBatchMutation__
|
|
2525
2587
|
*
|
|
@@ -2547,12 +2609,12 @@ export function useSaveValueBatchMutation(baseOptions) {
|
|
|
2547
2609
|
}
|
|
2548
2610
|
export const DeleteViewDocument = gql `
|
|
2549
2611
|
mutation DELETE_VIEW($viewId: String!) {
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
}
|
|
2555
|
-
|
|
2612
|
+
deleteView(viewId: $viewId) {
|
|
2613
|
+
id
|
|
2614
|
+
library
|
|
2615
|
+
}
|
|
2616
|
+
}
|
|
2617
|
+
`;
|
|
2556
2618
|
/**
|
|
2557
2619
|
* __useDeleteViewMutation__
|
|
2558
2620
|
*
|
|
@@ -2576,11 +2638,12 @@ export function useDeleteViewMutation(baseOptions) {
|
|
|
2576
2638
|
}
|
|
2577
2639
|
export const GetViewDocument = gql `
|
|
2578
2640
|
query GET_VIEW($viewId: String!) {
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
}
|
|
2583
|
-
${ViewDetailsFragmentDoc}
|
|
2641
|
+
view(viewId: $viewId) {
|
|
2642
|
+
...ViewDetails
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
${ViewDetailsFragmentDoc}
|
|
2646
|
+
`;
|
|
2584
2647
|
/**
|
|
2585
2648
|
* __useGetViewQuery__
|
|
2586
2649
|
*
|
|
@@ -2607,14 +2670,15 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2607
2670
|
}
|
|
2608
2671
|
export const GetViewsListDocument = gql `
|
|
2609
2672
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2673
|
+
views(library: $libraryId) {
|
|
2674
|
+
totalCount
|
|
2675
|
+
list {
|
|
2676
|
+
...ViewDetails
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2614
2679
|
}
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
${ViewDetailsFragmentDoc}`;
|
|
2680
|
+
${ViewDetailsFragmentDoc}
|
|
2681
|
+
`;
|
|
2618
2682
|
/**
|
|
2619
2683
|
* __useGetViewsListQuery__
|
|
2620
2684
|
*
|
|
@@ -2641,11 +2705,12 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2641
2705
|
}
|
|
2642
2706
|
export const AddViewDocument = gql `
|
|
2643
2707
|
mutation ADD_VIEW($view: ViewInput!) {
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
}
|
|
2648
|
-
${ViewDetailsFragmentDoc}
|
|
2708
|
+
saveView(view: $view) {
|
|
2709
|
+
...ViewDetails
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
${ViewDetailsFragmentDoc}
|
|
2713
|
+
`;
|
|
2649
2714
|
/**
|
|
2650
2715
|
* __useAddViewMutation__
|
|
2651
2716
|
*
|
|
@@ -2669,20 +2734,21 @@ export function useAddViewMutation(baseOptions) {
|
|
|
2669
2734
|
}
|
|
2670
2735
|
export const ExplorerDocument = gql `
|
|
2671
2736
|
query Explorer($libraryId: ID!, $attributeIds: [ID!]!, $filters: [RecordFilterInput]) {
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2737
|
+
records(library: $libraryId, filters: $filters) {
|
|
2738
|
+
list {
|
|
2739
|
+
...RecordIdentity
|
|
2740
|
+
properties(attributeIds: $attributeIds) {
|
|
2741
|
+
attributeId
|
|
2742
|
+
values {
|
|
2743
|
+
...PropertyValue
|
|
2744
|
+
}
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2679
2747
|
}
|
|
2680
|
-
}
|
|
2681
2748
|
}
|
|
2682
|
-
}
|
|
2683
|
-
}
|
|
2684
2749
|
${RecordIdentityFragmentDoc}
|
|
2685
|
-
${PropertyValueFragmentDoc}
|
|
2750
|
+
${PropertyValueFragmentDoc}
|
|
2751
|
+
`;
|
|
2686
2752
|
/**
|
|
2687
2753
|
* __useExplorerQuery__
|
|
2688
2754
|
*
|