@leav/ui 0.4.0-d15d94c → 0.4.0-daf9f384
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/_gqlTypes/index.d.ts +3274 -2037
- package/dist/_gqlTypes/index.js +1579 -1209
- 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 +30 -14
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +8 -5
- package/dist/components/Explorer/Explorer.js +14 -9
- 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/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/_queries/useExplorerData.js +7 -3
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +9 -3
- 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 +2 -1
- package/dist/components/Explorer/actions-item/useEditItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-item/{useRemoveItemAction.d.ts → useEditStatusItemAction.d.ts} +2 -2
- package/dist/components/Explorer/actions-item/{useRemoveItemAction.js → useEditStatusItemAction.js} +71 -24
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -0
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +3 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +14 -6
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +4 -2
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +19 -3
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- 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/store-view-settings/viewSettingsInitialState.js +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/useColumnWidth.js +2 -1
- package/dist/components/Explorer/useColumnWidth.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 +36 -18
- 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/TreeField/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 +15 -28
- 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 +1 -0
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +65 -28
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +13 -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 +115 -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 +1 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +8 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.d.ts +4 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +258 -55
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +64 -72
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +3 -3
- 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 +1 -0
- 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/shared/calculatedInheritedFlags.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +6 -6
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +3 -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 +2 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +2 -2
- 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 +1 -0
- package/dist/constants.js +1 -0
- 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/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js +6 -0
- 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 +11 -1
- package/dist/locales/fr/shared.json +11 -1
- package/dist/types/attributes.d.ts +2 -1
- package/dist/types/trees.d.ts +1 -0
- package/package.json +23 -8
- package/dist/components/Explorer/actions-item/useRemoveItemAction.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/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.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/_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,694 +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}`;
|
|
883
913
|
export const AttributesByLibLinkAttributeWithPermissionsFragmentDoc = gql `
|
|
884
914
|
fragment AttributesByLibLinkAttributeWithPermissions on LinkAttribute {
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
}
|
|
889
|
-
|
|
915
|
+
linked_library {
|
|
916
|
+
id
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
`;
|
|
890
920
|
export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
|
|
891
921
|
fragment AttributesByLibAttributeWithPermissions on Attribute {
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
}
|
|
923
|
-
|
|
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}`;
|
|
924
954
|
export const LinkAttributeDetailsFragmentDoc = gql `
|
|
925
955
|
fragment LinkAttributeDetails on LinkAttribute {
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
}
|
|
932
|
-
|
|
956
|
+
label
|
|
957
|
+
linked_library {
|
|
958
|
+
id
|
|
959
|
+
label
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
`;
|
|
933
963
|
export const AttributePropertiesFragmentDoc = gql `
|
|
934
964
|
fragment AttributeProperties on Attribute {
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
965
|
+
id
|
|
966
|
+
label
|
|
967
|
+
type
|
|
968
|
+
format
|
|
969
|
+
multiple_values
|
|
970
|
+
multi_link_display_option
|
|
971
|
+
}
|
|
972
|
+
`;
|
|
942
973
|
export const PropertyValueFragmentDoc = gql `
|
|
943
974
|
fragment PropertyValue on GenericValue {
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
}
|
|
961
|
-
|
|
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}`;
|
|
962
993
|
export const LinkPropertyFragmentDoc = gql `
|
|
963
994
|
fragment LinkProperty on GenericValue {
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
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
|
+
}
|
|
975
1009
|
}
|
|
976
|
-
}
|
|
977
1010
|
}
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
1011
|
${RecordIdentityFragmentDoc}
|
|
981
|
-
${AttributePropertiesFragmentDoc}
|
|
1012
|
+
${AttributePropertiesFragmentDoc}
|
|
982
1013
|
${PropertyValueFragmentDoc}`;
|
|
983
1014
|
export const LibraryAttributeLinkFragmentDoc = gql `
|
|
984
1015
|
fragment LibraryAttributeLink on LinkAttribute {
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
}
|
|
996
|
-
|
|
1016
|
+
linked_library {
|
|
1017
|
+
id
|
|
1018
|
+
label
|
|
1019
|
+
attributes {
|
|
1020
|
+
id
|
|
1021
|
+
type
|
|
1022
|
+
format
|
|
1023
|
+
label
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
`;
|
|
997
1028
|
export const LibraryAttributeFragmentDoc = gql `
|
|
998
1029
|
fragment LibraryAttribute on Attribute {
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1030
|
+
id
|
|
1031
|
+
type
|
|
1032
|
+
label
|
|
1033
|
+
permissions {
|
|
1034
|
+
access_attribute
|
|
1035
|
+
}
|
|
1036
|
+
... on StandardAttribute {
|
|
1037
|
+
format
|
|
1038
|
+
}
|
|
1039
|
+
...LibraryAttributeLink
|
|
1040
|
+
}
|
|
1041
|
+
${LibraryAttributeLinkFragmentDoc}`;
|
|
1011
1042
|
export const CheckApplicationExistenceDocument = gql `
|
|
1012
1043
|
query CHECK_APPLICATION_EXISTENCE($id: ID, $endpoint: String) {
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1044
|
+
applications(filters: {id: $id, endpoint: $endpoint}) {
|
|
1045
|
+
totalCount
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
`;
|
|
1018
1049
|
/**
|
|
1019
1050
|
* __useCheckApplicationExistenceQuery__
|
|
1020
1051
|
*
|
|
@@ -1040,15 +1071,19 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
1040
1071
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1041
1072
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
1042
1073
|
}
|
|
1074
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1075
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1076
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1077
|
+
}
|
|
1043
1078
|
export const GetApplicationByIdDocument = gql `
|
|
1044
1079
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1080
|
+
applications(filters: {id: $id}) {
|
|
1081
|
+
list {
|
|
1082
|
+
...DetailsApplication
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1048
1085
|
}
|
|
1049
|
-
|
|
1050
|
-
}
|
|
1051
|
-
${DetailsApplicationFragmentDoc}`;
|
|
1086
|
+
${DetailsApplicationFragmentDoc}`;
|
|
1052
1087
|
/**
|
|
1053
1088
|
* __useGetApplicationByIdQuery__
|
|
1054
1089
|
*
|
|
@@ -1073,15 +1108,19 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1073
1108
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1074
1109
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1075
1110
|
}
|
|
1111
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1112
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1113
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1114
|
+
}
|
|
1076
1115
|
export const GetApplicationModulesDocument = gql `
|
|
1077
1116
|
query GET_APPLICATION_MODULES {
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1117
|
+
applicationsModules {
|
|
1118
|
+
id
|
|
1119
|
+
description
|
|
1120
|
+
version
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
`;
|
|
1085
1124
|
/**
|
|
1086
1125
|
* __useGetApplicationModulesQuery__
|
|
1087
1126
|
*
|
|
@@ -1105,13 +1144,17 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1105
1144
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1106
1145
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1107
1146
|
}
|
|
1147
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1148
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1149
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1150
|
+
}
|
|
1108
1151
|
export const SaveApplicationDocument = gql `
|
|
1109
1152
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1153
|
+
saveApplication(application: $application) {
|
|
1154
|
+
...DetailsApplication
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
${DetailsApplicationFragmentDoc}`;
|
|
1115
1158
|
/**
|
|
1116
1159
|
* __useSaveApplicationMutation__
|
|
1117
1160
|
*
|
|
@@ -1135,11 +1178,11 @@ export function useSaveApplicationMutation(baseOptions) {
|
|
|
1135
1178
|
}
|
|
1136
1179
|
export const CheckAttributeExistenceDocument = gql `
|
|
1137
1180
|
query CHECK_ATTRIBUTE_EXISTENCE($id: ID!) {
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1181
|
+
attributes(filters: {id: $id}) {
|
|
1182
|
+
totalCount
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
`;
|
|
1143
1186
|
/**
|
|
1144
1187
|
* __useCheckAttributeExistenceQuery__
|
|
1145
1188
|
*
|
|
@@ -1164,13 +1207,17 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1164
1207
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1165
1208
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1166
1209
|
}
|
|
1210
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1211
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1212
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1213
|
+
}
|
|
1167
1214
|
export const DeleteAttributeDocument = gql `
|
|
1168
1215
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
}
|
|
1173
|
-
|
|
1216
|
+
deleteAttribute(id: $id) {
|
|
1217
|
+
id
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
`;
|
|
1174
1221
|
/**
|
|
1175
1222
|
* __useDeleteAttributeMutation__
|
|
1176
1223
|
*
|
|
@@ -1194,13 +1241,13 @@ export function useDeleteAttributeMutation(baseOptions) {
|
|
|
1194
1241
|
}
|
|
1195
1242
|
export const GetAttributeByIdDocument = gql `
|
|
1196
1243
|
query GET_ATTRIBUTE_BY_ID($id: ID) {
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1244
|
+
attributes(filters: {id: $id}) {
|
|
1245
|
+
list {
|
|
1246
|
+
...AttributeDetails
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1200
1249
|
}
|
|
1201
|
-
|
|
1202
|
-
}
|
|
1203
|
-
${AttributeDetailsFragmentDoc}`;
|
|
1250
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1204
1251
|
/**
|
|
1205
1252
|
* __useGetAttributeByIdQuery__
|
|
1206
1253
|
*
|
|
@@ -1225,15 +1272,19 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1225
1272
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1226
1273
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1227
1274
|
}
|
|
1275
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1276
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1277
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1278
|
+
}
|
|
1228
1279
|
export const GetAttributesByLibDocument = gql `
|
|
1229
1280
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1281
|
+
attributes(filters: {libraries: [$library]}) {
|
|
1282
|
+
list {
|
|
1283
|
+
...AttributesByLibAttribute
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1233
1286
|
}
|
|
1234
|
-
|
|
1235
|
-
}
|
|
1236
|
-
${AttributesByLibAttributeFragmentDoc}`;
|
|
1287
|
+
${AttributesByLibAttributeFragmentDoc}`;
|
|
1237
1288
|
/**
|
|
1238
1289
|
* __useGetAttributesByLibQuery__
|
|
1239
1290
|
*
|
|
@@ -1258,20 +1309,24 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1258
1309
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1259
1310
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1260
1311
|
}
|
|
1312
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1313
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1314
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1315
|
+
}
|
|
1261
1316
|
export const GetAttributesDocument = gql `
|
|
1262
1317
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1318
|
+
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
1319
|
+
totalCount
|
|
1320
|
+
list {
|
|
1321
|
+
id
|
|
1322
|
+
label
|
|
1323
|
+
type
|
|
1324
|
+
format
|
|
1325
|
+
system
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1271
1328
|
}
|
|
1272
|
-
|
|
1273
|
-
}
|
|
1274
|
-
`;
|
|
1329
|
+
`;
|
|
1275
1330
|
/**
|
|
1276
1331
|
* __useGetAttributesQuery__
|
|
1277
1332
|
*
|
|
@@ -1298,16 +1353,20 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1298
1353
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1299
1354
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1300
1355
|
}
|
|
1356
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1357
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1358
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1359
|
+
}
|
|
1301
1360
|
export const GetVersionProfilesDocument = gql `
|
|
1302
1361
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1362
|
+
versionProfiles(filters: $filters, sort: $sort) {
|
|
1363
|
+
list {
|
|
1364
|
+
id
|
|
1365
|
+
label
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1307
1368
|
}
|
|
1308
|
-
|
|
1309
|
-
}
|
|
1310
|
-
`;
|
|
1369
|
+
`;
|
|
1311
1370
|
/**
|
|
1312
1371
|
* __useGetVersionProfilesQuery__
|
|
1313
1372
|
*
|
|
@@ -1333,25 +1392,29 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1333
1392
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1334
1393
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1335
1394
|
}
|
|
1395
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1396
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1397
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1398
|
+
}
|
|
1336
1399
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1337
1400
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
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
|
+
}
|
|
1349
1415
|
}
|
|
1350
|
-
}
|
|
1351
1416
|
}
|
|
1352
|
-
|
|
1353
|
-
}
|
|
1354
|
-
`;
|
|
1417
|
+
`;
|
|
1355
1418
|
/**
|
|
1356
1419
|
* __useGetVersionableAttributesByLibraryQuery__
|
|
1357
1420
|
*
|
|
@@ -1376,13 +1439,17 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1376
1439
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1377
1440
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1378
1441
|
}
|
|
1442
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1443
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1444
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1445
|
+
}
|
|
1379
1446
|
export const SaveAttributeDocument = gql `
|
|
1380
1447
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1448
|
+
saveAttribute(attribute: $attribute) {
|
|
1449
|
+
...AttributeDetails
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1386
1453
|
/**
|
|
1387
1454
|
* __useSaveAttributeMutation__
|
|
1388
1455
|
*
|
|
@@ -1406,9 +1473,9 @@ export function useSaveAttributeMutation(baseOptions) {
|
|
|
1406
1473
|
}
|
|
1407
1474
|
export const ExportDocument = gql `
|
|
1408
1475
|
query EXPORT($library: ID!, $attributes: [ID!], $filters: [RecordFilterInput!]) {
|
|
1409
|
-
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1476
|
+
export(library: $library, attributes: $attributes, filters: $filters)
|
|
1477
|
+
}
|
|
1478
|
+
`;
|
|
1412
1479
|
/**
|
|
1413
1480
|
* __useExportQuery__
|
|
1414
1481
|
*
|
|
@@ -1435,13 +1502,17 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1435
1502
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1436
1503
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1437
1504
|
}
|
|
1505
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1506
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1507
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1508
|
+
}
|
|
1438
1509
|
export const CreateDirectoryDocument = gql `
|
|
1439
1510
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
}
|
|
1444
|
-
|
|
1511
|
+
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
1512
|
+
...RecordIdentity
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
${RecordIdentityFragmentDoc}`;
|
|
1445
1516
|
/**
|
|
1446
1517
|
* __useCreateDirectoryMutation__
|
|
1447
1518
|
*
|
|
@@ -1467,15 +1538,15 @@ export function useCreateDirectoryMutation(baseOptions) {
|
|
|
1467
1538
|
}
|
|
1468
1539
|
export const ForcePreviewsGenerationDocument = gql `
|
|
1469
1540
|
mutation FORCE_PREVIEWS_GENERATION($libraryId: ID!, $filters: [RecordFilterInput!], $recordIds: [ID!], $failedOnly: Boolean, $previewVersionSizeNames: [String!]) {
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1541
|
+
forcePreviewsGeneration(
|
|
1542
|
+
libraryId: $libraryId
|
|
1543
|
+
filters: $filters
|
|
1544
|
+
recordIds: $recordIds
|
|
1545
|
+
failedOnly: $failedOnly
|
|
1546
|
+
previewVersionSizeNames: $previewVersionSizeNames
|
|
1547
|
+
)
|
|
1548
|
+
}
|
|
1549
|
+
`;
|
|
1479
1550
|
/**
|
|
1480
1551
|
* __useForcePreviewsGenerationMutation__
|
|
1481
1552
|
*
|
|
@@ -1503,53 +1574,53 @@ export function useForcePreviewsGenerationMutation(baseOptions) {
|
|
|
1503
1574
|
}
|
|
1504
1575
|
export const GetDirectoryDataDocument = gql `
|
|
1505
1576
|
query GET_DIRECTORY_DATA($library: ID!, $directoryId: String!) {
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
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
|
+
}
|
|
1527
1621
|
}
|
|
1528
|
-
}
|
|
1529
|
-
modified_by: property(attribute: "modified_by") {
|
|
1530
|
-
... on LinkValue {
|
|
1531
|
-
value {
|
|
1532
|
-
...RecordIdentity
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
|
-
}
|
|
1536
|
-
file_name: property(attribute: "file_name") {
|
|
1537
|
-
... on Value {
|
|
1538
|
-
value
|
|
1539
|
-
}
|
|
1540
|
-
}
|
|
1541
|
-
file_path: property(attribute: "file_path") {
|
|
1542
|
-
... on Value {
|
|
1543
|
-
value
|
|
1544
|
-
}
|
|
1545
|
-
}
|
|
1546
|
-
library {
|
|
1547
|
-
behavior
|
|
1548
|
-
}
|
|
1549
1622
|
}
|
|
1550
|
-
|
|
1551
|
-
}
|
|
1552
|
-
${RecordIdentityFragmentDoc}`;
|
|
1623
|
+
${RecordIdentityFragmentDoc}`;
|
|
1553
1624
|
/**
|
|
1554
1625
|
* __useGetDirectoryDataQuery__
|
|
1555
1626
|
*
|
|
@@ -1575,24 +1646,28 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1575
1646
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1576
1647
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1577
1648
|
}
|
|
1649
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1650
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1651
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1652
|
+
}
|
|
1578
1653
|
export const UploadUpdateDocument = gql `
|
|
1579
1654
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
}
|
|
1595
|
-
|
|
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
|
+
`;
|
|
1596
1671
|
/**
|
|
1597
1672
|
* __useUploadUpdateSubscription__
|
|
1598
1673
|
*
|
|
@@ -1615,14 +1690,14 @@ export function useUploadUpdateSubscription(baseOptions) {
|
|
|
1615
1690
|
}
|
|
1616
1691
|
export const UploadDocument = gql `
|
|
1617
1692
|
mutation UPLOAD($library: String!, $nodeId: String!, $files: [FileInput!]!) {
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1693
|
+
upload(library: $library, nodeId: $nodeId, files: $files) {
|
|
1694
|
+
uid
|
|
1695
|
+
record {
|
|
1696
|
+
...RecordIdentity
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1622
1699
|
}
|
|
1623
|
-
|
|
1624
|
-
}
|
|
1625
|
-
${RecordIdentityFragmentDoc}`;
|
|
1700
|
+
${RecordIdentityFragmentDoc}`;
|
|
1626
1701
|
/**
|
|
1627
1702
|
* __useUploadMutation__
|
|
1628
1703
|
*
|
|
@@ -1646,11 +1721,56 @@ export function useUploadMutation(baseOptions) {
|
|
|
1646
1721
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1647
1722
|
return Apollo.useMutation(UploadDocument, options);
|
|
1648
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
|
+
}
|
|
1649
1769
|
export const ImportExcelDocument = gql `
|
|
1650
1770
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1651
|
-
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1771
|
+
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
1772
|
+
}
|
|
1773
|
+
`;
|
|
1654
1774
|
/**
|
|
1655
1775
|
* __useImportExcelMutation__
|
|
1656
1776
|
*
|
|
@@ -1676,11 +1796,11 @@ export function useImportExcelMutation(baseOptions) {
|
|
|
1676
1796
|
}
|
|
1677
1797
|
export const CheckLibraryExistenceDocument = gql `
|
|
1678
1798
|
query CHECK_LIBRARY_EXISTENCE($id: [ID!]) {
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
}
|
|
1683
|
-
|
|
1799
|
+
libraries(filters: {id: $id}) {
|
|
1800
|
+
totalCount
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
`;
|
|
1684
1804
|
/**
|
|
1685
1805
|
* __useCheckLibraryExistenceQuery__
|
|
1686
1806
|
*
|
|
@@ -1705,13 +1825,17 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1705
1825
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1706
1826
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1707
1827
|
}
|
|
1828
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1829
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1830
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1831
|
+
}
|
|
1708
1832
|
export const DeleteLibraryDocument = gql `
|
|
1709
1833
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1834
|
+
deleteLibrary(id: $id) {
|
|
1835
|
+
id
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
`;
|
|
1715
1839
|
/**
|
|
1716
1840
|
* __useDeleteLibraryMutation__
|
|
1717
1841
|
*
|
|
@@ -1735,13 +1859,13 @@ export function useDeleteLibraryMutation(baseOptions) {
|
|
|
1735
1859
|
}
|
|
1736
1860
|
export const GetLibrariesDocument = gql `
|
|
1737
1861
|
query GET_LIBRARIES {
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1862
|
+
libraries {
|
|
1863
|
+
list {
|
|
1864
|
+
...LibraryLight
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1741
1867
|
}
|
|
1742
|
-
|
|
1743
|
-
}
|
|
1744
|
-
${LibraryLightFragmentDoc}`;
|
|
1868
|
+
${LibraryLightFragmentDoc}`;
|
|
1745
1869
|
/**
|
|
1746
1870
|
* __useGetLibrariesQuery__
|
|
1747
1871
|
*
|
|
@@ -1765,15 +1889,19 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1765
1889
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1766
1890
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1767
1891
|
}
|
|
1892
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1893
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1894
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1895
|
+
}
|
|
1768
1896
|
export const GetLibraryByIdDocument = gql `
|
|
1769
1897
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1898
|
+
libraries(filters: {id: $id}) {
|
|
1899
|
+
list {
|
|
1900
|
+
...LibraryDetails
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1773
1903
|
}
|
|
1774
|
-
|
|
1775
|
-
}
|
|
1776
|
-
${LibraryDetailsFragmentDoc}`;
|
|
1904
|
+
${LibraryDetailsFragmentDoc}`;
|
|
1777
1905
|
/**
|
|
1778
1906
|
* __useGetLibraryByIdQuery__
|
|
1779
1907
|
*
|
|
@@ -1798,21 +1926,25 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1798
1926
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1799
1927
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1800
1928
|
}
|
|
1929
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
1930
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1931
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
1932
|
+
}
|
|
1801
1933
|
export const GetLibraryPermissionsDocument = gql `
|
|
1802
1934
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
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
|
+
}
|
|
1812
1946
|
}
|
|
1813
|
-
|
|
1814
|
-
}
|
|
1815
|
-
`;
|
|
1947
|
+
`;
|
|
1816
1948
|
/**
|
|
1817
1949
|
* __useGetLibraryPermissionsQuery__
|
|
1818
1950
|
*
|
|
@@ -1837,30 +1969,34 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1837
1969
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1838
1970
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
1839
1971
|
}
|
|
1972
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
1973
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1974
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
1975
|
+
}
|
|
1840
1976
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1841
1977
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
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
|
+
}
|
|
1858
1997
|
}
|
|
1859
|
-
}
|
|
1860
1998
|
}
|
|
1861
|
-
|
|
1862
|
-
}
|
|
1863
|
-
`;
|
|
1999
|
+
`;
|
|
1864
2000
|
/**
|
|
1865
2001
|
* __useGetLibraryPreviewsSettingsQuery__
|
|
1866
2002
|
*
|
|
@@ -1885,13 +2021,17 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1885
2021
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1886
2022
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
1887
2023
|
}
|
|
2024
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2025
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2026
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2027
|
+
}
|
|
1888
2028
|
export const SaveLibraryDocument = gql `
|
|
1889
2029
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
}
|
|
1894
|
-
|
|
2030
|
+
saveLibrary(library: $library) {
|
|
2031
|
+
...LibraryDetails
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
${LibraryDetailsFragmentDoc}`;
|
|
1895
2035
|
/**
|
|
1896
2036
|
* __useSaveLibraryMutation__
|
|
1897
2037
|
*
|
|
@@ -1915,12 +2055,12 @@ export function useSaveLibraryMutation(baseOptions) {
|
|
|
1915
2055
|
}
|
|
1916
2056
|
export const IsAllowedDocument = gql `
|
|
1917
2057
|
query IS_ALLOWED($type: PermissionTypes!, $actions: [PermissionsActions!]!, $applyTo: ID, $target: PermissionTarget) {
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
}
|
|
1923
|
-
|
|
2058
|
+
isAllowed(type: $type, actions: $actions, applyTo: $applyTo, target: $target) {
|
|
2059
|
+
name
|
|
2060
|
+
allowed
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
`;
|
|
1924
2064
|
/**
|
|
1925
2065
|
* __useIsAllowedQuery__
|
|
1926
2066
|
*
|
|
@@ -1948,21 +2088,60 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1948
2088
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1949
2089
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
1950
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
|
+
}
|
|
1951
2130
|
export const CreateRecordDocument = gql `
|
|
1952
2131
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
2132
|
+
createRecord(library: $library, data: $data) {
|
|
2133
|
+
record {
|
|
2134
|
+
...RecordIdentity
|
|
2135
|
+
}
|
|
2136
|
+
valuesErrors {
|
|
2137
|
+
type
|
|
2138
|
+
attribute
|
|
2139
|
+
input
|
|
2140
|
+
message
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
1962
2143
|
}
|
|
1963
|
-
|
|
1964
|
-
}
|
|
1965
|
-
${RecordIdentityFragmentDoc}`;
|
|
2144
|
+
${RecordIdentityFragmentDoc}`;
|
|
1966
2145
|
/**
|
|
1967
2146
|
* __useCreateRecordMutation__
|
|
1968
2147
|
*
|
|
@@ -1987,16 +2166,16 @@ export function useCreateRecordMutation(baseOptions) {
|
|
|
1987
2166
|
}
|
|
1988
2167
|
export const DeactivateRecordsDocument = gql `
|
|
1989
2168
|
mutation DEACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
}
|
|
1999
|
-
|
|
2169
|
+
deactivateRecords(
|
|
2170
|
+
recordsIds: $recordsIds
|
|
2171
|
+
filters: $filters
|
|
2172
|
+
libraryId: $libraryId
|
|
2173
|
+
) {
|
|
2174
|
+
id
|
|
2175
|
+
...RecordIdentity
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
${RecordIdentityFragmentDoc}`;
|
|
2000
2179
|
/**
|
|
2001
2180
|
* __useDeactivateRecordsMutation__
|
|
2002
2181
|
*
|
|
@@ -2022,13 +2201,13 @@ export function useDeactivateRecordsMutation(baseOptions) {
|
|
|
2022
2201
|
}
|
|
2023
2202
|
export const DoesFileExistAsChildDocument = gql `
|
|
2024
2203
|
query DOES_FILE_EXIST_AS_CHILD($parentNode: ID, $treeId: ID!, $filename: String!) {
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2204
|
+
doesFileExistAsChild(
|
|
2205
|
+
parentNode: $parentNode
|
|
2206
|
+
treeId: $treeId
|
|
2207
|
+
filename: $filename
|
|
2208
|
+
)
|
|
2209
|
+
}
|
|
2210
|
+
`;
|
|
2032
2211
|
/**
|
|
2033
2212
|
* __useDoesFileExistAsChildQuery__
|
|
2034
2213
|
*
|
|
@@ -2055,60 +2234,64 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2055
2234
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2056
2235
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2057
2236
|
}
|
|
2237
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2238
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2239
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2240
|
+
}
|
|
2058
2241
|
export const GetFileDataDocument = gql `
|
|
2059
2242
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
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
|
+
}
|
|
2103
2292
|
}
|
|
2104
|
-
}
|
|
2105
|
-
library {
|
|
2106
|
-
behavior
|
|
2107
|
-
}
|
|
2108
2293
|
}
|
|
2109
|
-
|
|
2110
|
-
}
|
|
2111
|
-
${RecordIdentityFragmentDoc}`;
|
|
2294
|
+
${RecordIdentityFragmentDoc}`;
|
|
2112
2295
|
/**
|
|
2113
2296
|
* __useGetFileDataQuery__
|
|
2114
2297
|
*
|
|
@@ -2135,28 +2318,36 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2135
2318
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2136
2319
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2137
2320
|
}
|
|
2321
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2322
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2323
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2324
|
+
}
|
|
2138
2325
|
export const RecordFormDocument = gql `
|
|
2139
2326
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
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
|
+
}
|
|
2156
2349
|
}
|
|
2157
|
-
|
|
2158
|
-
}
|
|
2159
|
-
${RecordFormElementFragmentDoc}`;
|
|
2350
|
+
${RecordFormElementFragmentDoc}`;
|
|
2160
2351
|
/**
|
|
2161
2352
|
* __useRecordFormQuery__
|
|
2162
2353
|
*
|
|
@@ -2184,27 +2375,31 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2184
2375
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2185
2376
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2186
2377
|
}
|
|
2378
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2379
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2380
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2381
|
+
}
|
|
2187
2382
|
export const RecordUpdateDocument = gql `
|
|
2188
2383
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
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
|
+
}
|
|
2197
2401
|
}
|
|
2198
|
-
}
|
|
2199
|
-
}
|
|
2200
|
-
updatedValues {
|
|
2201
|
-
attribute
|
|
2202
|
-
value {
|
|
2203
|
-
...ValueDetails
|
|
2204
|
-
}
|
|
2205
2402
|
}
|
|
2206
|
-
}
|
|
2207
|
-
}
|
|
2208
2403
|
${RecordIdentityFragmentDoc}
|
|
2209
2404
|
${ValueDetailsFragmentDoc}`;
|
|
2210
2405
|
/**
|
|
@@ -2227,11 +2422,51 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2227
2422
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2228
2423
|
return Apollo.useSubscription(RecordUpdateDocument, options);
|
|
2229
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
|
+
}
|
|
2230
2465
|
export const IndexRecordsDocument = gql `
|
|
2231
2466
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2232
|
-
|
|
2233
|
-
}
|
|
2234
|
-
|
|
2467
|
+
indexRecords(libraryId: $libraryId, records: $records)
|
|
2468
|
+
}
|
|
2469
|
+
`;
|
|
2235
2470
|
/**
|
|
2236
2471
|
* __useIndexRecordsMutation__
|
|
2237
2472
|
*
|
|
@@ -2256,9 +2491,9 @@ export function useIndexRecordsMutation(baseOptions) {
|
|
|
2256
2491
|
}
|
|
2257
2492
|
export const CancelTaskDocument = gql `
|
|
2258
2493
|
mutation CANCEL_TASK($taskId: ID!) {
|
|
2259
|
-
|
|
2260
|
-
}
|
|
2261
|
-
|
|
2494
|
+
cancelTask(taskId: $taskId)
|
|
2495
|
+
}
|
|
2496
|
+
`;
|
|
2262
2497
|
/**
|
|
2263
2498
|
* __useCancelTaskMutation__
|
|
2264
2499
|
*
|
|
@@ -2282,11 +2517,11 @@ export function useCancelTaskMutation(baseOptions) {
|
|
|
2282
2517
|
}
|
|
2283
2518
|
export const CheckTreeExistenceDocument = gql `
|
|
2284
2519
|
query CHECK_TREE_EXISTENCE($id: [ID!]) {
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
}
|
|
2289
|
-
|
|
2520
|
+
trees(filters: {id: $id}) {
|
|
2521
|
+
totalCount
|
|
2522
|
+
}
|
|
2523
|
+
}
|
|
2524
|
+
`;
|
|
2290
2525
|
/**
|
|
2291
2526
|
* __useCheckTreeExistenceQuery__
|
|
2292
2527
|
*
|
|
@@ -2311,13 +2546,17 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2311
2546
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2312
2547
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2313
2548
|
}
|
|
2549
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2550
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2551
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2552
|
+
}
|
|
2314
2553
|
export const DeleteTreeDocument = gql `
|
|
2315
2554
|
mutation DELETE_TREE($id: ID!) {
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
}
|
|
2320
|
-
|
|
2555
|
+
deleteTree(id: $id) {
|
|
2556
|
+
id
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
`;
|
|
2321
2560
|
/**
|
|
2322
2561
|
* __useDeleteTreeMutation__
|
|
2323
2562
|
*
|
|
@@ -2341,13 +2580,13 @@ export function useDeleteTreeMutation(baseOptions) {
|
|
|
2341
2580
|
}
|
|
2342
2581
|
export const GetTreeByIdDocument = gql `
|
|
2343
2582
|
query GET_TREE_BY_ID($id: [ID!]) {
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2583
|
+
trees(filters: {id: $id}) {
|
|
2584
|
+
list {
|
|
2585
|
+
...TreeDetails
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2347
2588
|
}
|
|
2348
|
-
|
|
2349
|
-
}
|
|
2350
|
-
${TreeDetailsFragmentDoc}`;
|
|
2589
|
+
${TreeDetailsFragmentDoc}`;
|
|
2351
2590
|
/**
|
|
2352
2591
|
* __useGetTreeByIdQuery__
|
|
2353
2592
|
*
|
|
@@ -2372,31 +2611,35 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2372
2611
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2373
2612
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2374
2613
|
}
|
|
2614
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2615
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2616
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2617
|
+
}
|
|
2375
2618
|
export const GetTreeLibrariesDocument = gql `
|
|
2376
2619
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
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
|
+
}
|
|
2394
2640
|
}
|
|
2395
|
-
}
|
|
2396
2641
|
}
|
|
2397
|
-
|
|
2398
|
-
}
|
|
2399
|
-
`;
|
|
2642
|
+
`;
|
|
2400
2643
|
/**
|
|
2401
2644
|
* __useGetTreeLibrariesQuery__
|
|
2402
2645
|
*
|
|
@@ -2422,15 +2665,19 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2422
2665
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2423
2666
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2424
2667
|
}
|
|
2668
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2669
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2670
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2671
|
+
}
|
|
2425
2672
|
export const GetTreesDocument = gql `
|
|
2426
2673
|
query GET_TREES {
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2674
|
+
trees {
|
|
2675
|
+
list {
|
|
2676
|
+
...TreeLight
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2430
2679
|
}
|
|
2431
|
-
|
|
2432
|
-
}
|
|
2433
|
-
${TreeLightFragmentDoc}`;
|
|
2680
|
+
${TreeLightFragmentDoc}`;
|
|
2434
2681
|
/**
|
|
2435
2682
|
* __useGetTreesQuery__
|
|
2436
2683
|
*
|
|
@@ -2454,13 +2701,17 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2454
2701
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2455
2702
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2456
2703
|
}
|
|
2704
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2705
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2706
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2707
|
+
}
|
|
2457
2708
|
export const SaveTreeDocument = gql `
|
|
2458
2709
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
}
|
|
2463
|
-
|
|
2710
|
+
saveTree(tree: $tree) {
|
|
2711
|
+
...TreeDetails
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2714
|
+
${TreeDetailsFragmentDoc}`;
|
|
2464
2715
|
/**
|
|
2465
2716
|
* __useSaveTreeMutation__
|
|
2466
2717
|
*
|
|
@@ -2483,15 +2734,20 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2483
2734
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2484
2735
|
}
|
|
2485
2736
|
export const TreeNodeChildrenDocument = gql `
|
|
2486
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
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
|
+
}
|
|
2491
2749
|
}
|
|
2492
|
-
|
|
2493
|
-
}
|
|
2494
|
-
${TreeNodeChildFragmentDoc}`;
|
|
2750
|
+
${TreeNodeChildFragmentDoc}`;
|
|
2495
2751
|
/**
|
|
2496
2752
|
* __useTreeNodeChildrenQuery__
|
|
2497
2753
|
*
|
|
@@ -2507,6 +2763,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2507
2763
|
* treeId: // value for 'treeId'
|
|
2508
2764
|
* node: // value for 'node'
|
|
2509
2765
|
* pagination: // value for 'pagination'
|
|
2766
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2510
2767
|
* },
|
|
2511
2768
|
* });
|
|
2512
2769
|
*/
|
|
@@ -2518,14 +2775,18 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2518
2775
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2519
2776
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2520
2777
|
}
|
|
2778
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2779
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2780
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2781
|
+
}
|
|
2521
2782
|
export const GetUserDataDocument = gql `
|
|
2522
2783
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
}
|
|
2528
|
-
|
|
2784
|
+
userData(keys: $keys, global: $global) {
|
|
2785
|
+
global
|
|
2786
|
+
data
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
`;
|
|
2529
2790
|
/**
|
|
2530
2791
|
* __useGetUserDataQuery__
|
|
2531
2792
|
*
|
|
@@ -2551,14 +2812,18 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2551
2812
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2552
2813
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2553
2814
|
}
|
|
2815
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
2816
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2817
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
2818
|
+
}
|
|
2554
2819
|
export const SaveUserDataDocument = gql `
|
|
2555
2820
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
}
|
|
2561
|
-
|
|
2821
|
+
saveUserData(key: $key, value: $value, global: $global) {
|
|
2822
|
+
global
|
|
2823
|
+
data
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
`;
|
|
2562
2827
|
/**
|
|
2563
2828
|
* __useSaveUserDataMutation__
|
|
2564
2829
|
*
|
|
@@ -2584,16 +2849,16 @@ export function useSaveUserDataMutation(baseOptions) {
|
|
|
2584
2849
|
}
|
|
2585
2850
|
export const DeleteValueDocument = gql `
|
|
2586
2851
|
mutation DELETE_VALUE($library: ID!, $recordId: ID!, $attribute: ID!, $value: ValueInput) {
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
}
|
|
2596
|
-
|
|
2852
|
+
deleteValue(
|
|
2853
|
+
library: $library
|
|
2854
|
+
recordId: $recordId
|
|
2855
|
+
attribute: $attribute
|
|
2856
|
+
value: $value
|
|
2857
|
+
) {
|
|
2858
|
+
...ValueDetails
|
|
2859
|
+
}
|
|
2860
|
+
}
|
|
2861
|
+
${ValueDetailsFragmentDoc}`;
|
|
2597
2862
|
/**
|
|
2598
2863
|
* __useDeleteValueMutation__
|
|
2599
2864
|
*
|
|
@@ -2620,15 +2885,15 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2620
2885
|
}
|
|
2621
2886
|
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2622
2887
|
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
}
|
|
2631
|
-
|
|
2888
|
+
runActionsListAndFormatOnValue(
|
|
2889
|
+
library: $library
|
|
2890
|
+
value: $value
|
|
2891
|
+
version: $version
|
|
2892
|
+
) {
|
|
2893
|
+
...ValueDetails
|
|
2894
|
+
}
|
|
2895
|
+
}
|
|
2896
|
+
${ValueDetailsFragmentDoc}`;
|
|
2632
2897
|
/**
|
|
2633
2898
|
* __useRunActionsListAndFormatOnValueQuery__
|
|
2634
2899
|
*
|
|
@@ -2655,27 +2920,31 @@ export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
|
2655
2920
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2656
2921
|
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2657
2922
|
}
|
|
2923
|
+
export function useRunActionsListAndFormatOnValueSuspenseQuery(baseOptions) {
|
|
2924
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2925
|
+
return Apollo.useSuspenseQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2926
|
+
}
|
|
2658
2927
|
export const SaveValueBatchDocument = gql `
|
|
2659
2928
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
}
|
|
2678
|
-
|
|
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}`;
|
|
2679
2948
|
/**
|
|
2680
2949
|
* __useSaveValueBatchMutation__
|
|
2681
2950
|
*
|
|
@@ -2703,12 +2972,12 @@ export function useSaveValueBatchMutation(baseOptions) {
|
|
|
2703
2972
|
}
|
|
2704
2973
|
export const DeleteViewDocument = gql `
|
|
2705
2974
|
mutation DELETE_VIEW($viewId: String!) {
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
}
|
|
2711
|
-
|
|
2975
|
+
deleteView(viewId: $viewId) {
|
|
2976
|
+
id
|
|
2977
|
+
library
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
`;
|
|
2712
2981
|
/**
|
|
2713
2982
|
* __useDeleteViewMutation__
|
|
2714
2983
|
*
|
|
@@ -2732,11 +3001,11 @@ export function useDeleteViewMutation(baseOptions) {
|
|
|
2732
3001
|
}
|
|
2733
3002
|
export const GetViewDocument = gql `
|
|
2734
3003
|
query GET_VIEW($viewId: String!) {
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
}
|
|
2739
|
-
|
|
3004
|
+
view(viewId: $viewId) {
|
|
3005
|
+
...ViewDetails
|
|
3006
|
+
}
|
|
3007
|
+
}
|
|
3008
|
+
${ViewDetailsFragmentDoc}`;
|
|
2740
3009
|
/**
|
|
2741
3010
|
* __useGetViewQuery__
|
|
2742
3011
|
*
|
|
@@ -2761,16 +3030,20 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2761
3030
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2762
3031
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
2763
3032
|
}
|
|
3033
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3034
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3035
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3036
|
+
}
|
|
2764
3037
|
export const GetViewsListDocument = gql `
|
|
2765
3038
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
3039
|
+
views(library: $libraryId) {
|
|
3040
|
+
totalCount
|
|
3041
|
+
list {
|
|
3042
|
+
...ViewDetails
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
2770
3045
|
}
|
|
2771
|
-
|
|
2772
|
-
}
|
|
2773
|
-
${ViewDetailsFragmentDoc}`;
|
|
3046
|
+
${ViewDetailsFragmentDoc}`;
|
|
2774
3047
|
/**
|
|
2775
3048
|
* __useGetViewsListQuery__
|
|
2776
3049
|
*
|
|
@@ -2795,13 +3068,17 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2795
3068
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2796
3069
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
2797
3070
|
}
|
|
3071
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3072
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3073
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3074
|
+
}
|
|
2798
3075
|
export const SaveViewDocument = gql `
|
|
2799
3076
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
}
|
|
2804
|
-
|
|
3077
|
+
saveView(view: $view) {
|
|
3078
|
+
...ViewDetails
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
${ViewDetailsFragmentDoc}`;
|
|
2805
3082
|
/**
|
|
2806
3083
|
* __useSaveViewMutation__
|
|
2807
3084
|
*
|
|
@@ -2825,13 +3102,13 @@ export function useSaveViewMutation(baseOptions) {
|
|
|
2825
3102
|
}
|
|
2826
3103
|
export const GetAttributesByLibWithPermissionsDocument = gql `
|
|
2827
3104
|
query getAttributesByLibWithPermissions($library: String!) {
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
3105
|
+
attributes(filters: {libraries: [$library]}) {
|
|
3106
|
+
list {
|
|
3107
|
+
...AttributesByLibAttributeWithPermissions
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
2831
3110
|
}
|
|
2832
|
-
|
|
2833
|
-
}
|
|
2834
|
-
${AttributesByLibAttributeWithPermissionsFragmentDoc}`;
|
|
3111
|
+
${AttributesByLibAttributeWithPermissionsFragmentDoc}`;
|
|
2835
3112
|
/**
|
|
2836
3113
|
* __useGetAttributesByLibWithPermissionsQuery__
|
|
2837
3114
|
*
|
|
@@ -2856,22 +3133,26 @@ export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
|
2856
3133
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2857
3134
|
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
2858
3135
|
}
|
|
3136
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3137
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3138
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3139
|
+
}
|
|
2859
3140
|
export const ExplorerAttributesDocument = gql `
|
|
2860
3141
|
query ExplorerAttributes($ids: [ID!]) {
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
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
|
+
}
|
|
2871
3154
|
}
|
|
2872
|
-
|
|
2873
|
-
}
|
|
2874
|
-
${LinkAttributeDetailsFragmentDoc}`;
|
|
3155
|
+
${LinkAttributeDetailsFragmentDoc}`;
|
|
2875
3156
|
/**
|
|
2876
3157
|
* __useExplorerAttributesQuery__
|
|
2877
3158
|
*
|
|
@@ -2896,21 +3177,25 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
2896
3177
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2897
3178
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
2898
3179
|
}
|
|
3180
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3181
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3182
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3183
|
+
}
|
|
2899
3184
|
export const ExplorerLinkAttributeDocument = gql `
|
|
2900
3185
|
query ExplorerLinkAttribute($id: ID!) {
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
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
|
+
}
|
|
2910
3197
|
}
|
|
2911
|
-
|
|
2912
|
-
}
|
|
2913
|
-
${LinkAttributeDetailsFragmentDoc}`;
|
|
3198
|
+
${LinkAttributeDetailsFragmentDoc}`;
|
|
2914
3199
|
/**
|
|
2915
3200
|
* __useExplorerLinkAttributeQuery__
|
|
2916
3201
|
*
|
|
@@ -2935,35 +3220,41 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
2935
3220
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2936
3221
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
2937
3222
|
}
|
|
3223
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3224
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3225
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3226
|
+
}
|
|
2938
3227
|
export const ExplorerLibraryDataDocument = gql `
|
|
2939
3228
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
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
|
+
}
|
|
2960
3254
|
}
|
|
2961
|
-
}
|
|
2962
3255
|
}
|
|
2963
|
-
}
|
|
2964
|
-
}
|
|
2965
3256
|
${RecordIdentityFragmentDoc}
|
|
2966
|
-
${AttributePropertiesFragmentDoc}
|
|
3257
|
+
${AttributePropertiesFragmentDoc}
|
|
2967
3258
|
${PropertyValueFragmentDoc}`;
|
|
2968
3259
|
/**
|
|
2969
3260
|
* __useExplorerLibraryDataQuery__
|
|
@@ -2994,27 +3285,31 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
2994
3285
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2995
3286
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
2996
3287
|
}
|
|
3288
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3289
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3290
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3291
|
+
}
|
|
2997
3292
|
export const ExplorerLinkDataDocument = gql `
|
|
2998
3293
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
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
|
+
}
|
|
3009
3310
|
}
|
|
3010
|
-
}
|
|
3011
|
-
property(attribute: $linkAttributeId) {
|
|
3012
|
-
...LinkProperty
|
|
3013
|
-
}
|
|
3014
3311
|
}
|
|
3015
|
-
|
|
3016
|
-
}
|
|
3017
|
-
${LinkPropertyFragmentDoc}`;
|
|
3312
|
+
${LinkPropertyFragmentDoc}`;
|
|
3018
3313
|
/**
|
|
3019
3314
|
* __useExplorerLinkDataQuery__
|
|
3020
3315
|
*
|
|
@@ -3042,18 +3337,22 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
3042
3337
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3043
3338
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
3044
3339
|
}
|
|
3340
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3341
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3342
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3343
|
+
}
|
|
3045
3344
|
export const GetLibraryAttributesDocument = gql `
|
|
3046
3345
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3346
|
+
libraries(filters: {id: [$libraryId]}) {
|
|
3347
|
+
list {
|
|
3348
|
+
id
|
|
3349
|
+
attributes {
|
|
3350
|
+
...LibraryAttribute
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3053
3354
|
}
|
|
3054
|
-
|
|
3055
|
-
}
|
|
3056
|
-
${LibraryAttributeFragmentDoc}`;
|
|
3355
|
+
${LibraryAttributeFragmentDoc}`;
|
|
3057
3356
|
/**
|
|
3058
3357
|
* __useGetLibraryAttributesQuery__
|
|
3059
3358
|
*
|
|
@@ -3078,17 +3377,21 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
3078
3377
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3079
3378
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
3080
3379
|
}
|
|
3380
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3381
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3382
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3383
|
+
}
|
|
3081
3384
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3082
3385
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3386
|
+
libraries(filters: {id: [$libraryId]}) {
|
|
3387
|
+
list {
|
|
3388
|
+
id
|
|
3389
|
+
label
|
|
3390
|
+
behavior
|
|
3391
|
+
}
|
|
3392
|
+
}
|
|
3088
3393
|
}
|
|
3089
|
-
|
|
3090
|
-
}
|
|
3091
|
-
`;
|
|
3394
|
+
`;
|
|
3092
3395
|
/**
|
|
3093
3396
|
* __useExplorerLibraryDetailsQuery__
|
|
3094
3397
|
*
|
|
@@ -3113,15 +3416,19 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3113
3416
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3114
3417
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3115
3418
|
}
|
|
3419
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3420
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3421
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3422
|
+
}
|
|
3116
3423
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3117
3424
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3425
|
+
records(library: $libraryId, filters: $filters) {
|
|
3426
|
+
list {
|
|
3427
|
+
id
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3121
3430
|
}
|
|
3122
|
-
|
|
3123
|
-
}
|
|
3124
|
-
`;
|
|
3431
|
+
`;
|
|
3125
3432
|
/**
|
|
3126
3433
|
* __useExplorerSelectionIdsQuery__
|
|
3127
3434
|
*
|
|
@@ -3147,19 +3454,23 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3147
3454
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3148
3455
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3149
3456
|
}
|
|
3457
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3458
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3459
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3460
|
+
}
|
|
3150
3461
|
export const MeDocument = gql `
|
|
3151
3462
|
query Me {
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3463
|
+
me {
|
|
3464
|
+
id
|
|
3465
|
+
whoAmI {
|
|
3466
|
+
id
|
|
3467
|
+
library {
|
|
3468
|
+
id
|
|
3469
|
+
}
|
|
3470
|
+
}
|
|
3471
|
+
}
|
|
3159
3472
|
}
|
|
3160
|
-
|
|
3161
|
-
}
|
|
3162
|
-
`;
|
|
3473
|
+
`;
|
|
3163
3474
|
/**
|
|
3164
3475
|
* __useMeQuery__
|
|
3165
3476
|
*
|
|
@@ -3183,13 +3494,17 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3183
3494
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3184
3495
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3185
3496
|
}
|
|
3497
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3498
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3499
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3500
|
+
}
|
|
3186
3501
|
export const UpdateViewDocument = gql `
|
|
3187
3502
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
}
|
|
3192
|
-
|
|
3503
|
+
updateView(view: $view) {
|
|
3504
|
+
...ViewDetails
|
|
3505
|
+
}
|
|
3506
|
+
}
|
|
3507
|
+
${ViewDetailsFragmentDoc}`;
|
|
3193
3508
|
/**
|
|
3194
3509
|
* __useUpdateViewMutation__
|
|
3195
3510
|
*
|
|
@@ -3211,16 +3526,67 @@ export function useUpdateViewMutation(baseOptions) {
|
|
|
3211
3526
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3212
3527
|
return Apollo.useMutation(UpdateViewDocument, options);
|
|
3213
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
|
+
}
|
|
3214
3580
|
export const TreeDataQueryDocument = gql `
|
|
3215
3581
|
query TreeDataQuery($treeId: ID!) {
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3582
|
+
trees(filters: {id: [$treeId]}) {
|
|
3583
|
+
list {
|
|
3584
|
+
id
|
|
3585
|
+
label
|
|
3586
|
+
}
|
|
3587
|
+
}
|
|
3220
3588
|
}
|
|
3221
|
-
|
|
3222
|
-
}
|
|
3223
|
-
`;
|
|
3589
|
+
`;
|
|
3224
3590
|
/**
|
|
3225
3591
|
* __useTreeDataQueryQuery__
|
|
3226
3592
|
*
|
|
@@ -3245,4 +3611,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3245
3611
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3246
3612
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3247
3613
|
}
|
|
3614
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3615
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3616
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3617
|
+
}
|
|
3248
3618
|
//# sourceMappingURL=index.js.map
|