@leav/ui 0.4.0-c0a1a1c → 0.4.0-c10dd58e
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/README.md +1 -0
- package/dist/__mocks__/common/form.d.ts +632 -0
- package/dist/__mocks__/common/form.js +32 -23
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/__mocks__/common/value.d.ts +1 -2
- package/dist/__mocks__/common/value.js +0 -11
- package/dist/__mocks__/common/value.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +3438 -2019
- package/dist/_gqlTypes/index.js +1612 -1155
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js +1 -0
- package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
- package/dist/_queries/records/activateRecordsMutation.d.ts +1 -0
- package/dist/_queries/records/activateRecordsMutation.js +15 -0
- package/dist/_queries/records/activateRecordsMutation.js.map +1 -0
- package/dist/_queries/records/getRecordFormQuery.js +14 -5
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js +12 -2
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/components/CreateDirectory/CreateDirectory.js +4 -4
- package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js +3 -2
- package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +8 -1
- package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.d.ts +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +4 -3
- package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
- package/dist/components/Explorer/DataView.d.ts +2 -1
- package/dist/components/Explorer/DataView.js +32 -12
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +9 -6
- package/dist/components/Explorer/Explorer.js +27 -12
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.d.ts +2 -1
- package/dist/components/Explorer/ExplorerToolbar.js +5 -4
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/Explorer/IdCard.js +1 -1
- package/dist/components/Explorer/IdCard.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +22 -11
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/TableTagGroup.d.ts +0 -1
- package/dist/components/Explorer/TableTagGroup.js +3 -16
- package/dist/components/Explorer/TableTagGroup.js.map +1 -1
- package/dist/components/Explorer/_constants.d.ts +3 -0
- package/dist/components/Explorer/_constants.js +3 -0
- package/dist/components/Explorer/_constants.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.d.ts +1 -0
- package/dist/components/Explorer/_queries/useExplorerData.js +22 -12
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +15 -4
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditItemAction.d.ts +2 -1
- package/dist/components/Explorer/actions-item/useEditItemAction.js +6 -4
- package/dist/components/Explorer/actions-item/useEditItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/{useRemoveItemAction.d.ts → useEditStatusItemAction.d.ts} +4 -2
- package/dist/components/Explorer/actions-item/{useRemoveItemAction.js → useEditStatusItemAction.js} +81 -24
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +21 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +42 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +2 -1
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +12 -3
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +5 -5
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +4 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +22 -7
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +5 -2
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +20 -4
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.d.ts +2 -0
- package/dist/components/Explorer/link-item/LinkModal.js +14 -4
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/link-item/{useLinkMassAction.d.ts → useAddLinkMassAction.d.ts} +1 -1
- package/dist/components/Explorer/link-item/{useLinkMassAction.js → useAddLinkMassAction.js} +2 -2
- package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +23 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +35 -0
- package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -0
- package/dist/components/Explorer/list-saved-views/SavedViews.js +32 -42
- package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +11 -9
- package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.d.ts +4 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +4 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.d.ts +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +2 -2
- package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +1 -1
- package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.d.ts +5 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +47 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.d.ts +5 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +48 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -0
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.d.ts +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +5 -3
- 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 +9 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +30 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/Explorer/useColumnWidth.js +2 -1
- package/dist/components/Explorer/useColumnWidth.js.map +1 -1
- package/dist/components/Explorer/useLoadView.js +4 -2
- package/dist/components/Explorer/useLoadView.js.map +1 -1
- package/dist/components/Explorer/usePagination.d.ts +2 -1
- package/dist/components/Explorer/usePagination.js.map +1 -1
- package/dist/components/Explorer/useSearchInput.d.ts +3 -1
- package/dist/components/Explorer/useSearchInput.js +2 -1
- package/dist/components/Explorer/useSearchInput.js.map +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.d.ts +1 -1
- package/dist/components/Explorer/useViewSettingsReducer.js +43 -19
- package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +1 -1
- package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -0
- package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +3 -3
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js.map +1 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.d.ts +4 -0
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +4 -1
- package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js.map +1 -1
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
- package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
- package/dist/components/LinkSelect/LinkSelect.d.ts +15 -0
- package/dist/components/LinkSelect/LinkSelect.js +88 -0
- package/dist/components/LinkSelect/LinkSelect.js.map +1 -0
- package/dist/components/LinkSelect/index.d.ts +2 -0
- package/dist/components/{RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd → LinkSelect}/index.js +2 -2
- package/dist/components/LinkSelect/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +2 -4
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +37 -39
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +43 -0
- package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.d.ts +2 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +25 -0
- package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordButtons/index.d.ts +2 -0
- package/dist/components/RecordEdition/{EditRecordContent/uiElements/TreeField/TreeFieldValue → EditRecordButtons}/index.js +2 -2
- package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +69 -32
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +18 -7
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +7 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/formConstants.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/formConstants.js +1 -0
- package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +15 -2
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +47 -24
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.d.ts +13 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js +119 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +12 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +39 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +3 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +25 -5
- 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 +39 -13
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +8 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +103 -92
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js +39 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js +23 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js +23 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js +26 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.d.ts +12 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js +24 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.d.ts +19 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js +103 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.d.ts +22 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +104 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.d.ts +22 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js +85 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.d.ts +28 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +311 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.d.ts +265 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js +13 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.d.ts +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js +15 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js +22 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/utils.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +87 -109
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +2 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +5 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +73 -216
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.d.ts +265 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js +13 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +51 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.d.ts +11 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +27 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +43 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +24 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +136 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/ComputeIndicator.d.ts +4 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.d.ts +8 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/DeleteAllValuesButton.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/calculatedInheritedFlags.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +17 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +76 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +4 -0
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +51 -51
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +3 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +9 -7
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +0 -1
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +18 -12
- package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +3 -0
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +2 -2
- package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
- package/dist/components/RecordEdition/constants.d.ts +2 -0
- package/dist/components/RecordEdition/constants.js +6 -0
- package/dist/components/RecordEdition/constants.js.map +1 -0
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +35 -4
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +70 -6
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.d.ts +1 -1
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js +3 -3
- package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
- package/dist/components/RecordEdition/index.d.ts +3 -0
- package/dist/components/RecordEdition/index.js +3 -0
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +4 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +8 -6
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +6 -2
- package/dist/components/SelectTreeNode/SelectTreeNode.js +4 -5
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +6 -2
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +26 -23
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.d.ts +2 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js +17 -0
- package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +9 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js +8 -0
- package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -0
- package/dist/components/SelectTreeNode/_types.d.ts +17 -0
- package/dist/components/SelectTreeNode/_types.js +2 -0
- package/dist/components/SelectTreeNode/_types.js.map +1 -0
- package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.d.ts → SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts} +1 -1
- package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.js → SelectTreeNodeModalOld/SelectTreeNodeModalOld.js} +5 -3
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
- package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
- package/dist/components/{SelectTreeNodeModal → SelectTreeNodeModalOld}/index.js +1 -1
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.d.ts +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.d.ts +2 -2
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +6 -3
- package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
- package/dist/components/UploadFiles/UploadFiles.js +4 -4
- package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.js +1 -2
- package/dist/components/index.js.map +1 -1
- package/dist/constants.d.ts +3 -1
- package/dist/constants.js +3 -1
- package/dist/constants.js.map +1 -1
- package/dist/contexts/LangContext/LangContext.d.ts +1 -2
- package/dist/contexts/LangContext/LangContext.js +2 -2
- package/dist/contexts/LangContext/LangContext.js.map +1 -1
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.js +3 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +2 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +3 -14
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +15 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +121 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/schema.d.ts +21 -0
- package/dist/hooks/useIFrameMessenger/schema.js +76 -0
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/types.d.ts +118 -0
- package/dist/hooks/useIFrameMessenger/types.js +2 -0
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +19 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +104 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +7 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +13 -0
- package/dist/{components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js → hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js} +3 -3
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
- package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
- package/dist/locales/en/shared.json +32 -12
- package/dist/locales/fr/shared.json +32 -12
- package/dist/types/attributes.d.ts +2 -1
- package/dist/types/trees.d.ts +1 -0
- package/package.json +24 -9
- package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +0 -1
- package/dist/components/Explorer/link-item/useLinkMassAction.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js +0 -7
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.d.ts +0 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js +0 -29
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.d.ts +0 -20
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +0 -53
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.d.ts +0 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js +0 -111
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +0 -20
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +0 -71
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.d.ts +0 -14
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js +0 -58
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.d.ts +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +0 -11
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.d.ts +0 -13
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +0 -50
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js +0 -215
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.d.ts +0 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.d.ts +0 -10
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +0 -50
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js +0 -106
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.js +0 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/index.d.ts +0 -1
- package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
- /package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/ComputeIndicator.js +0 -0
- /package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/calculatedInheritedFlags.d.ts +0 -0
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -117,6 +117,7 @@ export var LibraryBehavior;
|
|
|
117
117
|
(function (LibraryBehavior) {
|
|
118
118
|
LibraryBehavior["directories"] = "directories";
|
|
119
119
|
LibraryBehavior["files"] = "files";
|
|
120
|
+
LibraryBehavior["join"] = "join";
|
|
120
121
|
LibraryBehavior["standard"] = "standard";
|
|
121
122
|
})(LibraryBehavior || (LibraryBehavior = {}));
|
|
122
123
|
export var LogAction;
|
|
@@ -160,6 +161,12 @@ export var LogSortableField;
|
|
|
160
161
|
LogSortableField["trigger"] = "trigger";
|
|
161
162
|
LogSortableField["userId"] = "userId";
|
|
162
163
|
})(LogSortableField || (LogSortableField = {}));
|
|
164
|
+
export var MultiLinkDisplayOption;
|
|
165
|
+
(function (MultiLinkDisplayOption) {
|
|
166
|
+
MultiLinkDisplayOption["avatar"] = "avatar";
|
|
167
|
+
MultiLinkDisplayOption["badge_qty"] = "badge_qty";
|
|
168
|
+
MultiLinkDisplayOption["tag"] = "tag";
|
|
169
|
+
})(MultiLinkDisplayOption || (MultiLinkDisplayOption = {}));
|
|
163
170
|
export var PermissionTypes;
|
|
164
171
|
(function (PermissionTypes) {
|
|
165
172
|
PermissionTypes["admin"] = "admin";
|
|
@@ -261,6 +268,13 @@ export var RecordFilterOperator;
|
|
|
261
268
|
RecordFilterOperator["OPEN_BRACKET"] = "OPEN_BRACKET";
|
|
262
269
|
RecordFilterOperator["OR"] = "OR";
|
|
263
270
|
})(RecordFilterOperator || (RecordFilterOperator = {}));
|
|
271
|
+
export var RecordPermissionsActions;
|
|
272
|
+
(function (RecordPermissionsActions) {
|
|
273
|
+
RecordPermissionsActions["access_record"] = "access_record";
|
|
274
|
+
RecordPermissionsActions["create_record"] = "create_record";
|
|
275
|
+
RecordPermissionsActions["delete_record"] = "delete_record";
|
|
276
|
+
RecordPermissionsActions["edit_record"] = "edit_record";
|
|
277
|
+
})(RecordPermissionsActions || (RecordPermissionsActions = {}));
|
|
264
278
|
export var SortOrder;
|
|
265
279
|
(function (SortOrder) {
|
|
266
280
|
SortOrder["asc"] = "asc";
|
|
@@ -327,650 +341,711 @@ export var ViewTypes;
|
|
|
327
341
|
})(ViewTypes || (ViewTypes = {}));
|
|
328
342
|
export const RecordIdentityFragmentDoc = gql `
|
|
329
343
|
fragment RecordIdentity on Record {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
+
id
|
|
345
|
+
whoAmI {
|
|
346
|
+
id
|
|
347
|
+
label
|
|
348
|
+
subLabel
|
|
349
|
+
color
|
|
350
|
+
library {
|
|
351
|
+
id
|
|
352
|
+
label
|
|
353
|
+
}
|
|
354
|
+
preview
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
`;
|
|
344
358
|
export const DetailsApplicationFragmentDoc = gql `
|
|
345
359
|
fragment DetailsApplication on Application {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}
|
|
363
|
-
|
|
360
|
+
id
|
|
361
|
+
label
|
|
362
|
+
type
|
|
363
|
+
description
|
|
364
|
+
endpoint
|
|
365
|
+
url
|
|
366
|
+
color
|
|
367
|
+
icon {
|
|
368
|
+
...RecordIdentity
|
|
369
|
+
}
|
|
370
|
+
module
|
|
371
|
+
permissions {
|
|
372
|
+
access_application
|
|
373
|
+
admin_application
|
|
374
|
+
}
|
|
375
|
+
settings
|
|
376
|
+
}
|
|
377
|
+
${RecordIdentityFragmentDoc}`;
|
|
364
378
|
export const AttributeDetailsFragmentDoc = gql `
|
|
365
379
|
fragment AttributeDetails on Attribute {
|
|
366
|
-
id
|
|
367
|
-
type
|
|
368
|
-
format
|
|
369
|
-
system
|
|
370
|
-
readonly
|
|
371
|
-
label
|
|
372
|
-
description
|
|
373
|
-
multiple_values
|
|
374
|
-
metadata_fields {
|
|
375
|
-
id
|
|
376
|
-
label
|
|
377
|
-
type
|
|
378
|
-
format
|
|
379
|
-
}
|
|
380
|
-
versions_conf {
|
|
381
|
-
versionable
|
|
382
|
-
mode
|
|
383
|
-
profile {
|
|
384
|
-
id
|
|
385
|
-
label
|
|
386
|
-
trees {
|
|
387
380
|
id
|
|
381
|
+
type
|
|
382
|
+
format
|
|
383
|
+
system
|
|
384
|
+
readonly
|
|
388
385
|
label
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
386
|
+
description
|
|
387
|
+
multiple_values
|
|
388
|
+
multi_link_display_option
|
|
389
|
+
metadata_fields {
|
|
390
|
+
id
|
|
391
|
+
label
|
|
392
|
+
type
|
|
393
|
+
format
|
|
394
|
+
}
|
|
395
|
+
versions_conf {
|
|
396
|
+
versionable
|
|
397
|
+
mode
|
|
398
|
+
profile {
|
|
399
|
+
id
|
|
400
|
+
label
|
|
401
|
+
trees {
|
|
402
|
+
id
|
|
403
|
+
label
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
libraries {
|
|
408
|
+
id
|
|
409
|
+
label
|
|
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
|
+
`;
|
|
414
429
|
export const AttributesByLibLinkAttributeFragmentDoc = gql `
|
|
415
430
|
fragment AttributesByLibLinkAttribute on LinkAttribute {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
}
|
|
420
|
-
|
|
431
|
+
linked_library {
|
|
432
|
+
id
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
`;
|
|
421
436
|
export const AttributesByLibAttributeFragmentDoc = gql `
|
|
422
437
|
fragment AttributesByLibAttribute on Attribute {
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
}
|
|
451
|
-
|
|
438
|
+
id
|
|
439
|
+
type
|
|
440
|
+
format
|
|
441
|
+
label
|
|
442
|
+
multiple_values
|
|
443
|
+
system
|
|
444
|
+
readonly
|
|
445
|
+
...AttributesByLibLinkAttribute
|
|
446
|
+
... on TreeAttribute {
|
|
447
|
+
linked_tree {
|
|
448
|
+
id
|
|
449
|
+
label
|
|
450
|
+
libraries {
|
|
451
|
+
library {
|
|
452
|
+
id
|
|
453
|
+
label
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
... on StandardAttribute {
|
|
459
|
+
embedded_fields {
|
|
460
|
+
id
|
|
461
|
+
format
|
|
462
|
+
label
|
|
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}`;
|
|
452
562
|
export const LibraryLightFragmentDoc = gql `
|
|
453
563
|
fragment LibraryLight on Library {
|
|
454
|
-
id
|
|
455
|
-
label
|
|
456
|
-
icon {
|
|
457
|
-
id
|
|
458
|
-
whoAmI {
|
|
459
|
-
id
|
|
460
|
-
library {
|
|
461
564
|
id
|
|
462
|
-
|
|
463
|
-
|
|
565
|
+
label
|
|
566
|
+
icon {
|
|
567
|
+
id
|
|
568
|
+
whoAmI {
|
|
569
|
+
id
|
|
570
|
+
library {
|
|
571
|
+
id
|
|
572
|
+
}
|
|
573
|
+
preview
|
|
574
|
+
}
|
|
575
|
+
}
|
|
464
576
|
}
|
|
465
|
-
|
|
466
|
-
}
|
|
467
|
-
`;
|
|
577
|
+
`;
|
|
468
578
|
export const LibraryLinkAttributeDetailsFragmentDoc = gql `
|
|
469
579
|
fragment LibraryLinkAttributeDetails on LinkAttribute {
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
}
|
|
475
|
-
|
|
580
|
+
linked_library {
|
|
581
|
+
id
|
|
582
|
+
behavior
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
`;
|
|
476
586
|
export const LibraryAttributesFragmentDoc = gql `
|
|
477
587
|
fragment LibraryAttributes on Attribute {
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
}
|
|
485
|
-
|
|
588
|
+
id
|
|
589
|
+
label
|
|
590
|
+
system
|
|
591
|
+
type
|
|
592
|
+
format
|
|
593
|
+
...LibraryLinkAttributeDetails
|
|
594
|
+
}
|
|
595
|
+
${LibraryLinkAttributeDetailsFragmentDoc}`;
|
|
486
596
|
export const LibraryPreviewsSettingsFragmentDoc = gql `
|
|
487
597
|
fragment LibraryPreviewsSettings on LibraryPreviewsSettings {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
}
|
|
500
|
-
|
|
598
|
+
label
|
|
599
|
+
description
|
|
600
|
+
system
|
|
601
|
+
versions {
|
|
602
|
+
background
|
|
603
|
+
density
|
|
604
|
+
sizes {
|
|
605
|
+
name
|
|
606
|
+
size
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
`;
|
|
501
611
|
export const LibraryDetailsFragmentDoc = gql `
|
|
502
612
|
fragment LibraryDetails on Library {
|
|
503
|
-
id
|
|
504
|
-
label
|
|
505
|
-
behavior
|
|
506
|
-
system
|
|
507
|
-
label
|
|
508
|
-
fullTextAttributes {
|
|
509
|
-
id
|
|
510
|
-
label
|
|
511
|
-
}
|
|
512
|
-
attributes {
|
|
513
|
-
...LibraryAttributes
|
|
514
|
-
}
|
|
515
|
-
permissions_conf {
|
|
516
|
-
permissionTreeAttributes {
|
|
517
|
-
id
|
|
518
|
-
... on TreeAttribute {
|
|
519
|
-
linked_tree {
|
|
520
|
-
id
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
label
|
|
524
|
-
}
|
|
525
|
-
relation
|
|
526
|
-
}
|
|
527
|
-
recordIdentityConf {
|
|
528
|
-
label
|
|
529
|
-
subLabel
|
|
530
|
-
color
|
|
531
|
-
preview
|
|
532
|
-
treeColorPreview
|
|
533
|
-
}
|
|
534
|
-
permissions {
|
|
535
|
-
admin_library
|
|
536
|
-
access_library
|
|
537
|
-
access_record
|
|
538
|
-
create_record
|
|
539
|
-
edit_record
|
|
540
|
-
delete_record
|
|
541
|
-
}
|
|
542
|
-
icon {
|
|
543
|
-
...RecordIdentity
|
|
544
|
-
}
|
|
545
|
-
previewsSettings {
|
|
546
|
-
...LibraryPreviewsSettings
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
${LibraryAttributesFragmentDoc}
|
|
550
|
-
${RecordIdentityFragmentDoc}
|
|
551
|
-
${LibraryPreviewsSettingsFragmentDoc}`;
|
|
552
|
-
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
553
|
-
fragment ValuesVersionDetails on ValueVersion {
|
|
554
|
-
treeId
|
|
555
|
-
treeNode {
|
|
556
|
-
id
|
|
557
|
-
record {
|
|
558
|
-
id
|
|
559
|
-
whoAmI {
|
|
560
613
|
id
|
|
561
614
|
label
|
|
562
|
-
|
|
563
|
-
|
|
615
|
+
behavior
|
|
616
|
+
system
|
|
617
|
+
label
|
|
618
|
+
fullTextAttributes {
|
|
619
|
+
id
|
|
620
|
+
label
|
|
564
621
|
}
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
created_at
|
|
601
|
-
created_by {
|
|
602
|
-
...RecordIdentity
|
|
603
|
-
}
|
|
604
|
-
version {
|
|
605
|
-
...ValuesVersionDetails
|
|
606
|
-
}
|
|
607
|
-
payload
|
|
608
|
-
raw_payload
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
... on Value {
|
|
612
|
-
payload
|
|
613
|
-
raw_payload
|
|
614
|
-
value
|
|
615
|
-
raw_value
|
|
616
|
-
}
|
|
617
|
-
... on LinkValue {
|
|
618
|
-
linkValue: payload {
|
|
619
|
-
...RecordIdentity
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
... on TreeValue {
|
|
623
|
-
treeValue: payload {
|
|
624
|
-
id
|
|
625
|
-
record {
|
|
626
|
-
...RecordIdentity
|
|
627
|
-
}
|
|
628
|
-
ancestors {
|
|
629
|
-
record {
|
|
630
|
-
...RecordIdentity
|
|
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
|
|
654
|
+
}
|
|
655
|
+
previewsSettings {
|
|
656
|
+
...LibraryPreviewsSettings
|
|
631
657
|
}
|
|
632
|
-
}
|
|
633
658
|
}
|
|
634
|
-
|
|
635
|
-
}
|
|
659
|
+
${LibraryAttributesFragmentDoc}
|
|
636
660
|
${RecordIdentityFragmentDoc}
|
|
637
|
-
${
|
|
661
|
+
${LibraryPreviewsSettingsFragmentDoc}`;
|
|
638
662
|
export const StandardValuesListFragmentFragmentDoc = gql `
|
|
639
663
|
fragment StandardValuesListFragment on StandardValuesListConf {
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
}
|
|
656
|
-
|
|
664
|
+
... on StandardStringValuesListConf {
|
|
665
|
+
enable
|
|
666
|
+
allowFreeEntry
|
|
667
|
+
allowListUpdate
|
|
668
|
+
values
|
|
669
|
+
}
|
|
670
|
+
... on StandardDateRangeValuesListConf {
|
|
671
|
+
enable
|
|
672
|
+
allowFreeEntry
|
|
673
|
+
allowListUpdate
|
|
674
|
+
dateRangeValues: values {
|
|
675
|
+
from
|
|
676
|
+
to
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
`;
|
|
657
681
|
export const RecordFormAttributeFragmentDoc = gql `
|
|
658
682
|
fragment RecordFormAttribute on Attribute {
|
|
659
|
-
id
|
|
660
|
-
label
|
|
661
|
-
description
|
|
662
|
-
type
|
|
663
|
-
format
|
|
664
|
-
system
|
|
665
|
-
readonly
|
|
666
|
-
required
|
|
667
|
-
multiple_values
|
|
668
|
-
compute
|
|
669
|
-
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
670
|
-
access_attribute
|
|
671
|
-
edit_value
|
|
672
|
-
}
|
|
673
|
-
versions_conf {
|
|
674
|
-
versionable
|
|
675
|
-
profile {
|
|
676
|
-
id
|
|
677
|
-
trees {
|
|
678
683
|
id
|
|
679
684
|
label
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
multiple_values
|
|
692
|
-
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
693
|
-
access_attribute
|
|
694
|
-
edit_value
|
|
695
|
-
}
|
|
696
|
-
values_list {
|
|
697
|
-
...StandardValuesListFragment
|
|
698
|
-
}
|
|
699
|
-
metadata_fields {
|
|
700
|
-
id
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
... on StandardAttribute {
|
|
704
|
-
values_list {
|
|
705
|
-
...StandardValuesListFragment
|
|
706
|
-
}
|
|
707
|
-
character_limit
|
|
708
|
-
}
|
|
709
|
-
... on LinkAttribute {
|
|
710
|
-
linked_library {
|
|
711
|
-
id
|
|
712
|
-
label
|
|
713
|
-
behavior
|
|
714
|
-
permissions {
|
|
715
|
-
create_record
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
linkValuesList: values_list {
|
|
719
|
-
enable
|
|
720
|
-
allowFreeEntry
|
|
721
|
-
allowListUpdate
|
|
722
|
-
values {
|
|
723
|
-
...RecordIdentity
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
... on TreeAttribute {
|
|
728
|
-
linked_tree {
|
|
729
|
-
id
|
|
730
|
-
label
|
|
731
|
-
}
|
|
732
|
-
treeValuesList: values_list {
|
|
733
|
-
enable
|
|
734
|
-
allowFreeEntry
|
|
735
|
-
allowListUpdate
|
|
736
|
-
values {
|
|
737
|
-
id
|
|
738
|
-
record {
|
|
739
|
-
...RecordIdentity
|
|
685
|
+
description
|
|
686
|
+
type
|
|
687
|
+
format
|
|
688
|
+
system
|
|
689
|
+
readonly
|
|
690
|
+
required
|
|
691
|
+
multiple_values
|
|
692
|
+
compute
|
|
693
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
694
|
+
access_attribute
|
|
695
|
+
edit_value
|
|
740
696
|
}
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
697
|
+
versions_conf {
|
|
698
|
+
versionable
|
|
699
|
+
profile {
|
|
700
|
+
id
|
|
701
|
+
trees {
|
|
702
|
+
id
|
|
703
|
+
label
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
metadata_fields {
|
|
708
|
+
id
|
|
709
|
+
label
|
|
710
|
+
description
|
|
711
|
+
type
|
|
712
|
+
format
|
|
713
|
+
system
|
|
714
|
+
readonly
|
|
715
|
+
multiple_values
|
|
716
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
717
|
+
access_attribute
|
|
718
|
+
edit_value
|
|
719
|
+
}
|
|
720
|
+
values_list {
|
|
721
|
+
...StandardValuesListFragment
|
|
722
|
+
}
|
|
723
|
+
metadata_fields {
|
|
724
|
+
id
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
... on StandardAttribute {
|
|
728
|
+
values_list {
|
|
729
|
+
...StandardValuesListFragment
|
|
730
|
+
}
|
|
731
|
+
character_limit
|
|
732
|
+
}
|
|
733
|
+
... on LinkAttribute {
|
|
734
|
+
linked_library {
|
|
735
|
+
id
|
|
736
|
+
label
|
|
737
|
+
behavior
|
|
738
|
+
permissions {
|
|
739
|
+
create_record
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
linkValuesList: values_list {
|
|
743
|
+
enable
|
|
744
|
+
allowFreeEntry
|
|
745
|
+
allowListUpdate
|
|
746
|
+
values {
|
|
747
|
+
...RecordIdentity
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
... on TreeAttribute {
|
|
752
|
+
linked_tree {
|
|
753
|
+
id
|
|
754
|
+
label
|
|
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
|
+
}
|
|
745
772
|
}
|
|
746
|
-
}
|
|
747
773
|
}
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
774
|
${StandardValuesListFragmentFragmentDoc}
|
|
751
775
|
${RecordIdentityFragmentDoc}`;
|
|
752
|
-
export const
|
|
753
|
-
fragment
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
valueError
|
|
759
|
-
values {
|
|
760
|
-
...ValueDetails
|
|
761
|
-
}
|
|
762
|
-
attribute {
|
|
763
|
-
...RecordFormAttribute
|
|
764
|
-
}
|
|
765
|
-
settings {
|
|
766
|
-
key
|
|
767
|
-
value
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
${ValueDetailsFragmentDoc}
|
|
776
|
+
export const JoinLibraryContextFragmentDoc = gql `
|
|
777
|
+
fragment JoinLibraryContext on FormElementJoinLibraryContext {
|
|
778
|
+
mandatoryAttribute {
|
|
779
|
+
...RecordFormAttribute
|
|
780
|
+
}
|
|
781
|
+
}
|
|
771
782
|
${RecordFormAttributeFragmentDoc}`;
|
|
783
|
+
export const RecordFormElementFragmentDoc = gql `
|
|
784
|
+
fragment RecordFormElement on FormElement {
|
|
785
|
+
id
|
|
786
|
+
containerId
|
|
787
|
+
uiElementType
|
|
788
|
+
type
|
|
789
|
+
attribute {
|
|
790
|
+
...RecordFormAttribute
|
|
791
|
+
}
|
|
792
|
+
settings {
|
|
793
|
+
key
|
|
794
|
+
value
|
|
795
|
+
}
|
|
796
|
+
joinLibraryContext {
|
|
797
|
+
...JoinLibraryContext
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
${RecordFormAttributeFragmentDoc}
|
|
801
|
+
${JoinLibraryContextFragmentDoc}`;
|
|
772
802
|
export const TreeLightFragmentDoc = gql `
|
|
773
803
|
fragment TreeLight on Tree {
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
}
|
|
777
|
-
|
|
804
|
+
id
|
|
805
|
+
label
|
|
806
|
+
}
|
|
807
|
+
`;
|
|
778
808
|
export const TreeDetailsFragmentDoc = gql `
|
|
779
809
|
fragment TreeDetails on Tree {
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
}
|
|
796
|
-
|
|
810
|
+
id
|
|
811
|
+
label
|
|
812
|
+
behavior
|
|
813
|
+
system
|
|
814
|
+
libraries {
|
|
815
|
+
library {
|
|
816
|
+
id
|
|
817
|
+
label
|
|
818
|
+
}
|
|
819
|
+
settings {
|
|
820
|
+
allowMultiplePositions
|
|
821
|
+
allowedAtRoot
|
|
822
|
+
allowedChildren
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
`;
|
|
797
827
|
export const TreeNodeChildFragmentDoc = gql `
|
|
798
828
|
fragment TreeNodeChild on TreeNodeLight {
|
|
799
|
-
id
|
|
800
|
-
order
|
|
801
|
-
childrenCount
|
|
802
|
-
record {
|
|
803
|
-
...RecordIdentity
|
|
804
|
-
active: property(attribute: "active") {
|
|
805
|
-
... on Value {
|
|
806
|
-
value
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
ancestors {
|
|
811
|
-
id
|
|
812
|
-
record {
|
|
813
|
-
id
|
|
814
|
-
library {
|
|
815
829
|
id
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
830
|
+
order
|
|
831
|
+
childrenCount
|
|
832
|
+
record {
|
|
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
|
+
}
|
|
819
856
|
}
|
|
820
|
-
|
|
821
|
-
permissions {
|
|
822
|
-
access_tree
|
|
823
|
-
detach
|
|
824
|
-
edit_children
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
${RecordIdentityFragmentDoc}`;
|
|
857
|
+
${RecordIdentityFragmentDoc}`;
|
|
828
858
|
export const ViewDetailsFilterFragmentDoc = gql `
|
|
829
859
|
fragment ViewDetailsFilter on RecordFilter {
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
}
|
|
839
|
-
|
|
860
|
+
field
|
|
861
|
+
value
|
|
862
|
+
tree {
|
|
863
|
+
id
|
|
864
|
+
label
|
|
865
|
+
}
|
|
866
|
+
condition
|
|
867
|
+
operator
|
|
868
|
+
}
|
|
869
|
+
`;
|
|
840
870
|
export const ViewDetailsFragmentDoc = gql `
|
|
841
871
|
fragment ViewDetails on View {
|
|
842
|
-
id
|
|
843
|
-
display {
|
|
844
|
-
size
|
|
845
|
-
type
|
|
846
|
-
}
|
|
847
|
-
shared
|
|
848
|
-
created_by {
|
|
849
|
-
id
|
|
850
|
-
whoAmI {
|
|
851
|
-
id
|
|
852
|
-
label
|
|
853
|
-
library {
|
|
854
872
|
id
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
873
|
+
display {
|
|
874
|
+
size
|
|
875
|
+
type
|
|
876
|
+
}
|
|
877
|
+
shared
|
|
878
|
+
created_by {
|
|
879
|
+
id
|
|
880
|
+
whoAmI {
|
|
881
|
+
id
|
|
882
|
+
label
|
|
883
|
+
library {
|
|
884
|
+
id
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
label
|
|
889
|
+
description
|
|
890
|
+
color
|
|
891
|
+
filters {
|
|
892
|
+
...ViewDetailsFilter
|
|
893
|
+
}
|
|
894
|
+
sort {
|
|
895
|
+
field
|
|
896
|
+
order
|
|
897
|
+
}
|
|
898
|
+
valuesVersions {
|
|
899
|
+
treeId
|
|
900
|
+
treeNode {
|
|
901
|
+
id
|
|
902
|
+
record {
|
|
903
|
+
...RecordIdentity
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
attributes {
|
|
908
|
+
id
|
|
909
|
+
}
|
|
910
|
+
}
|
|
881
911
|
${ViewDetailsFilterFragmentDoc}
|
|
882
912
|
${RecordIdentityFragmentDoc}`;
|
|
913
|
+
export const AttributesByLibLinkAttributeWithPermissionsFragmentDoc = gql `
|
|
914
|
+
fragment AttributesByLibLinkAttributeWithPermissions on LinkAttribute {
|
|
915
|
+
linked_library {
|
|
916
|
+
id
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
`;
|
|
920
|
+
export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
|
|
921
|
+
fragment AttributesByLibAttributeWithPermissions on Attribute {
|
|
922
|
+
id
|
|
923
|
+
type
|
|
924
|
+
format
|
|
925
|
+
label
|
|
926
|
+
multiple_values
|
|
927
|
+
system
|
|
928
|
+
readonly
|
|
929
|
+
permissions {
|
|
930
|
+
access_attribute
|
|
931
|
+
}
|
|
932
|
+
...AttributesByLibLinkAttributeWithPermissions
|
|
933
|
+
... on TreeAttribute {
|
|
934
|
+
linked_tree {
|
|
935
|
+
id
|
|
936
|
+
label
|
|
937
|
+
libraries {
|
|
938
|
+
library {
|
|
939
|
+
id
|
|
940
|
+
label
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
... on StandardAttribute {
|
|
946
|
+
embedded_fields {
|
|
947
|
+
id
|
|
948
|
+
format
|
|
949
|
+
label
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
${AttributesByLibLinkAttributeWithPermissionsFragmentDoc}`;
|
|
883
954
|
export const LinkAttributeDetailsFragmentDoc = gql `
|
|
884
955
|
fragment LinkAttributeDetails on LinkAttribute {
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
}
|
|
891
|
-
|
|
956
|
+
label
|
|
957
|
+
linked_library {
|
|
958
|
+
id
|
|
959
|
+
label
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
`;
|
|
892
963
|
export const AttributePropertiesFragmentDoc = gql `
|
|
893
964
|
fragment AttributeProperties on Attribute {
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
965
|
+
id
|
|
966
|
+
label
|
|
967
|
+
type
|
|
968
|
+
format
|
|
969
|
+
multiple_values
|
|
970
|
+
multi_link_display_option
|
|
971
|
+
}
|
|
972
|
+
`;
|
|
901
973
|
export const PropertyValueFragmentDoc = gql `
|
|
902
974
|
fragment PropertyValue on GenericValue {
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
}
|
|
920
|
-
|
|
975
|
+
... on Value {
|
|
976
|
+
valuePayload: payload
|
|
977
|
+
valueRawPayload: raw_payload
|
|
978
|
+
}
|
|
979
|
+
... on LinkValue {
|
|
980
|
+
linkPayload: payload {
|
|
981
|
+
...RecordIdentity
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
... on TreeValue {
|
|
985
|
+
treePayload: payload {
|
|
986
|
+
record {
|
|
987
|
+
...RecordIdentity
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
${RecordIdentityFragmentDoc}`;
|
|
921
993
|
export const LinkPropertyFragmentDoc = gql `
|
|
922
994
|
fragment LinkProperty on GenericValue {
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
995
|
+
id_value
|
|
996
|
+
... on LinkValue {
|
|
997
|
+
payload {
|
|
998
|
+
...RecordIdentity
|
|
999
|
+
properties(attributeIds: $attributeIds) {
|
|
1000
|
+
attributeId
|
|
1001
|
+
attributeProperties {
|
|
1002
|
+
...AttributeProperties
|
|
1003
|
+
}
|
|
1004
|
+
values {
|
|
1005
|
+
...PropertyValue
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
934
1009
|
}
|
|
935
|
-
}
|
|
936
1010
|
}
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
1011
|
${RecordIdentityFragmentDoc}
|
|
940
|
-
${AttributePropertiesFragmentDoc}
|
|
1012
|
+
${AttributePropertiesFragmentDoc}
|
|
941
1013
|
${PropertyValueFragmentDoc}`;
|
|
942
1014
|
export const LibraryAttributeLinkFragmentDoc = gql `
|
|
943
1015
|
fragment LibraryAttributeLink on LinkAttribute {
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
}
|
|
955
|
-
|
|
1016
|
+
linked_library {
|
|
1017
|
+
id
|
|
1018
|
+
label
|
|
1019
|
+
attributes {
|
|
1020
|
+
id
|
|
1021
|
+
type
|
|
1022
|
+
format
|
|
1023
|
+
label
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
`;
|
|
956
1028
|
export const LibraryAttributeFragmentDoc = gql `
|
|
957
1029
|
fragment LibraryAttribute on Attribute {
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
1030
|
+
id
|
|
1031
|
+
type
|
|
1032
|
+
label
|
|
1033
|
+
permissions {
|
|
1034
|
+
access_attribute
|
|
1035
|
+
}
|
|
1036
|
+
... on StandardAttribute {
|
|
1037
|
+
format
|
|
1038
|
+
}
|
|
1039
|
+
...LibraryAttributeLink
|
|
1040
|
+
}
|
|
1041
|
+
${LibraryAttributeLinkFragmentDoc}`;
|
|
967
1042
|
export const CheckApplicationExistenceDocument = gql `
|
|
968
1043
|
query CHECK_APPLICATION_EXISTENCE($id: ID, $endpoint: String) {
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
}
|
|
973
|
-
|
|
1044
|
+
applications(filters: {id: $id, endpoint: $endpoint}) {
|
|
1045
|
+
totalCount
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
`;
|
|
974
1049
|
/**
|
|
975
1050
|
* __useCheckApplicationExistenceQuery__
|
|
976
1051
|
*
|
|
@@ -996,15 +1071,19 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
996
1071
|
const options = { ...defaultOptions, ...baseOptions };
|
|
997
1072
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
998
1073
|
}
|
|
1074
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1075
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1076
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1077
|
+
}
|
|
999
1078
|
export const GetApplicationByIdDocument = gql `
|
|
1000
1079
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1080
|
+
applications(filters: {id: $id}) {
|
|
1081
|
+
list {
|
|
1082
|
+
...DetailsApplication
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1004
1085
|
}
|
|
1005
|
-
|
|
1006
|
-
}
|
|
1007
|
-
${DetailsApplicationFragmentDoc}`;
|
|
1086
|
+
${DetailsApplicationFragmentDoc}`;
|
|
1008
1087
|
/**
|
|
1009
1088
|
* __useGetApplicationByIdQuery__
|
|
1010
1089
|
*
|
|
@@ -1029,15 +1108,19 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1029
1108
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1030
1109
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1031
1110
|
}
|
|
1111
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1112
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1113
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1114
|
+
}
|
|
1032
1115
|
export const GetApplicationModulesDocument = gql `
|
|
1033
1116
|
query GET_APPLICATION_MODULES {
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1117
|
+
applicationsModules {
|
|
1118
|
+
id
|
|
1119
|
+
description
|
|
1120
|
+
version
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
`;
|
|
1041
1124
|
/**
|
|
1042
1125
|
* __useGetApplicationModulesQuery__
|
|
1043
1126
|
*
|
|
@@ -1061,13 +1144,17 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1061
1144
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1062
1145
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1063
1146
|
}
|
|
1147
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1148
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1149
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1150
|
+
}
|
|
1064
1151
|
export const SaveApplicationDocument = gql `
|
|
1065
1152
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1153
|
+
saveApplication(application: $application) {
|
|
1154
|
+
...DetailsApplication
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
${DetailsApplicationFragmentDoc}`;
|
|
1071
1158
|
/**
|
|
1072
1159
|
* __useSaveApplicationMutation__
|
|
1073
1160
|
*
|
|
@@ -1091,11 +1178,11 @@ export function useSaveApplicationMutation(baseOptions) {
|
|
|
1091
1178
|
}
|
|
1092
1179
|
export const CheckAttributeExistenceDocument = gql `
|
|
1093
1180
|
query CHECK_ATTRIBUTE_EXISTENCE($id: ID!) {
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1181
|
+
attributes(filters: {id: $id}) {
|
|
1182
|
+
totalCount
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
`;
|
|
1099
1186
|
/**
|
|
1100
1187
|
* __useCheckAttributeExistenceQuery__
|
|
1101
1188
|
*
|
|
@@ -1120,13 +1207,17 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1120
1207
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1121
1208
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1122
1209
|
}
|
|
1210
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1211
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1212
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1213
|
+
}
|
|
1123
1214
|
export const DeleteAttributeDocument = gql `
|
|
1124
1215
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1216
|
+
deleteAttribute(id: $id) {
|
|
1217
|
+
id
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
`;
|
|
1130
1221
|
/**
|
|
1131
1222
|
* __useDeleteAttributeMutation__
|
|
1132
1223
|
*
|
|
@@ -1150,13 +1241,13 @@ export function useDeleteAttributeMutation(baseOptions) {
|
|
|
1150
1241
|
}
|
|
1151
1242
|
export const GetAttributeByIdDocument = gql `
|
|
1152
1243
|
query GET_ATTRIBUTE_BY_ID($id: ID) {
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1244
|
+
attributes(filters: {id: $id}) {
|
|
1245
|
+
list {
|
|
1246
|
+
...AttributeDetails
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1156
1249
|
}
|
|
1157
|
-
|
|
1158
|
-
}
|
|
1159
|
-
${AttributeDetailsFragmentDoc}`;
|
|
1250
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1160
1251
|
/**
|
|
1161
1252
|
* __useGetAttributeByIdQuery__
|
|
1162
1253
|
*
|
|
@@ -1181,15 +1272,19 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1181
1272
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1182
1273
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1183
1274
|
}
|
|
1275
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1276
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1277
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1278
|
+
}
|
|
1184
1279
|
export const GetAttributesByLibDocument = gql `
|
|
1185
1280
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1281
|
+
attributes(filters: {libraries: [$library]}) {
|
|
1282
|
+
list {
|
|
1283
|
+
...AttributesByLibAttribute
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1189
1286
|
}
|
|
1190
|
-
|
|
1191
|
-
}
|
|
1192
|
-
${AttributesByLibAttributeFragmentDoc}`;
|
|
1287
|
+
${AttributesByLibAttributeFragmentDoc}`;
|
|
1193
1288
|
/**
|
|
1194
1289
|
* __useGetAttributesByLibQuery__
|
|
1195
1290
|
*
|
|
@@ -1214,20 +1309,24 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1214
1309
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1215
1310
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1216
1311
|
}
|
|
1312
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1313
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1314
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1315
|
+
}
|
|
1217
1316
|
export const GetAttributesDocument = gql `
|
|
1218
1317
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1318
|
+
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
1319
|
+
totalCount
|
|
1320
|
+
list {
|
|
1321
|
+
id
|
|
1322
|
+
label
|
|
1323
|
+
type
|
|
1324
|
+
format
|
|
1325
|
+
system
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1227
1328
|
}
|
|
1228
|
-
|
|
1229
|
-
}
|
|
1230
|
-
`;
|
|
1329
|
+
`;
|
|
1231
1330
|
/**
|
|
1232
1331
|
* __useGetAttributesQuery__
|
|
1233
1332
|
*
|
|
@@ -1254,16 +1353,20 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1254
1353
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1255
1354
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1256
1355
|
}
|
|
1356
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1357
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1358
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1359
|
+
}
|
|
1257
1360
|
export const GetVersionProfilesDocument = gql `
|
|
1258
1361
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1362
|
+
versionProfiles(filters: $filters, sort: $sort) {
|
|
1363
|
+
list {
|
|
1364
|
+
id
|
|
1365
|
+
label
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1263
1368
|
}
|
|
1264
|
-
|
|
1265
|
-
}
|
|
1266
|
-
`;
|
|
1369
|
+
`;
|
|
1267
1370
|
/**
|
|
1268
1371
|
* __useGetVersionProfilesQuery__
|
|
1269
1372
|
*
|
|
@@ -1289,25 +1392,29 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1289
1392
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1290
1393
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1291
1394
|
}
|
|
1395
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1396
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1397
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1398
|
+
}
|
|
1292
1399
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1293
1400
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1401
|
+
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
1402
|
+
list {
|
|
1403
|
+
id
|
|
1404
|
+
versions_conf {
|
|
1405
|
+
versionable
|
|
1406
|
+
profile {
|
|
1407
|
+
id
|
|
1408
|
+
trees {
|
|
1409
|
+
id
|
|
1410
|
+
label
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1305
1415
|
}
|
|
1306
|
-
}
|
|
1307
1416
|
}
|
|
1308
|
-
|
|
1309
|
-
}
|
|
1310
|
-
`;
|
|
1417
|
+
`;
|
|
1311
1418
|
/**
|
|
1312
1419
|
* __useGetVersionableAttributesByLibraryQuery__
|
|
1313
1420
|
*
|
|
@@ -1332,13 +1439,17 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1332
1439
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1333
1440
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1334
1441
|
}
|
|
1442
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1443
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1444
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1445
|
+
}
|
|
1335
1446
|
export const SaveAttributeDocument = gql `
|
|
1336
1447
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1448
|
+
saveAttribute(attribute: $attribute) {
|
|
1449
|
+
...AttributeDetails
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1342
1453
|
/**
|
|
1343
1454
|
* __useSaveAttributeMutation__
|
|
1344
1455
|
*
|
|
@@ -1362,9 +1473,9 @@ export function useSaveAttributeMutation(baseOptions) {
|
|
|
1362
1473
|
}
|
|
1363
1474
|
export const ExportDocument = gql `
|
|
1364
1475
|
query EXPORT($library: ID!, $attributes: [ID!], $filters: [RecordFilterInput!]) {
|
|
1365
|
-
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1476
|
+
export(library: $library, attributes: $attributes, filters: $filters)
|
|
1477
|
+
}
|
|
1478
|
+
`;
|
|
1368
1479
|
/**
|
|
1369
1480
|
* __useExportQuery__
|
|
1370
1481
|
*
|
|
@@ -1391,13 +1502,17 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1391
1502
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1392
1503
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1393
1504
|
}
|
|
1505
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1506
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1507
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1508
|
+
}
|
|
1394
1509
|
export const CreateDirectoryDocument = gql `
|
|
1395
1510
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1511
|
+
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
1512
|
+
...RecordIdentity
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
${RecordIdentityFragmentDoc}`;
|
|
1401
1516
|
/**
|
|
1402
1517
|
* __useCreateDirectoryMutation__
|
|
1403
1518
|
*
|
|
@@ -1423,15 +1538,15 @@ export function useCreateDirectoryMutation(baseOptions) {
|
|
|
1423
1538
|
}
|
|
1424
1539
|
export const ForcePreviewsGenerationDocument = gql `
|
|
1425
1540
|
mutation FORCE_PREVIEWS_GENERATION($libraryId: ID!, $filters: [RecordFilterInput!], $recordIds: [ID!], $failedOnly: Boolean, $previewVersionSizeNames: [String!]) {
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1541
|
+
forcePreviewsGeneration(
|
|
1542
|
+
libraryId: $libraryId
|
|
1543
|
+
filters: $filters
|
|
1544
|
+
recordIds: $recordIds
|
|
1545
|
+
failedOnly: $failedOnly
|
|
1546
|
+
previewVersionSizeNames: $previewVersionSizeNames
|
|
1547
|
+
)
|
|
1548
|
+
}
|
|
1549
|
+
`;
|
|
1435
1550
|
/**
|
|
1436
1551
|
* __useForcePreviewsGenerationMutation__
|
|
1437
1552
|
*
|
|
@@ -1459,53 +1574,53 @@ export function useForcePreviewsGenerationMutation(baseOptions) {
|
|
|
1459
1574
|
}
|
|
1460
1575
|
export const GetDirectoryDataDocument = gql `
|
|
1461
1576
|
query GET_DIRECTORY_DATA($library: ID!, $directoryId: String!) {
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1577
|
+
records(
|
|
1578
|
+
library: $library
|
|
1579
|
+
filters: [{field: "id", value: $directoryId, condition: EQUAL}]
|
|
1580
|
+
) {
|
|
1581
|
+
list {
|
|
1582
|
+
...RecordIdentity
|
|
1583
|
+
created_at: property(attribute: "created_at") {
|
|
1584
|
+
... on Value {
|
|
1585
|
+
value
|
|
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
|
+
}
|
|
1495
1621
|
}
|
|
1496
|
-
}
|
|
1497
|
-
file_path: property(attribute: "file_path") {
|
|
1498
|
-
... on Value {
|
|
1499
|
-
value
|
|
1500
|
-
}
|
|
1501
|
-
}
|
|
1502
|
-
library {
|
|
1503
|
-
behavior
|
|
1504
|
-
}
|
|
1505
1622
|
}
|
|
1506
|
-
|
|
1507
|
-
}
|
|
1508
|
-
${RecordIdentityFragmentDoc}`;
|
|
1623
|
+
${RecordIdentityFragmentDoc}`;
|
|
1509
1624
|
/**
|
|
1510
1625
|
* __useGetDirectoryDataQuery__
|
|
1511
1626
|
*
|
|
@@ -1531,24 +1646,28 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1531
1646
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1532
1647
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1533
1648
|
}
|
|
1649
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1650
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1651
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1652
|
+
}
|
|
1534
1653
|
export const UploadUpdateDocument = gql `
|
|
1535
1654
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
}
|
|
1551
|
-
|
|
1655
|
+
upload(filters: $filters) {
|
|
1656
|
+
userId
|
|
1657
|
+
progress {
|
|
1658
|
+
length
|
|
1659
|
+
transferred
|
|
1660
|
+
speed
|
|
1661
|
+
runtime
|
|
1662
|
+
remaining
|
|
1663
|
+
percentage
|
|
1664
|
+
eta
|
|
1665
|
+
delta
|
|
1666
|
+
}
|
|
1667
|
+
uid
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
`;
|
|
1552
1671
|
/**
|
|
1553
1672
|
* __useUploadUpdateSubscription__
|
|
1554
1673
|
*
|
|
@@ -1571,14 +1690,14 @@ export function useUploadUpdateSubscription(baseOptions) {
|
|
|
1571
1690
|
}
|
|
1572
1691
|
export const UploadDocument = gql `
|
|
1573
1692
|
mutation UPLOAD($library: String!, $nodeId: String!, $files: [FileInput!]!) {
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1693
|
+
upload(library: $library, nodeId: $nodeId, files: $files) {
|
|
1694
|
+
uid
|
|
1695
|
+
record {
|
|
1696
|
+
...RecordIdentity
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1578
1699
|
}
|
|
1579
|
-
|
|
1580
|
-
}
|
|
1581
|
-
${RecordIdentityFragmentDoc}`;
|
|
1700
|
+
${RecordIdentityFragmentDoc}`;
|
|
1582
1701
|
/**
|
|
1583
1702
|
* __useUploadMutation__
|
|
1584
1703
|
*
|
|
@@ -1602,11 +1721,56 @@ export function useUploadMutation(baseOptions) {
|
|
|
1602
1721
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1603
1722
|
return Apollo.useMutation(UploadDocument, options);
|
|
1604
1723
|
}
|
|
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
|
+
}
|
|
1605
1769
|
export const ImportExcelDocument = gql `
|
|
1606
1770
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1607
|
-
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1771
|
+
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
1772
|
+
}
|
|
1773
|
+
`;
|
|
1610
1774
|
/**
|
|
1611
1775
|
* __useImportExcelMutation__
|
|
1612
1776
|
*
|
|
@@ -1632,11 +1796,11 @@ export function useImportExcelMutation(baseOptions) {
|
|
|
1632
1796
|
}
|
|
1633
1797
|
export const CheckLibraryExistenceDocument = gql `
|
|
1634
1798
|
query CHECK_LIBRARY_EXISTENCE($id: [ID!]) {
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1799
|
+
libraries(filters: {id: $id}) {
|
|
1800
|
+
totalCount
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
`;
|
|
1640
1804
|
/**
|
|
1641
1805
|
* __useCheckLibraryExistenceQuery__
|
|
1642
1806
|
*
|
|
@@ -1661,13 +1825,17 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1661
1825
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1662
1826
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1663
1827
|
}
|
|
1828
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1829
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1830
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1831
|
+
}
|
|
1664
1832
|
export const DeleteLibraryDocument = gql `
|
|
1665
1833
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1834
|
+
deleteLibrary(id: $id) {
|
|
1835
|
+
id
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
`;
|
|
1671
1839
|
/**
|
|
1672
1840
|
* __useDeleteLibraryMutation__
|
|
1673
1841
|
*
|
|
@@ -1691,13 +1859,13 @@ export function useDeleteLibraryMutation(baseOptions) {
|
|
|
1691
1859
|
}
|
|
1692
1860
|
export const GetLibrariesDocument = gql `
|
|
1693
1861
|
query GET_LIBRARIES {
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1862
|
+
libraries {
|
|
1863
|
+
list {
|
|
1864
|
+
...LibraryLight
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1697
1867
|
}
|
|
1698
|
-
|
|
1699
|
-
}
|
|
1700
|
-
${LibraryLightFragmentDoc}`;
|
|
1868
|
+
${LibraryLightFragmentDoc}`;
|
|
1701
1869
|
/**
|
|
1702
1870
|
* __useGetLibrariesQuery__
|
|
1703
1871
|
*
|
|
@@ -1721,15 +1889,19 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1721
1889
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1722
1890
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1723
1891
|
}
|
|
1892
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1893
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1894
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1895
|
+
}
|
|
1724
1896
|
export const GetLibraryByIdDocument = gql `
|
|
1725
1897
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1898
|
+
libraries(filters: {id: $id}) {
|
|
1899
|
+
list {
|
|
1900
|
+
...LibraryDetails
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1729
1903
|
}
|
|
1730
|
-
|
|
1731
|
-
}
|
|
1732
|
-
${LibraryDetailsFragmentDoc}`;
|
|
1904
|
+
${LibraryDetailsFragmentDoc}`;
|
|
1733
1905
|
/**
|
|
1734
1906
|
* __useGetLibraryByIdQuery__
|
|
1735
1907
|
*
|
|
@@ -1754,21 +1926,25 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1754
1926
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1755
1927
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1756
1928
|
}
|
|
1929
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
1930
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1931
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
1932
|
+
}
|
|
1757
1933
|
export const GetLibraryPermissionsDocument = gql `
|
|
1758
1934
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1935
|
+
libraries(filters: {id: $libraryId}) {
|
|
1936
|
+
list {
|
|
1937
|
+
permissions {
|
|
1938
|
+
access_library
|
|
1939
|
+
access_record
|
|
1940
|
+
create_record
|
|
1941
|
+
edit_record
|
|
1942
|
+
delete_record
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1768
1946
|
}
|
|
1769
|
-
|
|
1770
|
-
}
|
|
1771
|
-
`;
|
|
1947
|
+
`;
|
|
1772
1948
|
/**
|
|
1773
1949
|
* __useGetLibraryPermissionsQuery__
|
|
1774
1950
|
*
|
|
@@ -1793,30 +1969,34 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1793
1969
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1794
1970
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
1795
1971
|
}
|
|
1796
|
-
export
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1972
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
1973
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1974
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
1975
|
+
}
|
|
1976
|
+
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1977
|
+
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1978
|
+
libraries(filters: {id: [$id]}) {
|
|
1979
|
+
list {
|
|
1980
|
+
id
|
|
1981
|
+
label
|
|
1982
|
+
behavior
|
|
1983
|
+
previewsSettings {
|
|
1984
|
+
description
|
|
1985
|
+
label
|
|
1986
|
+
system
|
|
1987
|
+
versions {
|
|
1988
|
+
background
|
|
1989
|
+
density
|
|
1990
|
+
sizes {
|
|
1991
|
+
name
|
|
1992
|
+
size
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1814
1997
|
}
|
|
1815
|
-
}
|
|
1816
1998
|
}
|
|
1817
|
-
|
|
1818
|
-
}
|
|
1819
|
-
`;
|
|
1999
|
+
`;
|
|
1820
2000
|
/**
|
|
1821
2001
|
* __useGetLibraryPreviewsSettingsQuery__
|
|
1822
2002
|
*
|
|
@@ -1841,13 +2021,17 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1841
2021
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1842
2022
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
1843
2023
|
}
|
|
2024
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2025
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2026
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2027
|
+
}
|
|
1844
2028
|
export const SaveLibraryDocument = gql `
|
|
1845
2029
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
}
|
|
1850
|
-
|
|
2030
|
+
saveLibrary(library: $library) {
|
|
2031
|
+
...LibraryDetails
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
${LibraryDetailsFragmentDoc}`;
|
|
1851
2035
|
/**
|
|
1852
2036
|
* __useSaveLibraryMutation__
|
|
1853
2037
|
*
|
|
@@ -1871,12 +2055,12 @@ export function useSaveLibraryMutation(baseOptions) {
|
|
|
1871
2055
|
}
|
|
1872
2056
|
export const IsAllowedDocument = gql `
|
|
1873
2057
|
query IS_ALLOWED($type: PermissionTypes!, $actions: [PermissionsActions!]!, $applyTo: ID, $target: PermissionTarget) {
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
}
|
|
1879
|
-
|
|
2058
|
+
isAllowed(type: $type, actions: $actions, applyTo: $applyTo, target: $target) {
|
|
2059
|
+
name
|
|
2060
|
+
allowed
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
`;
|
|
1880
2064
|
/**
|
|
1881
2065
|
* __useIsAllowedQuery__
|
|
1882
2066
|
*
|
|
@@ -1904,21 +2088,60 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1904
2088
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1905
2089
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
1906
2090
|
}
|
|
2091
|
+
export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
2092
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2093
|
+
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2094
|
+
}
|
|
2095
|
+
export const ActivateRecordsDocument = gql `
|
|
2096
|
+
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2097
|
+
activateRecords(
|
|
2098
|
+
recordsIds: $recordsIds
|
|
2099
|
+
filters: $filters
|
|
2100
|
+
libraryId: $libraryId
|
|
2101
|
+
) {
|
|
2102
|
+
id
|
|
2103
|
+
...RecordIdentity
|
|
2104
|
+
}
|
|
2105
|
+
}
|
|
2106
|
+
${RecordIdentityFragmentDoc}`;
|
|
2107
|
+
/**
|
|
2108
|
+
* __useActivateRecordsMutation__
|
|
2109
|
+
*
|
|
2110
|
+
* To run a mutation, you first call `useActivateRecordsMutation` within a React component and pass it any options that fit your needs.
|
|
2111
|
+
* When your component renders, `useActivateRecordsMutation` returns a tuple that includes:
|
|
2112
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2113
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2114
|
+
*
|
|
2115
|
+
* @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;
|
|
2116
|
+
*
|
|
2117
|
+
* @example
|
|
2118
|
+
* const [activateRecordsMutation, { data, loading, error }] = useActivateRecordsMutation({
|
|
2119
|
+
* variables: {
|
|
2120
|
+
* libraryId: // value for 'libraryId'
|
|
2121
|
+
* recordsIds: // value for 'recordsIds'
|
|
2122
|
+
* filters: // value for 'filters'
|
|
2123
|
+
* },
|
|
2124
|
+
* });
|
|
2125
|
+
*/
|
|
2126
|
+
export function useActivateRecordsMutation(baseOptions) {
|
|
2127
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2128
|
+
return Apollo.useMutation(ActivateRecordsDocument, options);
|
|
2129
|
+
}
|
|
1907
2130
|
export const CreateRecordDocument = gql `
|
|
1908
2131
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
2132
|
+
createRecord(library: $library, data: $data) {
|
|
2133
|
+
record {
|
|
2134
|
+
...RecordIdentity
|
|
2135
|
+
}
|
|
2136
|
+
valuesErrors {
|
|
2137
|
+
type
|
|
2138
|
+
attribute
|
|
2139
|
+
input
|
|
2140
|
+
message
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
1918
2143
|
}
|
|
1919
|
-
|
|
1920
|
-
}
|
|
1921
|
-
${RecordIdentityFragmentDoc}`;
|
|
2144
|
+
${RecordIdentityFragmentDoc}`;
|
|
1922
2145
|
/**
|
|
1923
2146
|
* __useCreateRecordMutation__
|
|
1924
2147
|
*
|
|
@@ -1943,16 +2166,16 @@ export function useCreateRecordMutation(baseOptions) {
|
|
|
1943
2166
|
}
|
|
1944
2167
|
export const DeactivateRecordsDocument = gql `
|
|
1945
2168
|
mutation DEACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
}
|
|
1955
|
-
|
|
2169
|
+
deactivateRecords(
|
|
2170
|
+
recordsIds: $recordsIds
|
|
2171
|
+
filters: $filters
|
|
2172
|
+
libraryId: $libraryId
|
|
2173
|
+
) {
|
|
2174
|
+
id
|
|
2175
|
+
...RecordIdentity
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
${RecordIdentityFragmentDoc}`;
|
|
1956
2179
|
/**
|
|
1957
2180
|
* __useDeactivateRecordsMutation__
|
|
1958
2181
|
*
|
|
@@ -1978,13 +2201,13 @@ export function useDeactivateRecordsMutation(baseOptions) {
|
|
|
1978
2201
|
}
|
|
1979
2202
|
export const DoesFileExistAsChildDocument = gql `
|
|
1980
2203
|
query DOES_FILE_EXIST_AS_CHILD($parentNode: ID, $treeId: ID!, $filename: String!) {
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
}
|
|
1987
|
-
|
|
2204
|
+
doesFileExistAsChild(
|
|
2205
|
+
parentNode: $parentNode
|
|
2206
|
+
treeId: $treeId
|
|
2207
|
+
filename: $filename
|
|
2208
|
+
)
|
|
2209
|
+
}
|
|
2210
|
+
`;
|
|
1988
2211
|
/**
|
|
1989
2212
|
* __useDoesFileExistAsChildQuery__
|
|
1990
2213
|
*
|
|
@@ -2011,60 +2234,64 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2011
2234
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2012
2235
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2013
2236
|
}
|
|
2237
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2238
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2239
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2240
|
+
}
|
|
2014
2241
|
export const GetFileDataDocument = gql `
|
|
2015
2242
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2243
|
+
records(
|
|
2244
|
+
library: $library
|
|
2245
|
+
filters: [{field: "id", value: $fileId, condition: EQUAL}]
|
|
2246
|
+
) {
|
|
2247
|
+
list {
|
|
2248
|
+
...RecordIdentity
|
|
2249
|
+
created_at: property(attribute: "created_at") {
|
|
2250
|
+
... on Value {
|
|
2251
|
+
value
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
created_by: property(attribute: "created_by") {
|
|
2255
|
+
... on LinkValue {
|
|
2256
|
+
value {
|
|
2257
|
+
...RecordIdentity
|
|
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
|
+
}
|
|
2059
2292
|
}
|
|
2060
|
-
}
|
|
2061
|
-
library {
|
|
2062
|
-
behavior
|
|
2063
|
-
}
|
|
2064
2293
|
}
|
|
2065
|
-
|
|
2066
|
-
}
|
|
2067
|
-
${RecordIdentityFragmentDoc}`;
|
|
2294
|
+
${RecordIdentityFragmentDoc}`;
|
|
2068
2295
|
/**
|
|
2069
2296
|
* __useGetFileDataQuery__
|
|
2070
2297
|
*
|
|
@@ -2091,28 +2318,36 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2091
2318
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2092
2319
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2093
2320
|
}
|
|
2321
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2322
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2323
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2324
|
+
}
|
|
2094
2325
|
export const RecordFormDocument = gql `
|
|
2095
2326
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2327
|
+
recordForm(
|
|
2328
|
+
recordId: $recordId
|
|
2329
|
+
libraryId: $libraryId
|
|
2330
|
+
formId: $formId
|
|
2331
|
+
version: $version
|
|
2332
|
+
) {
|
|
2333
|
+
id
|
|
2334
|
+
recordId
|
|
2335
|
+
library {
|
|
2336
|
+
id
|
|
2337
|
+
}
|
|
2338
|
+
dependencyAttributes {
|
|
2339
|
+
id
|
|
2340
|
+
}
|
|
2341
|
+
elements {
|
|
2342
|
+
...RecordFormElement
|
|
2343
|
+
}
|
|
2344
|
+
sidePanel {
|
|
2345
|
+
enable
|
|
2346
|
+
isOpenByDefault
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2112
2349
|
}
|
|
2113
|
-
|
|
2114
|
-
}
|
|
2115
|
-
${RecordFormElementFragmentDoc}`;
|
|
2350
|
+
${RecordFormElementFragmentDoc}`;
|
|
2116
2351
|
/**
|
|
2117
2352
|
* __useRecordFormQuery__
|
|
2118
2353
|
*
|
|
@@ -2140,27 +2375,31 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2140
2375
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2141
2376
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2142
2377
|
}
|
|
2378
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2379
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2380
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2381
|
+
}
|
|
2143
2382
|
export const RecordUpdateDocument = gql `
|
|
2144
2383
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2384
|
+
recordUpdate(filters: $filters) {
|
|
2385
|
+
record {
|
|
2386
|
+
...RecordIdentity
|
|
2387
|
+
modified_by: property(attribute: "modified_by") {
|
|
2388
|
+
... on LinkValue {
|
|
2389
|
+
value {
|
|
2390
|
+
...RecordIdentity
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
updatedValues {
|
|
2396
|
+
attribute
|
|
2397
|
+
value {
|
|
2398
|
+
...ValueDetails
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2153
2401
|
}
|
|
2154
|
-
}
|
|
2155
|
-
}
|
|
2156
|
-
updatedValues {
|
|
2157
|
-
attribute
|
|
2158
|
-
value {
|
|
2159
|
-
...ValueDetails
|
|
2160
|
-
}
|
|
2161
2402
|
}
|
|
2162
|
-
}
|
|
2163
|
-
}
|
|
2164
2403
|
${RecordIdentityFragmentDoc}
|
|
2165
2404
|
${ValueDetailsFragmentDoc}`;
|
|
2166
2405
|
/**
|
|
@@ -2183,11 +2422,51 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2183
2422
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2184
2423
|
return Apollo.useSubscription(RecordUpdateDocument, options);
|
|
2185
2424
|
}
|
|
2425
|
+
export const GetRecordsFromLibraryDocument = gql `
|
|
2426
|
+
query getRecordsFromLibrary($libraryId: ID!, $pagination: RecordsPagination, $filters: [RecordFilterInput]) {
|
|
2427
|
+
records(library: $libraryId, filters: $filters, pagination: $pagination) {
|
|
2428
|
+
totalCount
|
|
2429
|
+
list {
|
|
2430
|
+
...RecordIdentity
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
${RecordIdentityFragmentDoc}`;
|
|
2435
|
+
/**
|
|
2436
|
+
* __useGetRecordsFromLibraryQuery__
|
|
2437
|
+
*
|
|
2438
|
+
* To run a query within a React component, call `useGetRecordsFromLibraryQuery` and pass it any options that fit your needs.
|
|
2439
|
+
* When your component renders, `useGetRecordsFromLibraryQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2440
|
+
* you can use to render your UI.
|
|
2441
|
+
*
|
|
2442
|
+
* @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;
|
|
2443
|
+
*
|
|
2444
|
+
* @example
|
|
2445
|
+
* const { data, loading, error } = useGetRecordsFromLibraryQuery({
|
|
2446
|
+
* variables: {
|
|
2447
|
+
* libraryId: // value for 'libraryId'
|
|
2448
|
+
* pagination: // value for 'pagination'
|
|
2449
|
+
* filters: // value for 'filters'
|
|
2450
|
+
* },
|
|
2451
|
+
* });
|
|
2452
|
+
*/
|
|
2453
|
+
export function useGetRecordsFromLibraryQuery(baseOptions) {
|
|
2454
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2455
|
+
return Apollo.useQuery(GetRecordsFromLibraryDocument, options);
|
|
2456
|
+
}
|
|
2457
|
+
export function useGetRecordsFromLibraryLazyQuery(baseOptions) {
|
|
2458
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2459
|
+
return Apollo.useLazyQuery(GetRecordsFromLibraryDocument, options);
|
|
2460
|
+
}
|
|
2461
|
+
export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
2462
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2463
|
+
return Apollo.useSuspenseQuery(GetRecordsFromLibraryDocument, options);
|
|
2464
|
+
}
|
|
2186
2465
|
export const IndexRecordsDocument = gql `
|
|
2187
2466
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2188
|
-
|
|
2189
|
-
}
|
|
2190
|
-
|
|
2467
|
+
indexRecords(libraryId: $libraryId, records: $records)
|
|
2468
|
+
}
|
|
2469
|
+
`;
|
|
2191
2470
|
/**
|
|
2192
2471
|
* __useIndexRecordsMutation__
|
|
2193
2472
|
*
|
|
@@ -2212,9 +2491,9 @@ export function useIndexRecordsMutation(baseOptions) {
|
|
|
2212
2491
|
}
|
|
2213
2492
|
export const CancelTaskDocument = gql `
|
|
2214
2493
|
mutation CANCEL_TASK($taskId: ID!) {
|
|
2215
|
-
|
|
2216
|
-
}
|
|
2217
|
-
|
|
2494
|
+
cancelTask(taskId: $taskId)
|
|
2495
|
+
}
|
|
2496
|
+
`;
|
|
2218
2497
|
/**
|
|
2219
2498
|
* __useCancelTaskMutation__
|
|
2220
2499
|
*
|
|
@@ -2238,11 +2517,11 @@ export function useCancelTaskMutation(baseOptions) {
|
|
|
2238
2517
|
}
|
|
2239
2518
|
export const CheckTreeExistenceDocument = gql `
|
|
2240
2519
|
query CHECK_TREE_EXISTENCE($id: [ID!]) {
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
}
|
|
2245
|
-
|
|
2520
|
+
trees(filters: {id: $id}) {
|
|
2521
|
+
totalCount
|
|
2522
|
+
}
|
|
2523
|
+
}
|
|
2524
|
+
`;
|
|
2246
2525
|
/**
|
|
2247
2526
|
* __useCheckTreeExistenceQuery__
|
|
2248
2527
|
*
|
|
@@ -2267,13 +2546,17 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2267
2546
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2268
2547
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2269
2548
|
}
|
|
2549
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2550
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2551
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2552
|
+
}
|
|
2270
2553
|
export const DeleteTreeDocument = gql `
|
|
2271
2554
|
mutation DELETE_TREE($id: ID!) {
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
}
|
|
2276
|
-
|
|
2555
|
+
deleteTree(id: $id) {
|
|
2556
|
+
id
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
`;
|
|
2277
2560
|
/**
|
|
2278
2561
|
* __useDeleteTreeMutation__
|
|
2279
2562
|
*
|
|
@@ -2297,13 +2580,13 @@ export function useDeleteTreeMutation(baseOptions) {
|
|
|
2297
2580
|
}
|
|
2298
2581
|
export const GetTreeByIdDocument = gql `
|
|
2299
2582
|
query GET_TREE_BY_ID($id: [ID!]) {
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2583
|
+
trees(filters: {id: $id}) {
|
|
2584
|
+
list {
|
|
2585
|
+
...TreeDetails
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2303
2588
|
}
|
|
2304
|
-
|
|
2305
|
-
}
|
|
2306
|
-
${TreeDetailsFragmentDoc}`;
|
|
2589
|
+
${TreeDetailsFragmentDoc}`;
|
|
2307
2590
|
/**
|
|
2308
2591
|
* __useGetTreeByIdQuery__
|
|
2309
2592
|
*
|
|
@@ -2328,31 +2611,35 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2328
2611
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2329
2612
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2330
2613
|
}
|
|
2614
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2615
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2616
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2617
|
+
}
|
|
2331
2618
|
export const GetTreeLibrariesDocument = gql `
|
|
2332
2619
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2620
|
+
trees(filters: {id: $treeId, library: $library}) {
|
|
2621
|
+
totalCount
|
|
2622
|
+
list {
|
|
2623
|
+
id
|
|
2624
|
+
behavior
|
|
2625
|
+
system
|
|
2626
|
+
libraries {
|
|
2627
|
+
library {
|
|
2628
|
+
id
|
|
2629
|
+
label
|
|
2630
|
+
behavior
|
|
2631
|
+
system
|
|
2632
|
+
}
|
|
2633
|
+
settings {
|
|
2634
|
+
allowMultiplePositions
|
|
2635
|
+
allowedChildren
|
|
2636
|
+
allowedAtRoot
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2350
2640
|
}
|
|
2351
|
-
}
|
|
2352
2641
|
}
|
|
2353
|
-
|
|
2354
|
-
}
|
|
2355
|
-
`;
|
|
2642
|
+
`;
|
|
2356
2643
|
/**
|
|
2357
2644
|
* __useGetTreeLibrariesQuery__
|
|
2358
2645
|
*
|
|
@@ -2378,15 +2665,19 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2378
2665
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2379
2666
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2380
2667
|
}
|
|
2668
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2669
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2670
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2671
|
+
}
|
|
2381
2672
|
export const GetTreesDocument = gql `
|
|
2382
2673
|
query GET_TREES {
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2674
|
+
trees {
|
|
2675
|
+
list {
|
|
2676
|
+
...TreeLight
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2386
2679
|
}
|
|
2387
|
-
|
|
2388
|
-
}
|
|
2389
|
-
${TreeLightFragmentDoc}`;
|
|
2680
|
+
${TreeLightFragmentDoc}`;
|
|
2390
2681
|
/**
|
|
2391
2682
|
* __useGetTreesQuery__
|
|
2392
2683
|
*
|
|
@@ -2410,13 +2701,17 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2410
2701
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2411
2702
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2412
2703
|
}
|
|
2704
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2705
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2706
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2707
|
+
}
|
|
2413
2708
|
export const SaveTreeDocument = gql `
|
|
2414
2709
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
}
|
|
2419
|
-
|
|
2710
|
+
saveTree(tree: $tree) {
|
|
2711
|
+
...TreeDetails
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2714
|
+
${TreeDetailsFragmentDoc}`;
|
|
2420
2715
|
/**
|
|
2421
2716
|
* __useSaveTreeMutation__
|
|
2422
2717
|
*
|
|
@@ -2439,15 +2734,20 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2439
2734
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2440
2735
|
}
|
|
2441
2736
|
export const TreeNodeChildrenDocument = gql `
|
|
2442
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2737
|
+
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2738
|
+
treeNodeChildren(
|
|
2739
|
+
treeId: $treeId
|
|
2740
|
+
node: $node
|
|
2741
|
+
pagination: $pagination
|
|
2742
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2743
|
+
) {
|
|
2744
|
+
totalCount
|
|
2745
|
+
list {
|
|
2746
|
+
...TreeNodeChild
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2447
2749
|
}
|
|
2448
|
-
|
|
2449
|
-
}
|
|
2450
|
-
${TreeNodeChildFragmentDoc}`;
|
|
2750
|
+
${TreeNodeChildFragmentDoc}`;
|
|
2451
2751
|
/**
|
|
2452
2752
|
* __useTreeNodeChildrenQuery__
|
|
2453
2753
|
*
|
|
@@ -2463,6 +2763,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2463
2763
|
* treeId: // value for 'treeId'
|
|
2464
2764
|
* node: // value for 'node'
|
|
2465
2765
|
* pagination: // value for 'pagination'
|
|
2766
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2466
2767
|
* },
|
|
2467
2768
|
* });
|
|
2468
2769
|
*/
|
|
@@ -2474,14 +2775,18 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2474
2775
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2475
2776
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2476
2777
|
}
|
|
2778
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2779
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2780
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2781
|
+
}
|
|
2477
2782
|
export const GetUserDataDocument = gql `
|
|
2478
2783
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
}
|
|
2484
|
-
|
|
2784
|
+
userData(keys: $keys, global: $global) {
|
|
2785
|
+
global
|
|
2786
|
+
data
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
`;
|
|
2485
2790
|
/**
|
|
2486
2791
|
* __useGetUserDataQuery__
|
|
2487
2792
|
*
|
|
@@ -2507,14 +2812,18 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2507
2812
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2508
2813
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2509
2814
|
}
|
|
2815
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
2816
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2817
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
2818
|
+
}
|
|
2510
2819
|
export const SaveUserDataDocument = gql `
|
|
2511
2820
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
}
|
|
2517
|
-
|
|
2821
|
+
saveUserData(key: $key, value: $value, global: $global) {
|
|
2822
|
+
global
|
|
2823
|
+
data
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
`;
|
|
2518
2827
|
/**
|
|
2519
2828
|
* __useSaveUserDataMutation__
|
|
2520
2829
|
*
|
|
@@ -2540,16 +2849,16 @@ export function useSaveUserDataMutation(baseOptions) {
|
|
|
2540
2849
|
}
|
|
2541
2850
|
export const DeleteValueDocument = gql `
|
|
2542
2851
|
mutation DELETE_VALUE($library: ID!, $recordId: ID!, $attribute: ID!, $value: ValueInput) {
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
}
|
|
2552
|
-
|
|
2852
|
+
deleteValue(
|
|
2853
|
+
library: $library
|
|
2854
|
+
recordId: $recordId
|
|
2855
|
+
attribute: $attribute
|
|
2856
|
+
value: $value
|
|
2857
|
+
) {
|
|
2858
|
+
...ValueDetails
|
|
2859
|
+
}
|
|
2860
|
+
}
|
|
2861
|
+
${ValueDetailsFragmentDoc}`;
|
|
2553
2862
|
/**
|
|
2554
2863
|
* __useDeleteValueMutation__
|
|
2555
2864
|
*
|
|
@@ -2576,15 +2885,15 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2576
2885
|
}
|
|
2577
2886
|
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2578
2887
|
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2888
|
+
runActionsListAndFormatOnValue(
|
|
2889
|
+
library: $library
|
|
2890
|
+
value: $value
|
|
2891
|
+
version: $version
|
|
2892
|
+
) {
|
|
2893
|
+
...ValueDetails
|
|
2894
|
+
}
|
|
2895
|
+
}
|
|
2896
|
+
${ValueDetailsFragmentDoc}`;
|
|
2588
2897
|
/**
|
|
2589
2898
|
* __useRunActionsListAndFormatOnValueQuery__
|
|
2590
2899
|
*
|
|
@@ -2611,27 +2920,31 @@ export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
|
2611
2920
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2612
2921
|
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2613
2922
|
}
|
|
2923
|
+
export function useRunActionsListAndFormatOnValueSuspenseQuery(baseOptions) {
|
|
2924
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2925
|
+
return Apollo.useSuspenseQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2926
|
+
}
|
|
2614
2927
|
export const SaveValueBatchDocument = gql `
|
|
2615
2928
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
}
|
|
2634
|
-
|
|
2929
|
+
saveValueBatch(
|
|
2930
|
+
library: $library
|
|
2931
|
+
recordId: $recordId
|
|
2932
|
+
version: $version
|
|
2933
|
+
values: $values
|
|
2934
|
+
deleteEmpty: $deleteEmpty
|
|
2935
|
+
) {
|
|
2936
|
+
values {
|
|
2937
|
+
...ValueDetails
|
|
2938
|
+
}
|
|
2939
|
+
errors {
|
|
2940
|
+
type
|
|
2941
|
+
attribute
|
|
2942
|
+
input
|
|
2943
|
+
message
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
${ValueDetailsFragmentDoc}`;
|
|
2635
2948
|
/**
|
|
2636
2949
|
* __useSaveValueBatchMutation__
|
|
2637
2950
|
*
|
|
@@ -2659,12 +2972,12 @@ export function useSaveValueBatchMutation(baseOptions) {
|
|
|
2659
2972
|
}
|
|
2660
2973
|
export const DeleteViewDocument = gql `
|
|
2661
2974
|
mutation DELETE_VIEW($viewId: String!) {
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
}
|
|
2667
|
-
|
|
2975
|
+
deleteView(viewId: $viewId) {
|
|
2976
|
+
id
|
|
2977
|
+
library
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
`;
|
|
2668
2981
|
/**
|
|
2669
2982
|
* __useDeleteViewMutation__
|
|
2670
2983
|
*
|
|
@@ -2688,11 +3001,11 @@ export function useDeleteViewMutation(baseOptions) {
|
|
|
2688
3001
|
}
|
|
2689
3002
|
export const GetViewDocument = gql `
|
|
2690
3003
|
query GET_VIEW($viewId: String!) {
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
}
|
|
2695
|
-
|
|
3004
|
+
view(viewId: $viewId) {
|
|
3005
|
+
...ViewDetails
|
|
3006
|
+
}
|
|
3007
|
+
}
|
|
3008
|
+
${ViewDetailsFragmentDoc}`;
|
|
2696
3009
|
/**
|
|
2697
3010
|
* __useGetViewQuery__
|
|
2698
3011
|
*
|
|
@@ -2717,16 +3030,20 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2717
3030
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2718
3031
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
2719
3032
|
}
|
|
3033
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3034
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3035
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3036
|
+
}
|
|
2720
3037
|
export const GetViewsListDocument = gql `
|
|
2721
3038
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
3039
|
+
views(library: $libraryId) {
|
|
3040
|
+
totalCount
|
|
3041
|
+
list {
|
|
3042
|
+
...ViewDetails
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
2726
3045
|
}
|
|
2727
|
-
|
|
2728
|
-
}
|
|
2729
|
-
${ViewDetailsFragmentDoc}`;
|
|
3046
|
+
${ViewDetailsFragmentDoc}`;
|
|
2730
3047
|
/**
|
|
2731
3048
|
* __useGetViewsListQuery__
|
|
2732
3049
|
*
|
|
@@ -2751,13 +3068,17 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2751
3068
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2752
3069
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
2753
3070
|
}
|
|
3071
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3072
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3073
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3074
|
+
}
|
|
2754
3075
|
export const SaveViewDocument = gql `
|
|
2755
3076
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
}
|
|
2760
|
-
|
|
3077
|
+
saveView(view: $view) {
|
|
3078
|
+
...ViewDetails
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
${ViewDetailsFragmentDoc}`;
|
|
2761
3082
|
/**
|
|
2762
3083
|
* __useSaveViewMutation__
|
|
2763
3084
|
*
|
|
@@ -2779,19 +3100,59 @@ export function useSaveViewMutation(baseOptions) {
|
|
|
2779
3100
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2780
3101
|
return Apollo.useMutation(SaveViewDocument, options);
|
|
2781
3102
|
}
|
|
3103
|
+
export const GetAttributesByLibWithPermissionsDocument = gql `
|
|
3104
|
+
query getAttributesByLibWithPermissions($library: String!) {
|
|
3105
|
+
attributes(filters: {libraries: [$library]}) {
|
|
3106
|
+
list {
|
|
3107
|
+
...AttributesByLibAttributeWithPermissions
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
}
|
|
3111
|
+
${AttributesByLibAttributeWithPermissionsFragmentDoc}`;
|
|
3112
|
+
/**
|
|
3113
|
+
* __useGetAttributesByLibWithPermissionsQuery__
|
|
3114
|
+
*
|
|
3115
|
+
* To run a query within a React component, call `useGetAttributesByLibWithPermissionsQuery` and pass it any options that fit your needs.
|
|
3116
|
+
* When your component renders, `useGetAttributesByLibWithPermissionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3117
|
+
* you can use to render your UI.
|
|
3118
|
+
*
|
|
3119
|
+
* @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;
|
|
3120
|
+
*
|
|
3121
|
+
* @example
|
|
3122
|
+
* const { data, loading, error } = useGetAttributesByLibWithPermissionsQuery({
|
|
3123
|
+
* variables: {
|
|
3124
|
+
* library: // value for 'library'
|
|
3125
|
+
* },
|
|
3126
|
+
* });
|
|
3127
|
+
*/
|
|
3128
|
+
export function useGetAttributesByLibWithPermissionsQuery(baseOptions) {
|
|
3129
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3130
|
+
return Apollo.useQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3131
|
+
}
|
|
3132
|
+
export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
3133
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3134
|
+
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3135
|
+
}
|
|
3136
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3137
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3138
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3139
|
+
}
|
|
2782
3140
|
export const ExplorerAttributesDocument = gql `
|
|
2783
3141
|
query ExplorerAttributes($ids: [ID!]) {
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
3142
|
+
attributes(filters: {ids: $ids}) {
|
|
3143
|
+
list {
|
|
3144
|
+
id
|
|
3145
|
+
type
|
|
3146
|
+
format
|
|
3147
|
+
label
|
|
3148
|
+
permissions {
|
|
3149
|
+
access_attribute
|
|
3150
|
+
}
|
|
3151
|
+
...LinkAttributeDetails
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
2791
3154
|
}
|
|
2792
|
-
|
|
2793
|
-
}
|
|
2794
|
-
${LinkAttributeDetailsFragmentDoc}`;
|
|
3155
|
+
${LinkAttributeDetailsFragmentDoc}`;
|
|
2795
3156
|
/**
|
|
2796
3157
|
* __useExplorerAttributesQuery__
|
|
2797
3158
|
*
|
|
@@ -2816,17 +3177,25 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
2816
3177
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2817
3178
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
2818
3179
|
}
|
|
3180
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3181
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3182
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3183
|
+
}
|
|
2819
3184
|
export const ExplorerLinkAttributeDocument = gql `
|
|
2820
3185
|
query ExplorerLinkAttribute($id: ID!) {
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
3186
|
+
attributes(filters: {ids: [$id]}) {
|
|
3187
|
+
list {
|
|
3188
|
+
id
|
|
3189
|
+
multiple_values
|
|
3190
|
+
permissions {
|
|
3191
|
+
access_attribute
|
|
3192
|
+
edit_value
|
|
3193
|
+
}
|
|
3194
|
+
...LinkAttributeDetails
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
2826
3197
|
}
|
|
2827
|
-
|
|
2828
|
-
}
|
|
2829
|
-
${LinkAttributeDetailsFragmentDoc}`;
|
|
3198
|
+
${LinkAttributeDetailsFragmentDoc}`;
|
|
2830
3199
|
/**
|
|
2831
3200
|
* __useExplorerLinkAttributeQuery__
|
|
2832
3201
|
*
|
|
@@ -2851,32 +3220,41 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
2851
3220
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2852
3221
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
2853
3222
|
}
|
|
3223
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3224
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3225
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3226
|
+
}
|
|
2854
3227
|
export const ExplorerLibraryDataDocument = gql `
|
|
2855
3228
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
3229
|
+
records(
|
|
3230
|
+
library: $libraryId
|
|
3231
|
+
filters: $filters
|
|
3232
|
+
pagination: $pagination
|
|
3233
|
+
multipleSort: $multipleSort
|
|
3234
|
+
searchQuery: $searchQuery
|
|
3235
|
+
) {
|
|
3236
|
+
totalCount
|
|
3237
|
+
list {
|
|
3238
|
+
...RecordIdentity
|
|
3239
|
+
active
|
|
3240
|
+
permissions {
|
|
3241
|
+
create_record
|
|
3242
|
+
delete_record
|
|
3243
|
+
}
|
|
3244
|
+
properties(attributeIds: $attributeIds) {
|
|
3245
|
+
attributeId
|
|
3246
|
+
attributeProperties {
|
|
3247
|
+
...AttributeProperties
|
|
3248
|
+
}
|
|
3249
|
+
values {
|
|
3250
|
+
...PropertyValue
|
|
3251
|
+
}
|
|
3252
|
+
}
|
|
3253
|
+
}
|
|
2873
3254
|
}
|
|
2874
|
-
}
|
|
2875
3255
|
}
|
|
2876
|
-
}
|
|
2877
|
-
}
|
|
2878
3256
|
${RecordIdentityFragmentDoc}
|
|
2879
|
-
${AttributePropertiesFragmentDoc}
|
|
3257
|
+
${AttributePropertiesFragmentDoc}
|
|
2880
3258
|
${PropertyValueFragmentDoc}`;
|
|
2881
3259
|
/**
|
|
2882
3260
|
* __useExplorerLibraryDataQuery__
|
|
@@ -2907,27 +3285,31 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
2907
3285
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2908
3286
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
2909
3287
|
}
|
|
3288
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3289
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3290
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3291
|
+
}
|
|
2910
3292
|
export const ExplorerLinkDataDocument = gql `
|
|
2911
3293
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
3294
|
+
records(
|
|
3295
|
+
library: $parentLibraryId
|
|
3296
|
+
filters: [{field: "id", condition: EQUAL, value: $parentRecordId}]
|
|
3297
|
+
) {
|
|
3298
|
+
list {
|
|
3299
|
+
id
|
|
3300
|
+
whoAmI {
|
|
3301
|
+
id
|
|
3302
|
+
library {
|
|
3303
|
+
id
|
|
3304
|
+
}
|
|
3305
|
+
}
|
|
3306
|
+
property(attribute: $linkAttributeId) {
|
|
3307
|
+
...LinkProperty
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
2922
3310
|
}
|
|
2923
|
-
}
|
|
2924
|
-
property(attribute: $linkAttributeId) {
|
|
2925
|
-
...LinkProperty
|
|
2926
|
-
}
|
|
2927
3311
|
}
|
|
2928
|
-
|
|
2929
|
-
}
|
|
2930
|
-
${LinkPropertyFragmentDoc}`;
|
|
3312
|
+
${LinkPropertyFragmentDoc}`;
|
|
2931
3313
|
/**
|
|
2932
3314
|
* __useExplorerLinkDataQuery__
|
|
2933
3315
|
*
|
|
@@ -2955,18 +3337,22 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
2955
3337
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2956
3338
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
2957
3339
|
}
|
|
3340
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3341
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3342
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3343
|
+
}
|
|
2958
3344
|
export const GetLibraryAttributesDocument = gql `
|
|
2959
3345
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
3346
|
+
libraries(filters: {id: [$libraryId]}) {
|
|
3347
|
+
list {
|
|
3348
|
+
id
|
|
3349
|
+
attributes {
|
|
3350
|
+
...LibraryAttribute
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
2966
3354
|
}
|
|
2967
|
-
|
|
2968
|
-
}
|
|
2969
|
-
${LibraryAttributeFragmentDoc}`;
|
|
3355
|
+
${LibraryAttributeFragmentDoc}`;
|
|
2970
3356
|
/**
|
|
2971
3357
|
* __useGetLibraryAttributesQuery__
|
|
2972
3358
|
*
|
|
@@ -2991,17 +3377,21 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
2991
3377
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2992
3378
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
2993
3379
|
}
|
|
3380
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3381
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3382
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3383
|
+
}
|
|
2994
3384
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
2995
3385
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3386
|
+
libraries(filters: {id: [$libraryId]}) {
|
|
3387
|
+
list {
|
|
3388
|
+
id
|
|
3389
|
+
label
|
|
3390
|
+
behavior
|
|
3391
|
+
}
|
|
3392
|
+
}
|
|
3001
3393
|
}
|
|
3002
|
-
|
|
3003
|
-
}
|
|
3004
|
-
`;
|
|
3394
|
+
`;
|
|
3005
3395
|
/**
|
|
3006
3396
|
* __useExplorerLibraryDetailsQuery__
|
|
3007
3397
|
*
|
|
@@ -3026,15 +3416,19 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3026
3416
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3027
3417
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3028
3418
|
}
|
|
3419
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3420
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3421
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3422
|
+
}
|
|
3029
3423
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3030
3424
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3425
|
+
records(library: $libraryId, filters: $filters) {
|
|
3426
|
+
list {
|
|
3427
|
+
id
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3034
3430
|
}
|
|
3035
|
-
|
|
3036
|
-
}
|
|
3037
|
-
`;
|
|
3431
|
+
`;
|
|
3038
3432
|
/**
|
|
3039
3433
|
* __useExplorerSelectionIdsQuery__
|
|
3040
3434
|
*
|
|
@@ -3060,19 +3454,23 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3060
3454
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3061
3455
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3062
3456
|
}
|
|
3457
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3458
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3459
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3460
|
+
}
|
|
3063
3461
|
export const MeDocument = gql `
|
|
3064
3462
|
query Me {
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3463
|
+
me {
|
|
3464
|
+
id
|
|
3465
|
+
whoAmI {
|
|
3466
|
+
id
|
|
3467
|
+
library {
|
|
3468
|
+
id
|
|
3469
|
+
}
|
|
3470
|
+
}
|
|
3471
|
+
}
|
|
3072
3472
|
}
|
|
3073
|
-
|
|
3074
|
-
}
|
|
3075
|
-
`;
|
|
3473
|
+
`;
|
|
3076
3474
|
/**
|
|
3077
3475
|
* __useMeQuery__
|
|
3078
3476
|
*
|
|
@@ -3096,13 +3494,17 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3096
3494
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3097
3495
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3098
3496
|
}
|
|
3497
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3498
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3499
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3500
|
+
}
|
|
3099
3501
|
export const UpdateViewDocument = gql `
|
|
3100
3502
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
}
|
|
3105
|
-
|
|
3503
|
+
updateView(view: $view) {
|
|
3504
|
+
...ViewDetails
|
|
3505
|
+
}
|
|
3506
|
+
}
|
|
3507
|
+
${ViewDetailsFragmentDoc}`;
|
|
3106
3508
|
/**
|
|
3107
3509
|
* __useUpdateViewMutation__
|
|
3108
3510
|
*
|
|
@@ -3124,16 +3526,67 @@ export function useUpdateViewMutation(baseOptions) {
|
|
|
3124
3526
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3125
3527
|
return Apollo.useMutation(UpdateViewDocument, options);
|
|
3126
3528
|
}
|
|
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
|
+
}
|
|
3127
3580
|
export const TreeDataQueryDocument = gql `
|
|
3128
3581
|
query TreeDataQuery($treeId: ID!) {
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3582
|
+
trees(filters: {id: [$treeId]}) {
|
|
3583
|
+
list {
|
|
3584
|
+
id
|
|
3585
|
+
label
|
|
3586
|
+
}
|
|
3587
|
+
}
|
|
3133
3588
|
}
|
|
3134
|
-
|
|
3135
|
-
}
|
|
3136
|
-
`;
|
|
3589
|
+
`;
|
|
3137
3590
|
/**
|
|
3138
3591
|
* __useTreeDataQueryQuery__
|
|
3139
3592
|
*
|
|
@@ -3158,4 +3611,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3158
3611
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3159
3612
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3160
3613
|
}
|
|
3614
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3615
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3616
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3617
|
+
}
|
|
3161
3618
|
//# sourceMappingURL=index.js.map
|