@leav/ui 0.4.0-c10dd58e → 0.4.0-c689c2a2
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/_gqlTypes/index.d.ts +125 -215
- package/dist/_gqlTypes/index.js +1306 -1334
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_utils/attributeType.d.ts +2 -1
- package/dist/_utils/attributeType.js +2 -1
- package/dist/_utils/attributeType.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +1 -0
- package/dist/components/Explorer/Explorer.js +11 -3
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.d.ts +1 -1
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js +82 -31
- package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js +31 -27
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +18 -2
- package/dist/components/Explorer/_types.js +1 -0
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +2 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +2 -2
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +3 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +5 -18
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +6 -3
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +5 -19
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.d.ts +3 -0
- package/dist/components/Explorer/link-item/LinkModal.js +14 -4
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +22 -2
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +10 -7
- package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js +5 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.d.ts +3 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js +69 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +6 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +2 -0
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +31 -4
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +19 -8
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +2 -2
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +38 -12
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useLoadView.d.ts +1 -1
- package/dist/components/Explorer/useLoadView.js +32 -38
- package/dist/components/Explorer/useLoadView.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.js +1 -0
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +72 -224
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +6 -14
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +2 -5
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +28 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js +2 -8
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +9 -33
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.d.ts → link-record/useExplorerLinkRecords.d.ts} +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.js → link-record/useExplorerLinkRecords.js} +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecordsInEdition.d.ts → link-record/useLinkRecords.d.ts} +5 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +79 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +1 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +2 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +12 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +6 -10
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +22 -4
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +23 -5
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/index.d.ts +1 -1
- package/dist/components/RecordEdition/index.js +1 -1
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -0
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +6 -4
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +2 -0
- package/dist/components/SelectTreeNode/SelectTreeNode.js +2 -2
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +2 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +54 -43
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/_types.d.ts +1 -0
- package/dist/components/SelectTreeNode/_types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/types.d.ts +2 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +3 -3
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +5 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/LinkSelect/LinkSelect.d.ts +0 -15
- package/dist/components/LinkSelect/LinkSelect.js +0 -88
- package/dist/components/LinkSelect/LinkSelect.js.map +0 -1
- package/dist/components/LinkSelect/index.d.ts +0 -2
- package/dist/components/LinkSelect/index.js +0 -6
- package/dist/components/LinkSelect/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.d.ts +0 -6
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.js +0 -7
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.d.ts +0 -5
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js +0 -28
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.d.ts +0 -121
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +0 -31
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.d.ts +0 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js +0 -39
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js +0 -23
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js +0 -23
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js +0 -26
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.d.ts +0 -12
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js +0 -24
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.d.ts +0 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js +0 -103
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.d.ts +0 -22
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +0 -104
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +0 -311
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js +0 -15
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +0 -16
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +0 -35
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js.map +0 -1
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -190,6 +190,7 @@ export var PermissionsActions;
|
|
|
190
190
|
PermissionsActions["admin_access_applications"] = "admin_access_applications";
|
|
191
191
|
PermissionsActions["admin_access_attributes"] = "admin_access_attributes";
|
|
192
192
|
PermissionsActions["admin_access_libraries"] = "admin_access_libraries";
|
|
193
|
+
PermissionsActions["admin_access_logs"] = "admin_access_logs";
|
|
193
194
|
PermissionsActions["admin_access_permissions"] = "admin_access_permissions";
|
|
194
195
|
PermissionsActions["admin_access_tasks"] = "admin_access_tasks";
|
|
195
196
|
PermissionsActions["admin_access_trees"] = "admin_access_trees";
|
|
@@ -341,711 +342,734 @@ export var ViewTypes;
|
|
|
341
342
|
})(ViewTypes || (ViewTypes = {}));
|
|
342
343
|
export const RecordIdentityFragmentDoc = gql `
|
|
343
344
|
fragment RecordIdentity on Record {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
`;
|
|
345
|
+
id
|
|
346
|
+
whoAmI {
|
|
347
|
+
id
|
|
348
|
+
label
|
|
349
|
+
subLabel
|
|
350
|
+
color
|
|
351
|
+
library {
|
|
352
|
+
id
|
|
353
|
+
label
|
|
354
|
+
}
|
|
355
|
+
preview
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
`;
|
|
358
359
|
export const DetailsApplicationFragmentDoc = gql `
|
|
359
360
|
fragment DetailsApplication on Application {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
${RecordIdentityFragmentDoc}`;
|
|
361
|
+
id
|
|
362
|
+
label
|
|
363
|
+
type
|
|
364
|
+
description
|
|
365
|
+
endpoint
|
|
366
|
+
url
|
|
367
|
+
color
|
|
368
|
+
icon {
|
|
369
|
+
...RecordIdentity
|
|
370
|
+
}
|
|
371
|
+
module
|
|
372
|
+
permissions {
|
|
373
|
+
access_application
|
|
374
|
+
admin_application
|
|
375
|
+
}
|
|
376
|
+
settings
|
|
377
|
+
}
|
|
378
|
+
${RecordIdentityFragmentDoc}`;
|
|
378
379
|
export const AttributeDetailsFragmentDoc = gql `
|
|
379
380
|
fragment AttributeDetails on Attribute {
|
|
381
|
+
id
|
|
382
|
+
type
|
|
383
|
+
format
|
|
384
|
+
system
|
|
385
|
+
readonly
|
|
386
|
+
label
|
|
387
|
+
description
|
|
388
|
+
multiple_values
|
|
389
|
+
multi_link_display_option
|
|
390
|
+
metadata_fields {
|
|
391
|
+
id
|
|
392
|
+
label
|
|
393
|
+
type
|
|
394
|
+
format
|
|
395
|
+
}
|
|
396
|
+
versions_conf {
|
|
397
|
+
versionable
|
|
398
|
+
mode
|
|
399
|
+
profile {
|
|
400
|
+
id
|
|
401
|
+
label
|
|
402
|
+
trees {
|
|
380
403
|
id
|
|
381
|
-
type
|
|
382
|
-
format
|
|
383
|
-
system
|
|
384
|
-
readonly
|
|
385
404
|
label
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
... on StandardAttribute {
|
|
412
|
-
unique
|
|
413
|
-
}
|
|
414
|
-
... on LinkAttribute {
|
|
415
|
-
linked_library {
|
|
416
|
-
id
|
|
417
|
-
label
|
|
418
|
-
}
|
|
419
|
-
reverse_link
|
|
420
|
-
}
|
|
421
|
-
... on TreeAttribute {
|
|
422
|
-
linked_tree {
|
|
423
|
-
id
|
|
424
|
-
label
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
`;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
libraries {
|
|
409
|
+
id
|
|
410
|
+
label
|
|
411
|
+
}
|
|
412
|
+
... on StandardAttribute {
|
|
413
|
+
unique
|
|
414
|
+
}
|
|
415
|
+
... on LinkAttribute {
|
|
416
|
+
linked_library {
|
|
417
|
+
id
|
|
418
|
+
label
|
|
419
|
+
}
|
|
420
|
+
reverse_link
|
|
421
|
+
}
|
|
422
|
+
... on TreeAttribute {
|
|
423
|
+
linked_tree {
|
|
424
|
+
id
|
|
425
|
+
label
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
`;
|
|
429
430
|
export const AttributesByLibLinkAttributeFragmentDoc = gql `
|
|
430
431
|
fragment AttributesByLibLinkAttribute on LinkAttribute {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
`;
|
|
432
|
+
linked_library {
|
|
433
|
+
id
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
`;
|
|
436
437
|
export const AttributesByLibAttributeFragmentDoc = gql `
|
|
437
438
|
fragment AttributesByLibAttribute on Attribute {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
${AttributesByLibLinkAttributeFragmentDoc}`;
|
|
439
|
+
id
|
|
440
|
+
type
|
|
441
|
+
format
|
|
442
|
+
label
|
|
443
|
+
multiple_values
|
|
444
|
+
system
|
|
445
|
+
readonly
|
|
446
|
+
...AttributesByLibLinkAttribute
|
|
447
|
+
... on TreeAttribute {
|
|
448
|
+
linked_tree {
|
|
449
|
+
id
|
|
450
|
+
label
|
|
451
|
+
libraries {
|
|
452
|
+
library {
|
|
453
|
+
id
|
|
454
|
+
label
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
... on StandardAttribute {
|
|
460
|
+
embedded_fields {
|
|
461
|
+
id
|
|
462
|
+
format
|
|
463
|
+
label
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
${AttributesByLibLinkAttributeFragmentDoc}`;
|
|
467
468
|
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
468
469
|
fragment ValuesVersionDetails on ValueVersion {
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
}
|
|
470
|
+
treeId
|
|
471
|
+
treeNode {
|
|
472
|
+
id
|
|
473
|
+
record {
|
|
474
|
+
id
|
|
475
|
+
whoAmI {
|
|
476
|
+
id
|
|
477
|
+
label
|
|
478
|
+
library {
|
|
479
|
+
id
|
|
482
480
|
}
|
|
481
|
+
}
|
|
483
482
|
}
|
|
484
|
-
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
`;
|
|
485
486
|
export const ValueDetailsFragmentDoc = gql `
|
|
486
487
|
fragment ValueDetails on GenericValue {
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
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
|
-
}
|
|
547
|
-
}
|
|
548
|
-
}
|
|
488
|
+
id_value
|
|
489
|
+
isInherited
|
|
490
|
+
isCalculated
|
|
491
|
+
modified_at
|
|
492
|
+
modified_by {
|
|
493
|
+
...RecordIdentity
|
|
494
|
+
}
|
|
495
|
+
created_at
|
|
496
|
+
created_by {
|
|
497
|
+
...RecordIdentity
|
|
498
|
+
}
|
|
499
|
+
version {
|
|
500
|
+
...ValuesVersionDetails
|
|
501
|
+
}
|
|
502
|
+
attribute {
|
|
503
|
+
id
|
|
504
|
+
format
|
|
505
|
+
type
|
|
506
|
+
system
|
|
507
|
+
}
|
|
508
|
+
metadata {
|
|
509
|
+
name
|
|
510
|
+
value {
|
|
511
|
+
id_value
|
|
512
|
+
modified_at
|
|
513
|
+
modified_by {
|
|
514
|
+
...RecordIdentity
|
|
515
|
+
}
|
|
516
|
+
created_at
|
|
517
|
+
created_by {
|
|
518
|
+
...RecordIdentity
|
|
519
|
+
}
|
|
520
|
+
version {
|
|
521
|
+
...ValuesVersionDetails
|
|
522
|
+
}
|
|
523
|
+
payload
|
|
524
|
+
raw_payload
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
... on Value {
|
|
528
|
+
payload
|
|
529
|
+
raw_payload
|
|
530
|
+
value
|
|
531
|
+
raw_value
|
|
532
|
+
}
|
|
533
|
+
... on LinkValue {
|
|
534
|
+
linkValue: payload {
|
|
535
|
+
...RecordIdentity
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
... on TreeValue {
|
|
539
|
+
treeValue: payload {
|
|
540
|
+
id
|
|
541
|
+
record {
|
|
542
|
+
...RecordIdentity
|
|
543
|
+
}
|
|
544
|
+
ancestors {
|
|
545
|
+
record {
|
|
546
|
+
...RecordIdentity
|
|
549
547
|
}
|
|
548
|
+
}
|
|
550
549
|
}
|
|
550
|
+
}
|
|
551
|
+
}
|
|
551
552
|
${RecordIdentityFragmentDoc}
|
|
552
553
|
${ValuesVersionDetailsFragmentDoc}`;
|
|
553
554
|
export const RecordFormElementValuesFragmentDoc = gql `
|
|
554
555
|
fragment RecordFormElementValues on FormElementValues {
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
${ValueDetailsFragmentDoc}`;
|
|
556
|
+
id
|
|
557
|
+
valueError
|
|
558
|
+
values {
|
|
559
|
+
...ValueDetails
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
${ValueDetailsFragmentDoc}`;
|
|
562
563
|
export const LibraryLightFragmentDoc = gql `
|
|
563
564
|
fragment LibraryLight on Library {
|
|
565
|
+
id
|
|
566
|
+
label
|
|
567
|
+
icon {
|
|
568
|
+
id
|
|
569
|
+
whoAmI {
|
|
570
|
+
id
|
|
571
|
+
library {
|
|
564
572
|
id
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
id
|
|
568
|
-
whoAmI {
|
|
569
|
-
id
|
|
570
|
-
library {
|
|
571
|
-
id
|
|
572
|
-
}
|
|
573
|
-
preview
|
|
574
|
-
}
|
|
575
|
-
}
|
|
573
|
+
}
|
|
574
|
+
preview
|
|
576
575
|
}
|
|
577
|
-
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
`;
|
|
578
579
|
export const LibraryLinkAttributeDetailsFragmentDoc = gql `
|
|
579
580
|
fragment LibraryLinkAttributeDetails on LinkAttribute {
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
`;
|
|
581
|
+
linked_library {
|
|
582
|
+
id
|
|
583
|
+
behavior
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
`;
|
|
586
587
|
export const LibraryAttributesFragmentDoc = gql `
|
|
587
588
|
fragment LibraryAttributes on Attribute {
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
${LibraryLinkAttributeDetailsFragmentDoc}`;
|
|
589
|
+
id
|
|
590
|
+
label
|
|
591
|
+
system
|
|
592
|
+
type
|
|
593
|
+
format
|
|
594
|
+
...LibraryLinkAttributeDetails
|
|
595
|
+
}
|
|
596
|
+
${LibraryLinkAttributeDetailsFragmentDoc}`;
|
|
596
597
|
export const LibraryPreviewsSettingsFragmentDoc = gql `
|
|
597
598
|
fragment LibraryPreviewsSettings on LibraryPreviewsSettings {
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
`;
|
|
599
|
+
label
|
|
600
|
+
description
|
|
601
|
+
system
|
|
602
|
+
versions {
|
|
603
|
+
background
|
|
604
|
+
density
|
|
605
|
+
sizes {
|
|
606
|
+
name
|
|
607
|
+
size
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
`;
|
|
611
612
|
export const LibraryDetailsFragmentDoc = gql `
|
|
612
613
|
fragment LibraryDetails on Library {
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
614
|
+
id
|
|
615
|
+
label
|
|
616
|
+
behavior
|
|
617
|
+
system
|
|
618
|
+
label
|
|
619
|
+
fullTextAttributes {
|
|
620
|
+
id
|
|
621
|
+
label
|
|
622
|
+
}
|
|
623
|
+
attributes {
|
|
624
|
+
...LibraryAttributes
|
|
625
|
+
}
|
|
626
|
+
permissions_conf {
|
|
627
|
+
permissionTreeAttributes {
|
|
628
|
+
id
|
|
629
|
+
... on TreeAttribute {
|
|
630
|
+
linked_tree {
|
|
631
|
+
id
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
label
|
|
635
|
+
}
|
|
636
|
+
relation
|
|
637
|
+
}
|
|
638
|
+
recordIdentityConf {
|
|
639
|
+
label
|
|
640
|
+
subLabel
|
|
641
|
+
color
|
|
642
|
+
preview
|
|
643
|
+
treeColorPreview
|
|
644
|
+
}
|
|
645
|
+
permissions {
|
|
646
|
+
admin_library
|
|
647
|
+
access_library
|
|
648
|
+
access_record
|
|
649
|
+
create_record
|
|
650
|
+
edit_record
|
|
651
|
+
delete_record
|
|
652
|
+
}
|
|
653
|
+
icon {
|
|
654
|
+
...RecordIdentity
|
|
655
|
+
}
|
|
656
|
+
previewsSettings {
|
|
657
|
+
...LibraryPreviewsSettings
|
|
658
|
+
}
|
|
659
|
+
}
|
|
659
660
|
${LibraryAttributesFragmentDoc}
|
|
660
|
-
|
|
661
|
+
${RecordIdentityFragmentDoc}
|
|
661
662
|
${LibraryPreviewsSettingsFragmentDoc}`;
|
|
662
663
|
export const StandardValuesListFragmentFragmentDoc = gql `
|
|
663
664
|
fragment StandardValuesListFragment on StandardValuesListConf {
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
`;
|
|
665
|
+
... on StandardStringValuesListConf {
|
|
666
|
+
enable
|
|
667
|
+
allowFreeEntry
|
|
668
|
+
allowListUpdate
|
|
669
|
+
values
|
|
670
|
+
}
|
|
671
|
+
... on StandardDateRangeValuesListConf {
|
|
672
|
+
enable
|
|
673
|
+
allowFreeEntry
|
|
674
|
+
allowListUpdate
|
|
675
|
+
dateRangeValues: values {
|
|
676
|
+
from
|
|
677
|
+
to
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
`;
|
|
681
682
|
export const RecordFormAttributeFragmentDoc = gql `
|
|
682
683
|
fragment RecordFormAttribute on Attribute {
|
|
684
|
+
id
|
|
685
|
+
label
|
|
686
|
+
description
|
|
687
|
+
type
|
|
688
|
+
format
|
|
689
|
+
system
|
|
690
|
+
readonly
|
|
691
|
+
required
|
|
692
|
+
multiple_values
|
|
693
|
+
compute
|
|
694
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
695
|
+
access_attribute
|
|
696
|
+
edit_value
|
|
697
|
+
}
|
|
698
|
+
versions_conf {
|
|
699
|
+
versionable
|
|
700
|
+
profile {
|
|
701
|
+
id
|
|
702
|
+
trees {
|
|
683
703
|
id
|
|
684
704
|
label
|
|
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
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
allowListUpdate
|
|
746
|
-
values {
|
|
747
|
-
...RecordIdentity
|
|
748
|
-
}
|
|
749
|
-
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
metadata_fields {
|
|
709
|
+
id
|
|
710
|
+
label
|
|
711
|
+
description
|
|
712
|
+
type
|
|
713
|
+
format
|
|
714
|
+
system
|
|
715
|
+
readonly
|
|
716
|
+
multiple_values
|
|
717
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
718
|
+
access_attribute
|
|
719
|
+
edit_value
|
|
720
|
+
}
|
|
721
|
+
values_list {
|
|
722
|
+
...StandardValuesListFragment
|
|
723
|
+
}
|
|
724
|
+
metadata_fields {
|
|
725
|
+
id
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
... on StandardAttribute {
|
|
729
|
+
values_list {
|
|
730
|
+
...StandardValuesListFragment
|
|
731
|
+
}
|
|
732
|
+
character_limit
|
|
733
|
+
}
|
|
734
|
+
... on LinkAttribute {
|
|
735
|
+
linked_library {
|
|
736
|
+
id
|
|
737
|
+
label
|
|
738
|
+
behavior
|
|
739
|
+
permissions {
|
|
740
|
+
create_record
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
linkValuesList: values_list {
|
|
744
|
+
enable
|
|
745
|
+
allowFreeEntry
|
|
746
|
+
allowListUpdate
|
|
747
|
+
values {
|
|
748
|
+
...RecordIdentity
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
... on TreeAttribute {
|
|
753
|
+
linked_tree {
|
|
754
|
+
id
|
|
755
|
+
label
|
|
756
|
+
}
|
|
757
|
+
treeValuesList: values_list {
|
|
758
|
+
enable
|
|
759
|
+
allowFreeEntry
|
|
760
|
+
allowListUpdate
|
|
761
|
+
values {
|
|
762
|
+
id
|
|
763
|
+
record {
|
|
764
|
+
...RecordIdentity
|
|
750
765
|
}
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
}
|
|
756
|
-
treeValuesList: values_list {
|
|
757
|
-
enable
|
|
758
|
-
allowFreeEntry
|
|
759
|
-
allowListUpdate
|
|
760
|
-
values {
|
|
761
|
-
id
|
|
762
|
-
record {
|
|
763
|
-
...RecordIdentity
|
|
764
|
-
}
|
|
765
|
-
ancestors {
|
|
766
|
-
record {
|
|
767
|
-
...RecordIdentity
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
}
|
|
766
|
+
ancestors {
|
|
767
|
+
record {
|
|
768
|
+
...RecordIdentity
|
|
769
|
+
}
|
|
772
770
|
}
|
|
771
|
+
}
|
|
773
772
|
}
|
|
773
|
+
}
|
|
774
|
+
}
|
|
774
775
|
${StandardValuesListFragmentFragmentDoc}
|
|
775
776
|
${RecordIdentityFragmentDoc}`;
|
|
776
777
|
export const JoinLibraryContextFragmentDoc = gql `
|
|
777
778
|
fragment JoinLibraryContext on FormElementJoinLibraryContext {
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
${RecordFormAttributeFragmentDoc}`;
|
|
779
|
+
mandatoryAttribute {
|
|
780
|
+
...RecordFormAttribute
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
${RecordFormAttributeFragmentDoc}`;
|
|
783
784
|
export const RecordFormElementFragmentDoc = gql `
|
|
784
785
|
fragment RecordFormElement on FormElement {
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
786
|
+
id
|
|
787
|
+
containerId
|
|
788
|
+
uiElementType
|
|
789
|
+
type
|
|
790
|
+
attribute {
|
|
791
|
+
...RecordFormAttribute
|
|
792
|
+
}
|
|
793
|
+
settings {
|
|
794
|
+
key
|
|
795
|
+
value
|
|
796
|
+
}
|
|
797
|
+
joinLibraryContext {
|
|
798
|
+
...JoinLibraryContext
|
|
799
|
+
}
|
|
800
|
+
}
|
|
800
801
|
${RecordFormAttributeFragmentDoc}
|
|
801
802
|
${JoinLibraryContextFragmentDoc}`;
|
|
802
803
|
export const TreeLightFragmentDoc = gql `
|
|
803
804
|
fragment TreeLight on Tree {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
`;
|
|
805
|
+
id
|
|
806
|
+
label
|
|
807
|
+
}
|
|
808
|
+
`;
|
|
808
809
|
export const TreeDetailsFragmentDoc = gql `
|
|
809
810
|
fragment TreeDetails on Tree {
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
`;
|
|
811
|
+
id
|
|
812
|
+
label
|
|
813
|
+
behavior
|
|
814
|
+
system
|
|
815
|
+
libraries {
|
|
816
|
+
library {
|
|
817
|
+
id
|
|
818
|
+
label
|
|
819
|
+
}
|
|
820
|
+
settings {
|
|
821
|
+
allowMultiplePositions
|
|
822
|
+
allowedAtRoot
|
|
823
|
+
allowedChildren
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
`;
|
|
827
828
|
export const TreeNodeChildFragmentDoc = gql `
|
|
828
829
|
fragment TreeNodeChild on TreeNodeLight {
|
|
830
|
+
id
|
|
831
|
+
order
|
|
832
|
+
childrenCount
|
|
833
|
+
record {
|
|
834
|
+
...RecordIdentity
|
|
835
|
+
active: property(attribute: "active") {
|
|
836
|
+
... on Value {
|
|
837
|
+
value
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
ancestors {
|
|
842
|
+
id
|
|
843
|
+
record {
|
|
844
|
+
id
|
|
845
|
+
library {
|
|
829
846
|
id
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
...RecordIdentity
|
|
834
|
-
active: property(attribute: "active") {
|
|
835
|
-
... on Value {
|
|
836
|
-
value
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
ancestors {
|
|
841
|
-
id
|
|
842
|
-
record {
|
|
843
|
-
id
|
|
844
|
-
library {
|
|
845
|
-
id
|
|
846
|
-
label
|
|
847
|
-
}
|
|
848
|
-
...RecordIdentity
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
permissions {
|
|
852
|
-
access_tree
|
|
853
|
-
detach
|
|
854
|
-
edit_children
|
|
855
|
-
}
|
|
847
|
+
label
|
|
848
|
+
}
|
|
849
|
+
...RecordIdentity
|
|
856
850
|
}
|
|
857
|
-
|
|
851
|
+
}
|
|
852
|
+
permissions {
|
|
853
|
+
access_tree
|
|
854
|
+
detach
|
|
855
|
+
edit_children
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
${RecordIdentityFragmentDoc}`;
|
|
858
859
|
export const ViewDetailsFilterFragmentDoc = gql `
|
|
859
860
|
fragment ViewDetailsFilter on RecordFilter {
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
`;
|
|
861
|
+
field
|
|
862
|
+
value
|
|
863
|
+
tree {
|
|
864
|
+
id
|
|
865
|
+
label
|
|
866
|
+
}
|
|
867
|
+
condition
|
|
868
|
+
operator
|
|
869
|
+
}
|
|
870
|
+
`;
|
|
870
871
|
export const ViewDetailsFragmentDoc = gql `
|
|
871
872
|
fragment ViewDetails on View {
|
|
873
|
+
id
|
|
874
|
+
display {
|
|
875
|
+
size
|
|
876
|
+
type
|
|
877
|
+
}
|
|
878
|
+
shared
|
|
879
|
+
created_by {
|
|
880
|
+
id
|
|
881
|
+
whoAmI {
|
|
882
|
+
id
|
|
883
|
+
label
|
|
884
|
+
library {
|
|
872
885
|
id
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
treeId
|
|
900
|
-
treeNode {
|
|
901
|
-
id
|
|
902
|
-
record {
|
|
903
|
-
...RecordIdentity
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
attributes {
|
|
908
|
-
id
|
|
909
|
-
}
|
|
910
|
-
}
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
label
|
|
890
|
+
description
|
|
891
|
+
color
|
|
892
|
+
filters {
|
|
893
|
+
...ViewDetailsFilter
|
|
894
|
+
}
|
|
895
|
+
sort {
|
|
896
|
+
field
|
|
897
|
+
order
|
|
898
|
+
}
|
|
899
|
+
valuesVersions {
|
|
900
|
+
treeId
|
|
901
|
+
treeNode {
|
|
902
|
+
id
|
|
903
|
+
record {
|
|
904
|
+
...RecordIdentity
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
attributes {
|
|
909
|
+
id
|
|
910
|
+
}
|
|
911
|
+
}
|
|
911
912
|
${ViewDetailsFilterFragmentDoc}
|
|
912
913
|
${RecordIdentityFragmentDoc}`;
|
|
913
914
|
export const AttributesByLibLinkAttributeWithPermissionsFragmentDoc = gql `
|
|
914
915
|
fragment AttributesByLibLinkAttributeWithPermissions on LinkAttribute {
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
`;
|
|
916
|
+
linked_library {
|
|
917
|
+
id
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
`;
|
|
920
921
|
export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
|
|
921
922
|
fragment AttributesByLibAttributeWithPermissions on Attribute {
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
${AttributesByLibLinkAttributeWithPermissionsFragmentDoc}`;
|
|
923
|
+
id
|
|
924
|
+
type
|
|
925
|
+
format
|
|
926
|
+
label
|
|
927
|
+
multiple_values
|
|
928
|
+
system
|
|
929
|
+
readonly
|
|
930
|
+
permissions {
|
|
931
|
+
access_attribute
|
|
932
|
+
}
|
|
933
|
+
...AttributesByLibLinkAttributeWithPermissions
|
|
934
|
+
... on TreeAttribute {
|
|
935
|
+
linked_tree {
|
|
936
|
+
id
|
|
937
|
+
label
|
|
938
|
+
libraries {
|
|
939
|
+
library {
|
|
940
|
+
id
|
|
941
|
+
label
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
... on StandardAttribute {
|
|
947
|
+
embedded_fields {
|
|
948
|
+
id
|
|
949
|
+
format
|
|
950
|
+
label
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
${AttributesByLibLinkAttributeWithPermissionsFragmentDoc}`;
|
|
954
955
|
export const LinkAttributeDetailsFragmentDoc = gql `
|
|
955
956
|
fragment LinkAttributeDetails on LinkAttribute {
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
957
|
+
label
|
|
958
|
+
linked_library {
|
|
959
|
+
id
|
|
960
|
+
label
|
|
961
|
+
}
|
|
962
|
+
values_list {
|
|
963
|
+
allowFreeEntry
|
|
964
|
+
enable
|
|
965
|
+
values {
|
|
966
|
+
id
|
|
967
|
+
whoAmI {
|
|
968
|
+
id
|
|
969
|
+
library {
|
|
970
|
+
id
|
|
960
971
|
}
|
|
972
|
+
}
|
|
961
973
|
}
|
|
962
|
-
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
`;
|
|
977
|
+
export const TreeAttributeDetailsFragmentDoc = gql `
|
|
978
|
+
fragment TreeAttributeDetails on TreeAttribute {
|
|
979
|
+
id
|
|
980
|
+
label
|
|
981
|
+
linked_tree {
|
|
982
|
+
id
|
|
983
|
+
label
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
`;
|
|
963
987
|
export const AttributePropertiesFragmentDoc = gql `
|
|
964
988
|
fragment AttributeProperties on Attribute {
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
`;
|
|
989
|
+
id
|
|
990
|
+
label
|
|
991
|
+
type
|
|
992
|
+
format
|
|
993
|
+
multiple_values
|
|
994
|
+
multi_link_display_option
|
|
995
|
+
}
|
|
996
|
+
`;
|
|
973
997
|
export const PropertyValueFragmentDoc = gql `
|
|
974
998
|
fragment PropertyValue on GenericValue {
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
${RecordIdentityFragmentDoc}`;
|
|
999
|
+
... on Value {
|
|
1000
|
+
valuePayload: payload
|
|
1001
|
+
valueRawPayload: raw_payload
|
|
1002
|
+
}
|
|
1003
|
+
... on LinkValue {
|
|
1004
|
+
linkPayload: payload {
|
|
1005
|
+
...RecordIdentity
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
... on TreeValue {
|
|
1009
|
+
treePayload: payload {
|
|
1010
|
+
record {
|
|
1011
|
+
...RecordIdentity
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
${RecordIdentityFragmentDoc}`;
|
|
993
1017
|
export const LinkPropertyFragmentDoc = gql `
|
|
994
1018
|
fragment LinkProperty on GenericValue {
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1019
|
+
id_value
|
|
1020
|
+
... on LinkValue {
|
|
1021
|
+
payload {
|
|
1022
|
+
...RecordIdentity
|
|
1023
|
+
properties(attributeIds: $attributeIds) {
|
|
1024
|
+
attributeId
|
|
1025
|
+
attributeProperties {
|
|
1026
|
+
...AttributeProperties
|
|
1027
|
+
}
|
|
1028
|
+
values {
|
|
1029
|
+
...PropertyValue
|
|
1009
1030
|
}
|
|
1031
|
+
}
|
|
1010
1032
|
}
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1011
1035
|
${RecordIdentityFragmentDoc}
|
|
1012
|
-
|
|
1036
|
+
${AttributePropertiesFragmentDoc}
|
|
1013
1037
|
${PropertyValueFragmentDoc}`;
|
|
1014
1038
|
export const LibraryAttributeLinkFragmentDoc = gql `
|
|
1015
1039
|
fragment LibraryAttributeLink on LinkAttribute {
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
`;
|
|
1040
|
+
linked_library {
|
|
1041
|
+
id
|
|
1042
|
+
label
|
|
1043
|
+
attributes {
|
|
1044
|
+
id
|
|
1045
|
+
type
|
|
1046
|
+
format
|
|
1047
|
+
label
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
`;
|
|
1028
1052
|
export const LibraryAttributeFragmentDoc = gql `
|
|
1029
1053
|
fragment LibraryAttribute on Attribute {
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
${LibraryAttributeLinkFragmentDoc}`;
|
|
1054
|
+
id
|
|
1055
|
+
type
|
|
1056
|
+
label
|
|
1057
|
+
permissions {
|
|
1058
|
+
access_attribute
|
|
1059
|
+
}
|
|
1060
|
+
... on StandardAttribute {
|
|
1061
|
+
format
|
|
1062
|
+
}
|
|
1063
|
+
...LibraryAttributeLink
|
|
1064
|
+
}
|
|
1065
|
+
${LibraryAttributeLinkFragmentDoc}`;
|
|
1042
1066
|
export const CheckApplicationExistenceDocument = gql `
|
|
1043
1067
|
query CHECK_APPLICATION_EXISTENCE($id: ID, $endpoint: String) {
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
`;
|
|
1068
|
+
applications(filters: {id: $id, endpoint: $endpoint}) {
|
|
1069
|
+
totalCount
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
`;
|
|
1049
1073
|
/**
|
|
1050
1074
|
* __useCheckApplicationExistenceQuery__
|
|
1051
1075
|
*
|
|
@@ -1077,13 +1101,13 @@ export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
|
1077
1101
|
}
|
|
1078
1102
|
export const GetApplicationByIdDocument = gql `
|
|
1079
1103
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1104
|
+
applications(filters: {id: $id}) {
|
|
1105
|
+
list {
|
|
1106
|
+
...DetailsApplication
|
|
1085
1107
|
}
|
|
1086
|
-
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
${DetailsApplicationFragmentDoc}`;
|
|
1087
1111
|
/**
|
|
1088
1112
|
* __useGetApplicationByIdQuery__
|
|
1089
1113
|
*
|
|
@@ -1114,13 +1138,13 @@ export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
|
1114
1138
|
}
|
|
1115
1139
|
export const GetApplicationModulesDocument = gql `
|
|
1116
1140
|
query GET_APPLICATION_MODULES {
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
`;
|
|
1141
|
+
applicationsModules {
|
|
1142
|
+
id
|
|
1143
|
+
description
|
|
1144
|
+
version
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
`;
|
|
1124
1148
|
/**
|
|
1125
1149
|
* __useGetApplicationModulesQuery__
|
|
1126
1150
|
*
|
|
@@ -1150,11 +1174,11 @@ export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
|
1150
1174
|
}
|
|
1151
1175
|
export const SaveApplicationDocument = gql `
|
|
1152
1176
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
${DetailsApplicationFragmentDoc}`;
|
|
1177
|
+
saveApplication(application: $application) {
|
|
1178
|
+
...DetailsApplication
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
${DetailsApplicationFragmentDoc}`;
|
|
1158
1182
|
/**
|
|
1159
1183
|
* __useSaveApplicationMutation__
|
|
1160
1184
|
*
|
|
@@ -1178,11 +1202,11 @@ export function useSaveApplicationMutation(baseOptions) {
|
|
|
1178
1202
|
}
|
|
1179
1203
|
export const CheckAttributeExistenceDocument = gql `
|
|
1180
1204
|
query CHECK_ATTRIBUTE_EXISTENCE($id: ID!) {
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
`;
|
|
1205
|
+
attributes(filters: {id: $id}) {
|
|
1206
|
+
totalCount
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
`;
|
|
1186
1210
|
/**
|
|
1187
1211
|
* __useCheckAttributeExistenceQuery__
|
|
1188
1212
|
*
|
|
@@ -1213,11 +1237,11 @@ export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
|
1213
1237
|
}
|
|
1214
1238
|
export const DeleteAttributeDocument = gql `
|
|
1215
1239
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
`;
|
|
1240
|
+
deleteAttribute(id: $id) {
|
|
1241
|
+
id
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
`;
|
|
1221
1245
|
/**
|
|
1222
1246
|
* __useDeleteAttributeMutation__
|
|
1223
1247
|
*
|
|
@@ -1241,13 +1265,13 @@ export function useDeleteAttributeMutation(baseOptions) {
|
|
|
1241
1265
|
}
|
|
1242
1266
|
export const GetAttributeByIdDocument = gql `
|
|
1243
1267
|
query GET_ATTRIBUTE_BY_ID($id: ID) {
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1268
|
+
attributes(filters: {id: $id}) {
|
|
1269
|
+
list {
|
|
1270
|
+
...AttributeDetails
|
|
1249
1271
|
}
|
|
1250
|
-
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1251
1275
|
/**
|
|
1252
1276
|
* __useGetAttributeByIdQuery__
|
|
1253
1277
|
*
|
|
@@ -1278,13 +1302,13 @@ export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
|
1278
1302
|
}
|
|
1279
1303
|
export const GetAttributesByLibDocument = gql `
|
|
1280
1304
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1305
|
+
attributes(filters: {libraries: [$library]}) {
|
|
1306
|
+
list {
|
|
1307
|
+
...AttributesByLibAttribute
|
|
1286
1308
|
}
|
|
1287
|
-
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
${AttributesByLibAttributeFragmentDoc}`;
|
|
1288
1312
|
/**
|
|
1289
1313
|
* __useGetAttributesByLibQuery__
|
|
1290
1314
|
*
|
|
@@ -1315,18 +1339,18 @@ export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
|
1315
1339
|
}
|
|
1316
1340
|
export const GetAttributesDocument = gql `
|
|
1317
1341
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1342
|
+
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
1343
|
+
totalCount
|
|
1344
|
+
list {
|
|
1345
|
+
id
|
|
1346
|
+
label
|
|
1347
|
+
type
|
|
1348
|
+
format
|
|
1349
|
+
system
|
|
1328
1350
|
}
|
|
1329
|
-
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
`;
|
|
1330
1354
|
/**
|
|
1331
1355
|
* __useGetAttributesQuery__
|
|
1332
1356
|
*
|
|
@@ -1359,14 +1383,14 @@ export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
|
1359
1383
|
}
|
|
1360
1384
|
export const GetVersionProfilesDocument = gql `
|
|
1361
1385
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
}
|
|
1367
|
-
}
|
|
1386
|
+
versionProfiles(filters: $filters, sort: $sort) {
|
|
1387
|
+
list {
|
|
1388
|
+
id
|
|
1389
|
+
label
|
|
1368
1390
|
}
|
|
1369
|
-
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
`;
|
|
1370
1394
|
/**
|
|
1371
1395
|
* __useGetVersionProfilesQuery__
|
|
1372
1396
|
*
|
|
@@ -1398,23 +1422,23 @@ export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
|
1398
1422
|
}
|
|
1399
1423
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1400
1424
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1425
|
+
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
1426
|
+
list {
|
|
1427
|
+
id
|
|
1428
|
+
versions_conf {
|
|
1429
|
+
versionable
|
|
1430
|
+
profile {
|
|
1431
|
+
id
|
|
1432
|
+
trees {
|
|
1433
|
+
id
|
|
1434
|
+
label
|
|
1435
|
+
}
|
|
1415
1436
|
}
|
|
1437
|
+
}
|
|
1416
1438
|
}
|
|
1417
|
-
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
`;
|
|
1418
1442
|
/**
|
|
1419
1443
|
* __useGetVersionableAttributesByLibraryQuery__
|
|
1420
1444
|
*
|
|
@@ -1445,11 +1469,11 @@ export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
|
1445
1469
|
}
|
|
1446
1470
|
export const SaveAttributeDocument = gql `
|
|
1447
1471
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
${AttributeDetailsFragmentDoc}`;
|
|
1472
|
+
saveAttribute(attribute: $attribute) {
|
|
1473
|
+
...AttributeDetails
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1453
1477
|
/**
|
|
1454
1478
|
* __useSaveAttributeMutation__
|
|
1455
1479
|
*
|
|
@@ -1473,9 +1497,9 @@ export function useSaveAttributeMutation(baseOptions) {
|
|
|
1473
1497
|
}
|
|
1474
1498
|
export const ExportDocument = gql `
|
|
1475
1499
|
query EXPORT($library: ID!, $attributes: [ID!], $filters: [RecordFilterInput!]) {
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
`;
|
|
1500
|
+
export(library: $library, attributes: $attributes, filters: $filters)
|
|
1501
|
+
}
|
|
1502
|
+
`;
|
|
1479
1503
|
/**
|
|
1480
1504
|
* __useExportQuery__
|
|
1481
1505
|
*
|
|
@@ -1508,11 +1532,11 @@ export function useExportSuspenseQuery(baseOptions) {
|
|
|
1508
1532
|
}
|
|
1509
1533
|
export const CreateDirectoryDocument = gql `
|
|
1510
1534
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
${RecordIdentityFragmentDoc}`;
|
|
1535
|
+
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
1536
|
+
...RecordIdentity
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
${RecordIdentityFragmentDoc}`;
|
|
1516
1540
|
/**
|
|
1517
1541
|
* __useCreateDirectoryMutation__
|
|
1518
1542
|
*
|
|
@@ -1538,15 +1562,15 @@ export function useCreateDirectoryMutation(baseOptions) {
|
|
|
1538
1562
|
}
|
|
1539
1563
|
export const ForcePreviewsGenerationDocument = gql `
|
|
1540
1564
|
mutation FORCE_PREVIEWS_GENERATION($libraryId: ID!, $filters: [RecordFilterInput!], $recordIds: [ID!], $failedOnly: Boolean, $previewVersionSizeNames: [String!]) {
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
`;
|
|
1565
|
+
forcePreviewsGeneration(
|
|
1566
|
+
libraryId: $libraryId
|
|
1567
|
+
filters: $filters
|
|
1568
|
+
recordIds: $recordIds
|
|
1569
|
+
failedOnly: $failedOnly
|
|
1570
|
+
previewVersionSizeNames: $previewVersionSizeNames
|
|
1571
|
+
)
|
|
1572
|
+
}
|
|
1573
|
+
`;
|
|
1550
1574
|
/**
|
|
1551
1575
|
* __useForcePreviewsGenerationMutation__
|
|
1552
1576
|
*
|
|
@@ -1574,53 +1598,53 @@ export function useForcePreviewsGenerationMutation(baseOptions) {
|
|
|
1574
1598
|
}
|
|
1575
1599
|
export const GetDirectoryDataDocument = gql `
|
|
1576
1600
|
query GET_DIRECTORY_DATA($library: ID!, $directoryId: String!) {
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
file_path: property(attribute: "file_path") {
|
|
1613
|
-
... on Value {
|
|
1614
|
-
value
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
library {
|
|
1618
|
-
behavior
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1601
|
+
records(
|
|
1602
|
+
library: $library
|
|
1603
|
+
filters: [{field: "id", value: $directoryId, condition: EQUAL}]
|
|
1604
|
+
) {
|
|
1605
|
+
list {
|
|
1606
|
+
...RecordIdentity
|
|
1607
|
+
created_at: property(attribute: "created_at") {
|
|
1608
|
+
... on Value {
|
|
1609
|
+
value
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
created_by: property(attribute: "created_by") {
|
|
1613
|
+
... on LinkValue {
|
|
1614
|
+
value {
|
|
1615
|
+
...RecordIdentity
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
}
|
|
1619
|
+
modified_at: property(attribute: "modified_at") {
|
|
1620
|
+
... on Value {
|
|
1621
|
+
value
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1624
|
+
modified_by: property(attribute: "modified_by") {
|
|
1625
|
+
... on LinkValue {
|
|
1626
|
+
value {
|
|
1627
|
+
...RecordIdentity
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
file_name: property(attribute: "file_name") {
|
|
1632
|
+
... on Value {
|
|
1633
|
+
value
|
|
1621
1634
|
}
|
|
1635
|
+
}
|
|
1636
|
+
file_path: property(attribute: "file_path") {
|
|
1637
|
+
... on Value {
|
|
1638
|
+
value
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
library {
|
|
1642
|
+
behavior
|
|
1643
|
+
}
|
|
1622
1644
|
}
|
|
1623
|
-
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
${RecordIdentityFragmentDoc}`;
|
|
1624
1648
|
/**
|
|
1625
1649
|
* __useGetDirectoryDataQuery__
|
|
1626
1650
|
*
|
|
@@ -1652,22 +1676,22 @@ export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
|
1652
1676
|
}
|
|
1653
1677
|
export const UploadUpdateDocument = gql `
|
|
1654
1678
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
`;
|
|
1679
|
+
upload(filters: $filters) {
|
|
1680
|
+
userId
|
|
1681
|
+
progress {
|
|
1682
|
+
length
|
|
1683
|
+
transferred
|
|
1684
|
+
speed
|
|
1685
|
+
runtime
|
|
1686
|
+
remaining
|
|
1687
|
+
percentage
|
|
1688
|
+
eta
|
|
1689
|
+
delta
|
|
1690
|
+
}
|
|
1691
|
+
uid
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
`;
|
|
1671
1695
|
/**
|
|
1672
1696
|
* __useUploadUpdateSubscription__
|
|
1673
1697
|
*
|
|
@@ -1690,14 +1714,14 @@ export function useUploadUpdateSubscription(baseOptions) {
|
|
|
1690
1714
|
}
|
|
1691
1715
|
export const UploadDocument = gql `
|
|
1692
1716
|
mutation UPLOAD($library: String!, $nodeId: String!, $files: [FileInput!]!) {
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1717
|
+
upload(library: $library, nodeId: $nodeId, files: $files) {
|
|
1718
|
+
uid
|
|
1719
|
+
record {
|
|
1720
|
+
...RecordIdentity
|
|
1699
1721
|
}
|
|
1700
|
-
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
${RecordIdentityFragmentDoc}`;
|
|
1701
1725
|
/**
|
|
1702
1726
|
* __useUploadMutation__
|
|
1703
1727
|
*
|
|
@@ -1723,17 +1747,17 @@ export function useUploadMutation(baseOptions) {
|
|
|
1723
1747
|
}
|
|
1724
1748
|
export const GetRecordFormElementsValuesDocument = gql `
|
|
1725
1749
|
query GET_RECORD_FORM_ELEMENTS_VALUES($recordId: String, $libraryId: String!, $formId: String!, $version: [ValueVersionInput!], $elementIds: [ID!]) {
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
${RecordFormElementValuesFragmentDoc}`;
|
|
1750
|
+
getRecordFormElementsValues(
|
|
1751
|
+
recordId: $recordId
|
|
1752
|
+
libraryId: $libraryId
|
|
1753
|
+
formId: $formId
|
|
1754
|
+
version: $version
|
|
1755
|
+
elementIds: $elementIds
|
|
1756
|
+
) {
|
|
1757
|
+
...RecordFormElementValues
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
${RecordFormElementValuesFragmentDoc}`;
|
|
1737
1761
|
/**
|
|
1738
1762
|
* __useGetRecordFormElementsValuesQuery__
|
|
1739
1763
|
*
|
|
@@ -1768,9 +1792,9 @@ export function useGetRecordFormElementsValuesSuspenseQuery(baseOptions) {
|
|
|
1768
1792
|
}
|
|
1769
1793
|
export const ImportExcelDocument = gql `
|
|
1770
1794
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
`;
|
|
1795
|
+
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
1796
|
+
}
|
|
1797
|
+
`;
|
|
1774
1798
|
/**
|
|
1775
1799
|
* __useImportExcelMutation__
|
|
1776
1800
|
*
|
|
@@ -1796,11 +1820,11 @@ export function useImportExcelMutation(baseOptions) {
|
|
|
1796
1820
|
}
|
|
1797
1821
|
export const CheckLibraryExistenceDocument = gql `
|
|
1798
1822
|
query CHECK_LIBRARY_EXISTENCE($id: [ID!]) {
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
`;
|
|
1823
|
+
libraries(filters: {id: $id}) {
|
|
1824
|
+
totalCount
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
`;
|
|
1804
1828
|
/**
|
|
1805
1829
|
* __useCheckLibraryExistenceQuery__
|
|
1806
1830
|
*
|
|
@@ -1831,11 +1855,11 @@ export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
|
1831
1855
|
}
|
|
1832
1856
|
export const DeleteLibraryDocument = gql `
|
|
1833
1857
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
`;
|
|
1858
|
+
deleteLibrary(id: $id) {
|
|
1859
|
+
id
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
`;
|
|
1839
1863
|
/**
|
|
1840
1864
|
* __useDeleteLibraryMutation__
|
|
1841
1865
|
*
|
|
@@ -1859,13 +1883,13 @@ export function useDeleteLibraryMutation(baseOptions) {
|
|
|
1859
1883
|
}
|
|
1860
1884
|
export const GetLibrariesDocument = gql `
|
|
1861
1885
|
query GET_LIBRARIES {
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
}
|
|
1866
|
-
}
|
|
1886
|
+
libraries {
|
|
1887
|
+
list {
|
|
1888
|
+
...LibraryLight
|
|
1867
1889
|
}
|
|
1868
|
-
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
${LibraryLightFragmentDoc}`;
|
|
1869
1893
|
/**
|
|
1870
1894
|
* __useGetLibrariesQuery__
|
|
1871
1895
|
*
|
|
@@ -1895,13 +1919,13 @@ export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
|
1895
1919
|
}
|
|
1896
1920
|
export const GetLibraryByIdDocument = gql `
|
|
1897
1921
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
}
|
|
1902
|
-
}
|
|
1922
|
+
libraries(filters: {id: $id}) {
|
|
1923
|
+
list {
|
|
1924
|
+
...LibraryDetails
|
|
1903
1925
|
}
|
|
1904
|
-
|
|
1926
|
+
}
|
|
1927
|
+
}
|
|
1928
|
+
${LibraryDetailsFragmentDoc}`;
|
|
1905
1929
|
/**
|
|
1906
1930
|
* __useGetLibraryByIdQuery__
|
|
1907
1931
|
*
|
|
@@ -1932,19 +1956,19 @@ export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
|
1932
1956
|
}
|
|
1933
1957
|
export const GetLibraryPermissionsDocument = gql `
|
|
1934
1958
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1959
|
+
libraries(filters: {id: $libraryId}) {
|
|
1960
|
+
list {
|
|
1961
|
+
permissions {
|
|
1962
|
+
access_library
|
|
1963
|
+
access_record
|
|
1964
|
+
create_record
|
|
1965
|
+
edit_record
|
|
1966
|
+
delete_record
|
|
1967
|
+
}
|
|
1946
1968
|
}
|
|
1947
|
-
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1971
|
+
`;
|
|
1948
1972
|
/**
|
|
1949
1973
|
* __useGetLibraryPermissionsQuery__
|
|
1950
1974
|
*
|
|
@@ -1975,28 +1999,28 @@ export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
|
1975
1999
|
}
|
|
1976
2000
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1977
2001
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
}
|
|
1995
|
-
}
|
|
1996
|
-
}
|
|
2002
|
+
libraries(filters: {id: [$id]}) {
|
|
2003
|
+
list {
|
|
2004
|
+
id
|
|
2005
|
+
label
|
|
2006
|
+
behavior
|
|
2007
|
+
previewsSettings {
|
|
2008
|
+
description
|
|
2009
|
+
label
|
|
2010
|
+
system
|
|
2011
|
+
versions {
|
|
2012
|
+
background
|
|
2013
|
+
density
|
|
2014
|
+
sizes {
|
|
2015
|
+
name
|
|
2016
|
+
size
|
|
2017
|
+
}
|
|
1997
2018
|
}
|
|
2019
|
+
}
|
|
1998
2020
|
}
|
|
1999
|
-
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
`;
|
|
2000
2024
|
/**
|
|
2001
2025
|
* __useGetLibraryPreviewsSettingsQuery__
|
|
2002
2026
|
*
|
|
@@ -2027,11 +2051,11 @@ export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
|
2027
2051
|
}
|
|
2028
2052
|
export const SaveLibraryDocument = gql `
|
|
2029
2053
|
mutation saveLibrary($library: LibraryInput!) {
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
${LibraryDetailsFragmentDoc}`;
|
|
2054
|
+
saveLibrary(library: $library) {
|
|
2055
|
+
...LibraryDetails
|
|
2056
|
+
}
|
|
2057
|
+
}
|
|
2058
|
+
${LibraryDetailsFragmentDoc}`;
|
|
2035
2059
|
/**
|
|
2036
2060
|
* __useSaveLibraryMutation__
|
|
2037
2061
|
*
|
|
@@ -2055,12 +2079,12 @@ export function useSaveLibraryMutation(baseOptions) {
|
|
|
2055
2079
|
}
|
|
2056
2080
|
export const IsAllowedDocument = gql `
|
|
2057
2081
|
query IS_ALLOWED($type: PermissionTypes!, $actions: [PermissionsActions!]!, $applyTo: ID, $target: PermissionTarget) {
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
`;
|
|
2082
|
+
isAllowed(type: $type, actions: $actions, applyTo: $applyTo, target: $target) {
|
|
2083
|
+
name
|
|
2084
|
+
allowed
|
|
2085
|
+
}
|
|
2086
|
+
}
|
|
2087
|
+
`;
|
|
2064
2088
|
/**
|
|
2065
2089
|
* __useIsAllowedQuery__
|
|
2066
2090
|
*
|
|
@@ -2094,16 +2118,16 @@ export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
|
2094
2118
|
}
|
|
2095
2119
|
export const ActivateRecordsDocument = gql `
|
|
2096
2120
|
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
${RecordIdentityFragmentDoc}`;
|
|
2121
|
+
activateRecords(
|
|
2122
|
+
recordsIds: $recordsIds
|
|
2123
|
+
filters: $filters
|
|
2124
|
+
libraryId: $libraryId
|
|
2125
|
+
) {
|
|
2126
|
+
id
|
|
2127
|
+
...RecordIdentity
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
${RecordIdentityFragmentDoc}`;
|
|
2107
2131
|
/**
|
|
2108
2132
|
* __useActivateRecordsMutation__
|
|
2109
2133
|
*
|
|
@@ -2127,21 +2151,57 @@ export function useActivateRecordsMutation(baseOptions) {
|
|
|
2127
2151
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2128
2152
|
return Apollo.useMutation(ActivateRecordsDocument, options);
|
|
2129
2153
|
}
|
|
2154
|
+
export const CreateEmptyRecordDocument = gql `
|
|
2155
|
+
mutation createEmptyRecord($library: ID!) {
|
|
2156
|
+
createEmptyRecord(library: $library) {
|
|
2157
|
+
record {
|
|
2158
|
+
...RecordIdentity
|
|
2159
|
+
}
|
|
2160
|
+
valuesErrors {
|
|
2161
|
+
type
|
|
2162
|
+
attribute
|
|
2163
|
+
input
|
|
2164
|
+
message
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
${RecordIdentityFragmentDoc}`;
|
|
2169
|
+
/**
|
|
2170
|
+
* __useCreateEmptyRecordMutation__
|
|
2171
|
+
*
|
|
2172
|
+
* To run a mutation, you first call `useCreateEmptyRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2173
|
+
* When your component renders, `useCreateEmptyRecordMutation` returns a tuple that includes:
|
|
2174
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2175
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2176
|
+
*
|
|
2177
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
2178
|
+
*
|
|
2179
|
+
* @example
|
|
2180
|
+
* const [createEmptyRecordMutation, { data, loading, error }] = useCreateEmptyRecordMutation({
|
|
2181
|
+
* variables: {
|
|
2182
|
+
* library: // value for 'library'
|
|
2183
|
+
* },
|
|
2184
|
+
* });
|
|
2185
|
+
*/
|
|
2186
|
+
export function useCreateEmptyRecordMutation(baseOptions) {
|
|
2187
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2188
|
+
return Apollo.useMutation(CreateEmptyRecordDocument, options);
|
|
2189
|
+
}
|
|
2130
2190
|
export const CreateRecordDocument = gql `
|
|
2131
2191
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
}
|
|
2136
|
-
valuesErrors {
|
|
2137
|
-
type
|
|
2138
|
-
attribute
|
|
2139
|
-
input
|
|
2140
|
-
message
|
|
2141
|
-
}
|
|
2142
|
-
}
|
|
2192
|
+
createRecord(library: $library, data: $data) {
|
|
2193
|
+
record {
|
|
2194
|
+
...RecordIdentity
|
|
2143
2195
|
}
|
|
2144
|
-
|
|
2196
|
+
valuesErrors {
|
|
2197
|
+
type
|
|
2198
|
+
attribute
|
|
2199
|
+
input
|
|
2200
|
+
message
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
}
|
|
2204
|
+
${RecordIdentityFragmentDoc}`;
|
|
2145
2205
|
/**
|
|
2146
2206
|
* __useCreateRecordMutation__
|
|
2147
2207
|
*
|
|
@@ -2166,16 +2226,16 @@ export function useCreateRecordMutation(baseOptions) {
|
|
|
2166
2226
|
}
|
|
2167
2227
|
export const DeactivateRecordsDocument = gql `
|
|
2168
2228
|
mutation DEACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
${RecordIdentityFragmentDoc}`;
|
|
2229
|
+
deactivateRecords(
|
|
2230
|
+
recordsIds: $recordsIds
|
|
2231
|
+
filters: $filters
|
|
2232
|
+
libraryId: $libraryId
|
|
2233
|
+
) {
|
|
2234
|
+
id
|
|
2235
|
+
...RecordIdentity
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
${RecordIdentityFragmentDoc}`;
|
|
2179
2239
|
/**
|
|
2180
2240
|
* __useDeactivateRecordsMutation__
|
|
2181
2241
|
*
|
|
@@ -2201,13 +2261,13 @@ export function useDeactivateRecordsMutation(baseOptions) {
|
|
|
2201
2261
|
}
|
|
2202
2262
|
export const DoesFileExistAsChildDocument = gql `
|
|
2203
2263
|
query DOES_FILE_EXIST_AS_CHILD($parentNode: ID, $treeId: ID!, $filename: String!) {
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
`;
|
|
2264
|
+
doesFileExistAsChild(
|
|
2265
|
+
parentNode: $parentNode
|
|
2266
|
+
treeId: $treeId
|
|
2267
|
+
filename: $filename
|
|
2268
|
+
)
|
|
2269
|
+
}
|
|
2270
|
+
`;
|
|
2211
2271
|
/**
|
|
2212
2272
|
* __useDoesFileExistAsChildQuery__
|
|
2213
2273
|
*
|
|
@@ -2240,58 +2300,58 @@ export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
|
2240
2300
|
}
|
|
2241
2301
|
export const GetFileDataDocument = gql `
|
|
2242
2302
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
}
|
|
2282
|
-
}
|
|
2283
|
-
previews_status: property(attribute: $previewsStatusAttribute) {
|
|
2284
|
-
... on Value {
|
|
2285
|
-
value
|
|
2286
|
-
}
|
|
2287
|
-
}
|
|
2288
|
-
library {
|
|
2289
|
-
behavior
|
|
2290
|
-
}
|
|
2291
|
-
}
|
|
2303
|
+
records(
|
|
2304
|
+
library: $library
|
|
2305
|
+
filters: [{field: "id", value: $fileId, condition: EQUAL}]
|
|
2306
|
+
) {
|
|
2307
|
+
list {
|
|
2308
|
+
...RecordIdentity
|
|
2309
|
+
created_at: property(attribute: "created_at") {
|
|
2310
|
+
... on Value {
|
|
2311
|
+
value
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
created_by: property(attribute: "created_by") {
|
|
2315
|
+
... on LinkValue {
|
|
2316
|
+
value {
|
|
2317
|
+
...RecordIdentity
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
modified_at: property(attribute: "modified_at") {
|
|
2322
|
+
... on Value {
|
|
2323
|
+
value
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2326
|
+
modified_by: property(attribute: "modified_by") {
|
|
2327
|
+
... on LinkValue {
|
|
2328
|
+
value {
|
|
2329
|
+
...RecordIdentity
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
}
|
|
2333
|
+
file_name: property(attribute: "file_name") {
|
|
2334
|
+
... on Value {
|
|
2335
|
+
value
|
|
2336
|
+
}
|
|
2337
|
+
}
|
|
2338
|
+
file_path: property(attribute: "file_path") {
|
|
2339
|
+
... on Value {
|
|
2340
|
+
value
|
|
2292
2341
|
}
|
|
2342
|
+
}
|
|
2343
|
+
previews_status: property(attribute: $previewsStatusAttribute) {
|
|
2344
|
+
... on Value {
|
|
2345
|
+
value
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
library {
|
|
2349
|
+
behavior
|
|
2350
|
+
}
|
|
2293
2351
|
}
|
|
2294
|
-
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
${RecordIdentityFragmentDoc}`;
|
|
2295
2355
|
/**
|
|
2296
2356
|
* __useGetFileDataQuery__
|
|
2297
2357
|
*
|
|
@@ -2324,30 +2384,30 @@ export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
|
2324
2384
|
}
|
|
2325
2385
|
export const RecordFormDocument = gql `
|
|
2326
2386
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
}
|
|
2341
|
-
elements {
|
|
2342
|
-
...RecordFormElement
|
|
2343
|
-
}
|
|
2344
|
-
sidePanel {
|
|
2345
|
-
enable
|
|
2346
|
-
isOpenByDefault
|
|
2347
|
-
}
|
|
2348
|
-
}
|
|
2387
|
+
recordForm(
|
|
2388
|
+
recordId: $recordId
|
|
2389
|
+
libraryId: $libraryId
|
|
2390
|
+
formId: $formId
|
|
2391
|
+
version: $version
|
|
2392
|
+
) {
|
|
2393
|
+
id
|
|
2394
|
+
recordId
|
|
2395
|
+
library {
|
|
2396
|
+
id
|
|
2397
|
+
}
|
|
2398
|
+
dependencyAttributes {
|
|
2399
|
+
id
|
|
2349
2400
|
}
|
|
2350
|
-
|
|
2401
|
+
elements {
|
|
2402
|
+
...RecordFormElement
|
|
2403
|
+
}
|
|
2404
|
+
sidePanel {
|
|
2405
|
+
enable
|
|
2406
|
+
isOpenByDefault
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
${RecordFormElementFragmentDoc}`;
|
|
2351
2411
|
/**
|
|
2352
2412
|
* __useRecordFormQuery__
|
|
2353
2413
|
*
|
|
@@ -2381,25 +2441,25 @@ export function useRecordFormSuspenseQuery(baseOptions) {
|
|
|
2381
2441
|
}
|
|
2382
2442
|
export const RecordUpdateDocument = gql `
|
|
2383
2443
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
}
|
|
2393
|
-
}
|
|
2394
|
-
}
|
|
2395
|
-
updatedValues {
|
|
2396
|
-
attribute
|
|
2397
|
-
value {
|
|
2398
|
-
...ValueDetails
|
|
2399
|
-
}
|
|
2400
|
-
}
|
|
2444
|
+
recordUpdate(filters: $filters) {
|
|
2445
|
+
record {
|
|
2446
|
+
...RecordIdentity
|
|
2447
|
+
modified_by: property(attribute: "modified_by") {
|
|
2448
|
+
... on LinkValue {
|
|
2449
|
+
value {
|
|
2450
|
+
...RecordIdentity
|
|
2451
|
+
}
|
|
2401
2452
|
}
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2455
|
+
updatedValues {
|
|
2456
|
+
attribute
|
|
2457
|
+
value {
|
|
2458
|
+
...ValueDetails
|
|
2459
|
+
}
|
|
2402
2460
|
}
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2403
2463
|
${RecordIdentityFragmentDoc}
|
|
2404
2464
|
${ValueDetailsFragmentDoc}`;
|
|
2405
2465
|
/**
|
|
@@ -2424,14 +2484,14 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2424
2484
|
}
|
|
2425
2485
|
export const GetRecordsFromLibraryDocument = gql `
|
|
2426
2486
|
query getRecordsFromLibrary($libraryId: ID!, $pagination: RecordsPagination, $filters: [RecordFilterInput]) {
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
}
|
|
2432
|
-
}
|
|
2487
|
+
records(library: $libraryId, filters: $filters, pagination: $pagination) {
|
|
2488
|
+
totalCount
|
|
2489
|
+
list {
|
|
2490
|
+
...RecordIdentity
|
|
2433
2491
|
}
|
|
2434
|
-
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
${RecordIdentityFragmentDoc}`;
|
|
2435
2495
|
/**
|
|
2436
2496
|
* __useGetRecordsFromLibraryQuery__
|
|
2437
2497
|
*
|
|
@@ -2464,9 +2524,9 @@ export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
|
2464
2524
|
}
|
|
2465
2525
|
export const IndexRecordsDocument = gql `
|
|
2466
2526
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
`;
|
|
2527
|
+
indexRecords(libraryId: $libraryId, records: $records)
|
|
2528
|
+
}
|
|
2529
|
+
`;
|
|
2470
2530
|
/**
|
|
2471
2531
|
* __useIndexRecordsMutation__
|
|
2472
2532
|
*
|
|
@@ -2491,9 +2551,9 @@ export function useIndexRecordsMutation(baseOptions) {
|
|
|
2491
2551
|
}
|
|
2492
2552
|
export const CancelTaskDocument = gql `
|
|
2493
2553
|
mutation CANCEL_TASK($taskId: ID!) {
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
`;
|
|
2554
|
+
cancelTask(taskId: $taskId)
|
|
2555
|
+
}
|
|
2556
|
+
`;
|
|
2497
2557
|
/**
|
|
2498
2558
|
* __useCancelTaskMutation__
|
|
2499
2559
|
*
|
|
@@ -2517,11 +2577,11 @@ export function useCancelTaskMutation(baseOptions) {
|
|
|
2517
2577
|
}
|
|
2518
2578
|
export const CheckTreeExistenceDocument = gql `
|
|
2519
2579
|
query CHECK_TREE_EXISTENCE($id: [ID!]) {
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
`;
|
|
2580
|
+
trees(filters: {id: $id}) {
|
|
2581
|
+
totalCount
|
|
2582
|
+
}
|
|
2583
|
+
}
|
|
2584
|
+
`;
|
|
2525
2585
|
/**
|
|
2526
2586
|
* __useCheckTreeExistenceQuery__
|
|
2527
2587
|
*
|
|
@@ -2552,11 +2612,11 @@ export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
|
2552
2612
|
}
|
|
2553
2613
|
export const DeleteTreeDocument = gql `
|
|
2554
2614
|
mutation DELETE_TREE($id: ID!) {
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
`;
|
|
2615
|
+
deleteTree(id: $id) {
|
|
2616
|
+
id
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
`;
|
|
2560
2620
|
/**
|
|
2561
2621
|
* __useDeleteTreeMutation__
|
|
2562
2622
|
*
|
|
@@ -2580,13 +2640,13 @@ export function useDeleteTreeMutation(baseOptions) {
|
|
|
2580
2640
|
}
|
|
2581
2641
|
export const GetTreeByIdDocument = gql `
|
|
2582
2642
|
query GET_TREE_BY_ID($id: [ID!]) {
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
}
|
|
2587
|
-
}
|
|
2643
|
+
trees(filters: {id: $id}) {
|
|
2644
|
+
list {
|
|
2645
|
+
...TreeDetails
|
|
2588
2646
|
}
|
|
2589
|
-
|
|
2647
|
+
}
|
|
2648
|
+
}
|
|
2649
|
+
${TreeDetailsFragmentDoc}`;
|
|
2590
2650
|
/**
|
|
2591
2651
|
* __useGetTreeByIdQuery__
|
|
2592
2652
|
*
|
|
@@ -2617,29 +2677,29 @@ export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
|
2617
2677
|
}
|
|
2618
2678
|
export const GetTreeLibrariesDocument = gql `
|
|
2619
2679
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
}
|
|
2638
|
-
}
|
|
2639
|
-
}
|
|
2680
|
+
trees(filters: {id: $treeId, library: $library}) {
|
|
2681
|
+
totalCount
|
|
2682
|
+
list {
|
|
2683
|
+
id
|
|
2684
|
+
behavior
|
|
2685
|
+
system
|
|
2686
|
+
libraries {
|
|
2687
|
+
library {
|
|
2688
|
+
id
|
|
2689
|
+
label
|
|
2690
|
+
behavior
|
|
2691
|
+
system
|
|
2692
|
+
}
|
|
2693
|
+
settings {
|
|
2694
|
+
allowMultiplePositions
|
|
2695
|
+
allowedChildren
|
|
2696
|
+
allowedAtRoot
|
|
2640
2697
|
}
|
|
2698
|
+
}
|
|
2641
2699
|
}
|
|
2642
|
-
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
`;
|
|
2643
2703
|
/**
|
|
2644
2704
|
* __useGetTreeLibrariesQuery__
|
|
2645
2705
|
*
|
|
@@ -2671,13 +2731,13 @@ export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
|
2671
2731
|
}
|
|
2672
2732
|
export const GetTreesDocument = gql `
|
|
2673
2733
|
query GET_TREES {
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
}
|
|
2678
|
-
}
|
|
2734
|
+
trees {
|
|
2735
|
+
list {
|
|
2736
|
+
...TreeLight
|
|
2679
2737
|
}
|
|
2680
|
-
|
|
2738
|
+
}
|
|
2739
|
+
}
|
|
2740
|
+
${TreeLightFragmentDoc}`;
|
|
2681
2741
|
/**
|
|
2682
2742
|
* __useGetTreesQuery__
|
|
2683
2743
|
*
|
|
@@ -2707,11 +2767,11 @@ export function useGetTreesSuspenseQuery(baseOptions) {
|
|
|
2707
2767
|
}
|
|
2708
2768
|
export const SaveTreeDocument = gql `
|
|
2709
2769
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
${TreeDetailsFragmentDoc}`;
|
|
2770
|
+
saveTree(tree: $tree) {
|
|
2771
|
+
...TreeDetails
|
|
2772
|
+
}
|
|
2773
|
+
}
|
|
2774
|
+
${TreeDetailsFragmentDoc}`;
|
|
2715
2775
|
/**
|
|
2716
2776
|
* __useSaveTreeMutation__
|
|
2717
2777
|
*
|
|
@@ -2735,19 +2795,19 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2735
2795
|
}
|
|
2736
2796
|
export const TreeNodeChildrenDocument = gql `
|
|
2737
2797
|
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
}
|
|
2748
|
-
}
|
|
2798
|
+
treeNodeChildren(
|
|
2799
|
+
treeId: $treeId
|
|
2800
|
+
node: $node
|
|
2801
|
+
pagination: $pagination
|
|
2802
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2803
|
+
) {
|
|
2804
|
+
totalCount
|
|
2805
|
+
list {
|
|
2806
|
+
...TreeNodeChild
|
|
2749
2807
|
}
|
|
2750
|
-
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
${TreeNodeChildFragmentDoc}`;
|
|
2751
2811
|
/**
|
|
2752
2812
|
* __useTreeNodeChildrenQuery__
|
|
2753
2813
|
*
|
|
@@ -2781,12 +2841,12 @@ export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
|
2781
2841
|
}
|
|
2782
2842
|
export const GetUserDataDocument = gql `
|
|
2783
2843
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
`;
|
|
2844
|
+
userData(keys: $keys, global: $global) {
|
|
2845
|
+
global
|
|
2846
|
+
data
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
`;
|
|
2790
2850
|
/**
|
|
2791
2851
|
* __useGetUserDataQuery__
|
|
2792
2852
|
*
|
|
@@ -2818,12 +2878,12 @@ export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
|
2818
2878
|
}
|
|
2819
2879
|
export const SaveUserDataDocument = gql `
|
|
2820
2880
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
`;
|
|
2881
|
+
saveUserData(key: $key, value: $value, global: $global) {
|
|
2882
|
+
global
|
|
2883
|
+
data
|
|
2884
|
+
}
|
|
2885
|
+
}
|
|
2886
|
+
`;
|
|
2827
2887
|
/**
|
|
2828
2888
|
* __useSaveUserDataMutation__
|
|
2829
2889
|
*
|
|
@@ -2849,16 +2909,16 @@ export function useSaveUserDataMutation(baseOptions) {
|
|
|
2849
2909
|
}
|
|
2850
2910
|
export const DeleteValueDocument = gql `
|
|
2851
2911
|
mutation DELETE_VALUE($library: ID!, $recordId: ID!, $attribute: ID!, $value: ValueInput) {
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
${ValueDetailsFragmentDoc}`;
|
|
2912
|
+
deleteValue(
|
|
2913
|
+
library: $library
|
|
2914
|
+
recordId: $recordId
|
|
2915
|
+
attribute: $attribute
|
|
2916
|
+
value: $value
|
|
2917
|
+
) {
|
|
2918
|
+
...ValueDetails
|
|
2919
|
+
}
|
|
2920
|
+
}
|
|
2921
|
+
${ValueDetailsFragmentDoc}`;
|
|
2862
2922
|
/**
|
|
2863
2923
|
* __useDeleteValueMutation__
|
|
2864
2924
|
*
|
|
@@ -2883,68 +2943,27 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2883
2943
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2884
2944
|
return Apollo.useMutation(DeleteValueDocument, options);
|
|
2885
2945
|
}
|
|
2886
|
-
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2887
|
-
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2888
|
-
runActionsListAndFormatOnValue(
|
|
2889
|
-
library: $library
|
|
2890
|
-
value: $value
|
|
2891
|
-
version: $version
|
|
2892
|
-
) {
|
|
2893
|
-
...ValueDetails
|
|
2894
|
-
}
|
|
2895
|
-
}
|
|
2896
|
-
${ValueDetailsFragmentDoc}`;
|
|
2897
|
-
/**
|
|
2898
|
-
* __useRunActionsListAndFormatOnValueQuery__
|
|
2899
|
-
*
|
|
2900
|
-
* To run a query within a React component, call `useRunActionsListAndFormatOnValueQuery` and pass it any options that fit your needs.
|
|
2901
|
-
* When your component renders, `useRunActionsListAndFormatOnValueQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2902
|
-
* you can use to render your UI.
|
|
2903
|
-
*
|
|
2904
|
-
* @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;
|
|
2905
|
-
*
|
|
2906
|
-
* @example
|
|
2907
|
-
* const { data, loading, error } = useRunActionsListAndFormatOnValueQuery({
|
|
2908
|
-
* variables: {
|
|
2909
|
-
* library: // value for 'library'
|
|
2910
|
-
* value: // value for 'value'
|
|
2911
|
-
* version: // value for 'version'
|
|
2912
|
-
* },
|
|
2913
|
-
* });
|
|
2914
|
-
*/
|
|
2915
|
-
export function useRunActionsListAndFormatOnValueQuery(baseOptions) {
|
|
2916
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2917
|
-
return Apollo.useQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2918
|
-
}
|
|
2919
|
-
export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
2920
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2921
|
-
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2922
|
-
}
|
|
2923
|
-
export function useRunActionsListAndFormatOnValueSuspenseQuery(baseOptions) {
|
|
2924
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2925
|
-
return Apollo.useSuspenseQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2926
|
-
}
|
|
2927
2946
|
export const SaveValueBatchDocument = gql `
|
|
2928
2947
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
${ValueDetailsFragmentDoc}`;
|
|
2948
|
+
saveValueBatch(
|
|
2949
|
+
library: $library
|
|
2950
|
+
recordId: $recordId
|
|
2951
|
+
version: $version
|
|
2952
|
+
values: $values
|
|
2953
|
+
deleteEmpty: $deleteEmpty
|
|
2954
|
+
) {
|
|
2955
|
+
values {
|
|
2956
|
+
...ValueDetails
|
|
2957
|
+
}
|
|
2958
|
+
errors {
|
|
2959
|
+
type
|
|
2960
|
+
attribute
|
|
2961
|
+
input
|
|
2962
|
+
message
|
|
2963
|
+
}
|
|
2964
|
+
}
|
|
2965
|
+
}
|
|
2966
|
+
${ValueDetailsFragmentDoc}`;
|
|
2948
2967
|
/**
|
|
2949
2968
|
* __useSaveValueBatchMutation__
|
|
2950
2969
|
*
|
|
@@ -2972,12 +2991,12 @@ export function useSaveValueBatchMutation(baseOptions) {
|
|
|
2972
2991
|
}
|
|
2973
2992
|
export const DeleteViewDocument = gql `
|
|
2974
2993
|
mutation DELETE_VIEW($viewId: String!) {
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
`;
|
|
2994
|
+
deleteView(viewId: $viewId) {
|
|
2995
|
+
id
|
|
2996
|
+
library
|
|
2997
|
+
}
|
|
2998
|
+
}
|
|
2999
|
+
`;
|
|
2981
3000
|
/**
|
|
2982
3001
|
* __useDeleteViewMutation__
|
|
2983
3002
|
*
|
|
@@ -3001,11 +3020,11 @@ export function useDeleteViewMutation(baseOptions) {
|
|
|
3001
3020
|
}
|
|
3002
3021
|
export const GetViewDocument = gql `
|
|
3003
3022
|
query GET_VIEW($viewId: String!) {
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
${ViewDetailsFragmentDoc}`;
|
|
3023
|
+
view(viewId: $viewId) {
|
|
3024
|
+
...ViewDetails
|
|
3025
|
+
}
|
|
3026
|
+
}
|
|
3027
|
+
${ViewDetailsFragmentDoc}`;
|
|
3009
3028
|
/**
|
|
3010
3029
|
* __useGetViewQuery__
|
|
3011
3030
|
*
|
|
@@ -3036,14 +3055,14 @@ export function useGetViewSuspenseQuery(baseOptions) {
|
|
|
3036
3055
|
}
|
|
3037
3056
|
export const GetViewsListDocument = gql `
|
|
3038
3057
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
}
|
|
3044
|
-
}
|
|
3058
|
+
views(library: $libraryId) {
|
|
3059
|
+
totalCount
|
|
3060
|
+
list {
|
|
3061
|
+
...ViewDetails
|
|
3045
3062
|
}
|
|
3046
|
-
|
|
3063
|
+
}
|
|
3064
|
+
}
|
|
3065
|
+
${ViewDetailsFragmentDoc}`;
|
|
3047
3066
|
/**
|
|
3048
3067
|
* __useGetViewsListQuery__
|
|
3049
3068
|
*
|
|
@@ -3074,11 +3093,11 @@ export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
|
3074
3093
|
}
|
|
3075
3094
|
export const SaveViewDocument = gql `
|
|
3076
3095
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
${ViewDetailsFragmentDoc}`;
|
|
3096
|
+
saveView(view: $view) {
|
|
3097
|
+
...ViewDetails
|
|
3098
|
+
}
|
|
3099
|
+
}
|
|
3100
|
+
${ViewDetailsFragmentDoc}`;
|
|
3082
3101
|
/**
|
|
3083
3102
|
* __useSaveViewMutation__
|
|
3084
3103
|
*
|
|
@@ -3102,13 +3121,13 @@ export function useSaveViewMutation(baseOptions) {
|
|
|
3102
3121
|
}
|
|
3103
3122
|
export const GetAttributesByLibWithPermissionsDocument = gql `
|
|
3104
3123
|
query getAttributesByLibWithPermissions($library: String!) {
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
}
|
|
3109
|
-
}
|
|
3124
|
+
attributes(filters: {libraries: [$library]}) {
|
|
3125
|
+
list {
|
|
3126
|
+
...AttributesByLibAttributeWithPermissions
|
|
3110
3127
|
}
|
|
3111
|
-
|
|
3128
|
+
}
|
|
3129
|
+
}
|
|
3130
|
+
${AttributesByLibAttributeWithPermissionsFragmentDoc}`;
|
|
3112
3131
|
/**
|
|
3113
3132
|
* __useGetAttributesByLibWithPermissionsQuery__
|
|
3114
3133
|
*
|
|
@@ -3139,20 +3158,22 @@ export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
|
3139
3158
|
}
|
|
3140
3159
|
export const ExplorerAttributesDocument = gql `
|
|
3141
3160
|
query ExplorerAttributes($ids: [ID!]) {
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3161
|
+
attributes(filters: {ids: $ids}) {
|
|
3162
|
+
list {
|
|
3163
|
+
id
|
|
3164
|
+
type
|
|
3165
|
+
format
|
|
3166
|
+
label
|
|
3167
|
+
permissions {
|
|
3168
|
+
access_attribute
|
|
3169
|
+
}
|
|
3170
|
+
...LinkAttributeDetails
|
|
3171
|
+
...TreeAttributeDetails
|
|
3172
|
+
}
|
|
3173
|
+
}
|
|
3174
|
+
}
|
|
3175
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3176
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
3156
3177
|
/**
|
|
3157
3178
|
* __useExplorerAttributesQuery__
|
|
3158
3179
|
*
|
|
@@ -3183,19 +3204,21 @@ export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
|
3183
3204
|
}
|
|
3184
3205
|
export const ExplorerLinkAttributeDocument = gql `
|
|
3185
3206
|
query ExplorerLinkAttribute($id: ID!) {
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3207
|
+
attributes(filters: {ids: [$id]}) {
|
|
3208
|
+
list {
|
|
3209
|
+
id
|
|
3210
|
+
multiple_values
|
|
3211
|
+
permissions {
|
|
3212
|
+
access_attribute
|
|
3213
|
+
edit_value
|
|
3214
|
+
}
|
|
3215
|
+
...LinkAttributeDetails
|
|
3216
|
+
...TreeAttributeDetails
|
|
3217
|
+
}
|
|
3218
|
+
}
|
|
3219
|
+
}
|
|
3220
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3221
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
3199
3222
|
/**
|
|
3200
3223
|
* __useExplorerLinkAttributeQuery__
|
|
3201
3224
|
*
|
|
@@ -3226,35 +3249,35 @@ export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
|
3226
3249
|
}
|
|
3227
3250
|
export const ExplorerLibraryDataDocument = gql `
|
|
3228
3251
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
}
|
|
3252
|
-
}
|
|
3253
|
-
}
|
|
3252
|
+
records(
|
|
3253
|
+
library: $libraryId
|
|
3254
|
+
filters: $filters
|
|
3255
|
+
pagination: $pagination
|
|
3256
|
+
multipleSort: $multipleSort
|
|
3257
|
+
searchQuery: $searchQuery
|
|
3258
|
+
) {
|
|
3259
|
+
totalCount
|
|
3260
|
+
list {
|
|
3261
|
+
...RecordIdentity
|
|
3262
|
+
active
|
|
3263
|
+
permissions {
|
|
3264
|
+
create_record
|
|
3265
|
+
delete_record
|
|
3266
|
+
}
|
|
3267
|
+
properties(attributeIds: $attributeIds) {
|
|
3268
|
+
attributeId
|
|
3269
|
+
attributeProperties {
|
|
3270
|
+
...AttributeProperties
|
|
3271
|
+
}
|
|
3272
|
+
values {
|
|
3273
|
+
...PropertyValue
|
|
3254
3274
|
}
|
|
3275
|
+
}
|
|
3255
3276
|
}
|
|
3277
|
+
}
|
|
3278
|
+
}
|
|
3256
3279
|
${RecordIdentityFragmentDoc}
|
|
3257
|
-
|
|
3280
|
+
${AttributePropertiesFragmentDoc}
|
|
3258
3281
|
${PropertyValueFragmentDoc}`;
|
|
3259
3282
|
/**
|
|
3260
3283
|
* __useExplorerLibraryDataQuery__
|
|
@@ -3291,25 +3314,25 @@ export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
|
3291
3314
|
}
|
|
3292
3315
|
export const ExplorerLinkDataDocument = gql `
|
|
3293
3316
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
}
|
|
3305
|
-
}
|
|
3306
|
-
property(attribute: $linkAttributeId) {
|
|
3307
|
-
...LinkProperty
|
|
3308
|
-
}
|
|
3309
|
-
}
|
|
3317
|
+
records(
|
|
3318
|
+
library: $parentLibraryId
|
|
3319
|
+
filters: [{field: "id", condition: EQUAL, value: $parentRecordId}]
|
|
3320
|
+
) {
|
|
3321
|
+
list {
|
|
3322
|
+
id
|
|
3323
|
+
whoAmI {
|
|
3324
|
+
id
|
|
3325
|
+
library {
|
|
3326
|
+
id
|
|
3310
3327
|
}
|
|
3328
|
+
}
|
|
3329
|
+
property(attribute: $linkAttributeId) {
|
|
3330
|
+
...LinkProperty
|
|
3331
|
+
}
|
|
3311
3332
|
}
|
|
3312
|
-
|
|
3333
|
+
}
|
|
3334
|
+
}
|
|
3335
|
+
${LinkPropertyFragmentDoc}`;
|
|
3313
3336
|
/**
|
|
3314
3337
|
* __useExplorerLinkDataQuery__
|
|
3315
3338
|
*
|
|
@@ -3343,16 +3366,16 @@ export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
|
3343
3366
|
}
|
|
3344
3367
|
export const GetLibraryAttributesDocument = gql `
|
|
3345
3368
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
}
|
|
3353
|
-
}
|
|
3369
|
+
libraries(filters: {id: [$libraryId]}) {
|
|
3370
|
+
list {
|
|
3371
|
+
id
|
|
3372
|
+
attributes {
|
|
3373
|
+
...LibraryAttribute
|
|
3374
|
+
}
|
|
3354
3375
|
}
|
|
3355
|
-
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3378
|
+
${LibraryAttributeFragmentDoc}`;
|
|
3356
3379
|
/**
|
|
3357
3380
|
* __useGetLibraryAttributesQuery__
|
|
3358
3381
|
*
|
|
@@ -3383,15 +3406,15 @@ export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
|
3383
3406
|
}
|
|
3384
3407
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3385
3408
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
}
|
|
3392
|
-
}
|
|
3409
|
+
libraries(filters: {id: [$libraryId]}) {
|
|
3410
|
+
list {
|
|
3411
|
+
id
|
|
3412
|
+
label
|
|
3413
|
+
behavior
|
|
3393
3414
|
}
|
|
3394
|
-
|
|
3415
|
+
}
|
|
3416
|
+
}
|
|
3417
|
+
`;
|
|
3395
3418
|
/**
|
|
3396
3419
|
* __useExplorerLibraryDetailsQuery__
|
|
3397
3420
|
*
|
|
@@ -3422,13 +3445,13 @@ export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
|
3422
3445
|
}
|
|
3423
3446
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3424
3447
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
}
|
|
3429
|
-
}
|
|
3448
|
+
records(library: $libraryId, filters: $filters) {
|
|
3449
|
+
list {
|
|
3450
|
+
id
|
|
3430
3451
|
}
|
|
3431
|
-
|
|
3452
|
+
}
|
|
3453
|
+
}
|
|
3454
|
+
`;
|
|
3432
3455
|
/**
|
|
3433
3456
|
* __useExplorerSelectionIdsQuery__
|
|
3434
3457
|
*
|
|
@@ -3460,17 +3483,17 @@ export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
|
3460
3483
|
}
|
|
3461
3484
|
export const MeDocument = gql `
|
|
3462
3485
|
query Me {
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
}
|
|
3471
|
-
}
|
|
3486
|
+
me {
|
|
3487
|
+
id
|
|
3488
|
+
whoAmI {
|
|
3489
|
+
id
|
|
3490
|
+
library {
|
|
3491
|
+
id
|
|
3492
|
+
}
|
|
3472
3493
|
}
|
|
3473
|
-
|
|
3494
|
+
}
|
|
3495
|
+
}
|
|
3496
|
+
`;
|
|
3474
3497
|
/**
|
|
3475
3498
|
* __useMeQuery__
|
|
3476
3499
|
*
|
|
@@ -3500,11 +3523,11 @@ export function useMeSuspenseQuery(baseOptions) {
|
|
|
3500
3523
|
}
|
|
3501
3524
|
export const UpdateViewDocument = gql `
|
|
3502
3525
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
${ViewDetailsFragmentDoc}`;
|
|
3526
|
+
updateView(view: $view) {
|
|
3527
|
+
...ViewDetails
|
|
3528
|
+
}
|
|
3529
|
+
}
|
|
3530
|
+
${ViewDetailsFragmentDoc}`;
|
|
3508
3531
|
/**
|
|
3509
3532
|
* __useUpdateViewMutation__
|
|
3510
3533
|
*
|
|
@@ -3526,67 +3549,16 @@ export function useUpdateViewMutation(baseOptions) {
|
|
|
3526
3549
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3527
3550
|
return Apollo.useMutation(UpdateViewDocument, options);
|
|
3528
3551
|
}
|
|
3529
|
-
export const GetJoinLibraryMandatoryAttributeValuesDocument = gql `
|
|
3530
|
-
query getJoinLibraryMandatoryAttributeValues($joinLibraryId: ID!, $filters: [RecordFilterInput], $mandatoryAttributeId: ID!) {
|
|
3531
|
-
records(library: $joinLibraryId, filters: $filters) {
|
|
3532
|
-
list {
|
|
3533
|
-
id
|
|
3534
|
-
property(attribute: $mandatoryAttributeId) {
|
|
3535
|
-
... on LinkValue {
|
|
3536
|
-
payload {
|
|
3537
|
-
id
|
|
3538
|
-
}
|
|
3539
|
-
}
|
|
3540
|
-
... on TreeValue {
|
|
3541
|
-
payload {
|
|
3542
|
-
id
|
|
3543
|
-
}
|
|
3544
|
-
}
|
|
3545
|
-
}
|
|
3546
|
-
}
|
|
3547
|
-
}
|
|
3548
|
-
}
|
|
3549
|
-
`;
|
|
3550
|
-
/**
|
|
3551
|
-
* __useGetJoinLibraryMandatoryAttributeValuesQuery__
|
|
3552
|
-
*
|
|
3553
|
-
* To run a query within a React component, call `useGetJoinLibraryMandatoryAttributeValuesQuery` and pass it any options that fit your needs.
|
|
3554
|
-
* When your component renders, `useGetJoinLibraryMandatoryAttributeValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3555
|
-
* you can use to render your UI.
|
|
3556
|
-
*
|
|
3557
|
-
* @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;
|
|
3558
|
-
*
|
|
3559
|
-
* @example
|
|
3560
|
-
* const { data, loading, error } = useGetJoinLibraryMandatoryAttributeValuesQuery({
|
|
3561
|
-
* variables: {
|
|
3562
|
-
* joinLibraryId: // value for 'joinLibraryId'
|
|
3563
|
-
* filters: // value for 'filters'
|
|
3564
|
-
* mandatoryAttributeId: // value for 'mandatoryAttributeId'
|
|
3565
|
-
* },
|
|
3566
|
-
* });
|
|
3567
|
-
*/
|
|
3568
|
-
export function useGetJoinLibraryMandatoryAttributeValuesQuery(baseOptions) {
|
|
3569
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3570
|
-
return Apollo.useQuery(GetJoinLibraryMandatoryAttributeValuesDocument, options);
|
|
3571
|
-
}
|
|
3572
|
-
export function useGetJoinLibraryMandatoryAttributeValuesLazyQuery(baseOptions) {
|
|
3573
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3574
|
-
return Apollo.useLazyQuery(GetJoinLibraryMandatoryAttributeValuesDocument, options);
|
|
3575
|
-
}
|
|
3576
|
-
export function useGetJoinLibraryMandatoryAttributeValuesSuspenseQuery(baseOptions) {
|
|
3577
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
3578
|
-
return Apollo.useSuspenseQuery(GetJoinLibraryMandatoryAttributeValuesDocument, options);
|
|
3579
|
-
}
|
|
3580
3552
|
export const TreeDataQueryDocument = gql `
|
|
3581
3553
|
query TreeDataQuery($treeId: ID!) {
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
}
|
|
3587
|
-
}
|
|
3554
|
+
trees(filters: {id: [$treeId]}) {
|
|
3555
|
+
list {
|
|
3556
|
+
id
|
|
3557
|
+
label
|
|
3588
3558
|
}
|
|
3589
|
-
|
|
3559
|
+
}
|
|
3560
|
+
}
|
|
3561
|
+
`;
|
|
3590
3562
|
/**
|
|
3591
3563
|
* __useTreeDataQueryQuery__
|
|
3592
3564
|
*
|