@leav/ui 0.4.0-4e6e650 → 0.4.0-54167beb
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 +27 -22
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +3267 -2315
- package/dist/_gqlTypes/index.js +374 -132
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js +10 -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/Explorer/DataView.js +4 -4
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +4 -2
- package/dist/components/Explorer/Explorer.js +7 -3
- 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/_queries/useExplorerData.js +2 -3
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +4 -1
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +2 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +2 -2
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +4 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -20
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +5 -3
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -18
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.d.ts +3 -0
- package/dist/components/Explorer/link-item/LinkModal.js +5 -10
- package/dist/components/Explorer/link-item/LinkModal.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/filter-items/filter-type/FilterDropDown.js +2 -2
- package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +2 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +1 -0
- package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +72 -224
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +57 -33
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +15 -12
- 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/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/useCreateEmptyRecordMutation.d.ts +5 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +28 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.d.ts +13 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js +113 -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 +3 -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/FormDivider/FormDivider.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.js +13 -36
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.d.ts +3 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js +9 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.d.ts → link-record/useExplorerLinkRecords.d.ts} +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/{link-record-in-edition/useLinkRecords.js → link-record/useExplorerLinkRecords.js} +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +24 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +79 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +62 -79
- 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/_types.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +24 -26
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/{useDisplayTreeNode.d.ts → TreeNodeList.d.ts} +4 -4
- 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 +16 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +12 -13
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +4 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +56 -58
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +2 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +6 -10
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +22 -4
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +23 -5
- package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +6 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +5 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/index.d.ts +2 -1
- package/dist/components/RecordEdition/index.js +2 -1
- 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 +5 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js +2 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +3 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +18 -23
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- 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} +4 -2
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
- package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
- package/dist/components/{LinkSelect → SelectTreeNodeModalOld}/index.js +1 -2
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
- 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 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +2 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +2 -13
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +2 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +3 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- 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 +33 -5
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +9 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +55 -20
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +7 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +13 -0
- package/dist/{components/RecordEdition/EditRecord/creationErrorContext.js → hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js} +2 -3
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -0
- package/dist/types/attributes.d.ts +2 -1
- package/package.json +22 -6
- package/dist/components/LinkSelect/LinkSelect.d.ts +0 -15
- package/dist/components/LinkSelect/LinkSelect.js +0 -89
- package/dist/components/LinkSelect/LinkSelect.js.map +0 -1
- package/dist/components/LinkSelect/index.d.ts +0 -2
- package/dist/components/LinkSelect/index.js.map +0 -1
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.d.ts +0 -6
- package/dist/components/RecordEdition/EditRecord/creationErrorContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.d.ts +0 -5
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js +0 -28
- package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/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/hooks/useRunActionsListAndFormatOnValue.d.ts +0 -121
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +0 -31
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.d.ts +0 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js +0 -39
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useEditRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js +0 -23
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-item/useUnselectRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js +0 -23
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-mass/useUnselectAllRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.d.ts +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js +0 -26
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useCreateRecord.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.d.ts +0 -12
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js +0 -24
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/action-primary/useRecordSelector.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.d.ts +0 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js +0 -103
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.d.ts +0 -22
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +0 -104
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecords.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.d.ts +0 -27
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +0 -196
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.d.ts +0 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js +0 -15
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/LinkActionsButtons.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.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 +0 -5
- package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -88,6 +88,17 @@ export var FormsSortableFields;
|
|
|
88
88
|
FormsSortableFields["library"] = "library";
|
|
89
89
|
FormsSortableFields["system"] = "system";
|
|
90
90
|
})(FormsSortableFields || (FormsSortableFields = {}));
|
|
91
|
+
export var GenerationStatus;
|
|
92
|
+
(function (GenerationStatus) {
|
|
93
|
+
GenerationStatus["DONE"] = "DONE";
|
|
94
|
+
GenerationStatus["GENERATION_FAILED"] = "GENERATION_FAILED";
|
|
95
|
+
GenerationStatus["GENERATION_IN_PROGRESS"] = "GENERATION_IN_PROGRESS";
|
|
96
|
+
GenerationStatus["GENERATION_IN_PROGRESS_WITH_FAILURE"] = "GENERATION_IN_PROGRESS_WITH_FAILURE";
|
|
97
|
+
GenerationStatus["PREPARATION_FAILED"] = "PREPARATION_FAILED";
|
|
98
|
+
GenerationStatus["PREPARATION_IN_PROGRESS"] = "PREPARATION_IN_PROGRESS";
|
|
99
|
+
GenerationStatus["TRANSMISSION_FAILED"] = "TRANSMISSION_FAILED";
|
|
100
|
+
GenerationStatus["TRANSMISSION_IN_PROGRESS"] = "TRANSMISSION_IN_PROGRESS";
|
|
101
|
+
})(GenerationStatus || (GenerationStatus = {}));
|
|
91
102
|
export var IoTypes;
|
|
92
103
|
(function (IoTypes) {
|
|
93
104
|
IoTypes["boolean"] = "boolean";
|
|
@@ -141,7 +152,9 @@ export var LogAction;
|
|
|
141
152
|
LogAction["PERMISSION_SAVE"] = "PERMISSION_SAVE";
|
|
142
153
|
LogAction["RECORD_DELETE"] = "RECORD_DELETE";
|
|
143
154
|
LogAction["RECORD_SAVE"] = "RECORD_SAVE";
|
|
155
|
+
LogAction["SDO_LOG_ERROR"] = "SDO_LOG_ERROR";
|
|
144
156
|
LogAction["SDO_LOG_EXPORT_RECORD"] = "SDO_LOG_EXPORT_RECORD";
|
|
157
|
+
LogAction["SDO_LOG_IMPORT_RECORD"] = "SDO_LOG_IMPORT_RECORD";
|
|
145
158
|
LogAction["TASKS_DELETE"] = "TASKS_DELETE";
|
|
146
159
|
LogAction["TREE_ADD_ELEMENT"] = "TREE_ADD_ELEMENT";
|
|
147
160
|
LogAction["TREE_DELETE"] = "TREE_DELETE";
|
|
@@ -191,6 +204,7 @@ export var PermissionsActions;
|
|
|
191
204
|
PermissionsActions["admin_access_applications"] = "admin_access_applications";
|
|
192
205
|
PermissionsActions["admin_access_attributes"] = "admin_access_attributes";
|
|
193
206
|
PermissionsActions["admin_access_libraries"] = "admin_access_libraries";
|
|
207
|
+
PermissionsActions["admin_access_logs"] = "admin_access_logs";
|
|
194
208
|
PermissionsActions["admin_access_permissions"] = "admin_access_permissions";
|
|
195
209
|
PermissionsActions["admin_access_tasks"] = "admin_access_tasks";
|
|
196
210
|
PermissionsActions["admin_access_trees"] = "admin_access_trees";
|
|
@@ -269,6 +283,13 @@ export var RecordFilterOperator;
|
|
|
269
283
|
RecordFilterOperator["OPEN_BRACKET"] = "OPEN_BRACKET";
|
|
270
284
|
RecordFilterOperator["OR"] = "OR";
|
|
271
285
|
})(RecordFilterOperator || (RecordFilterOperator = {}));
|
|
286
|
+
export var RecordPermissionsActions;
|
|
287
|
+
(function (RecordPermissionsActions) {
|
|
288
|
+
RecordPermissionsActions["access_record"] = "access_record";
|
|
289
|
+
RecordPermissionsActions["create_record"] = "create_record";
|
|
290
|
+
RecordPermissionsActions["delete_record"] = "delete_record";
|
|
291
|
+
RecordPermissionsActions["edit_record"] = "edit_record";
|
|
292
|
+
})(RecordPermissionsActions || (RecordPermissionsActions = {}));
|
|
272
293
|
export var SortOrder;
|
|
273
294
|
(function (SortOrder) {
|
|
274
295
|
SortOrder["asc"] = "asc";
|
|
@@ -458,6 +479,101 @@ export const AttributesByLibAttributeFragmentDoc = gql `
|
|
|
458
479
|
}
|
|
459
480
|
}
|
|
460
481
|
${AttributesByLibLinkAttributeFragmentDoc}`;
|
|
482
|
+
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
483
|
+
fragment ValuesVersionDetails on ValueVersion {
|
|
484
|
+
treeId
|
|
485
|
+
treeNode {
|
|
486
|
+
id
|
|
487
|
+
record {
|
|
488
|
+
id
|
|
489
|
+
whoAmI {
|
|
490
|
+
id
|
|
491
|
+
label
|
|
492
|
+
library {
|
|
493
|
+
id
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
`;
|
|
500
|
+
export const ValueDetailsFragmentDoc = gql `
|
|
501
|
+
fragment ValueDetails on GenericValue {
|
|
502
|
+
id_value
|
|
503
|
+
isInherited
|
|
504
|
+
isCalculated
|
|
505
|
+
modified_at
|
|
506
|
+
modified_by {
|
|
507
|
+
...RecordIdentity
|
|
508
|
+
}
|
|
509
|
+
created_at
|
|
510
|
+
created_by {
|
|
511
|
+
...RecordIdentity
|
|
512
|
+
}
|
|
513
|
+
version {
|
|
514
|
+
...ValuesVersionDetails
|
|
515
|
+
}
|
|
516
|
+
attribute {
|
|
517
|
+
id
|
|
518
|
+
format
|
|
519
|
+
type
|
|
520
|
+
system
|
|
521
|
+
}
|
|
522
|
+
metadata {
|
|
523
|
+
name
|
|
524
|
+
value {
|
|
525
|
+
id_value
|
|
526
|
+
modified_at
|
|
527
|
+
modified_by {
|
|
528
|
+
...RecordIdentity
|
|
529
|
+
}
|
|
530
|
+
created_at
|
|
531
|
+
created_by {
|
|
532
|
+
...RecordIdentity
|
|
533
|
+
}
|
|
534
|
+
version {
|
|
535
|
+
...ValuesVersionDetails
|
|
536
|
+
}
|
|
537
|
+
payload
|
|
538
|
+
raw_payload
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
... on Value {
|
|
542
|
+
payload
|
|
543
|
+
raw_payload
|
|
544
|
+
value
|
|
545
|
+
raw_value
|
|
546
|
+
}
|
|
547
|
+
... on LinkValue {
|
|
548
|
+
linkValue: payload {
|
|
549
|
+
...RecordIdentity
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
... on TreeValue {
|
|
553
|
+
treeValue: payload {
|
|
554
|
+
id
|
|
555
|
+
record {
|
|
556
|
+
...RecordIdentity
|
|
557
|
+
}
|
|
558
|
+
ancestors {
|
|
559
|
+
record {
|
|
560
|
+
...RecordIdentity
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
${RecordIdentityFragmentDoc}
|
|
567
|
+
${ValuesVersionDetailsFragmentDoc}`;
|
|
568
|
+
export const RecordFormElementValuesFragmentDoc = gql `
|
|
569
|
+
fragment RecordFormElementValues on FormElementValues {
|
|
570
|
+
id
|
|
571
|
+
valueError
|
|
572
|
+
values {
|
|
573
|
+
...ValueDetails
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
${ValueDetailsFragmentDoc}`;
|
|
461
577
|
export const LibraryLightFragmentDoc = gql `
|
|
462
578
|
fragment LibraryLight on Library {
|
|
463
579
|
id
|
|
@@ -558,92 +674,6 @@ export const LibraryDetailsFragmentDoc = gql `
|
|
|
558
674
|
${LibraryAttributesFragmentDoc}
|
|
559
675
|
${RecordIdentityFragmentDoc}
|
|
560
676
|
${LibraryPreviewsSettingsFragmentDoc}`;
|
|
561
|
-
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
562
|
-
fragment ValuesVersionDetails on ValueVersion {
|
|
563
|
-
treeId
|
|
564
|
-
treeNode {
|
|
565
|
-
id
|
|
566
|
-
record {
|
|
567
|
-
id
|
|
568
|
-
whoAmI {
|
|
569
|
-
id
|
|
570
|
-
label
|
|
571
|
-
library {
|
|
572
|
-
id
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
`;
|
|
579
|
-
export const ValueDetailsFragmentDoc = gql `
|
|
580
|
-
fragment ValueDetails on GenericValue {
|
|
581
|
-
id_value
|
|
582
|
-
isInherited
|
|
583
|
-
isCalculated
|
|
584
|
-
modified_at
|
|
585
|
-
modified_by {
|
|
586
|
-
...RecordIdentity
|
|
587
|
-
}
|
|
588
|
-
created_at
|
|
589
|
-
created_by {
|
|
590
|
-
...RecordIdentity
|
|
591
|
-
}
|
|
592
|
-
version {
|
|
593
|
-
...ValuesVersionDetails
|
|
594
|
-
}
|
|
595
|
-
attribute {
|
|
596
|
-
id
|
|
597
|
-
format
|
|
598
|
-
type
|
|
599
|
-
system
|
|
600
|
-
}
|
|
601
|
-
metadata {
|
|
602
|
-
name
|
|
603
|
-
value {
|
|
604
|
-
id_value
|
|
605
|
-
modified_at
|
|
606
|
-
modified_by {
|
|
607
|
-
...RecordIdentity
|
|
608
|
-
}
|
|
609
|
-
created_at
|
|
610
|
-
created_by {
|
|
611
|
-
...RecordIdentity
|
|
612
|
-
}
|
|
613
|
-
version {
|
|
614
|
-
...ValuesVersionDetails
|
|
615
|
-
}
|
|
616
|
-
payload
|
|
617
|
-
raw_payload
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
... on Value {
|
|
621
|
-
payload
|
|
622
|
-
raw_payload
|
|
623
|
-
value
|
|
624
|
-
raw_value
|
|
625
|
-
}
|
|
626
|
-
... on LinkValue {
|
|
627
|
-
linkValue: payload {
|
|
628
|
-
...RecordIdentity
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
... on TreeValue {
|
|
632
|
-
treeValue: payload {
|
|
633
|
-
id
|
|
634
|
-
record {
|
|
635
|
-
...RecordIdentity
|
|
636
|
-
}
|
|
637
|
-
ancestors {
|
|
638
|
-
record {
|
|
639
|
-
...RecordIdentity
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
${RecordIdentityFragmentDoc}
|
|
646
|
-
${ValuesVersionDetailsFragmentDoc}`;
|
|
647
677
|
export const StandardValuesListFragmentFragmentDoc = gql `
|
|
648
678
|
fragment StandardValuesListFragment on StandardValuesListConf {
|
|
649
679
|
... on StandardStringValuesListConf {
|
|
@@ -758,16 +788,19 @@ export const RecordFormAttributeFragmentDoc = gql `
|
|
|
758
788
|
}
|
|
759
789
|
${StandardValuesListFragmentFragmentDoc}
|
|
760
790
|
${RecordIdentityFragmentDoc}`;
|
|
791
|
+
export const JoinLibraryContextFragmentDoc = gql `
|
|
792
|
+
fragment JoinLibraryContext on FormElementJoinLibraryContext {
|
|
793
|
+
mandatoryAttribute {
|
|
794
|
+
...RecordFormAttribute
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
${RecordFormAttributeFragmentDoc}`;
|
|
761
798
|
export const RecordFormElementFragmentDoc = gql `
|
|
762
|
-
fragment RecordFormElement on
|
|
799
|
+
fragment RecordFormElement on FormElement {
|
|
763
800
|
id
|
|
764
801
|
containerId
|
|
765
802
|
uiElementType
|
|
766
803
|
type
|
|
767
|
-
valueError
|
|
768
|
-
values {
|
|
769
|
-
...ValueDetails
|
|
770
|
-
}
|
|
771
804
|
attribute {
|
|
772
805
|
...RecordFormAttribute
|
|
773
806
|
}
|
|
@@ -775,9 +808,12 @@ export const RecordFormElementFragmentDoc = gql `
|
|
|
775
808
|
key
|
|
776
809
|
value
|
|
777
810
|
}
|
|
811
|
+
joinLibraryContext {
|
|
812
|
+
...JoinLibraryContext
|
|
813
|
+
}
|
|
778
814
|
}
|
|
779
|
-
${
|
|
780
|
-
${
|
|
815
|
+
${RecordFormAttributeFragmentDoc}
|
|
816
|
+
${JoinLibraryContextFragmentDoc}`;
|
|
781
817
|
export const TreeLightFragmentDoc = gql `
|
|
782
818
|
fragment TreeLight on Tree {
|
|
783
819
|
id
|
|
@@ -1050,6 +1086,10 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
1050
1086
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1051
1087
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
1052
1088
|
}
|
|
1089
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1090
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1091
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1092
|
+
}
|
|
1053
1093
|
export const GetApplicationByIdDocument = gql `
|
|
1054
1094
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1055
1095
|
applications(filters: {id: $id}) {
|
|
@@ -1083,6 +1123,10 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1083
1123
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1084
1124
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1085
1125
|
}
|
|
1126
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1127
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1128
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1129
|
+
}
|
|
1086
1130
|
export const GetApplicationModulesDocument = gql `
|
|
1087
1131
|
query GET_APPLICATION_MODULES {
|
|
1088
1132
|
applicationsModules {
|
|
@@ -1115,6 +1159,10 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1115
1159
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1116
1160
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1117
1161
|
}
|
|
1162
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1163
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1164
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1165
|
+
}
|
|
1118
1166
|
export const SaveApplicationDocument = gql `
|
|
1119
1167
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1120
1168
|
saveApplication(application: $application) {
|
|
@@ -1174,6 +1222,10 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1174
1222
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1175
1223
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1176
1224
|
}
|
|
1225
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1226
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1227
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1228
|
+
}
|
|
1177
1229
|
export const DeleteAttributeDocument = gql `
|
|
1178
1230
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1179
1231
|
deleteAttribute(id: $id) {
|
|
@@ -1235,6 +1287,10 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1235
1287
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1236
1288
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1237
1289
|
}
|
|
1290
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1291
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1292
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1293
|
+
}
|
|
1238
1294
|
export const GetAttributesByLibDocument = gql `
|
|
1239
1295
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1240
1296
|
attributes(filters: {libraries: [$library]}) {
|
|
@@ -1268,6 +1324,10 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1268
1324
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1269
1325
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1270
1326
|
}
|
|
1327
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1328
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1329
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1330
|
+
}
|
|
1271
1331
|
export const GetAttributesDocument = gql `
|
|
1272
1332
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1273
1333
|
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
@@ -1308,6 +1368,10 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1308
1368
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1309
1369
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1310
1370
|
}
|
|
1371
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1372
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1373
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1374
|
+
}
|
|
1311
1375
|
export const GetVersionProfilesDocument = gql `
|
|
1312
1376
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1313
1377
|
versionProfiles(filters: $filters, sort: $sort) {
|
|
@@ -1343,6 +1407,10 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1343
1407
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1344
1408
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1345
1409
|
}
|
|
1410
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1411
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1412
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1413
|
+
}
|
|
1346
1414
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1347
1415
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1348
1416
|
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
@@ -1386,6 +1454,10 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1386
1454
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1387
1455
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1388
1456
|
}
|
|
1457
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1458
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1459
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1460
|
+
}
|
|
1389
1461
|
export const SaveAttributeDocument = gql `
|
|
1390
1462
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1391
1463
|
saveAttribute(attribute: $attribute) {
|
|
@@ -1445,6 +1517,10 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1445
1517
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1446
1518
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1447
1519
|
}
|
|
1520
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1521
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1522
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1523
|
+
}
|
|
1448
1524
|
export const CreateDirectoryDocument = gql `
|
|
1449
1525
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1450
1526
|
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
@@ -1585,6 +1661,10 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1585
1661
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1586
1662
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1587
1663
|
}
|
|
1664
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1665
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1666
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1667
|
+
}
|
|
1588
1668
|
export const UploadUpdateDocument = gql `
|
|
1589
1669
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1590
1670
|
upload(filters: $filters) {
|
|
@@ -1656,6 +1736,51 @@ export function useUploadMutation(baseOptions) {
|
|
|
1656
1736
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1657
1737
|
return Apollo.useMutation(UploadDocument, options);
|
|
1658
1738
|
}
|
|
1739
|
+
export const GetRecordFormElementsValuesDocument = gql `
|
|
1740
|
+
query GET_RECORD_FORM_ELEMENTS_VALUES($recordId: String, $libraryId: String!, $formId: String!, $version: [ValueVersionInput!], $elementIds: [ID!]) {
|
|
1741
|
+
getRecordFormElementsValues(
|
|
1742
|
+
recordId: $recordId
|
|
1743
|
+
libraryId: $libraryId
|
|
1744
|
+
formId: $formId
|
|
1745
|
+
version: $version
|
|
1746
|
+
elementIds: $elementIds
|
|
1747
|
+
) {
|
|
1748
|
+
...RecordFormElementValues
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
${RecordFormElementValuesFragmentDoc}`;
|
|
1752
|
+
/**
|
|
1753
|
+
* __useGetRecordFormElementsValuesQuery__
|
|
1754
|
+
*
|
|
1755
|
+
* To run a query within a React component, call `useGetRecordFormElementsValuesQuery` and pass it any options that fit your needs.
|
|
1756
|
+
* When your component renders, `useGetRecordFormElementsValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1757
|
+
* you can use to render your UI.
|
|
1758
|
+
*
|
|
1759
|
+
* @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;
|
|
1760
|
+
*
|
|
1761
|
+
* @example
|
|
1762
|
+
* const { data, loading, error } = useGetRecordFormElementsValuesQuery({
|
|
1763
|
+
* variables: {
|
|
1764
|
+
* recordId: // value for 'recordId'
|
|
1765
|
+
* libraryId: // value for 'libraryId'
|
|
1766
|
+
* formId: // value for 'formId'
|
|
1767
|
+
* version: // value for 'version'
|
|
1768
|
+
* elementIds: // value for 'elementIds'
|
|
1769
|
+
* },
|
|
1770
|
+
* });
|
|
1771
|
+
*/
|
|
1772
|
+
export function useGetRecordFormElementsValuesQuery(baseOptions) {
|
|
1773
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1774
|
+
return Apollo.useQuery(GetRecordFormElementsValuesDocument, options);
|
|
1775
|
+
}
|
|
1776
|
+
export function useGetRecordFormElementsValuesLazyQuery(baseOptions) {
|
|
1777
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1778
|
+
return Apollo.useLazyQuery(GetRecordFormElementsValuesDocument, options);
|
|
1779
|
+
}
|
|
1780
|
+
export function useGetRecordFormElementsValuesSuspenseQuery(baseOptions) {
|
|
1781
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1782
|
+
return Apollo.useSuspenseQuery(GetRecordFormElementsValuesDocument, options);
|
|
1783
|
+
}
|
|
1659
1784
|
export const ImportExcelDocument = gql `
|
|
1660
1785
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1661
1786
|
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
@@ -1715,6 +1840,10 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1715
1840
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1716
1841
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1717
1842
|
}
|
|
1843
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1844
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1845
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1846
|
+
}
|
|
1718
1847
|
export const DeleteLibraryDocument = gql `
|
|
1719
1848
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1720
1849
|
deleteLibrary(id: $id) {
|
|
@@ -1775,6 +1904,10 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1775
1904
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1776
1905
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1777
1906
|
}
|
|
1907
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1908
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1909
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1910
|
+
}
|
|
1778
1911
|
export const GetLibraryByIdDocument = gql `
|
|
1779
1912
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1780
1913
|
libraries(filters: {id: $id}) {
|
|
@@ -1808,6 +1941,10 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1808
1941
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1809
1942
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1810
1943
|
}
|
|
1944
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
1945
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1946
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
1947
|
+
}
|
|
1811
1948
|
export const GetLibraryPermissionsDocument = gql `
|
|
1812
1949
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1813
1950
|
libraries(filters: {id: $libraryId}) {
|
|
@@ -1847,6 +1984,10 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1847
1984
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1848
1985
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
1849
1986
|
}
|
|
1987
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
1988
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1989
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
1990
|
+
}
|
|
1850
1991
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1851
1992
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1852
1993
|
libraries(filters: {id: [$id]}) {
|
|
@@ -1895,6 +2036,10 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1895
2036
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1896
2037
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
1897
2038
|
}
|
|
2039
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2040
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2041
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2042
|
+
}
|
|
1898
2043
|
export const SaveLibraryDocument = gql `
|
|
1899
2044
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1900
2045
|
saveLibrary(library: $library) {
|
|
@@ -1958,6 +2103,10 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1958
2103
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1959
2104
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
1960
2105
|
}
|
|
2106
|
+
export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
2107
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2108
|
+
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2109
|
+
}
|
|
1961
2110
|
export const ActivateRecordsDocument = gql `
|
|
1962
2111
|
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
1963
2112
|
activateRecords(
|
|
@@ -1993,6 +2142,42 @@ export function useActivateRecordsMutation(baseOptions) {
|
|
|
1993
2142
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1994
2143
|
return Apollo.useMutation(ActivateRecordsDocument, options);
|
|
1995
2144
|
}
|
|
2145
|
+
export const CreateEmptyRecordDocument = gql `
|
|
2146
|
+
mutation createEmptyRecord($library: ID!) {
|
|
2147
|
+
createEmptyRecord(library: $library) {
|
|
2148
|
+
record {
|
|
2149
|
+
...RecordIdentity
|
|
2150
|
+
}
|
|
2151
|
+
valuesErrors {
|
|
2152
|
+
type
|
|
2153
|
+
attribute
|
|
2154
|
+
input
|
|
2155
|
+
message
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
${RecordIdentityFragmentDoc}`;
|
|
2160
|
+
/**
|
|
2161
|
+
* __useCreateEmptyRecordMutation__
|
|
2162
|
+
*
|
|
2163
|
+
* To run a mutation, you first call `useCreateEmptyRecordMutation` within a React component and pass it any options that fit your needs.
|
|
2164
|
+
* When your component renders, `useCreateEmptyRecordMutation` returns a tuple that includes:
|
|
2165
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2166
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2167
|
+
*
|
|
2168
|
+
* @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;
|
|
2169
|
+
*
|
|
2170
|
+
* @example
|
|
2171
|
+
* const [createEmptyRecordMutation, { data, loading, error }] = useCreateEmptyRecordMutation({
|
|
2172
|
+
* variables: {
|
|
2173
|
+
* library: // value for 'library'
|
|
2174
|
+
* },
|
|
2175
|
+
* });
|
|
2176
|
+
*/
|
|
2177
|
+
export function useCreateEmptyRecordMutation(baseOptions) {
|
|
2178
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2179
|
+
return Apollo.useMutation(CreateEmptyRecordDocument, options);
|
|
2180
|
+
}
|
|
1996
2181
|
export const CreateRecordDocument = gql `
|
|
1997
2182
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
1998
2183
|
createRecord(library: $library, data: $data) {
|
|
@@ -2100,6 +2285,10 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2100
2285
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2101
2286
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2102
2287
|
}
|
|
2288
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2289
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2290
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2291
|
+
}
|
|
2103
2292
|
export const GetFileDataDocument = gql `
|
|
2104
2293
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2105
2294
|
records(
|
|
@@ -2180,6 +2369,10 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2180
2369
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2181
2370
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2182
2371
|
}
|
|
2372
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2373
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2374
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2375
|
+
}
|
|
2183
2376
|
export const RecordFormDocument = gql `
|
|
2184
2377
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2185
2378
|
recordForm(
|
|
@@ -2233,6 +2426,10 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2233
2426
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2234
2427
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2235
2428
|
}
|
|
2429
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2430
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2431
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2432
|
+
}
|
|
2236
2433
|
export const RecordUpdateDocument = gql `
|
|
2237
2434
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2238
2435
|
recordUpdate(filters: $filters) {
|
|
@@ -2312,6 +2509,10 @@ export function useGetRecordsFromLibraryLazyQuery(baseOptions) {
|
|
|
2312
2509
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2313
2510
|
return Apollo.useLazyQuery(GetRecordsFromLibraryDocument, options);
|
|
2314
2511
|
}
|
|
2512
|
+
export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
2513
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2514
|
+
return Apollo.useSuspenseQuery(GetRecordsFromLibraryDocument, options);
|
|
2515
|
+
}
|
|
2315
2516
|
export const IndexRecordsDocument = gql `
|
|
2316
2517
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2317
2518
|
indexRecords(libraryId: $libraryId, records: $records)
|
|
@@ -2396,6 +2597,10 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2396
2597
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2397
2598
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2398
2599
|
}
|
|
2600
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2601
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2602
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2603
|
+
}
|
|
2399
2604
|
export const DeleteTreeDocument = gql `
|
|
2400
2605
|
mutation DELETE_TREE($id: ID!) {
|
|
2401
2606
|
deleteTree(id: $id) {
|
|
@@ -2457,6 +2662,10 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2457
2662
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2458
2663
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2459
2664
|
}
|
|
2665
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2666
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2667
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2668
|
+
}
|
|
2460
2669
|
export const GetTreeLibrariesDocument = gql `
|
|
2461
2670
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2462
2671
|
trees(filters: {id: $treeId, library: $library}) {
|
|
@@ -2507,6 +2716,10 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2507
2716
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2508
2717
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2509
2718
|
}
|
|
2719
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2720
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2721
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2722
|
+
}
|
|
2510
2723
|
export const GetTreesDocument = gql `
|
|
2511
2724
|
query GET_TREES {
|
|
2512
2725
|
trees {
|
|
@@ -2539,6 +2752,10 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2539
2752
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2540
2753
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2541
2754
|
}
|
|
2755
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2756
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2757
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2758
|
+
}
|
|
2542
2759
|
export const SaveTreeDocument = gql `
|
|
2543
2760
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2544
2761
|
saveTree(tree: $tree) {
|
|
@@ -2568,8 +2785,13 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2568
2785
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2569
2786
|
}
|
|
2570
2787
|
export const TreeNodeChildrenDocument = gql `
|
|
2571
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2572
|
-
treeNodeChildren(
|
|
2788
|
+
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2789
|
+
treeNodeChildren(
|
|
2790
|
+
treeId: $treeId
|
|
2791
|
+
node: $node
|
|
2792
|
+
pagination: $pagination
|
|
2793
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2794
|
+
) {
|
|
2573
2795
|
totalCount
|
|
2574
2796
|
list {
|
|
2575
2797
|
...TreeNodeChild
|
|
@@ -2592,6 +2814,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2592
2814
|
* treeId: // value for 'treeId'
|
|
2593
2815
|
* node: // value for 'node'
|
|
2594
2816
|
* pagination: // value for 'pagination'
|
|
2817
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2595
2818
|
* },
|
|
2596
2819
|
* });
|
|
2597
2820
|
*/
|
|
@@ -2603,6 +2826,10 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2603
2826
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2604
2827
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2605
2828
|
}
|
|
2829
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2830
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2831
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2832
|
+
}
|
|
2606
2833
|
export const GetUserDataDocument = gql `
|
|
2607
2834
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2608
2835
|
userData(keys: $keys, global: $global) {
|
|
@@ -2636,6 +2863,10 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2636
2863
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2637
2864
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2638
2865
|
}
|
|
2866
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
2867
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2868
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
2869
|
+
}
|
|
2639
2870
|
export const SaveUserDataDocument = gql `
|
|
2640
2871
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2641
2872
|
saveUserData(key: $key, value: $value, global: $global) {
|
|
@@ -2703,43 +2934,6 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2703
2934
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2704
2935
|
return Apollo.useMutation(DeleteValueDocument, options);
|
|
2705
2936
|
}
|
|
2706
|
-
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2707
|
-
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2708
|
-
runActionsListAndFormatOnValue(
|
|
2709
|
-
library: $library
|
|
2710
|
-
value: $value
|
|
2711
|
-
version: $version
|
|
2712
|
-
) {
|
|
2713
|
-
...ValueDetails
|
|
2714
|
-
}
|
|
2715
|
-
}
|
|
2716
|
-
${ValueDetailsFragmentDoc}`;
|
|
2717
|
-
/**
|
|
2718
|
-
* __useRunActionsListAndFormatOnValueQuery__
|
|
2719
|
-
*
|
|
2720
|
-
* To run a query within a React component, call `useRunActionsListAndFormatOnValueQuery` and pass it any options that fit your needs.
|
|
2721
|
-
* When your component renders, `useRunActionsListAndFormatOnValueQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2722
|
-
* you can use to render your UI.
|
|
2723
|
-
*
|
|
2724
|
-
* @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;
|
|
2725
|
-
*
|
|
2726
|
-
* @example
|
|
2727
|
-
* const { data, loading, error } = useRunActionsListAndFormatOnValueQuery({
|
|
2728
|
-
* variables: {
|
|
2729
|
-
* library: // value for 'library'
|
|
2730
|
-
* value: // value for 'value'
|
|
2731
|
-
* version: // value for 'version'
|
|
2732
|
-
* },
|
|
2733
|
-
* });
|
|
2734
|
-
*/
|
|
2735
|
-
export function useRunActionsListAndFormatOnValueQuery(baseOptions) {
|
|
2736
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2737
|
-
return Apollo.useQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2738
|
-
}
|
|
2739
|
-
export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
2740
|
-
const options = { ...defaultOptions, ...baseOptions };
|
|
2741
|
-
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2742
|
-
}
|
|
2743
2937
|
export const SaveValueBatchDocument = gql `
|
|
2744
2938
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2745
2939
|
saveValueBatch(
|
|
@@ -2846,6 +3040,10 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2846
3040
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2847
3041
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
2848
3042
|
}
|
|
3043
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3044
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3045
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3046
|
+
}
|
|
2849
3047
|
export const GetViewsListDocument = gql `
|
|
2850
3048
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2851
3049
|
views(library: $libraryId) {
|
|
@@ -2880,6 +3078,10 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2880
3078
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2881
3079
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
2882
3080
|
}
|
|
3081
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3082
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3083
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3084
|
+
}
|
|
2883
3085
|
export const SaveViewDocument = gql `
|
|
2884
3086
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
2885
3087
|
saveView(view: $view) {
|
|
@@ -2941,6 +3143,10 @@ export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
|
2941
3143
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2942
3144
|
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
2943
3145
|
}
|
|
3146
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3147
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3148
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3149
|
+
}
|
|
2944
3150
|
export const ExplorerAttributesDocument = gql `
|
|
2945
3151
|
query ExplorerAttributes($ids: [ID!]) {
|
|
2946
3152
|
attributes(filters: {ids: $ids}) {
|
|
@@ -2981,6 +3187,10 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
2981
3187
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2982
3188
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
2983
3189
|
}
|
|
3190
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3191
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3192
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3193
|
+
}
|
|
2984
3194
|
export const ExplorerLinkAttributeDocument = gql `
|
|
2985
3195
|
query ExplorerLinkAttribute($id: ID!) {
|
|
2986
3196
|
attributes(filters: {ids: [$id]}) {
|
|
@@ -3020,6 +3230,10 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
3020
3230
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3021
3231
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
3022
3232
|
}
|
|
3233
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3234
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3235
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3236
|
+
}
|
|
3023
3237
|
export const ExplorerLibraryDataDocument = gql `
|
|
3024
3238
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
3025
3239
|
records(
|
|
@@ -3081,6 +3295,10 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
3081
3295
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3082
3296
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
3083
3297
|
}
|
|
3298
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3299
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3300
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3301
|
+
}
|
|
3084
3302
|
export const ExplorerLinkDataDocument = gql `
|
|
3085
3303
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
3086
3304
|
records(
|
|
@@ -3129,6 +3347,10 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
3129
3347
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3130
3348
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
3131
3349
|
}
|
|
3350
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3351
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3352
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3353
|
+
}
|
|
3132
3354
|
export const GetLibraryAttributesDocument = gql `
|
|
3133
3355
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3134
3356
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3165,6 +3387,10 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
3165
3387
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3166
3388
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
3167
3389
|
}
|
|
3390
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3391
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3392
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3393
|
+
}
|
|
3168
3394
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3169
3395
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3170
3396
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3200,6 +3426,10 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3200
3426
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3201
3427
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3202
3428
|
}
|
|
3429
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3430
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3431
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3432
|
+
}
|
|
3203
3433
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3204
3434
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3205
3435
|
records(library: $libraryId, filters: $filters) {
|
|
@@ -3234,6 +3464,10 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3234
3464
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3235
3465
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3236
3466
|
}
|
|
3467
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3468
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3469
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3470
|
+
}
|
|
3237
3471
|
export const MeDocument = gql `
|
|
3238
3472
|
query Me {
|
|
3239
3473
|
me {
|
|
@@ -3270,6 +3504,10 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3270
3504
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3271
3505
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3272
3506
|
}
|
|
3507
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3508
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3509
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3510
|
+
}
|
|
3273
3511
|
export const UpdateViewDocument = gql `
|
|
3274
3512
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3275
3513
|
updateView(view: $view) {
|
|
@@ -3332,4 +3570,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3332
3570
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3333
3571
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3334
3572
|
}
|
|
3573
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3574
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3575
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3576
|
+
}
|
|
3335
3577
|
//# sourceMappingURL=index.js.map
|