@leav/ui 0.4.0-c10dd58e → 0.4.0-c3ee29dd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__mocks__/common/form.d.ts +0 -632
- package/dist/__mocks__/common/form.js +22 -27
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +1636 -1778
- package/dist/_gqlTypes/index.js +1303 -1378
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js +5 -1
- package/dist/_queries/records/getRecordFormQuery.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 +32 -27
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +32 -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 +9 -19
- 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 +44 -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 +2 -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 +29 -68
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +9 -18
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +0 -6
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +1 -7
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +2 -15
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +24 -47
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- 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/useRecordEditionContext.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js +7 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +0 -4
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +5 -3
- 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/FormTabs/FormTabs.js +5 -25
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +3 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +7 -34
- 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 +76 -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.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +85 -72
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +4 -14
- 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 +5 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +2 -4
- 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/editRecordReducer/editRecordReducer.d.ts +1 -6
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +1 -5
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.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 +58 -39
- 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/useGetRecordForm/useGetRecordForm.d.ts +1 -2
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +13 -2
- package/dist/hooks/useGetRecordForm/useGetRecordForm.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/dist/locales/en/shared.json +2 -1
- package/dist/locales/fr/shared.json +1 -0
- package/package.json +3 -3
- 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/useFetchVisibleFormValue.d.ts +0 -13
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js +0 -119
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.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";
|
|
@@ -217,6 +218,7 @@ export var PermissionsActions;
|
|
|
217
218
|
PermissionsActions["admin_edit_permission"] = "admin_edit_permission";
|
|
218
219
|
PermissionsActions["admin_edit_tree"] = "admin_edit_tree";
|
|
219
220
|
PermissionsActions["admin_edit_version_profile"] = "admin_edit_version_profile";
|
|
221
|
+
PermissionsActions["admin_import_config_clear_database"] = "admin_import_config_clear_database";
|
|
220
222
|
PermissionsActions["admin_library"] = "admin_library";
|
|
221
223
|
PermissionsActions["admin_manage_global_preferences"] = "admin_manage_global_preferences";
|
|
222
224
|
PermissionsActions["create_record"] = "create_record";
|
|
@@ -341,711 +343,730 @@ export var ViewTypes;
|
|
|
341
343
|
})(ViewTypes || (ViewTypes = {}));
|
|
342
344
|
export const RecordIdentityFragmentDoc = gql `
|
|
343
345
|
fragment RecordIdentity on Record {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
`;
|
|
346
|
+
id
|
|
347
|
+
whoAmI {
|
|
348
|
+
id
|
|
349
|
+
label
|
|
350
|
+
subLabel
|
|
351
|
+
color
|
|
352
|
+
library {
|
|
353
|
+
id
|
|
354
|
+
label
|
|
355
|
+
}
|
|
356
|
+
preview
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
`;
|
|
358
360
|
export const DetailsApplicationFragmentDoc = gql `
|
|
359
361
|
fragment DetailsApplication on Application {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
${RecordIdentityFragmentDoc}`;
|
|
362
|
+
id
|
|
363
|
+
label
|
|
364
|
+
type
|
|
365
|
+
description
|
|
366
|
+
endpoint
|
|
367
|
+
url
|
|
368
|
+
color
|
|
369
|
+
icon {
|
|
370
|
+
...RecordIdentity
|
|
371
|
+
}
|
|
372
|
+
module
|
|
373
|
+
permissions {
|
|
374
|
+
access_application
|
|
375
|
+
admin_application
|
|
376
|
+
}
|
|
377
|
+
settings
|
|
378
|
+
}
|
|
379
|
+
${RecordIdentityFragmentDoc}`;
|
|
378
380
|
export const AttributeDetailsFragmentDoc = gql `
|
|
379
381
|
fragment AttributeDetails on Attribute {
|
|
382
|
+
id
|
|
383
|
+
type
|
|
384
|
+
format
|
|
385
|
+
system
|
|
386
|
+
readonly
|
|
387
|
+
label
|
|
388
|
+
description
|
|
389
|
+
multiple_values
|
|
390
|
+
multi_link_display_option
|
|
391
|
+
metadata_fields {
|
|
392
|
+
id
|
|
393
|
+
label
|
|
394
|
+
type
|
|
395
|
+
format
|
|
396
|
+
}
|
|
397
|
+
versions_conf {
|
|
398
|
+
versionable
|
|
399
|
+
mode
|
|
400
|
+
profile {
|
|
401
|
+
id
|
|
402
|
+
label
|
|
403
|
+
trees {
|
|
380
404
|
id
|
|
381
|
-
type
|
|
382
|
-
format
|
|
383
|
-
system
|
|
384
|
-
readonly
|
|
385
405
|
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
|
-
`;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
libraries {
|
|
410
|
+
id
|
|
411
|
+
label
|
|
412
|
+
}
|
|
413
|
+
... on StandardAttribute {
|
|
414
|
+
unique
|
|
415
|
+
}
|
|
416
|
+
... on LinkAttribute {
|
|
417
|
+
linked_library {
|
|
418
|
+
id
|
|
419
|
+
label
|
|
420
|
+
}
|
|
421
|
+
reverse_link
|
|
422
|
+
}
|
|
423
|
+
... on TreeAttribute {
|
|
424
|
+
linked_tree {
|
|
425
|
+
id
|
|
426
|
+
label
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
`;
|
|
429
431
|
export const AttributesByLibLinkAttributeFragmentDoc = gql `
|
|
430
432
|
fragment AttributesByLibLinkAttribute on LinkAttribute {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
`;
|
|
433
|
+
linked_library {
|
|
434
|
+
id
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
`;
|
|
436
438
|
export const AttributesByLibAttributeFragmentDoc = gql `
|
|
437
439
|
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}`;
|
|
467
|
-
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
468
|
-
fragment ValuesVersionDetails on ValueVersion {
|
|
469
|
-
treeId
|
|
470
|
-
treeNode {
|
|
471
|
-
id
|
|
472
|
-
record {
|
|
473
|
-
id
|
|
474
|
-
whoAmI {
|
|
475
|
-
id
|
|
476
|
-
label
|
|
477
|
-
library {
|
|
478
|
-
id
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
`;
|
|
485
|
-
export const ValueDetailsFragmentDoc = gql `
|
|
486
|
-
fragment ValueDetails on GenericValue {
|
|
487
|
-
id_value
|
|
488
|
-
isInherited
|
|
489
|
-
isCalculated
|
|
490
|
-
modified_at
|
|
491
|
-
modified_by {
|
|
492
|
-
...RecordIdentity
|
|
493
|
-
}
|
|
494
|
-
created_at
|
|
495
|
-
created_by {
|
|
496
|
-
...RecordIdentity
|
|
497
|
-
}
|
|
498
|
-
version {
|
|
499
|
-
...ValuesVersionDetails
|
|
500
|
-
}
|
|
501
|
-
attribute {
|
|
502
|
-
id
|
|
503
|
-
format
|
|
504
|
-
type
|
|
505
|
-
system
|
|
506
|
-
}
|
|
507
|
-
metadata {
|
|
508
|
-
name
|
|
509
|
-
value {
|
|
510
|
-
id_value
|
|
511
|
-
modified_at
|
|
512
|
-
modified_by {
|
|
513
|
-
...RecordIdentity
|
|
514
|
-
}
|
|
515
|
-
created_at
|
|
516
|
-
created_by {
|
|
517
|
-
...RecordIdentity
|
|
518
|
-
}
|
|
519
|
-
version {
|
|
520
|
-
...ValuesVersionDetails
|
|
521
|
-
}
|
|
522
|
-
payload
|
|
523
|
-
raw_payload
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
... on Value {
|
|
527
|
-
payload
|
|
528
|
-
raw_payload
|
|
529
|
-
value
|
|
530
|
-
raw_value
|
|
531
|
-
}
|
|
532
|
-
... on LinkValue {
|
|
533
|
-
linkValue: payload {
|
|
534
|
-
...RecordIdentity
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
... on TreeValue {
|
|
538
|
-
treeValue: payload {
|
|
539
|
-
id
|
|
540
|
-
record {
|
|
541
|
-
...RecordIdentity
|
|
542
|
-
}
|
|
543
|
-
ancestors {
|
|
544
|
-
record {
|
|
545
|
-
...RecordIdentity
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
${RecordIdentityFragmentDoc}
|
|
552
|
-
${ValuesVersionDetailsFragmentDoc}`;
|
|
553
|
-
export const RecordFormElementValuesFragmentDoc = gql `
|
|
554
|
-
fragment RecordFormElementValues on FormElementValues {
|
|
555
|
-
id
|
|
556
|
-
valueError
|
|
557
|
-
values {
|
|
558
|
-
...ValueDetails
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
${ValueDetailsFragmentDoc}`;
|
|
440
|
+
id
|
|
441
|
+
type
|
|
442
|
+
format
|
|
443
|
+
label
|
|
444
|
+
multiple_values
|
|
445
|
+
system
|
|
446
|
+
readonly
|
|
447
|
+
...AttributesByLibLinkAttribute
|
|
448
|
+
... on TreeAttribute {
|
|
449
|
+
linked_tree {
|
|
450
|
+
id
|
|
451
|
+
label
|
|
452
|
+
libraries {
|
|
453
|
+
library {
|
|
454
|
+
id
|
|
455
|
+
label
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
... on StandardAttribute {
|
|
461
|
+
embedded_fields {
|
|
462
|
+
id
|
|
463
|
+
format
|
|
464
|
+
label
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
${AttributesByLibLinkAttributeFragmentDoc}`;
|
|
562
469
|
export const LibraryLightFragmentDoc = gql `
|
|
563
470
|
fragment LibraryLight on Library {
|
|
471
|
+
id
|
|
472
|
+
label
|
|
473
|
+
icon {
|
|
474
|
+
id
|
|
475
|
+
whoAmI {
|
|
476
|
+
id
|
|
477
|
+
library {
|
|
564
478
|
id
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
id
|
|
568
|
-
whoAmI {
|
|
569
|
-
id
|
|
570
|
-
library {
|
|
571
|
-
id
|
|
572
|
-
}
|
|
573
|
-
preview
|
|
574
|
-
}
|
|
575
|
-
}
|
|
479
|
+
}
|
|
480
|
+
preview
|
|
576
481
|
}
|
|
577
|
-
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
`;
|
|
578
485
|
export const LibraryLinkAttributeDetailsFragmentDoc = gql `
|
|
579
486
|
fragment LibraryLinkAttributeDetails on LinkAttribute {
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
`;
|
|
487
|
+
linked_library {
|
|
488
|
+
id
|
|
489
|
+
behavior
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
`;
|
|
586
493
|
export const LibraryAttributesFragmentDoc = gql `
|
|
587
494
|
fragment LibraryAttributes on Attribute {
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
${LibraryLinkAttributeDetailsFragmentDoc}`;
|
|
495
|
+
id
|
|
496
|
+
label
|
|
497
|
+
system
|
|
498
|
+
type
|
|
499
|
+
format
|
|
500
|
+
...LibraryLinkAttributeDetails
|
|
501
|
+
}
|
|
502
|
+
${LibraryLinkAttributeDetailsFragmentDoc}`;
|
|
596
503
|
export const LibraryPreviewsSettingsFragmentDoc = gql `
|
|
597
504
|
fragment LibraryPreviewsSettings on LibraryPreviewsSettings {
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
`;
|
|
505
|
+
label
|
|
506
|
+
description
|
|
507
|
+
system
|
|
508
|
+
versions {
|
|
509
|
+
background
|
|
510
|
+
density
|
|
511
|
+
sizes {
|
|
512
|
+
name
|
|
513
|
+
size
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
`;
|
|
611
518
|
export const LibraryDetailsFragmentDoc = gql `
|
|
612
519
|
fragment LibraryDetails on Library {
|
|
520
|
+
id
|
|
521
|
+
label
|
|
522
|
+
behavior
|
|
523
|
+
system
|
|
524
|
+
label
|
|
525
|
+
fullTextAttributes {
|
|
526
|
+
id
|
|
527
|
+
label
|
|
528
|
+
}
|
|
529
|
+
attributes {
|
|
530
|
+
...LibraryAttributes
|
|
531
|
+
}
|
|
532
|
+
permissions_conf {
|
|
533
|
+
permissionTreeAttributes {
|
|
534
|
+
id
|
|
535
|
+
... on TreeAttribute {
|
|
536
|
+
linked_tree {
|
|
537
|
+
id
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
label
|
|
541
|
+
}
|
|
542
|
+
relation
|
|
543
|
+
}
|
|
544
|
+
recordIdentityConf {
|
|
545
|
+
label
|
|
546
|
+
subLabel
|
|
547
|
+
color
|
|
548
|
+
preview
|
|
549
|
+
treeColorPreview
|
|
550
|
+
}
|
|
551
|
+
permissions {
|
|
552
|
+
admin_library
|
|
553
|
+
access_library
|
|
554
|
+
access_record
|
|
555
|
+
create_record
|
|
556
|
+
edit_record
|
|
557
|
+
delete_record
|
|
558
|
+
}
|
|
559
|
+
icon {
|
|
560
|
+
...RecordIdentity
|
|
561
|
+
}
|
|
562
|
+
previewsSettings {
|
|
563
|
+
...LibraryPreviewsSettings
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
${LibraryAttributesFragmentDoc}
|
|
567
|
+
${RecordIdentityFragmentDoc}
|
|
568
|
+
${LibraryPreviewsSettingsFragmentDoc}`;
|
|
569
|
+
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
570
|
+
fragment ValuesVersionDetails on ValueVersion {
|
|
571
|
+
treeId
|
|
572
|
+
treeNode {
|
|
573
|
+
id
|
|
574
|
+
record {
|
|
575
|
+
id
|
|
576
|
+
whoAmI {
|
|
613
577
|
id
|
|
614
578
|
label
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
label
|
|
618
|
-
fullTextAttributes {
|
|
619
|
-
id
|
|
620
|
-
label
|
|
621
|
-
}
|
|
622
|
-
attributes {
|
|
623
|
-
...LibraryAttributes
|
|
624
|
-
}
|
|
625
|
-
permissions_conf {
|
|
626
|
-
permissionTreeAttributes {
|
|
627
|
-
id
|
|
628
|
-
... on TreeAttribute {
|
|
629
|
-
linked_tree {
|
|
630
|
-
id
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
label
|
|
634
|
-
}
|
|
635
|
-
relation
|
|
636
|
-
}
|
|
637
|
-
recordIdentityConf {
|
|
638
|
-
label
|
|
639
|
-
subLabel
|
|
640
|
-
color
|
|
641
|
-
preview
|
|
642
|
-
treeColorPreview
|
|
643
|
-
}
|
|
644
|
-
permissions {
|
|
645
|
-
admin_library
|
|
646
|
-
access_library
|
|
647
|
-
access_record
|
|
648
|
-
create_record
|
|
649
|
-
edit_record
|
|
650
|
-
delete_record
|
|
651
|
-
}
|
|
652
|
-
icon {
|
|
653
|
-
...RecordIdentity
|
|
579
|
+
library {
|
|
580
|
+
id
|
|
654
581
|
}
|
|
655
|
-
|
|
656
|
-
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
`;
|
|
587
|
+
export const ValueDetailsFragmentDoc = gql `
|
|
588
|
+
fragment ValueDetails on GenericValue {
|
|
589
|
+
id_value
|
|
590
|
+
isInherited
|
|
591
|
+
isCalculated
|
|
592
|
+
modified_at
|
|
593
|
+
modified_by {
|
|
594
|
+
...RecordIdentity
|
|
595
|
+
}
|
|
596
|
+
created_at
|
|
597
|
+
created_by {
|
|
598
|
+
...RecordIdentity
|
|
599
|
+
}
|
|
600
|
+
version {
|
|
601
|
+
...ValuesVersionDetails
|
|
602
|
+
}
|
|
603
|
+
attribute {
|
|
604
|
+
id
|
|
605
|
+
format
|
|
606
|
+
type
|
|
607
|
+
system
|
|
608
|
+
}
|
|
609
|
+
metadata {
|
|
610
|
+
name
|
|
611
|
+
value {
|
|
612
|
+
id_value
|
|
613
|
+
modified_at
|
|
614
|
+
modified_by {
|
|
615
|
+
...RecordIdentity
|
|
616
|
+
}
|
|
617
|
+
created_at
|
|
618
|
+
created_by {
|
|
619
|
+
...RecordIdentity
|
|
620
|
+
}
|
|
621
|
+
version {
|
|
622
|
+
...ValuesVersionDetails
|
|
623
|
+
}
|
|
624
|
+
payload
|
|
625
|
+
raw_payload
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
... on Value {
|
|
629
|
+
payload
|
|
630
|
+
raw_payload
|
|
631
|
+
value
|
|
632
|
+
raw_value
|
|
633
|
+
}
|
|
634
|
+
... on LinkValue {
|
|
635
|
+
linkValue: payload {
|
|
636
|
+
...RecordIdentity
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
... on TreeValue {
|
|
640
|
+
treeValue: payload {
|
|
641
|
+
id
|
|
642
|
+
record {
|
|
643
|
+
...RecordIdentity
|
|
644
|
+
}
|
|
645
|
+
ancestors {
|
|
646
|
+
record {
|
|
647
|
+
...RecordIdentity
|
|
657
648
|
}
|
|
649
|
+
}
|
|
658
650
|
}
|
|
659
|
-
|
|
651
|
+
}
|
|
652
|
+
}
|
|
660
653
|
${RecordIdentityFragmentDoc}
|
|
661
|
-
${
|
|
654
|
+
${ValuesVersionDetailsFragmentDoc}`;
|
|
662
655
|
export const StandardValuesListFragmentFragmentDoc = gql `
|
|
663
656
|
fragment StandardValuesListFragment on StandardValuesListConf {
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
`;
|
|
657
|
+
... on StandardStringValuesListConf {
|
|
658
|
+
enable
|
|
659
|
+
allowFreeEntry
|
|
660
|
+
allowListUpdate
|
|
661
|
+
values
|
|
662
|
+
}
|
|
663
|
+
... on StandardDateRangeValuesListConf {
|
|
664
|
+
enable
|
|
665
|
+
allowFreeEntry
|
|
666
|
+
allowListUpdate
|
|
667
|
+
dateRangeValues: values {
|
|
668
|
+
from
|
|
669
|
+
to
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
`;
|
|
681
674
|
export const RecordFormAttributeFragmentDoc = gql `
|
|
682
675
|
fragment RecordFormAttribute on Attribute {
|
|
676
|
+
id
|
|
677
|
+
label
|
|
678
|
+
description
|
|
679
|
+
type
|
|
680
|
+
format
|
|
681
|
+
system
|
|
682
|
+
readonly
|
|
683
|
+
required
|
|
684
|
+
multiple_values
|
|
685
|
+
compute
|
|
686
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
687
|
+
access_attribute
|
|
688
|
+
edit_value
|
|
689
|
+
}
|
|
690
|
+
versions_conf {
|
|
691
|
+
versionable
|
|
692
|
+
profile {
|
|
693
|
+
id
|
|
694
|
+
trees {
|
|
683
695
|
id
|
|
684
696
|
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
|
-
}
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
metadata_fields {
|
|
701
|
+
id
|
|
702
|
+
label
|
|
703
|
+
description
|
|
704
|
+
type
|
|
705
|
+
format
|
|
706
|
+
system
|
|
707
|
+
readonly
|
|
708
|
+
multiple_values
|
|
709
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
710
|
+
access_attribute
|
|
711
|
+
edit_value
|
|
712
|
+
}
|
|
713
|
+
values_list {
|
|
714
|
+
...StandardValuesListFragment
|
|
715
|
+
}
|
|
716
|
+
metadata_fields {
|
|
717
|
+
id
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
... on StandardAttribute {
|
|
721
|
+
values_list {
|
|
722
|
+
...StandardValuesListFragment
|
|
723
|
+
}
|
|
724
|
+
character_limit
|
|
725
|
+
}
|
|
726
|
+
... on LinkAttribute {
|
|
727
|
+
linked_library {
|
|
728
|
+
id
|
|
729
|
+
label
|
|
730
|
+
behavior
|
|
731
|
+
permissions {
|
|
732
|
+
create_record
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
linkValuesList: values_list {
|
|
736
|
+
enable
|
|
737
|
+
allowFreeEntry
|
|
738
|
+
allowListUpdate
|
|
739
|
+
values {
|
|
740
|
+
...RecordIdentity
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
... on TreeAttribute {
|
|
745
|
+
linked_tree {
|
|
746
|
+
id
|
|
747
|
+
label
|
|
748
|
+
}
|
|
749
|
+
treeValuesList: values_list {
|
|
750
|
+
enable
|
|
751
|
+
allowFreeEntry
|
|
752
|
+
allowListUpdate
|
|
753
|
+
values {
|
|
754
|
+
id
|
|
755
|
+
record {
|
|
756
|
+
...RecordIdentity
|
|
750
757
|
}
|
|
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
|
-
}
|
|
758
|
+
ancestors {
|
|
759
|
+
record {
|
|
760
|
+
...RecordIdentity
|
|
761
|
+
}
|
|
772
762
|
}
|
|
763
|
+
}
|
|
773
764
|
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
774
767
|
${StandardValuesListFragmentFragmentDoc}
|
|
775
768
|
${RecordIdentityFragmentDoc}`;
|
|
776
769
|
export const JoinLibraryContextFragmentDoc = gql `
|
|
777
770
|
fragment JoinLibraryContext on FormElementJoinLibraryContext {
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
${RecordFormAttributeFragmentDoc}`;
|
|
771
|
+
mandatoryAttribute {
|
|
772
|
+
...RecordFormAttribute
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
${RecordFormAttributeFragmentDoc}`;
|
|
783
776
|
export const RecordFormElementFragmentDoc = gql `
|
|
784
|
-
fragment RecordFormElement on
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
777
|
+
fragment RecordFormElement on FormElementWithValues {
|
|
778
|
+
id
|
|
779
|
+
containerId
|
|
780
|
+
uiElementType
|
|
781
|
+
type
|
|
782
|
+
valueError
|
|
783
|
+
values {
|
|
784
|
+
...ValueDetails
|
|
785
|
+
}
|
|
786
|
+
attribute {
|
|
787
|
+
...RecordFormAttribute
|
|
788
|
+
}
|
|
789
|
+
settings {
|
|
790
|
+
key
|
|
791
|
+
value
|
|
792
|
+
}
|
|
793
|
+
joinLibraryContext {
|
|
794
|
+
...JoinLibraryContext
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
${ValueDetailsFragmentDoc}
|
|
798
|
+
${RecordFormAttributeFragmentDoc}
|
|
801
799
|
${JoinLibraryContextFragmentDoc}`;
|
|
802
800
|
export const TreeLightFragmentDoc = gql `
|
|
803
801
|
fragment TreeLight on Tree {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
`;
|
|
802
|
+
id
|
|
803
|
+
label
|
|
804
|
+
}
|
|
805
|
+
`;
|
|
808
806
|
export const TreeDetailsFragmentDoc = gql `
|
|
809
807
|
fragment TreeDetails on Tree {
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
`;
|
|
808
|
+
id
|
|
809
|
+
label
|
|
810
|
+
behavior
|
|
811
|
+
system
|
|
812
|
+
libraries {
|
|
813
|
+
library {
|
|
814
|
+
id
|
|
815
|
+
label
|
|
816
|
+
}
|
|
817
|
+
settings {
|
|
818
|
+
allowMultiplePositions
|
|
819
|
+
allowedAtRoot
|
|
820
|
+
allowedChildren
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
`;
|
|
827
825
|
export const TreeNodeChildFragmentDoc = gql `
|
|
828
826
|
fragment TreeNodeChild on TreeNodeLight {
|
|
827
|
+
id
|
|
828
|
+
order
|
|
829
|
+
childrenCount
|
|
830
|
+
record {
|
|
831
|
+
...RecordIdentity
|
|
832
|
+
active: property(attribute: "active") {
|
|
833
|
+
... on Value {
|
|
834
|
+
value
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
ancestors {
|
|
839
|
+
id
|
|
840
|
+
record {
|
|
841
|
+
id
|
|
842
|
+
library {
|
|
829
843
|
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
|
-
}
|
|
844
|
+
label
|
|
845
|
+
}
|
|
846
|
+
...RecordIdentity
|
|
856
847
|
}
|
|
857
|
-
|
|
848
|
+
}
|
|
849
|
+
permissions {
|
|
850
|
+
access_tree
|
|
851
|
+
detach
|
|
852
|
+
edit_children
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
${RecordIdentityFragmentDoc}`;
|
|
858
856
|
export const ViewDetailsFilterFragmentDoc = gql `
|
|
859
857
|
fragment ViewDetailsFilter on RecordFilter {
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
`;
|
|
858
|
+
field
|
|
859
|
+
value
|
|
860
|
+
tree {
|
|
861
|
+
id
|
|
862
|
+
label
|
|
863
|
+
}
|
|
864
|
+
condition
|
|
865
|
+
operator
|
|
866
|
+
}
|
|
867
|
+
`;
|
|
870
868
|
export const ViewDetailsFragmentDoc = gql `
|
|
871
869
|
fragment ViewDetails on View {
|
|
870
|
+
id
|
|
871
|
+
display {
|
|
872
|
+
size
|
|
873
|
+
type
|
|
874
|
+
}
|
|
875
|
+
shared
|
|
876
|
+
created_by {
|
|
877
|
+
id
|
|
878
|
+
whoAmI {
|
|
879
|
+
id
|
|
880
|
+
label
|
|
881
|
+
library {
|
|
872
882
|
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
|
-
}
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
label
|
|
887
|
+
description
|
|
888
|
+
color
|
|
889
|
+
filters {
|
|
890
|
+
...ViewDetailsFilter
|
|
891
|
+
}
|
|
892
|
+
sort {
|
|
893
|
+
field
|
|
894
|
+
order
|
|
895
|
+
}
|
|
896
|
+
valuesVersions {
|
|
897
|
+
treeId
|
|
898
|
+
treeNode {
|
|
899
|
+
id
|
|
900
|
+
record {
|
|
901
|
+
...RecordIdentity
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
attributes {
|
|
906
|
+
id
|
|
907
|
+
}
|
|
908
|
+
}
|
|
911
909
|
${ViewDetailsFilterFragmentDoc}
|
|
912
910
|
${RecordIdentityFragmentDoc}`;
|
|
913
911
|
export const AttributesByLibLinkAttributeWithPermissionsFragmentDoc = gql `
|
|
914
912
|
fragment AttributesByLibLinkAttributeWithPermissions on LinkAttribute {
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
`;
|
|
913
|
+
linked_library {
|
|
914
|
+
id
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
`;
|
|
920
918
|
export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
|
|
921
919
|
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}`;
|
|
920
|
+
id
|
|
921
|
+
type
|
|
922
|
+
format
|
|
923
|
+
label
|
|
924
|
+
multiple_values
|
|
925
|
+
system
|
|
926
|
+
readonly
|
|
927
|
+
permissions {
|
|
928
|
+
access_attribute
|
|
929
|
+
}
|
|
930
|
+
...AttributesByLibLinkAttributeWithPermissions
|
|
931
|
+
... on TreeAttribute {
|
|
932
|
+
linked_tree {
|
|
933
|
+
id
|
|
934
|
+
label
|
|
935
|
+
libraries {
|
|
936
|
+
library {
|
|
937
|
+
id
|
|
938
|
+
label
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
... on StandardAttribute {
|
|
944
|
+
embedded_fields {
|
|
945
|
+
id
|
|
946
|
+
format
|
|
947
|
+
label
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
${AttributesByLibLinkAttributeWithPermissionsFragmentDoc}`;
|
|
954
952
|
export const LinkAttributeDetailsFragmentDoc = gql `
|
|
955
953
|
fragment LinkAttributeDetails on LinkAttribute {
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
954
|
+
label
|
|
955
|
+
linked_library {
|
|
956
|
+
id
|
|
957
|
+
label
|
|
958
|
+
}
|
|
959
|
+
values_list {
|
|
960
|
+
allowFreeEntry
|
|
961
|
+
enable
|
|
962
|
+
values {
|
|
963
|
+
id
|
|
964
|
+
whoAmI {
|
|
965
|
+
id
|
|
966
|
+
library {
|
|
967
|
+
id
|
|
960
968
|
}
|
|
969
|
+
}
|
|
961
970
|
}
|
|
962
|
-
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
`;
|
|
974
|
+
export const TreeAttributeDetailsFragmentDoc = gql `
|
|
975
|
+
fragment TreeAttributeDetails on TreeAttribute {
|
|
976
|
+
id
|
|
977
|
+
label
|
|
978
|
+
linked_tree {
|
|
979
|
+
id
|
|
980
|
+
label
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
`;
|
|
963
984
|
export const AttributePropertiesFragmentDoc = gql `
|
|
964
985
|
fragment AttributeProperties on Attribute {
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
`;
|
|
986
|
+
id
|
|
987
|
+
label
|
|
988
|
+
type
|
|
989
|
+
format
|
|
990
|
+
multiple_values
|
|
991
|
+
multi_link_display_option
|
|
992
|
+
}
|
|
993
|
+
`;
|
|
973
994
|
export const PropertyValueFragmentDoc = gql `
|
|
974
995
|
fragment PropertyValue on GenericValue {
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
${RecordIdentityFragmentDoc}`;
|
|
996
|
+
... on Value {
|
|
997
|
+
valuePayload: payload
|
|
998
|
+
valueRawPayload: raw_payload
|
|
999
|
+
}
|
|
1000
|
+
... on LinkValue {
|
|
1001
|
+
linkPayload: payload {
|
|
1002
|
+
...RecordIdentity
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
... on TreeValue {
|
|
1006
|
+
treePayload: payload {
|
|
1007
|
+
record {
|
|
1008
|
+
...RecordIdentity
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
${RecordIdentityFragmentDoc}`;
|
|
993
1014
|
export const LinkPropertyFragmentDoc = gql `
|
|
994
1015
|
fragment LinkProperty on GenericValue {
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1016
|
+
id_value
|
|
1017
|
+
... on LinkValue {
|
|
1018
|
+
payload {
|
|
1019
|
+
...RecordIdentity
|
|
1020
|
+
properties(attributeIds: $attributeIds) {
|
|
1021
|
+
attributeId
|
|
1022
|
+
attributeProperties {
|
|
1023
|
+
...AttributeProperties
|
|
1024
|
+
}
|
|
1025
|
+
values {
|
|
1026
|
+
...PropertyValue
|
|
1009
1027
|
}
|
|
1028
|
+
}
|
|
1010
1029
|
}
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1011
1032
|
${RecordIdentityFragmentDoc}
|
|
1012
|
-
|
|
1033
|
+
${AttributePropertiesFragmentDoc}
|
|
1013
1034
|
${PropertyValueFragmentDoc}`;
|
|
1014
1035
|
export const LibraryAttributeLinkFragmentDoc = gql `
|
|
1015
1036
|
fragment LibraryAttributeLink on LinkAttribute {
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
`;
|
|
1037
|
+
linked_library {
|
|
1038
|
+
id
|
|
1039
|
+
label
|
|
1040
|
+
attributes {
|
|
1041
|
+
id
|
|
1042
|
+
type
|
|
1043
|
+
format
|
|
1044
|
+
label
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
`;
|
|
1028
1049
|
export const LibraryAttributeFragmentDoc = gql `
|
|
1029
1050
|
fragment LibraryAttribute on Attribute {
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
${LibraryAttributeLinkFragmentDoc}`;
|
|
1051
|
+
id
|
|
1052
|
+
type
|
|
1053
|
+
label
|
|
1054
|
+
permissions {
|
|
1055
|
+
access_attribute
|
|
1056
|
+
}
|
|
1057
|
+
... on StandardAttribute {
|
|
1058
|
+
format
|
|
1059
|
+
}
|
|
1060
|
+
...LibraryAttributeLink
|
|
1061
|
+
}
|
|
1062
|
+
${LibraryAttributeLinkFragmentDoc}`;
|
|
1042
1063
|
export const CheckApplicationExistenceDocument = gql `
|
|
1043
1064
|
query CHECK_APPLICATION_EXISTENCE($id: ID, $endpoint: String) {
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
`;
|
|
1065
|
+
applications(filters: {id: $id, endpoint: $endpoint}) {
|
|
1066
|
+
totalCount
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
`;
|
|
1049
1070
|
/**
|
|
1050
1071
|
* __useCheckApplicationExistenceQuery__
|
|
1051
1072
|
*
|
|
@@ -1077,13 +1098,13 @@ export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
|
1077
1098
|
}
|
|
1078
1099
|
export const GetApplicationByIdDocument = gql `
|
|
1079
1100
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1101
|
+
applications(filters: {id: $id}) {
|
|
1102
|
+
list {
|
|
1103
|
+
...DetailsApplication
|
|
1085
1104
|
}
|
|
1086
|
-
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
${DetailsApplicationFragmentDoc}`;
|
|
1087
1108
|
/**
|
|
1088
1109
|
* __useGetApplicationByIdQuery__
|
|
1089
1110
|
*
|
|
@@ -1114,13 +1135,13 @@ export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
|
1114
1135
|
}
|
|
1115
1136
|
export const GetApplicationModulesDocument = gql `
|
|
1116
1137
|
query GET_APPLICATION_MODULES {
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
`;
|
|
1138
|
+
applicationsModules {
|
|
1139
|
+
id
|
|
1140
|
+
description
|
|
1141
|
+
version
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
`;
|
|
1124
1145
|
/**
|
|
1125
1146
|
* __useGetApplicationModulesQuery__
|
|
1126
1147
|
*
|
|
@@ -1150,11 +1171,11 @@ export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
|
1150
1171
|
}
|
|
1151
1172
|
export const SaveApplicationDocument = gql `
|
|
1152
1173
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
${DetailsApplicationFragmentDoc}`;
|
|
1174
|
+
saveApplication(application: $application) {
|
|
1175
|
+
...DetailsApplication
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
${DetailsApplicationFragmentDoc}`;
|
|
1158
1179
|
/**
|
|
1159
1180
|
* __useSaveApplicationMutation__
|
|
1160
1181
|
*
|
|
@@ -1178,11 +1199,11 @@ export function useSaveApplicationMutation(baseOptions) {
|
|
|
1178
1199
|
}
|
|
1179
1200
|
export const CheckAttributeExistenceDocument = gql `
|
|
1180
1201
|
query CHECK_ATTRIBUTE_EXISTENCE($id: ID!) {
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
`;
|
|
1202
|
+
attributes(filters: {id: $id}) {
|
|
1203
|
+
totalCount
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
`;
|
|
1186
1207
|
/**
|
|
1187
1208
|
* __useCheckAttributeExistenceQuery__
|
|
1188
1209
|
*
|
|
@@ -1213,11 +1234,11 @@ export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
|
1213
1234
|
}
|
|
1214
1235
|
export const DeleteAttributeDocument = gql `
|
|
1215
1236
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
`;
|
|
1237
|
+
deleteAttribute(id: $id) {
|
|
1238
|
+
id
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
`;
|
|
1221
1242
|
/**
|
|
1222
1243
|
* __useDeleteAttributeMutation__
|
|
1223
1244
|
*
|
|
@@ -1241,13 +1262,13 @@ export function useDeleteAttributeMutation(baseOptions) {
|
|
|
1241
1262
|
}
|
|
1242
1263
|
export const GetAttributeByIdDocument = gql `
|
|
1243
1264
|
query GET_ATTRIBUTE_BY_ID($id: ID) {
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1265
|
+
attributes(filters: {id: $id}) {
|
|
1266
|
+
list {
|
|
1267
|
+
...AttributeDetails
|
|
1249
1268
|
}
|
|
1250
|
-
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1251
1272
|
/**
|
|
1252
1273
|
* __useGetAttributeByIdQuery__
|
|
1253
1274
|
*
|
|
@@ -1278,13 +1299,13 @@ export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
|
1278
1299
|
}
|
|
1279
1300
|
export const GetAttributesByLibDocument = gql `
|
|
1280
1301
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1302
|
+
attributes(filters: {libraries: [$library]}) {
|
|
1303
|
+
list {
|
|
1304
|
+
...AttributesByLibAttribute
|
|
1286
1305
|
}
|
|
1287
|
-
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
${AttributesByLibAttributeFragmentDoc}`;
|
|
1288
1309
|
/**
|
|
1289
1310
|
* __useGetAttributesByLibQuery__
|
|
1290
1311
|
*
|
|
@@ -1315,18 +1336,18 @@ export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
|
1315
1336
|
}
|
|
1316
1337
|
export const GetAttributesDocument = gql `
|
|
1317
1338
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1339
|
+
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
1340
|
+
totalCount
|
|
1341
|
+
list {
|
|
1342
|
+
id
|
|
1343
|
+
label
|
|
1344
|
+
type
|
|
1345
|
+
format
|
|
1346
|
+
system
|
|
1328
1347
|
}
|
|
1329
|
-
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
`;
|
|
1330
1351
|
/**
|
|
1331
1352
|
* __useGetAttributesQuery__
|
|
1332
1353
|
*
|
|
@@ -1359,14 +1380,14 @@ export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
|
1359
1380
|
}
|
|
1360
1381
|
export const GetVersionProfilesDocument = gql `
|
|
1361
1382
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
}
|
|
1367
|
-
}
|
|
1383
|
+
versionProfiles(filters: $filters, sort: $sort) {
|
|
1384
|
+
list {
|
|
1385
|
+
id
|
|
1386
|
+
label
|
|
1368
1387
|
}
|
|
1369
|
-
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
`;
|
|
1370
1391
|
/**
|
|
1371
1392
|
* __useGetVersionProfilesQuery__
|
|
1372
1393
|
*
|
|
@@ -1398,23 +1419,23 @@ export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
|
1398
1419
|
}
|
|
1399
1420
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1400
1421
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1422
|
+
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
1423
|
+
list {
|
|
1424
|
+
id
|
|
1425
|
+
versions_conf {
|
|
1426
|
+
versionable
|
|
1427
|
+
profile {
|
|
1428
|
+
id
|
|
1429
|
+
trees {
|
|
1430
|
+
id
|
|
1431
|
+
label
|
|
1432
|
+
}
|
|
1415
1433
|
}
|
|
1434
|
+
}
|
|
1416
1435
|
}
|
|
1417
|
-
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
`;
|
|
1418
1439
|
/**
|
|
1419
1440
|
* __useGetVersionableAttributesByLibraryQuery__
|
|
1420
1441
|
*
|
|
@@ -1445,11 +1466,11 @@ export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
|
1445
1466
|
}
|
|
1446
1467
|
export const SaveAttributeDocument = gql `
|
|
1447
1468
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
${AttributeDetailsFragmentDoc}`;
|
|
1469
|
+
saveAttribute(attribute: $attribute) {
|
|
1470
|
+
...AttributeDetails
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1453
1474
|
/**
|
|
1454
1475
|
* __useSaveAttributeMutation__
|
|
1455
1476
|
*
|
|
@@ -1473,9 +1494,9 @@ export function useSaveAttributeMutation(baseOptions) {
|
|
|
1473
1494
|
}
|
|
1474
1495
|
export const ExportDocument = gql `
|
|
1475
1496
|
query EXPORT($library: ID!, $attributes: [ID!], $filters: [RecordFilterInput!]) {
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
`;
|
|
1497
|
+
export(library: $library, attributes: $attributes, filters: $filters)
|
|
1498
|
+
}
|
|
1499
|
+
`;
|
|
1479
1500
|
/**
|
|
1480
1501
|
* __useExportQuery__
|
|
1481
1502
|
*
|
|
@@ -1508,11 +1529,11 @@ export function useExportSuspenseQuery(baseOptions) {
|
|
|
1508
1529
|
}
|
|
1509
1530
|
export const CreateDirectoryDocument = gql `
|
|
1510
1531
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
${RecordIdentityFragmentDoc}`;
|
|
1532
|
+
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
1533
|
+
...RecordIdentity
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
${RecordIdentityFragmentDoc}`;
|
|
1516
1537
|
/**
|
|
1517
1538
|
* __useCreateDirectoryMutation__
|
|
1518
1539
|
*
|
|
@@ -1538,15 +1559,15 @@ export function useCreateDirectoryMutation(baseOptions) {
|
|
|
1538
1559
|
}
|
|
1539
1560
|
export const ForcePreviewsGenerationDocument = gql `
|
|
1540
1561
|
mutation FORCE_PREVIEWS_GENERATION($libraryId: ID!, $filters: [RecordFilterInput!], $recordIds: [ID!], $failedOnly: Boolean, $previewVersionSizeNames: [String!]) {
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
`;
|
|
1562
|
+
forcePreviewsGeneration(
|
|
1563
|
+
libraryId: $libraryId
|
|
1564
|
+
filters: $filters
|
|
1565
|
+
recordIds: $recordIds
|
|
1566
|
+
failedOnly: $failedOnly
|
|
1567
|
+
previewVersionSizeNames: $previewVersionSizeNames
|
|
1568
|
+
)
|
|
1569
|
+
}
|
|
1570
|
+
`;
|
|
1550
1571
|
/**
|
|
1551
1572
|
* __useForcePreviewsGenerationMutation__
|
|
1552
1573
|
*
|
|
@@ -1574,53 +1595,53 @@ export function useForcePreviewsGenerationMutation(baseOptions) {
|
|
|
1574
1595
|
}
|
|
1575
1596
|
export const GetDirectoryDataDocument = gql `
|
|
1576
1597
|
query GET_DIRECTORY_DATA($library: ID!, $directoryId: String!) {
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
created_by: property(attribute: "created_by") {
|
|
1589
|
-
... on LinkValue {
|
|
1590
|
-
value {
|
|
1591
|
-
...RecordIdentity
|
|
1592
|
-
}
|
|
1593
|
-
}
|
|
1594
|
-
}
|
|
1595
|
-
modified_at: property(attribute: "modified_at") {
|
|
1596
|
-
... on Value {
|
|
1597
|
-
value
|
|
1598
|
-
}
|
|
1599
|
-
}
|
|
1600
|
-
modified_by: property(attribute: "modified_by") {
|
|
1601
|
-
... on LinkValue {
|
|
1602
|
-
value {
|
|
1603
|
-
...RecordIdentity
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
}
|
|
1607
|
-
file_name: property(attribute: "file_name") {
|
|
1608
|
-
... on Value {
|
|
1609
|
-
value
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
file_path: property(attribute: "file_path") {
|
|
1613
|
-
... on Value {
|
|
1614
|
-
value
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
library {
|
|
1618
|
-
behavior
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1598
|
+
records(
|
|
1599
|
+
library: $library
|
|
1600
|
+
filters: [{field: "id", value: $directoryId, condition: EQUAL}]
|
|
1601
|
+
) {
|
|
1602
|
+
list {
|
|
1603
|
+
...RecordIdentity
|
|
1604
|
+
created_at: property(attribute: "created_at") {
|
|
1605
|
+
... on Value {
|
|
1606
|
+
value
|
|
1621
1607
|
}
|
|
1608
|
+
}
|
|
1609
|
+
created_by: property(attribute: "created_by") {
|
|
1610
|
+
... on LinkValue {
|
|
1611
|
+
value {
|
|
1612
|
+
...RecordIdentity
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
modified_at: property(attribute: "modified_at") {
|
|
1617
|
+
... on Value {
|
|
1618
|
+
value
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
modified_by: property(attribute: "modified_by") {
|
|
1622
|
+
... on LinkValue {
|
|
1623
|
+
value {
|
|
1624
|
+
...RecordIdentity
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
file_name: property(attribute: "file_name") {
|
|
1629
|
+
... on Value {
|
|
1630
|
+
value
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
file_path: property(attribute: "file_path") {
|
|
1634
|
+
... on Value {
|
|
1635
|
+
value
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
library {
|
|
1639
|
+
behavior
|
|
1640
|
+
}
|
|
1622
1641
|
}
|
|
1623
|
-
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
${RecordIdentityFragmentDoc}`;
|
|
1624
1645
|
/**
|
|
1625
1646
|
* __useGetDirectoryDataQuery__
|
|
1626
1647
|
*
|
|
@@ -1652,22 +1673,22 @@ export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
|
1652
1673
|
}
|
|
1653
1674
|
export const UploadUpdateDocument = gql `
|
|
1654
1675
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
`;
|
|
1676
|
+
upload(filters: $filters) {
|
|
1677
|
+
userId
|
|
1678
|
+
progress {
|
|
1679
|
+
length
|
|
1680
|
+
transferred
|
|
1681
|
+
speed
|
|
1682
|
+
runtime
|
|
1683
|
+
remaining
|
|
1684
|
+
percentage
|
|
1685
|
+
eta
|
|
1686
|
+
delta
|
|
1687
|
+
}
|
|
1688
|
+
uid
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
`;
|
|
1671
1692
|
/**
|
|
1672
1693
|
* __useUploadUpdateSubscription__
|
|
1673
1694
|
*
|
|
@@ -1690,14 +1711,14 @@ export function useUploadUpdateSubscription(baseOptions) {
|
|
|
1690
1711
|
}
|
|
1691
1712
|
export const UploadDocument = gql `
|
|
1692
1713
|
mutation UPLOAD($library: String!, $nodeId: String!, $files: [FileInput!]!) {
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1714
|
+
upload(library: $library, nodeId: $nodeId, files: $files) {
|
|
1715
|
+
uid
|
|
1716
|
+
record {
|
|
1717
|
+
...RecordIdentity
|
|
1699
1718
|
}
|
|
1700
|
-
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
${RecordIdentityFragmentDoc}`;
|
|
1701
1722
|
/**
|
|
1702
1723
|
* __useUploadMutation__
|
|
1703
1724
|
*
|
|
@@ -1721,56 +1742,11 @@ export function useUploadMutation(baseOptions) {
|
|
|
1721
1742
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1722
1743
|
return Apollo.useMutation(UploadDocument, options);
|
|
1723
1744
|
}
|
|
1724
|
-
export const GetRecordFormElementsValuesDocument = gql `
|
|
1725
|
-
query GET_RECORD_FORM_ELEMENTS_VALUES($recordId: String, $libraryId: String!, $formId: String!, $version: [ValueVersionInput!], $elementIds: [ID!]) {
|
|
1726
|
-
getRecordFormElementsValues(
|
|
1727
|
-
recordId: $recordId
|
|
1728
|
-
libraryId: $libraryId
|
|
1729
|
-
formId: $formId
|
|
1730
|
-
version: $version
|
|
1731
|
-
elementIds: $elementIds
|
|
1732
|
-
) {
|
|
1733
|
-
...RecordFormElementValues
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
${RecordFormElementValuesFragmentDoc}`;
|
|
1737
|
-
/**
|
|
1738
|
-
* __useGetRecordFormElementsValuesQuery__
|
|
1739
|
-
*
|
|
1740
|
-
* To run a query within a React component, call `useGetRecordFormElementsValuesQuery` and pass it any options that fit your needs.
|
|
1741
|
-
* When your component renders, `useGetRecordFormElementsValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1742
|
-
* you can use to render your UI.
|
|
1743
|
-
*
|
|
1744
|
-
* @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;
|
|
1745
|
-
*
|
|
1746
|
-
* @example
|
|
1747
|
-
* const { data, loading, error } = useGetRecordFormElementsValuesQuery({
|
|
1748
|
-
* variables: {
|
|
1749
|
-
* recordId: // value for 'recordId'
|
|
1750
|
-
* libraryId: // value for 'libraryId'
|
|
1751
|
-
* formId: // value for 'formId'
|
|
1752
|
-
* version: // value for 'version'
|
|
1753
|
-
* elementIds: // value for 'elementIds'
|
|
1754
|
-
* },
|
|
1755
|
-
* });
|
|
1756
|
-
*/
|
|
1757
|
-
export function useGetRecordFormElementsValuesQuery(baseOptions) {
|
|
1758
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
1759
|
-
return Apollo.useQuery(GetRecordFormElementsValuesDocument, options);
|
|
1760
|
-
}
|
|
1761
|
-
export function useGetRecordFormElementsValuesLazyQuery(baseOptions) {
|
|
1762
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
1763
|
-
return Apollo.useLazyQuery(GetRecordFormElementsValuesDocument, options);
|
|
1764
|
-
}
|
|
1765
|
-
export function useGetRecordFormElementsValuesSuspenseQuery(baseOptions) {
|
|
1766
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
1767
|
-
return Apollo.useSuspenseQuery(GetRecordFormElementsValuesDocument, options);
|
|
1768
|
-
}
|
|
1769
1745
|
export const ImportExcelDocument = gql `
|
|
1770
1746
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
`;
|
|
1747
|
+
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
1748
|
+
}
|
|
1749
|
+
`;
|
|
1774
1750
|
/**
|
|
1775
1751
|
* __useImportExcelMutation__
|
|
1776
1752
|
*
|
|
@@ -1796,11 +1772,11 @@ export function useImportExcelMutation(baseOptions) {
|
|
|
1796
1772
|
}
|
|
1797
1773
|
export const CheckLibraryExistenceDocument = gql `
|
|
1798
1774
|
query CHECK_LIBRARY_EXISTENCE($id: [ID!]) {
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
`;
|
|
1775
|
+
libraries(filters: {id: $id}) {
|
|
1776
|
+
totalCount
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
`;
|
|
1804
1780
|
/**
|
|
1805
1781
|
* __useCheckLibraryExistenceQuery__
|
|
1806
1782
|
*
|
|
@@ -1831,11 +1807,11 @@ export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
|
1831
1807
|
}
|
|
1832
1808
|
export const DeleteLibraryDocument = gql `
|
|
1833
1809
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
`;
|
|
1810
|
+
deleteLibrary(id: $id) {
|
|
1811
|
+
id
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
`;
|
|
1839
1815
|
/**
|
|
1840
1816
|
* __useDeleteLibraryMutation__
|
|
1841
1817
|
*
|
|
@@ -1859,13 +1835,13 @@ export function useDeleteLibraryMutation(baseOptions) {
|
|
|
1859
1835
|
}
|
|
1860
1836
|
export const GetLibrariesDocument = gql `
|
|
1861
1837
|
query GET_LIBRARIES {
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
}
|
|
1866
|
-
}
|
|
1838
|
+
libraries {
|
|
1839
|
+
list {
|
|
1840
|
+
...LibraryLight
|
|
1867
1841
|
}
|
|
1868
|
-
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
${LibraryLightFragmentDoc}`;
|
|
1869
1845
|
/**
|
|
1870
1846
|
* __useGetLibrariesQuery__
|
|
1871
1847
|
*
|
|
@@ -1895,13 +1871,13 @@ export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
|
1895
1871
|
}
|
|
1896
1872
|
export const GetLibraryByIdDocument = gql `
|
|
1897
1873
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
}
|
|
1902
|
-
}
|
|
1874
|
+
libraries(filters: {id: $id}) {
|
|
1875
|
+
list {
|
|
1876
|
+
...LibraryDetails
|
|
1903
1877
|
}
|
|
1904
|
-
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
${LibraryDetailsFragmentDoc}`;
|
|
1905
1881
|
/**
|
|
1906
1882
|
* __useGetLibraryByIdQuery__
|
|
1907
1883
|
*
|
|
@@ -1932,19 +1908,19 @@ export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
|
1932
1908
|
}
|
|
1933
1909
|
export const GetLibraryPermissionsDocument = gql `
|
|
1934
1910
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1911
|
+
libraries(filters: {id: $libraryId}) {
|
|
1912
|
+
list {
|
|
1913
|
+
permissions {
|
|
1914
|
+
access_library
|
|
1915
|
+
access_record
|
|
1916
|
+
create_record
|
|
1917
|
+
edit_record
|
|
1918
|
+
delete_record
|
|
1919
|
+
}
|
|
1946
1920
|
}
|
|
1947
|
-
|
|
1921
|
+
}
|
|
1922
|
+
}
|
|
1923
|
+
`;
|
|
1948
1924
|
/**
|
|
1949
1925
|
* __useGetLibraryPermissionsQuery__
|
|
1950
1926
|
*
|
|
@@ -1975,28 +1951,28 @@ export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
|
1975
1951
|
}
|
|
1976
1952
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1977
1953
|
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
|
-
}
|
|
1954
|
+
libraries(filters: {id: [$id]}) {
|
|
1955
|
+
list {
|
|
1956
|
+
id
|
|
1957
|
+
label
|
|
1958
|
+
behavior
|
|
1959
|
+
previewsSettings {
|
|
1960
|
+
description
|
|
1961
|
+
label
|
|
1962
|
+
system
|
|
1963
|
+
versions {
|
|
1964
|
+
background
|
|
1965
|
+
density
|
|
1966
|
+
sizes {
|
|
1967
|
+
name
|
|
1968
|
+
size
|
|
1969
|
+
}
|
|
1997
1970
|
}
|
|
1971
|
+
}
|
|
1998
1972
|
}
|
|
1999
|
-
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
`;
|
|
2000
1976
|
/**
|
|
2001
1977
|
* __useGetLibraryPreviewsSettingsQuery__
|
|
2002
1978
|
*
|
|
@@ -2027,11 +2003,11 @@ export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
|
2027
2003
|
}
|
|
2028
2004
|
export const SaveLibraryDocument = gql `
|
|
2029
2005
|
mutation saveLibrary($library: LibraryInput!) {
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
${LibraryDetailsFragmentDoc}`;
|
|
2006
|
+
saveLibrary(library: $library) {
|
|
2007
|
+
...LibraryDetails
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
${LibraryDetailsFragmentDoc}`;
|
|
2035
2011
|
/**
|
|
2036
2012
|
* __useSaveLibraryMutation__
|
|
2037
2013
|
*
|
|
@@ -2055,12 +2031,12 @@ export function useSaveLibraryMutation(baseOptions) {
|
|
|
2055
2031
|
}
|
|
2056
2032
|
export const IsAllowedDocument = gql `
|
|
2057
2033
|
query IS_ALLOWED($type: PermissionTypes!, $actions: [PermissionsActions!]!, $applyTo: ID, $target: PermissionTarget) {
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
`;
|
|
2034
|
+
isAllowed(type: $type, actions: $actions, applyTo: $applyTo, target: $target) {
|
|
2035
|
+
name
|
|
2036
|
+
allowed
|
|
2037
|
+
}
|
|
2038
|
+
}
|
|
2039
|
+
`;
|
|
2064
2040
|
/**
|
|
2065
2041
|
* __useIsAllowedQuery__
|
|
2066
2042
|
*
|
|
@@ -2094,16 +2070,16 @@ export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
|
2094
2070
|
}
|
|
2095
2071
|
export const ActivateRecordsDocument = gql `
|
|
2096
2072
|
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
${RecordIdentityFragmentDoc}`;
|
|
2073
|
+
activateRecords(
|
|
2074
|
+
recordsIds: $recordsIds
|
|
2075
|
+
filters: $filters
|
|
2076
|
+
libraryId: $libraryId
|
|
2077
|
+
) {
|
|
2078
|
+
id
|
|
2079
|
+
...RecordIdentity
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2082
|
+
${RecordIdentityFragmentDoc}`;
|
|
2107
2083
|
/**
|
|
2108
2084
|
* __useActivateRecordsMutation__
|
|
2109
2085
|
*
|
|
@@ -2127,21 +2103,57 @@ export function useActivateRecordsMutation(baseOptions) {
|
|
|
2127
2103
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2128
2104
|
return Apollo.useMutation(ActivateRecordsDocument, options);
|
|
2129
2105
|
}
|
|
2106
|
+
export const CreateEmptyRecordDocument = gql `
|
|
2107
|
+
mutation createEmptyRecord($library: ID!) {
|
|
2108
|
+
createEmptyRecord(library: $library) {
|
|
2109
|
+
record {
|
|
2110
|
+
...RecordIdentity
|
|
2111
|
+
}
|
|
2112
|
+
valuesErrors {
|
|
2113
|
+
type
|
|
2114
|
+
attribute
|
|
2115
|
+
input
|
|
2116
|
+
message
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
${RecordIdentityFragmentDoc}`;
|
|
2121
|
+
/**
|
|
2122
|
+
* __useCreateEmptyRecordMutation__
|
|
2123
|
+
*
|
|
2124
|
+
* To run a mutation, you first call `useCreateEmptyRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2125
|
+
* When your component renders, `useCreateEmptyRecordMutation` returns a tuple that includes:
|
|
2126
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2127
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2128
|
+
*
|
|
2129
|
+
* @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;
|
|
2130
|
+
*
|
|
2131
|
+
* @example
|
|
2132
|
+
* const [createEmptyRecordMutation, { data, loading, error }] = useCreateEmptyRecordMutation({
|
|
2133
|
+
* variables: {
|
|
2134
|
+
* library: // value for 'library'
|
|
2135
|
+
* },
|
|
2136
|
+
* });
|
|
2137
|
+
*/
|
|
2138
|
+
export function useCreateEmptyRecordMutation(baseOptions) {
|
|
2139
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2140
|
+
return Apollo.useMutation(CreateEmptyRecordDocument, options);
|
|
2141
|
+
}
|
|
2130
2142
|
export const CreateRecordDocument = gql `
|
|
2131
2143
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
}
|
|
2136
|
-
valuesErrors {
|
|
2137
|
-
type
|
|
2138
|
-
attribute
|
|
2139
|
-
input
|
|
2140
|
-
message
|
|
2141
|
-
}
|
|
2142
|
-
}
|
|
2144
|
+
createRecord(library: $library, data: $data) {
|
|
2145
|
+
record {
|
|
2146
|
+
...RecordIdentity
|
|
2143
2147
|
}
|
|
2144
|
-
|
|
2148
|
+
valuesErrors {
|
|
2149
|
+
type
|
|
2150
|
+
attribute
|
|
2151
|
+
input
|
|
2152
|
+
message
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
${RecordIdentityFragmentDoc}`;
|
|
2145
2157
|
/**
|
|
2146
2158
|
* __useCreateRecordMutation__
|
|
2147
2159
|
*
|
|
@@ -2166,16 +2178,16 @@ export function useCreateRecordMutation(baseOptions) {
|
|
|
2166
2178
|
}
|
|
2167
2179
|
export const DeactivateRecordsDocument = gql `
|
|
2168
2180
|
mutation DEACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
${RecordIdentityFragmentDoc}`;
|
|
2181
|
+
deactivateRecords(
|
|
2182
|
+
recordsIds: $recordsIds
|
|
2183
|
+
filters: $filters
|
|
2184
|
+
libraryId: $libraryId
|
|
2185
|
+
) {
|
|
2186
|
+
id
|
|
2187
|
+
...RecordIdentity
|
|
2188
|
+
}
|
|
2189
|
+
}
|
|
2190
|
+
${RecordIdentityFragmentDoc}`;
|
|
2179
2191
|
/**
|
|
2180
2192
|
* __useDeactivateRecordsMutation__
|
|
2181
2193
|
*
|
|
@@ -2201,13 +2213,13 @@ export function useDeactivateRecordsMutation(baseOptions) {
|
|
|
2201
2213
|
}
|
|
2202
2214
|
export const DoesFileExistAsChildDocument = gql `
|
|
2203
2215
|
query DOES_FILE_EXIST_AS_CHILD($parentNode: ID, $treeId: ID!, $filename: String!) {
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
`;
|
|
2216
|
+
doesFileExistAsChild(
|
|
2217
|
+
parentNode: $parentNode
|
|
2218
|
+
treeId: $treeId
|
|
2219
|
+
filename: $filename
|
|
2220
|
+
)
|
|
2221
|
+
}
|
|
2222
|
+
`;
|
|
2211
2223
|
/**
|
|
2212
2224
|
* __useDoesFileExistAsChildQuery__
|
|
2213
2225
|
*
|
|
@@ -2240,58 +2252,58 @@ export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
|
2240
2252
|
}
|
|
2241
2253
|
export const GetFileDataDocument = gql `
|
|
2242
2254
|
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
|
-
modified_at: property(attribute: "modified_at") {
|
|
2262
|
-
... on Value {
|
|
2263
|
-
value
|
|
2264
|
-
}
|
|
2265
|
-
}
|
|
2266
|
-
modified_by: property(attribute: "modified_by") {
|
|
2267
|
-
... on LinkValue {
|
|
2268
|
-
value {
|
|
2269
|
-
...RecordIdentity
|
|
2270
|
-
}
|
|
2271
|
-
}
|
|
2272
|
-
}
|
|
2273
|
-
file_name: property(attribute: "file_name") {
|
|
2274
|
-
... on Value {
|
|
2275
|
-
value
|
|
2276
|
-
}
|
|
2277
|
-
}
|
|
2278
|
-
file_path: property(attribute: "file_path") {
|
|
2279
|
-
... on Value {
|
|
2280
|
-
value
|
|
2281
|
-
}
|
|
2282
|
-
}
|
|
2283
|
-
previews_status: property(attribute: $previewsStatusAttribute) {
|
|
2284
|
-
... on Value {
|
|
2285
|
-
value
|
|
2286
|
-
}
|
|
2287
|
-
}
|
|
2288
|
-
library {
|
|
2289
|
-
behavior
|
|
2290
|
-
}
|
|
2291
|
-
}
|
|
2255
|
+
records(
|
|
2256
|
+
library: $library
|
|
2257
|
+
filters: [{field: "id", value: $fileId, condition: EQUAL}]
|
|
2258
|
+
) {
|
|
2259
|
+
list {
|
|
2260
|
+
...RecordIdentity
|
|
2261
|
+
created_at: property(attribute: "created_at") {
|
|
2262
|
+
... on Value {
|
|
2263
|
+
value
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
created_by: property(attribute: "created_by") {
|
|
2267
|
+
... on LinkValue {
|
|
2268
|
+
value {
|
|
2269
|
+
...RecordIdentity
|
|
2270
|
+
}
|
|
2292
2271
|
}
|
|
2272
|
+
}
|
|
2273
|
+
modified_at: property(attribute: "modified_at") {
|
|
2274
|
+
... on Value {
|
|
2275
|
+
value
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
modified_by: property(attribute: "modified_by") {
|
|
2279
|
+
... on LinkValue {
|
|
2280
|
+
value {
|
|
2281
|
+
...RecordIdentity
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
file_name: property(attribute: "file_name") {
|
|
2286
|
+
... on Value {
|
|
2287
|
+
value
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
file_path: property(attribute: "file_path") {
|
|
2291
|
+
... on Value {
|
|
2292
|
+
value
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
previews_status: property(attribute: $previewsStatusAttribute) {
|
|
2296
|
+
... on Value {
|
|
2297
|
+
value
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
library {
|
|
2301
|
+
behavior
|
|
2302
|
+
}
|
|
2293
2303
|
}
|
|
2294
|
-
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
${RecordIdentityFragmentDoc}`;
|
|
2295
2307
|
/**
|
|
2296
2308
|
* __useGetFileDataQuery__
|
|
2297
2309
|
*
|
|
@@ -2324,30 +2336,30 @@ export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
|
2324
2336
|
}
|
|
2325
2337
|
export const RecordFormDocument = gql `
|
|
2326
2338
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
}
|
|
2338
|
-
dependencyAttributes {
|
|
2339
|
-
id
|
|
2340
|
-
}
|
|
2341
|
-
elements {
|
|
2342
|
-
...RecordFormElement
|
|
2343
|
-
}
|
|
2344
|
-
sidePanel {
|
|
2345
|
-
enable
|
|
2346
|
-
isOpenByDefault
|
|
2347
|
-
}
|
|
2348
|
-
}
|
|
2339
|
+
recordForm(
|
|
2340
|
+
recordId: $recordId
|
|
2341
|
+
libraryId: $libraryId
|
|
2342
|
+
formId: $formId
|
|
2343
|
+
version: $version
|
|
2344
|
+
) {
|
|
2345
|
+
id
|
|
2346
|
+
recordId
|
|
2347
|
+
library {
|
|
2348
|
+
id
|
|
2349
2349
|
}
|
|
2350
|
-
|
|
2350
|
+
dependencyAttributes {
|
|
2351
|
+
id
|
|
2352
|
+
}
|
|
2353
|
+
elements {
|
|
2354
|
+
...RecordFormElement
|
|
2355
|
+
}
|
|
2356
|
+
sidePanel {
|
|
2357
|
+
enable
|
|
2358
|
+
isOpenByDefault
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
}
|
|
2362
|
+
${RecordFormElementFragmentDoc}`;
|
|
2351
2363
|
/**
|
|
2352
2364
|
* __useRecordFormQuery__
|
|
2353
2365
|
*
|
|
@@ -2381,25 +2393,25 @@ export function useRecordFormSuspenseQuery(baseOptions) {
|
|
|
2381
2393
|
}
|
|
2382
2394
|
export const RecordUpdateDocument = gql `
|
|
2383
2395
|
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
|
-
}
|
|
2396
|
+
recordUpdate(filters: $filters) {
|
|
2397
|
+
record {
|
|
2398
|
+
...RecordIdentity
|
|
2399
|
+
modified_by: property(attribute: "modified_by") {
|
|
2400
|
+
... on LinkValue {
|
|
2401
|
+
value {
|
|
2402
|
+
...RecordIdentity
|
|
2403
|
+
}
|
|
2401
2404
|
}
|
|
2405
|
+
}
|
|
2402
2406
|
}
|
|
2407
|
+
updatedValues {
|
|
2408
|
+
attribute
|
|
2409
|
+
value {
|
|
2410
|
+
...ValueDetails
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2403
2415
|
${RecordIdentityFragmentDoc}
|
|
2404
2416
|
${ValueDetailsFragmentDoc}`;
|
|
2405
2417
|
/**
|
|
@@ -2424,14 +2436,14 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2424
2436
|
}
|
|
2425
2437
|
export const GetRecordsFromLibraryDocument = gql `
|
|
2426
2438
|
query getRecordsFromLibrary($libraryId: ID!, $pagination: RecordsPagination, $filters: [RecordFilterInput]) {
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
}
|
|
2432
|
-
}
|
|
2439
|
+
records(library: $libraryId, filters: $filters, pagination: $pagination) {
|
|
2440
|
+
totalCount
|
|
2441
|
+
list {
|
|
2442
|
+
...RecordIdentity
|
|
2433
2443
|
}
|
|
2434
|
-
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
${RecordIdentityFragmentDoc}`;
|
|
2435
2447
|
/**
|
|
2436
2448
|
* __useGetRecordsFromLibraryQuery__
|
|
2437
2449
|
*
|
|
@@ -2464,9 +2476,9 @@ export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
|
2464
2476
|
}
|
|
2465
2477
|
export const IndexRecordsDocument = gql `
|
|
2466
2478
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
`;
|
|
2479
|
+
indexRecords(libraryId: $libraryId, records: $records)
|
|
2480
|
+
}
|
|
2481
|
+
`;
|
|
2470
2482
|
/**
|
|
2471
2483
|
* __useIndexRecordsMutation__
|
|
2472
2484
|
*
|
|
@@ -2491,9 +2503,9 @@ export function useIndexRecordsMutation(baseOptions) {
|
|
|
2491
2503
|
}
|
|
2492
2504
|
export const CancelTaskDocument = gql `
|
|
2493
2505
|
mutation CANCEL_TASK($taskId: ID!) {
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
`;
|
|
2506
|
+
cancelTask(taskId: $taskId)
|
|
2507
|
+
}
|
|
2508
|
+
`;
|
|
2497
2509
|
/**
|
|
2498
2510
|
* __useCancelTaskMutation__
|
|
2499
2511
|
*
|
|
@@ -2517,11 +2529,11 @@ export function useCancelTaskMutation(baseOptions) {
|
|
|
2517
2529
|
}
|
|
2518
2530
|
export const CheckTreeExistenceDocument = gql `
|
|
2519
2531
|
query CHECK_TREE_EXISTENCE($id: [ID!]) {
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
`;
|
|
2532
|
+
trees(filters: {id: $id}) {
|
|
2533
|
+
totalCount
|
|
2534
|
+
}
|
|
2535
|
+
}
|
|
2536
|
+
`;
|
|
2525
2537
|
/**
|
|
2526
2538
|
* __useCheckTreeExistenceQuery__
|
|
2527
2539
|
*
|
|
@@ -2552,11 +2564,11 @@ export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
|
2552
2564
|
}
|
|
2553
2565
|
export const DeleteTreeDocument = gql `
|
|
2554
2566
|
mutation DELETE_TREE($id: ID!) {
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
`;
|
|
2567
|
+
deleteTree(id: $id) {
|
|
2568
|
+
id
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
`;
|
|
2560
2572
|
/**
|
|
2561
2573
|
* __useDeleteTreeMutation__
|
|
2562
2574
|
*
|
|
@@ -2580,13 +2592,13 @@ export function useDeleteTreeMutation(baseOptions) {
|
|
|
2580
2592
|
}
|
|
2581
2593
|
export const GetTreeByIdDocument = gql `
|
|
2582
2594
|
query GET_TREE_BY_ID($id: [ID!]) {
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
}
|
|
2587
|
-
}
|
|
2595
|
+
trees(filters: {id: $id}) {
|
|
2596
|
+
list {
|
|
2597
|
+
...TreeDetails
|
|
2588
2598
|
}
|
|
2589
|
-
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
${TreeDetailsFragmentDoc}`;
|
|
2590
2602
|
/**
|
|
2591
2603
|
* __useGetTreeByIdQuery__
|
|
2592
2604
|
*
|
|
@@ -2617,29 +2629,29 @@ export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
|
2617
2629
|
}
|
|
2618
2630
|
export const GetTreeLibrariesDocument = gql `
|
|
2619
2631
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
}
|
|
2633
|
-
settings {
|
|
2634
|
-
allowMultiplePositions
|
|
2635
|
-
allowedChildren
|
|
2636
|
-
allowedAtRoot
|
|
2637
|
-
}
|
|
2638
|
-
}
|
|
2639
|
-
}
|
|
2632
|
+
trees(filters: {id: $treeId, library: $library}) {
|
|
2633
|
+
totalCount
|
|
2634
|
+
list {
|
|
2635
|
+
id
|
|
2636
|
+
behavior
|
|
2637
|
+
system
|
|
2638
|
+
libraries {
|
|
2639
|
+
library {
|
|
2640
|
+
id
|
|
2641
|
+
label
|
|
2642
|
+
behavior
|
|
2643
|
+
system
|
|
2640
2644
|
}
|
|
2645
|
+
settings {
|
|
2646
|
+
allowMultiplePositions
|
|
2647
|
+
allowedChildren
|
|
2648
|
+
allowedAtRoot
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2641
2651
|
}
|
|
2642
|
-
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
`;
|
|
2643
2655
|
/**
|
|
2644
2656
|
* __useGetTreeLibrariesQuery__
|
|
2645
2657
|
*
|
|
@@ -2671,13 +2683,13 @@ export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
|
2671
2683
|
}
|
|
2672
2684
|
export const GetTreesDocument = gql `
|
|
2673
2685
|
query GET_TREES {
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
}
|
|
2678
|
-
}
|
|
2686
|
+
trees {
|
|
2687
|
+
list {
|
|
2688
|
+
...TreeLight
|
|
2679
2689
|
}
|
|
2680
|
-
|
|
2690
|
+
}
|
|
2691
|
+
}
|
|
2692
|
+
${TreeLightFragmentDoc}`;
|
|
2681
2693
|
/**
|
|
2682
2694
|
* __useGetTreesQuery__
|
|
2683
2695
|
*
|
|
@@ -2707,11 +2719,11 @@ export function useGetTreesSuspenseQuery(baseOptions) {
|
|
|
2707
2719
|
}
|
|
2708
2720
|
export const SaveTreeDocument = gql `
|
|
2709
2721
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
${TreeDetailsFragmentDoc}`;
|
|
2722
|
+
saveTree(tree: $tree) {
|
|
2723
|
+
...TreeDetails
|
|
2724
|
+
}
|
|
2725
|
+
}
|
|
2726
|
+
${TreeDetailsFragmentDoc}`;
|
|
2715
2727
|
/**
|
|
2716
2728
|
* __useSaveTreeMutation__
|
|
2717
2729
|
*
|
|
@@ -2735,19 +2747,19 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2735
2747
|
}
|
|
2736
2748
|
export const TreeNodeChildrenDocument = gql `
|
|
2737
2749
|
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
}
|
|
2748
|
-
}
|
|
2750
|
+
treeNodeChildren(
|
|
2751
|
+
treeId: $treeId
|
|
2752
|
+
node: $node
|
|
2753
|
+
pagination: $pagination
|
|
2754
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2755
|
+
) {
|
|
2756
|
+
totalCount
|
|
2757
|
+
list {
|
|
2758
|
+
...TreeNodeChild
|
|
2749
2759
|
}
|
|
2750
|
-
|
|
2760
|
+
}
|
|
2761
|
+
}
|
|
2762
|
+
${TreeNodeChildFragmentDoc}`;
|
|
2751
2763
|
/**
|
|
2752
2764
|
* __useTreeNodeChildrenQuery__
|
|
2753
2765
|
*
|
|
@@ -2781,12 +2793,12 @@ export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
|
2781
2793
|
}
|
|
2782
2794
|
export const GetUserDataDocument = gql `
|
|
2783
2795
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
`;
|
|
2796
|
+
userData(keys: $keys, global: $global) {
|
|
2797
|
+
global
|
|
2798
|
+
data
|
|
2799
|
+
}
|
|
2800
|
+
}
|
|
2801
|
+
`;
|
|
2790
2802
|
/**
|
|
2791
2803
|
* __useGetUserDataQuery__
|
|
2792
2804
|
*
|
|
@@ -2818,12 +2830,12 @@ export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
|
2818
2830
|
}
|
|
2819
2831
|
export const SaveUserDataDocument = gql `
|
|
2820
2832
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
`;
|
|
2833
|
+
saveUserData(key: $key, value: $value, global: $global) {
|
|
2834
|
+
global
|
|
2835
|
+
data
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
`;
|
|
2827
2839
|
/**
|
|
2828
2840
|
* __useSaveUserDataMutation__
|
|
2829
2841
|
*
|
|
@@ -2849,16 +2861,16 @@ export function useSaveUserDataMutation(baseOptions) {
|
|
|
2849
2861
|
}
|
|
2850
2862
|
export const DeleteValueDocument = gql `
|
|
2851
2863
|
mutation DELETE_VALUE($library: ID!, $recordId: ID!, $attribute: ID!, $value: ValueInput) {
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
${ValueDetailsFragmentDoc}`;
|
|
2864
|
+
deleteValue(
|
|
2865
|
+
library: $library
|
|
2866
|
+
recordId: $recordId
|
|
2867
|
+
attribute: $attribute
|
|
2868
|
+
value: $value
|
|
2869
|
+
) {
|
|
2870
|
+
...ValueDetails
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
${ValueDetailsFragmentDoc}`;
|
|
2862
2874
|
/**
|
|
2863
2875
|
* __useDeleteValueMutation__
|
|
2864
2876
|
*
|
|
@@ -2883,68 +2895,27 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2883
2895
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2884
2896
|
return Apollo.useMutation(DeleteValueDocument, options);
|
|
2885
2897
|
}
|
|
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
2898
|
export const SaveValueBatchDocument = gql `
|
|
2928
2899
|
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}`;
|
|
2900
|
+
saveValueBatch(
|
|
2901
|
+
library: $library
|
|
2902
|
+
recordId: $recordId
|
|
2903
|
+
version: $version
|
|
2904
|
+
values: $values
|
|
2905
|
+
deleteEmpty: $deleteEmpty
|
|
2906
|
+
) {
|
|
2907
|
+
values {
|
|
2908
|
+
...ValueDetails
|
|
2909
|
+
}
|
|
2910
|
+
errors {
|
|
2911
|
+
type
|
|
2912
|
+
attribute
|
|
2913
|
+
input
|
|
2914
|
+
message
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
${ValueDetailsFragmentDoc}`;
|
|
2948
2919
|
/**
|
|
2949
2920
|
* __useSaveValueBatchMutation__
|
|
2950
2921
|
*
|
|
@@ -2972,12 +2943,12 @@ export function useSaveValueBatchMutation(baseOptions) {
|
|
|
2972
2943
|
}
|
|
2973
2944
|
export const DeleteViewDocument = gql `
|
|
2974
2945
|
mutation DELETE_VIEW($viewId: String!) {
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
`;
|
|
2946
|
+
deleteView(viewId: $viewId) {
|
|
2947
|
+
id
|
|
2948
|
+
library
|
|
2949
|
+
}
|
|
2950
|
+
}
|
|
2951
|
+
`;
|
|
2981
2952
|
/**
|
|
2982
2953
|
* __useDeleteViewMutation__
|
|
2983
2954
|
*
|
|
@@ -3001,11 +2972,11 @@ export function useDeleteViewMutation(baseOptions) {
|
|
|
3001
2972
|
}
|
|
3002
2973
|
export const GetViewDocument = gql `
|
|
3003
2974
|
query GET_VIEW($viewId: String!) {
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
${ViewDetailsFragmentDoc}`;
|
|
2975
|
+
view(viewId: $viewId) {
|
|
2976
|
+
...ViewDetails
|
|
2977
|
+
}
|
|
2978
|
+
}
|
|
2979
|
+
${ViewDetailsFragmentDoc}`;
|
|
3009
2980
|
/**
|
|
3010
2981
|
* __useGetViewQuery__
|
|
3011
2982
|
*
|
|
@@ -3036,14 +3007,14 @@ export function useGetViewSuspenseQuery(baseOptions) {
|
|
|
3036
3007
|
}
|
|
3037
3008
|
export const GetViewsListDocument = gql `
|
|
3038
3009
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
}
|
|
3044
|
-
}
|
|
3010
|
+
views(library: $libraryId) {
|
|
3011
|
+
totalCount
|
|
3012
|
+
list {
|
|
3013
|
+
...ViewDetails
|
|
3045
3014
|
}
|
|
3046
|
-
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
${ViewDetailsFragmentDoc}`;
|
|
3047
3018
|
/**
|
|
3048
3019
|
* __useGetViewsListQuery__
|
|
3049
3020
|
*
|
|
@@ -3074,11 +3045,11 @@ export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
|
3074
3045
|
}
|
|
3075
3046
|
export const SaveViewDocument = gql `
|
|
3076
3047
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
${ViewDetailsFragmentDoc}`;
|
|
3048
|
+
saveView(view: $view) {
|
|
3049
|
+
...ViewDetails
|
|
3050
|
+
}
|
|
3051
|
+
}
|
|
3052
|
+
${ViewDetailsFragmentDoc}`;
|
|
3082
3053
|
/**
|
|
3083
3054
|
* __useSaveViewMutation__
|
|
3084
3055
|
*
|
|
@@ -3102,13 +3073,13 @@ export function useSaveViewMutation(baseOptions) {
|
|
|
3102
3073
|
}
|
|
3103
3074
|
export const GetAttributesByLibWithPermissionsDocument = gql `
|
|
3104
3075
|
query getAttributesByLibWithPermissions($library: String!) {
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
}
|
|
3109
|
-
}
|
|
3076
|
+
attributes(filters: {libraries: [$library]}) {
|
|
3077
|
+
list {
|
|
3078
|
+
...AttributesByLibAttributeWithPermissions
|
|
3110
3079
|
}
|
|
3111
|
-
|
|
3080
|
+
}
|
|
3081
|
+
}
|
|
3082
|
+
${AttributesByLibAttributeWithPermissionsFragmentDoc}`;
|
|
3112
3083
|
/**
|
|
3113
3084
|
* __useGetAttributesByLibWithPermissionsQuery__
|
|
3114
3085
|
*
|
|
@@ -3139,20 +3110,22 @@ export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
|
3139
3110
|
}
|
|
3140
3111
|
export const ExplorerAttributesDocument = gql `
|
|
3141
3112
|
query ExplorerAttributes($ids: [ID!]) {
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3113
|
+
attributes(filters: {ids: $ids}) {
|
|
3114
|
+
list {
|
|
3115
|
+
id
|
|
3116
|
+
type
|
|
3117
|
+
format
|
|
3118
|
+
label
|
|
3119
|
+
permissions {
|
|
3120
|
+
access_attribute
|
|
3121
|
+
}
|
|
3122
|
+
...LinkAttributeDetails
|
|
3123
|
+
...TreeAttributeDetails
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
}
|
|
3127
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3128
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
3156
3129
|
/**
|
|
3157
3130
|
* __useExplorerAttributesQuery__
|
|
3158
3131
|
*
|
|
@@ -3183,19 +3156,21 @@ export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
|
3183
3156
|
}
|
|
3184
3157
|
export const ExplorerLinkAttributeDocument = gql `
|
|
3185
3158
|
query ExplorerLinkAttribute($id: ID!) {
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3159
|
+
attributes(filters: {ids: [$id]}) {
|
|
3160
|
+
list {
|
|
3161
|
+
id
|
|
3162
|
+
multiple_values
|
|
3163
|
+
permissions {
|
|
3164
|
+
access_attribute
|
|
3165
|
+
edit_value
|
|
3166
|
+
}
|
|
3167
|
+
...LinkAttributeDetails
|
|
3168
|
+
...TreeAttributeDetails
|
|
3169
|
+
}
|
|
3170
|
+
}
|
|
3171
|
+
}
|
|
3172
|
+
${LinkAttributeDetailsFragmentDoc}
|
|
3173
|
+
${TreeAttributeDetailsFragmentDoc}`;
|
|
3199
3174
|
/**
|
|
3200
3175
|
* __useExplorerLinkAttributeQuery__
|
|
3201
3176
|
*
|
|
@@ -3226,35 +3201,35 @@ export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
|
3226
3201
|
}
|
|
3227
3202
|
export const ExplorerLibraryDataDocument = gql `
|
|
3228
3203
|
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
|
-
values {
|
|
3250
|
-
...PropertyValue
|
|
3251
|
-
}
|
|
3252
|
-
}
|
|
3253
|
-
}
|
|
3204
|
+
records(
|
|
3205
|
+
library: $libraryId
|
|
3206
|
+
filters: $filters
|
|
3207
|
+
pagination: $pagination
|
|
3208
|
+
multipleSort: $multipleSort
|
|
3209
|
+
searchQuery: $searchQuery
|
|
3210
|
+
) {
|
|
3211
|
+
totalCount
|
|
3212
|
+
list {
|
|
3213
|
+
...RecordIdentity
|
|
3214
|
+
active
|
|
3215
|
+
permissions {
|
|
3216
|
+
create_record
|
|
3217
|
+
delete_record
|
|
3218
|
+
}
|
|
3219
|
+
properties(attributeIds: $attributeIds) {
|
|
3220
|
+
attributeId
|
|
3221
|
+
attributeProperties {
|
|
3222
|
+
...AttributeProperties
|
|
3254
3223
|
}
|
|
3224
|
+
values {
|
|
3225
|
+
...PropertyValue
|
|
3226
|
+
}
|
|
3227
|
+
}
|
|
3255
3228
|
}
|
|
3229
|
+
}
|
|
3230
|
+
}
|
|
3256
3231
|
${RecordIdentityFragmentDoc}
|
|
3257
|
-
|
|
3232
|
+
${AttributePropertiesFragmentDoc}
|
|
3258
3233
|
${PropertyValueFragmentDoc}`;
|
|
3259
3234
|
/**
|
|
3260
3235
|
* __useExplorerLibraryDataQuery__
|
|
@@ -3291,25 +3266,26 @@ export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
|
3291
3266
|
}
|
|
3292
3267
|
export const ExplorerLinkDataDocument = gql `
|
|
3293
3268
|
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
|
-
}
|
|
3269
|
+
records(
|
|
3270
|
+
library: $parentLibraryId
|
|
3271
|
+
filters: [{field: "id", condition: EQUAL, value: $parentRecordId}]
|
|
3272
|
+
retrieveInactive: true
|
|
3273
|
+
) {
|
|
3274
|
+
list {
|
|
3275
|
+
id
|
|
3276
|
+
whoAmI {
|
|
3277
|
+
id
|
|
3278
|
+
library {
|
|
3279
|
+
id
|
|
3310
3280
|
}
|
|
3281
|
+
}
|
|
3282
|
+
property(attribute: $linkAttributeId) {
|
|
3283
|
+
...LinkProperty
|
|
3284
|
+
}
|
|
3311
3285
|
}
|
|
3312
|
-
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
${LinkPropertyFragmentDoc}`;
|
|
3313
3289
|
/**
|
|
3314
3290
|
* __useExplorerLinkDataQuery__
|
|
3315
3291
|
*
|
|
@@ -3343,16 +3319,16 @@ export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
|
3343
3319
|
}
|
|
3344
3320
|
export const GetLibraryAttributesDocument = gql `
|
|
3345
3321
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
}
|
|
3353
|
-
}
|
|
3322
|
+
libraries(filters: {id: [$libraryId]}) {
|
|
3323
|
+
list {
|
|
3324
|
+
id
|
|
3325
|
+
attributes {
|
|
3326
|
+
...LibraryAttribute
|
|
3327
|
+
}
|
|
3354
3328
|
}
|
|
3355
|
-
|
|
3329
|
+
}
|
|
3330
|
+
}
|
|
3331
|
+
${LibraryAttributeFragmentDoc}`;
|
|
3356
3332
|
/**
|
|
3357
3333
|
* __useGetLibraryAttributesQuery__
|
|
3358
3334
|
*
|
|
@@ -3383,15 +3359,15 @@ export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
|
3383
3359
|
}
|
|
3384
3360
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3385
3361
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
}
|
|
3392
|
-
}
|
|
3362
|
+
libraries(filters: {id: [$libraryId]}) {
|
|
3363
|
+
list {
|
|
3364
|
+
id
|
|
3365
|
+
label
|
|
3366
|
+
behavior
|
|
3393
3367
|
}
|
|
3394
|
-
|
|
3368
|
+
}
|
|
3369
|
+
}
|
|
3370
|
+
`;
|
|
3395
3371
|
/**
|
|
3396
3372
|
* __useExplorerLibraryDetailsQuery__
|
|
3397
3373
|
*
|
|
@@ -3422,13 +3398,13 @@ export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
|
3422
3398
|
}
|
|
3423
3399
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3424
3400
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
}
|
|
3429
|
-
}
|
|
3401
|
+
records(library: $libraryId, filters: $filters) {
|
|
3402
|
+
list {
|
|
3403
|
+
id
|
|
3430
3404
|
}
|
|
3431
|
-
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
`;
|
|
3432
3408
|
/**
|
|
3433
3409
|
* __useExplorerSelectionIdsQuery__
|
|
3434
3410
|
*
|
|
@@ -3460,17 +3436,17 @@ export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
|
3460
3436
|
}
|
|
3461
3437
|
export const MeDocument = gql `
|
|
3462
3438
|
query Me {
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
}
|
|
3471
|
-
}
|
|
3439
|
+
me {
|
|
3440
|
+
id
|
|
3441
|
+
whoAmI {
|
|
3442
|
+
id
|
|
3443
|
+
library {
|
|
3444
|
+
id
|
|
3445
|
+
}
|
|
3472
3446
|
}
|
|
3473
|
-
|
|
3447
|
+
}
|
|
3448
|
+
}
|
|
3449
|
+
`;
|
|
3474
3450
|
/**
|
|
3475
3451
|
* __useMeQuery__
|
|
3476
3452
|
*
|
|
@@ -3500,11 +3476,11 @@ export function useMeSuspenseQuery(baseOptions) {
|
|
|
3500
3476
|
}
|
|
3501
3477
|
export const UpdateViewDocument = gql `
|
|
3502
3478
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
${ViewDetailsFragmentDoc}`;
|
|
3479
|
+
updateView(view: $view) {
|
|
3480
|
+
...ViewDetails
|
|
3481
|
+
}
|
|
3482
|
+
}
|
|
3483
|
+
${ViewDetailsFragmentDoc}`;
|
|
3508
3484
|
/**
|
|
3509
3485
|
* __useUpdateViewMutation__
|
|
3510
3486
|
*
|
|
@@ -3526,67 +3502,16 @@ export function useUpdateViewMutation(baseOptions) {
|
|
|
3526
3502
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3527
3503
|
return Apollo.useMutation(UpdateViewDocument, options);
|
|
3528
3504
|
}
|
|
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
3505
|
export const TreeDataQueryDocument = gql `
|
|
3581
3506
|
query TreeDataQuery($treeId: ID!) {
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
}
|
|
3587
|
-
}
|
|
3507
|
+
trees(filters: {id: [$treeId]}) {
|
|
3508
|
+
list {
|
|
3509
|
+
id
|
|
3510
|
+
label
|
|
3588
3511
|
}
|
|
3589
|
-
|
|
3512
|
+
}
|
|
3513
|
+
}
|
|
3514
|
+
`;
|
|
3590
3515
|
/**
|
|
3591
3516
|
* __useTreeDataQueryQuery__
|
|
3592
3517
|
*
|