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