@leav/ui 0.4.0-72d37f7 → 0.4.0-7a3b9e94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/__mocks__/common/form.d.ts +632 -0
- package/dist/__mocks__/common/form.js +27 -22
- package/dist/__mocks__/common/form.js.map +1 -1
- package/dist/_gqlTypes/index.d.ts +3181 -2089
- package/dist/_gqlTypes/index.js +1529 -1246
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/records/getRecordFormQuery.js +10 -5
- package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js +12 -2
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/components/Explorer/DataView.js +4 -4
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/Explorer.d.ts +4 -1
- package/dist/components/Explorer/Explorer.js +3 -2
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerToolbar.d.ts +2 -1
- package/dist/components/Explorer/ExplorerToolbar.js +5 -4
- package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
- package/dist/components/Explorer/_queries/useExplorerData.js +2 -2
- package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
- package/dist/components/Explorer/_types.d.ts +4 -1
- package/dist/components/Explorer/_types.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +3 -1
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -6
- package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +4 -0
- package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
- package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +59 -27
- package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +14 -8
- package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.d.ts +6 -0
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +7 -1
- package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.d.ts +15 -2
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +47 -24
- package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.d.ts +13 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js +119 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useFetchVisibleFormValue.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +12 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +39 -0
- package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +3 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +25 -5
- package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +9 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.d.ts +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +109 -13
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.d.ts +0 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +63 -72
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +24 -19
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/{useDisplayTreeNode.d.ts → TreeNodeList.d.ts} +4 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +5 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +16 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +12 -13
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +3 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +46 -55
- 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 +3 -3
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +8 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +6 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +5 -1
- package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
- package/dist/components/RecordEdition/index.d.ts +1 -0
- package/dist/components/RecordEdition/index.js +1 -0
- package/dist/components/RecordEdition/index.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +2 -2
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +5 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js +2 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +3 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +18 -23
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/components/SelectTreeNode/_types.d.ts +17 -0
- package/dist/components/SelectTreeNode/_types.js +2 -0
- package/dist/components/SelectTreeNode/_types.js.map +1 -0
- package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.d.ts → SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts} +1 -1
- package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.js → SelectTreeNodeModalOld/SelectTreeNodeModalOld.js} +4 -2
- package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
- package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
- package/dist/components/{SelectTreeNodeModal → SelectTreeNodeModalOld}/index.js +1 -1
- package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
- package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +2 -1
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js +2 -13
- package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +2 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +3 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +21 -0
- package/dist/hooks/useIFrameMessenger/schema.js +76 -0
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/types.d.ts +31 -5
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +9 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +51 -20
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +7 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +13 -0
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js +6 -0
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js +13 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -0
- package/package.json +22 -6
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.d.ts +0 -3
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js +0 -7
- package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +0 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js +0 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
- package/dist/components/SelectTreeNodeModal/index.d.ts +0 -1
- package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -141,7 +141,6 @@ export var LogAction;
|
|
|
141
141
|
LogAction["PERMISSION_SAVE"] = "PERMISSION_SAVE";
|
|
142
142
|
LogAction["RECORD_DELETE"] = "RECORD_DELETE";
|
|
143
143
|
LogAction["RECORD_SAVE"] = "RECORD_SAVE";
|
|
144
|
-
LogAction["SDO_LOG_EXPORT_RECORD"] = "SDO_LOG_EXPORT_RECORD";
|
|
145
144
|
LogAction["TASKS_DELETE"] = "TASKS_DELETE";
|
|
146
145
|
LogAction["TREE_ADD_ELEMENT"] = "TREE_ADD_ELEMENT";
|
|
147
146
|
LogAction["TREE_DELETE"] = "TREE_DELETE";
|
|
@@ -269,6 +268,13 @@ export var RecordFilterOperator;
|
|
|
269
268
|
RecordFilterOperator["OPEN_BRACKET"] = "OPEN_BRACKET";
|
|
270
269
|
RecordFilterOperator["OR"] = "OR";
|
|
271
270
|
})(RecordFilterOperator || (RecordFilterOperator = {}));
|
|
271
|
+
export var RecordPermissionsActions;
|
|
272
|
+
(function (RecordPermissionsActions) {
|
|
273
|
+
RecordPermissionsActions["access_record"] = "access_record";
|
|
274
|
+
RecordPermissionsActions["create_record"] = "create_record";
|
|
275
|
+
RecordPermissionsActions["delete_record"] = "delete_record";
|
|
276
|
+
RecordPermissionsActions["edit_record"] = "edit_record";
|
|
277
|
+
})(RecordPermissionsActions || (RecordPermissionsActions = {}));
|
|
272
278
|
export var SortOrder;
|
|
273
279
|
(function (SortOrder) {
|
|
274
280
|
SortOrder["asc"] = "asc";
|
|
@@ -335,696 +341,711 @@ export var ViewTypes;
|
|
|
335
341
|
})(ViewTypes || (ViewTypes = {}));
|
|
336
342
|
export const RecordIdentityFragmentDoc = gql `
|
|
337
343
|
fragment RecordIdentity on Record {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
}
|
|
351
|
-
|
|
344
|
+
id
|
|
345
|
+
whoAmI {
|
|
346
|
+
id
|
|
347
|
+
label
|
|
348
|
+
subLabel
|
|
349
|
+
color
|
|
350
|
+
library {
|
|
351
|
+
id
|
|
352
|
+
label
|
|
353
|
+
}
|
|
354
|
+
preview
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
`;
|
|
352
358
|
export const DetailsApplicationFragmentDoc = gql `
|
|
353
359
|
fragment DetailsApplication on Application {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
}
|
|
371
|
-
|
|
360
|
+
id
|
|
361
|
+
label
|
|
362
|
+
type
|
|
363
|
+
description
|
|
364
|
+
endpoint
|
|
365
|
+
url
|
|
366
|
+
color
|
|
367
|
+
icon {
|
|
368
|
+
...RecordIdentity
|
|
369
|
+
}
|
|
370
|
+
module
|
|
371
|
+
permissions {
|
|
372
|
+
access_application
|
|
373
|
+
admin_application
|
|
374
|
+
}
|
|
375
|
+
settings
|
|
376
|
+
}
|
|
377
|
+
${RecordIdentityFragmentDoc}`;
|
|
372
378
|
export const AttributeDetailsFragmentDoc = gql `
|
|
373
379
|
fragment AttributeDetails on Attribute {
|
|
374
|
-
id
|
|
375
|
-
type
|
|
376
|
-
format
|
|
377
|
-
system
|
|
378
|
-
readonly
|
|
379
|
-
label
|
|
380
|
-
description
|
|
381
|
-
multiple_values
|
|
382
|
-
multi_link_display_option
|
|
383
|
-
metadata_fields {
|
|
384
|
-
id
|
|
385
|
-
label
|
|
386
|
-
type
|
|
387
|
-
format
|
|
388
|
-
}
|
|
389
|
-
versions_conf {
|
|
390
|
-
versionable
|
|
391
|
-
mode
|
|
392
|
-
profile {
|
|
393
|
-
id
|
|
394
|
-
label
|
|
395
|
-
trees {
|
|
396
380
|
id
|
|
381
|
+
type
|
|
382
|
+
format
|
|
383
|
+
system
|
|
384
|
+
readonly
|
|
397
385
|
label
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
386
|
+
description
|
|
387
|
+
multiple_values
|
|
388
|
+
multi_link_display_option
|
|
389
|
+
metadata_fields {
|
|
390
|
+
id
|
|
391
|
+
label
|
|
392
|
+
type
|
|
393
|
+
format
|
|
394
|
+
}
|
|
395
|
+
versions_conf {
|
|
396
|
+
versionable
|
|
397
|
+
mode
|
|
398
|
+
profile {
|
|
399
|
+
id
|
|
400
|
+
label
|
|
401
|
+
trees {
|
|
402
|
+
id
|
|
403
|
+
label
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
libraries {
|
|
408
|
+
id
|
|
409
|
+
label
|
|
410
|
+
}
|
|
411
|
+
... on StandardAttribute {
|
|
412
|
+
unique
|
|
413
|
+
}
|
|
414
|
+
... on LinkAttribute {
|
|
415
|
+
linked_library {
|
|
416
|
+
id
|
|
417
|
+
label
|
|
418
|
+
}
|
|
419
|
+
reverse_link
|
|
420
|
+
}
|
|
421
|
+
... on TreeAttribute {
|
|
422
|
+
linked_tree {
|
|
423
|
+
id
|
|
424
|
+
label
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
`;
|
|
423
429
|
export const AttributesByLibLinkAttributeFragmentDoc = gql `
|
|
424
430
|
fragment AttributesByLibLinkAttribute on LinkAttribute {
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
}
|
|
429
|
-
|
|
431
|
+
linked_library {
|
|
432
|
+
id
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
`;
|
|
430
436
|
export const AttributesByLibAttributeFragmentDoc = gql `
|
|
431
437
|
fragment AttributesByLibAttribute on Attribute {
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
}
|
|
460
|
-
|
|
438
|
+
id
|
|
439
|
+
type
|
|
440
|
+
format
|
|
441
|
+
label
|
|
442
|
+
multiple_values
|
|
443
|
+
system
|
|
444
|
+
readonly
|
|
445
|
+
...AttributesByLibLinkAttribute
|
|
446
|
+
... on TreeAttribute {
|
|
447
|
+
linked_tree {
|
|
448
|
+
id
|
|
449
|
+
label
|
|
450
|
+
libraries {
|
|
451
|
+
library {
|
|
452
|
+
id
|
|
453
|
+
label
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
... on StandardAttribute {
|
|
459
|
+
embedded_fields {
|
|
460
|
+
id
|
|
461
|
+
format
|
|
462
|
+
label
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
${AttributesByLibLinkAttributeFragmentDoc}`;
|
|
467
|
+
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
468
|
+
fragment ValuesVersionDetails on ValueVersion {
|
|
469
|
+
treeId
|
|
470
|
+
treeNode {
|
|
471
|
+
id
|
|
472
|
+
record {
|
|
473
|
+
id
|
|
474
|
+
whoAmI {
|
|
475
|
+
id
|
|
476
|
+
label
|
|
477
|
+
library {
|
|
478
|
+
id
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
`;
|
|
485
|
+
export const ValueDetailsFragmentDoc = gql `
|
|
486
|
+
fragment ValueDetails on GenericValue {
|
|
487
|
+
id_value
|
|
488
|
+
isInherited
|
|
489
|
+
isCalculated
|
|
490
|
+
modified_at
|
|
491
|
+
modified_by {
|
|
492
|
+
...RecordIdentity
|
|
493
|
+
}
|
|
494
|
+
created_at
|
|
495
|
+
created_by {
|
|
496
|
+
...RecordIdentity
|
|
497
|
+
}
|
|
498
|
+
version {
|
|
499
|
+
...ValuesVersionDetails
|
|
500
|
+
}
|
|
501
|
+
attribute {
|
|
502
|
+
id
|
|
503
|
+
format
|
|
504
|
+
type
|
|
505
|
+
system
|
|
506
|
+
}
|
|
507
|
+
metadata {
|
|
508
|
+
name
|
|
509
|
+
value {
|
|
510
|
+
id_value
|
|
511
|
+
modified_at
|
|
512
|
+
modified_by {
|
|
513
|
+
...RecordIdentity
|
|
514
|
+
}
|
|
515
|
+
created_at
|
|
516
|
+
created_by {
|
|
517
|
+
...RecordIdentity
|
|
518
|
+
}
|
|
519
|
+
version {
|
|
520
|
+
...ValuesVersionDetails
|
|
521
|
+
}
|
|
522
|
+
payload
|
|
523
|
+
raw_payload
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
... on Value {
|
|
527
|
+
payload
|
|
528
|
+
raw_payload
|
|
529
|
+
value
|
|
530
|
+
raw_value
|
|
531
|
+
}
|
|
532
|
+
... on LinkValue {
|
|
533
|
+
linkValue: payload {
|
|
534
|
+
...RecordIdentity
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
... on TreeValue {
|
|
538
|
+
treeValue: payload {
|
|
539
|
+
id
|
|
540
|
+
record {
|
|
541
|
+
...RecordIdentity
|
|
542
|
+
}
|
|
543
|
+
ancestors {
|
|
544
|
+
record {
|
|
545
|
+
...RecordIdentity
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
${RecordIdentityFragmentDoc}
|
|
552
|
+
${ValuesVersionDetailsFragmentDoc}`;
|
|
553
|
+
export const RecordFormElementValuesFragmentDoc = gql `
|
|
554
|
+
fragment RecordFormElementValues on FormElementValues {
|
|
555
|
+
id
|
|
556
|
+
valueError
|
|
557
|
+
values {
|
|
558
|
+
...ValueDetails
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
${ValueDetailsFragmentDoc}`;
|
|
461
562
|
export const LibraryLightFragmentDoc = gql `
|
|
462
563
|
fragment LibraryLight on Library {
|
|
463
|
-
id
|
|
464
|
-
label
|
|
465
|
-
icon {
|
|
466
|
-
id
|
|
467
|
-
whoAmI {
|
|
468
|
-
id
|
|
469
|
-
library {
|
|
470
564
|
id
|
|
471
|
-
|
|
472
|
-
|
|
565
|
+
label
|
|
566
|
+
icon {
|
|
567
|
+
id
|
|
568
|
+
whoAmI {
|
|
569
|
+
id
|
|
570
|
+
library {
|
|
571
|
+
id
|
|
572
|
+
}
|
|
573
|
+
preview
|
|
574
|
+
}
|
|
575
|
+
}
|
|
473
576
|
}
|
|
474
|
-
|
|
475
|
-
}
|
|
476
|
-
`;
|
|
577
|
+
`;
|
|
477
578
|
export const LibraryLinkAttributeDetailsFragmentDoc = gql `
|
|
478
579
|
fragment LibraryLinkAttributeDetails on LinkAttribute {
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
}
|
|
484
|
-
|
|
580
|
+
linked_library {
|
|
581
|
+
id
|
|
582
|
+
behavior
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
`;
|
|
485
586
|
export const LibraryAttributesFragmentDoc = gql `
|
|
486
587
|
fragment LibraryAttributes on Attribute {
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
}
|
|
494
|
-
|
|
588
|
+
id
|
|
589
|
+
label
|
|
590
|
+
system
|
|
591
|
+
type
|
|
592
|
+
format
|
|
593
|
+
...LibraryLinkAttributeDetails
|
|
594
|
+
}
|
|
595
|
+
${LibraryLinkAttributeDetailsFragmentDoc}`;
|
|
495
596
|
export const LibraryPreviewsSettingsFragmentDoc = gql `
|
|
496
597
|
fragment LibraryPreviewsSettings on LibraryPreviewsSettings {
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
}
|
|
509
|
-
|
|
598
|
+
label
|
|
599
|
+
description
|
|
600
|
+
system
|
|
601
|
+
versions {
|
|
602
|
+
background
|
|
603
|
+
density
|
|
604
|
+
sizes {
|
|
605
|
+
name
|
|
606
|
+
size
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
`;
|
|
510
611
|
export const LibraryDetailsFragmentDoc = gql `
|
|
511
612
|
fragment LibraryDetails on Library {
|
|
512
|
-
id
|
|
513
|
-
label
|
|
514
|
-
behavior
|
|
515
|
-
system
|
|
516
|
-
label
|
|
517
|
-
fullTextAttributes {
|
|
518
|
-
id
|
|
519
|
-
label
|
|
520
|
-
}
|
|
521
|
-
attributes {
|
|
522
|
-
...LibraryAttributes
|
|
523
|
-
}
|
|
524
|
-
permissions_conf {
|
|
525
|
-
permissionTreeAttributes {
|
|
526
|
-
id
|
|
527
|
-
... on TreeAttribute {
|
|
528
|
-
linked_tree {
|
|
529
|
-
id
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
label
|
|
533
|
-
}
|
|
534
|
-
relation
|
|
535
|
-
}
|
|
536
|
-
recordIdentityConf {
|
|
537
|
-
label
|
|
538
|
-
subLabel
|
|
539
|
-
color
|
|
540
|
-
preview
|
|
541
|
-
treeColorPreview
|
|
542
|
-
}
|
|
543
|
-
permissions {
|
|
544
|
-
admin_library
|
|
545
|
-
access_library
|
|
546
|
-
access_record
|
|
547
|
-
create_record
|
|
548
|
-
edit_record
|
|
549
|
-
delete_record
|
|
550
|
-
}
|
|
551
|
-
icon {
|
|
552
|
-
...RecordIdentity
|
|
553
|
-
}
|
|
554
|
-
previewsSettings {
|
|
555
|
-
...LibraryPreviewsSettings
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
${LibraryAttributesFragmentDoc}
|
|
559
|
-
${RecordIdentityFragmentDoc}
|
|
560
|
-
${LibraryPreviewsSettingsFragmentDoc}`;
|
|
561
|
-
export const ValuesVersionDetailsFragmentDoc = gql `
|
|
562
|
-
fragment ValuesVersionDetails on ValueVersion {
|
|
563
|
-
treeId
|
|
564
|
-
treeNode {
|
|
565
|
-
id
|
|
566
|
-
record {
|
|
567
|
-
id
|
|
568
|
-
whoAmI {
|
|
569
613
|
id
|
|
570
614
|
label
|
|
571
|
-
|
|
572
|
-
|
|
615
|
+
behavior
|
|
616
|
+
system
|
|
617
|
+
label
|
|
618
|
+
fullTextAttributes {
|
|
619
|
+
id
|
|
620
|
+
label
|
|
573
621
|
}
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
created_at
|
|
610
|
-
created_by {
|
|
611
|
-
...RecordIdentity
|
|
612
|
-
}
|
|
613
|
-
version {
|
|
614
|
-
...ValuesVersionDetails
|
|
615
|
-
}
|
|
616
|
-
payload
|
|
617
|
-
raw_payload
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
... on Value {
|
|
621
|
-
payload
|
|
622
|
-
raw_payload
|
|
623
|
-
value
|
|
624
|
-
raw_value
|
|
625
|
-
}
|
|
626
|
-
... on LinkValue {
|
|
627
|
-
linkValue: payload {
|
|
628
|
-
...RecordIdentity
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
... on TreeValue {
|
|
632
|
-
treeValue: payload {
|
|
633
|
-
id
|
|
634
|
-
record {
|
|
635
|
-
...RecordIdentity
|
|
636
|
-
}
|
|
637
|
-
ancestors {
|
|
638
|
-
record {
|
|
639
|
-
...RecordIdentity
|
|
622
|
+
attributes {
|
|
623
|
+
...LibraryAttributes
|
|
624
|
+
}
|
|
625
|
+
permissions_conf {
|
|
626
|
+
permissionTreeAttributes {
|
|
627
|
+
id
|
|
628
|
+
... on TreeAttribute {
|
|
629
|
+
linked_tree {
|
|
630
|
+
id
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
label
|
|
634
|
+
}
|
|
635
|
+
relation
|
|
636
|
+
}
|
|
637
|
+
recordIdentityConf {
|
|
638
|
+
label
|
|
639
|
+
subLabel
|
|
640
|
+
color
|
|
641
|
+
preview
|
|
642
|
+
treeColorPreview
|
|
643
|
+
}
|
|
644
|
+
permissions {
|
|
645
|
+
admin_library
|
|
646
|
+
access_library
|
|
647
|
+
access_record
|
|
648
|
+
create_record
|
|
649
|
+
edit_record
|
|
650
|
+
delete_record
|
|
651
|
+
}
|
|
652
|
+
icon {
|
|
653
|
+
...RecordIdentity
|
|
654
|
+
}
|
|
655
|
+
previewsSettings {
|
|
656
|
+
...LibraryPreviewsSettings
|
|
640
657
|
}
|
|
641
|
-
}
|
|
642
658
|
}
|
|
643
|
-
|
|
644
|
-
}
|
|
659
|
+
${LibraryAttributesFragmentDoc}
|
|
645
660
|
${RecordIdentityFragmentDoc}
|
|
646
|
-
${
|
|
661
|
+
${LibraryPreviewsSettingsFragmentDoc}`;
|
|
647
662
|
export const StandardValuesListFragmentFragmentDoc = gql `
|
|
648
663
|
fragment StandardValuesListFragment on StandardValuesListConf {
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
}
|
|
665
|
-
|
|
664
|
+
... on StandardStringValuesListConf {
|
|
665
|
+
enable
|
|
666
|
+
allowFreeEntry
|
|
667
|
+
allowListUpdate
|
|
668
|
+
values
|
|
669
|
+
}
|
|
670
|
+
... on StandardDateRangeValuesListConf {
|
|
671
|
+
enable
|
|
672
|
+
allowFreeEntry
|
|
673
|
+
allowListUpdate
|
|
674
|
+
dateRangeValues: values {
|
|
675
|
+
from
|
|
676
|
+
to
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
`;
|
|
666
681
|
export const RecordFormAttributeFragmentDoc = gql `
|
|
667
682
|
fragment RecordFormAttribute on Attribute {
|
|
668
|
-
id
|
|
669
|
-
label
|
|
670
|
-
description
|
|
671
|
-
type
|
|
672
|
-
format
|
|
673
|
-
system
|
|
674
|
-
readonly
|
|
675
|
-
required
|
|
676
|
-
multiple_values
|
|
677
|
-
compute
|
|
678
|
-
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
679
|
-
access_attribute
|
|
680
|
-
edit_value
|
|
681
|
-
}
|
|
682
|
-
versions_conf {
|
|
683
|
-
versionable
|
|
684
|
-
profile {
|
|
685
|
-
id
|
|
686
|
-
trees {
|
|
687
683
|
id
|
|
688
684
|
label
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
multiple_values
|
|
701
|
-
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
702
|
-
access_attribute
|
|
703
|
-
edit_value
|
|
704
|
-
}
|
|
705
|
-
values_list {
|
|
706
|
-
...StandardValuesListFragment
|
|
707
|
-
}
|
|
708
|
-
metadata_fields {
|
|
709
|
-
id
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
... on StandardAttribute {
|
|
713
|
-
values_list {
|
|
714
|
-
...StandardValuesListFragment
|
|
715
|
-
}
|
|
716
|
-
character_limit
|
|
717
|
-
}
|
|
718
|
-
... on LinkAttribute {
|
|
719
|
-
linked_library {
|
|
720
|
-
id
|
|
721
|
-
label
|
|
722
|
-
behavior
|
|
723
|
-
permissions {
|
|
724
|
-
create_record
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
linkValuesList: values_list {
|
|
728
|
-
enable
|
|
729
|
-
allowFreeEntry
|
|
730
|
-
allowListUpdate
|
|
731
|
-
values {
|
|
732
|
-
...RecordIdentity
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
... on TreeAttribute {
|
|
737
|
-
linked_tree {
|
|
738
|
-
id
|
|
739
|
-
label
|
|
740
|
-
}
|
|
741
|
-
treeValuesList: values_list {
|
|
742
|
-
enable
|
|
743
|
-
allowFreeEntry
|
|
744
|
-
allowListUpdate
|
|
745
|
-
values {
|
|
746
|
-
id
|
|
747
|
-
record {
|
|
748
|
-
...RecordIdentity
|
|
685
|
+
description
|
|
686
|
+
type
|
|
687
|
+
format
|
|
688
|
+
system
|
|
689
|
+
readonly
|
|
690
|
+
required
|
|
691
|
+
multiple_values
|
|
692
|
+
compute
|
|
693
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
694
|
+
access_attribute
|
|
695
|
+
edit_value
|
|
749
696
|
}
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
697
|
+
versions_conf {
|
|
698
|
+
versionable
|
|
699
|
+
profile {
|
|
700
|
+
id
|
|
701
|
+
trees {
|
|
702
|
+
id
|
|
703
|
+
label
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
metadata_fields {
|
|
708
|
+
id
|
|
709
|
+
label
|
|
710
|
+
description
|
|
711
|
+
type
|
|
712
|
+
format
|
|
713
|
+
system
|
|
714
|
+
readonly
|
|
715
|
+
multiple_values
|
|
716
|
+
permissions(record: {id: $recordId, library: $libraryId}) {
|
|
717
|
+
access_attribute
|
|
718
|
+
edit_value
|
|
719
|
+
}
|
|
720
|
+
values_list {
|
|
721
|
+
...StandardValuesListFragment
|
|
722
|
+
}
|
|
723
|
+
metadata_fields {
|
|
724
|
+
id
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
... on StandardAttribute {
|
|
728
|
+
values_list {
|
|
729
|
+
...StandardValuesListFragment
|
|
730
|
+
}
|
|
731
|
+
character_limit
|
|
732
|
+
}
|
|
733
|
+
... on LinkAttribute {
|
|
734
|
+
linked_library {
|
|
735
|
+
id
|
|
736
|
+
label
|
|
737
|
+
behavior
|
|
738
|
+
permissions {
|
|
739
|
+
create_record
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
linkValuesList: values_list {
|
|
743
|
+
enable
|
|
744
|
+
allowFreeEntry
|
|
745
|
+
allowListUpdate
|
|
746
|
+
values {
|
|
747
|
+
...RecordIdentity
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
... on TreeAttribute {
|
|
752
|
+
linked_tree {
|
|
753
|
+
id
|
|
754
|
+
label
|
|
755
|
+
}
|
|
756
|
+
treeValuesList: values_list {
|
|
757
|
+
enable
|
|
758
|
+
allowFreeEntry
|
|
759
|
+
allowListUpdate
|
|
760
|
+
values {
|
|
761
|
+
id
|
|
762
|
+
record {
|
|
763
|
+
...RecordIdentity
|
|
764
|
+
}
|
|
765
|
+
ancestors {
|
|
766
|
+
record {
|
|
767
|
+
...RecordIdentity
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
}
|
|
754
772
|
}
|
|
755
|
-
}
|
|
756
773
|
}
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
774
|
${StandardValuesListFragmentFragmentDoc}
|
|
760
775
|
${RecordIdentityFragmentDoc}`;
|
|
761
|
-
export const
|
|
762
|
-
fragment
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
valueError
|
|
768
|
-
values {
|
|
769
|
-
...ValueDetails
|
|
770
|
-
}
|
|
771
|
-
attribute {
|
|
772
|
-
...RecordFormAttribute
|
|
773
|
-
}
|
|
774
|
-
settings {
|
|
775
|
-
key
|
|
776
|
-
value
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
${ValueDetailsFragmentDoc}
|
|
776
|
+
export const JoinLibraryContextFragmentDoc = gql `
|
|
777
|
+
fragment JoinLibraryContext on FormElementJoinLibraryContext {
|
|
778
|
+
mandatoryAttribute {
|
|
779
|
+
...RecordFormAttribute
|
|
780
|
+
}
|
|
781
|
+
}
|
|
780
782
|
${RecordFormAttributeFragmentDoc}`;
|
|
783
|
+
export const RecordFormElementFragmentDoc = gql `
|
|
784
|
+
fragment RecordFormElement on FormElement {
|
|
785
|
+
id
|
|
786
|
+
containerId
|
|
787
|
+
uiElementType
|
|
788
|
+
type
|
|
789
|
+
attribute {
|
|
790
|
+
...RecordFormAttribute
|
|
791
|
+
}
|
|
792
|
+
settings {
|
|
793
|
+
key
|
|
794
|
+
value
|
|
795
|
+
}
|
|
796
|
+
joinLibraryContext {
|
|
797
|
+
...JoinLibraryContext
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
${RecordFormAttributeFragmentDoc}
|
|
801
|
+
${JoinLibraryContextFragmentDoc}`;
|
|
781
802
|
export const TreeLightFragmentDoc = gql `
|
|
782
803
|
fragment TreeLight on Tree {
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
}
|
|
786
|
-
|
|
804
|
+
id
|
|
805
|
+
label
|
|
806
|
+
}
|
|
807
|
+
`;
|
|
787
808
|
export const TreeDetailsFragmentDoc = gql `
|
|
788
809
|
fragment TreeDetails on Tree {
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
}
|
|
805
|
-
|
|
810
|
+
id
|
|
811
|
+
label
|
|
812
|
+
behavior
|
|
813
|
+
system
|
|
814
|
+
libraries {
|
|
815
|
+
library {
|
|
816
|
+
id
|
|
817
|
+
label
|
|
818
|
+
}
|
|
819
|
+
settings {
|
|
820
|
+
allowMultiplePositions
|
|
821
|
+
allowedAtRoot
|
|
822
|
+
allowedChildren
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
`;
|
|
806
827
|
export const TreeNodeChildFragmentDoc = gql `
|
|
807
828
|
fragment TreeNodeChild on TreeNodeLight {
|
|
808
|
-
id
|
|
809
|
-
order
|
|
810
|
-
childrenCount
|
|
811
|
-
record {
|
|
812
|
-
...RecordIdentity
|
|
813
|
-
active: property(attribute: "active") {
|
|
814
|
-
... on Value {
|
|
815
|
-
value
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
ancestors {
|
|
820
|
-
id
|
|
821
|
-
record {
|
|
822
|
-
id
|
|
823
|
-
library {
|
|
824
829
|
id
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
830
|
+
order
|
|
831
|
+
childrenCount
|
|
832
|
+
record {
|
|
833
|
+
...RecordIdentity
|
|
834
|
+
active: property(attribute: "active") {
|
|
835
|
+
... on Value {
|
|
836
|
+
value
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
ancestors {
|
|
841
|
+
id
|
|
842
|
+
record {
|
|
843
|
+
id
|
|
844
|
+
library {
|
|
845
|
+
id
|
|
846
|
+
label
|
|
847
|
+
}
|
|
848
|
+
...RecordIdentity
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
permissions {
|
|
852
|
+
access_tree
|
|
853
|
+
detach
|
|
854
|
+
edit_children
|
|
855
|
+
}
|
|
828
856
|
}
|
|
829
|
-
|
|
830
|
-
permissions {
|
|
831
|
-
access_tree
|
|
832
|
-
detach
|
|
833
|
-
edit_children
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
${RecordIdentityFragmentDoc}`;
|
|
857
|
+
${RecordIdentityFragmentDoc}`;
|
|
837
858
|
export const ViewDetailsFilterFragmentDoc = gql `
|
|
838
859
|
fragment ViewDetailsFilter on RecordFilter {
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
}
|
|
848
|
-
|
|
860
|
+
field
|
|
861
|
+
value
|
|
862
|
+
tree {
|
|
863
|
+
id
|
|
864
|
+
label
|
|
865
|
+
}
|
|
866
|
+
condition
|
|
867
|
+
operator
|
|
868
|
+
}
|
|
869
|
+
`;
|
|
849
870
|
export const ViewDetailsFragmentDoc = gql `
|
|
850
871
|
fragment ViewDetails on View {
|
|
851
|
-
id
|
|
852
|
-
display {
|
|
853
|
-
size
|
|
854
|
-
type
|
|
855
|
-
}
|
|
856
|
-
shared
|
|
857
|
-
created_by {
|
|
858
|
-
id
|
|
859
|
-
whoAmI {
|
|
860
|
-
id
|
|
861
|
-
label
|
|
862
|
-
library {
|
|
863
872
|
id
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
873
|
+
display {
|
|
874
|
+
size
|
|
875
|
+
type
|
|
876
|
+
}
|
|
877
|
+
shared
|
|
878
|
+
created_by {
|
|
879
|
+
id
|
|
880
|
+
whoAmI {
|
|
881
|
+
id
|
|
882
|
+
label
|
|
883
|
+
library {
|
|
884
|
+
id
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
label
|
|
889
|
+
description
|
|
890
|
+
color
|
|
891
|
+
filters {
|
|
892
|
+
...ViewDetailsFilter
|
|
893
|
+
}
|
|
894
|
+
sort {
|
|
895
|
+
field
|
|
896
|
+
order
|
|
897
|
+
}
|
|
898
|
+
valuesVersions {
|
|
899
|
+
treeId
|
|
900
|
+
treeNode {
|
|
901
|
+
id
|
|
902
|
+
record {
|
|
903
|
+
...RecordIdentity
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
attributes {
|
|
908
|
+
id
|
|
909
|
+
}
|
|
910
|
+
}
|
|
890
911
|
${ViewDetailsFilterFragmentDoc}
|
|
891
912
|
${RecordIdentityFragmentDoc}`;
|
|
892
913
|
export const AttributesByLibLinkAttributeWithPermissionsFragmentDoc = gql `
|
|
893
914
|
fragment AttributesByLibLinkAttributeWithPermissions on LinkAttribute {
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
}
|
|
898
|
-
|
|
915
|
+
linked_library {
|
|
916
|
+
id
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
`;
|
|
899
920
|
export const AttributesByLibAttributeWithPermissionsFragmentDoc = gql `
|
|
900
921
|
fragment AttributesByLibAttributeWithPermissions on Attribute {
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
}
|
|
932
|
-
|
|
922
|
+
id
|
|
923
|
+
type
|
|
924
|
+
format
|
|
925
|
+
label
|
|
926
|
+
multiple_values
|
|
927
|
+
system
|
|
928
|
+
readonly
|
|
929
|
+
permissions {
|
|
930
|
+
access_attribute
|
|
931
|
+
}
|
|
932
|
+
...AttributesByLibLinkAttributeWithPermissions
|
|
933
|
+
... on TreeAttribute {
|
|
934
|
+
linked_tree {
|
|
935
|
+
id
|
|
936
|
+
label
|
|
937
|
+
libraries {
|
|
938
|
+
library {
|
|
939
|
+
id
|
|
940
|
+
label
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
... on StandardAttribute {
|
|
946
|
+
embedded_fields {
|
|
947
|
+
id
|
|
948
|
+
format
|
|
949
|
+
label
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
${AttributesByLibLinkAttributeWithPermissionsFragmentDoc}`;
|
|
933
954
|
export const LinkAttributeDetailsFragmentDoc = gql `
|
|
934
955
|
fragment LinkAttributeDetails on LinkAttribute {
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
}
|
|
941
|
-
|
|
956
|
+
label
|
|
957
|
+
linked_library {
|
|
958
|
+
id
|
|
959
|
+
label
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
`;
|
|
942
963
|
export const AttributePropertiesFragmentDoc = gql `
|
|
943
964
|
fragment AttributeProperties on Attribute {
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
}
|
|
951
|
-
|
|
965
|
+
id
|
|
966
|
+
label
|
|
967
|
+
type
|
|
968
|
+
format
|
|
969
|
+
multiple_values
|
|
970
|
+
multi_link_display_option
|
|
971
|
+
}
|
|
972
|
+
`;
|
|
952
973
|
export const PropertyValueFragmentDoc = gql `
|
|
953
974
|
fragment PropertyValue on GenericValue {
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
}
|
|
971
|
-
|
|
975
|
+
... on Value {
|
|
976
|
+
valuePayload: payload
|
|
977
|
+
valueRawPayload: raw_payload
|
|
978
|
+
}
|
|
979
|
+
... on LinkValue {
|
|
980
|
+
linkPayload: payload {
|
|
981
|
+
...RecordIdentity
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
... on TreeValue {
|
|
985
|
+
treePayload: payload {
|
|
986
|
+
record {
|
|
987
|
+
...RecordIdentity
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
${RecordIdentityFragmentDoc}`;
|
|
972
993
|
export const LinkPropertyFragmentDoc = gql `
|
|
973
994
|
fragment LinkProperty on GenericValue {
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
995
|
+
id_value
|
|
996
|
+
... on LinkValue {
|
|
997
|
+
payload {
|
|
998
|
+
...RecordIdentity
|
|
999
|
+
properties(attributeIds: $attributeIds) {
|
|
1000
|
+
attributeId
|
|
1001
|
+
attributeProperties {
|
|
1002
|
+
...AttributeProperties
|
|
1003
|
+
}
|
|
1004
|
+
values {
|
|
1005
|
+
...PropertyValue
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
985
1009
|
}
|
|
986
|
-
}
|
|
987
1010
|
}
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
1011
|
${RecordIdentityFragmentDoc}
|
|
991
|
-
${AttributePropertiesFragmentDoc}
|
|
1012
|
+
${AttributePropertiesFragmentDoc}
|
|
992
1013
|
${PropertyValueFragmentDoc}`;
|
|
993
1014
|
export const LibraryAttributeLinkFragmentDoc = gql `
|
|
994
1015
|
fragment LibraryAttributeLink on LinkAttribute {
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1016
|
+
linked_library {
|
|
1017
|
+
id
|
|
1018
|
+
label
|
|
1019
|
+
attributes {
|
|
1020
|
+
id
|
|
1021
|
+
type
|
|
1022
|
+
format
|
|
1023
|
+
label
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
`;
|
|
1007
1028
|
export const LibraryAttributeFragmentDoc = gql `
|
|
1008
1029
|
fragment LibraryAttribute on Attribute {
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1030
|
+
id
|
|
1031
|
+
type
|
|
1032
|
+
label
|
|
1033
|
+
permissions {
|
|
1034
|
+
access_attribute
|
|
1035
|
+
}
|
|
1036
|
+
... on StandardAttribute {
|
|
1037
|
+
format
|
|
1038
|
+
}
|
|
1039
|
+
...LibraryAttributeLink
|
|
1040
|
+
}
|
|
1041
|
+
${LibraryAttributeLinkFragmentDoc}`;
|
|
1021
1042
|
export const CheckApplicationExistenceDocument = gql `
|
|
1022
1043
|
query CHECK_APPLICATION_EXISTENCE($id: ID, $endpoint: String) {
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1044
|
+
applications(filters: {id: $id, endpoint: $endpoint}) {
|
|
1045
|
+
totalCount
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
`;
|
|
1028
1049
|
/**
|
|
1029
1050
|
* __useCheckApplicationExistenceQuery__
|
|
1030
1051
|
*
|
|
@@ -1050,15 +1071,19 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
1050
1071
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1051
1072
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
1052
1073
|
}
|
|
1074
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1075
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1076
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1077
|
+
}
|
|
1053
1078
|
export const GetApplicationByIdDocument = gql `
|
|
1054
1079
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1080
|
+
applications(filters: {id: $id}) {
|
|
1081
|
+
list {
|
|
1082
|
+
...DetailsApplication
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1058
1085
|
}
|
|
1059
|
-
|
|
1060
|
-
}
|
|
1061
|
-
${DetailsApplicationFragmentDoc}`;
|
|
1086
|
+
${DetailsApplicationFragmentDoc}`;
|
|
1062
1087
|
/**
|
|
1063
1088
|
* __useGetApplicationByIdQuery__
|
|
1064
1089
|
*
|
|
@@ -1083,15 +1108,19 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1083
1108
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1084
1109
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1085
1110
|
}
|
|
1111
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1112
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1113
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1114
|
+
}
|
|
1086
1115
|
export const GetApplicationModulesDocument = gql `
|
|
1087
1116
|
query GET_APPLICATION_MODULES {
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1117
|
+
applicationsModules {
|
|
1118
|
+
id
|
|
1119
|
+
description
|
|
1120
|
+
version
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
`;
|
|
1095
1124
|
/**
|
|
1096
1125
|
* __useGetApplicationModulesQuery__
|
|
1097
1126
|
*
|
|
@@ -1115,13 +1144,17 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1115
1144
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1116
1145
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1117
1146
|
}
|
|
1147
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1148
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1149
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1150
|
+
}
|
|
1118
1151
|
export const SaveApplicationDocument = gql `
|
|
1119
1152
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1153
|
+
saveApplication(application: $application) {
|
|
1154
|
+
...DetailsApplication
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
${DetailsApplicationFragmentDoc}`;
|
|
1125
1158
|
/**
|
|
1126
1159
|
* __useSaveApplicationMutation__
|
|
1127
1160
|
*
|
|
@@ -1145,11 +1178,11 @@ export function useSaveApplicationMutation(baseOptions) {
|
|
|
1145
1178
|
}
|
|
1146
1179
|
export const CheckAttributeExistenceDocument = gql `
|
|
1147
1180
|
query CHECK_ATTRIBUTE_EXISTENCE($id: ID!) {
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1181
|
+
attributes(filters: {id: $id}) {
|
|
1182
|
+
totalCount
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
`;
|
|
1153
1186
|
/**
|
|
1154
1187
|
* __useCheckAttributeExistenceQuery__
|
|
1155
1188
|
*
|
|
@@ -1174,13 +1207,17 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1174
1207
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1175
1208
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1176
1209
|
}
|
|
1210
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1211
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1212
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1213
|
+
}
|
|
1177
1214
|
export const DeleteAttributeDocument = gql `
|
|
1178
1215
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1216
|
+
deleteAttribute(id: $id) {
|
|
1217
|
+
id
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
`;
|
|
1184
1221
|
/**
|
|
1185
1222
|
* __useDeleteAttributeMutation__
|
|
1186
1223
|
*
|
|
@@ -1204,13 +1241,13 @@ export function useDeleteAttributeMutation(baseOptions) {
|
|
|
1204
1241
|
}
|
|
1205
1242
|
export const GetAttributeByIdDocument = gql `
|
|
1206
1243
|
query GET_ATTRIBUTE_BY_ID($id: ID) {
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1244
|
+
attributes(filters: {id: $id}) {
|
|
1245
|
+
list {
|
|
1246
|
+
...AttributeDetails
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1210
1249
|
}
|
|
1211
|
-
|
|
1212
|
-
}
|
|
1213
|
-
${AttributeDetailsFragmentDoc}`;
|
|
1250
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1214
1251
|
/**
|
|
1215
1252
|
* __useGetAttributeByIdQuery__
|
|
1216
1253
|
*
|
|
@@ -1235,15 +1272,19 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1235
1272
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1236
1273
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1237
1274
|
}
|
|
1275
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1276
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1277
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1278
|
+
}
|
|
1238
1279
|
export const GetAttributesByLibDocument = gql `
|
|
1239
1280
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1281
|
+
attributes(filters: {libraries: [$library]}) {
|
|
1282
|
+
list {
|
|
1283
|
+
...AttributesByLibAttribute
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1243
1286
|
}
|
|
1244
|
-
|
|
1245
|
-
}
|
|
1246
|
-
${AttributesByLibAttributeFragmentDoc}`;
|
|
1287
|
+
${AttributesByLibAttributeFragmentDoc}`;
|
|
1247
1288
|
/**
|
|
1248
1289
|
* __useGetAttributesByLibQuery__
|
|
1249
1290
|
*
|
|
@@ -1268,20 +1309,24 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1268
1309
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1269
1310
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1270
1311
|
}
|
|
1312
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1313
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1314
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1315
|
+
}
|
|
1271
1316
|
export const GetAttributesDocument = gql `
|
|
1272
1317
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1318
|
+
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
1319
|
+
totalCount
|
|
1320
|
+
list {
|
|
1321
|
+
id
|
|
1322
|
+
label
|
|
1323
|
+
type
|
|
1324
|
+
format
|
|
1325
|
+
system
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1281
1328
|
}
|
|
1282
|
-
|
|
1283
|
-
}
|
|
1284
|
-
`;
|
|
1329
|
+
`;
|
|
1285
1330
|
/**
|
|
1286
1331
|
* __useGetAttributesQuery__
|
|
1287
1332
|
*
|
|
@@ -1308,16 +1353,20 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1308
1353
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1309
1354
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1310
1355
|
}
|
|
1356
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1357
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1358
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1359
|
+
}
|
|
1311
1360
|
export const GetVersionProfilesDocument = gql `
|
|
1312
1361
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1362
|
+
versionProfiles(filters: $filters, sort: $sort) {
|
|
1363
|
+
list {
|
|
1364
|
+
id
|
|
1365
|
+
label
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1317
1368
|
}
|
|
1318
|
-
|
|
1319
|
-
}
|
|
1320
|
-
`;
|
|
1369
|
+
`;
|
|
1321
1370
|
/**
|
|
1322
1371
|
* __useGetVersionProfilesQuery__
|
|
1323
1372
|
*
|
|
@@ -1343,25 +1392,29 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1343
1392
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1344
1393
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1345
1394
|
}
|
|
1395
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1396
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1397
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1398
|
+
}
|
|
1346
1399
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1347
1400
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1401
|
+
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
1402
|
+
list {
|
|
1403
|
+
id
|
|
1404
|
+
versions_conf {
|
|
1405
|
+
versionable
|
|
1406
|
+
profile {
|
|
1407
|
+
id
|
|
1408
|
+
trees {
|
|
1409
|
+
id
|
|
1410
|
+
label
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1359
1415
|
}
|
|
1360
|
-
}
|
|
1361
1416
|
}
|
|
1362
|
-
|
|
1363
|
-
}
|
|
1364
|
-
`;
|
|
1417
|
+
`;
|
|
1365
1418
|
/**
|
|
1366
1419
|
* __useGetVersionableAttributesByLibraryQuery__
|
|
1367
1420
|
*
|
|
@@ -1386,13 +1439,17 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1386
1439
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1387
1440
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1388
1441
|
}
|
|
1442
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1443
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1444
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1445
|
+
}
|
|
1389
1446
|
export const SaveAttributeDocument = gql `
|
|
1390
1447
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1448
|
+
saveAttribute(attribute: $attribute) {
|
|
1449
|
+
...AttributeDetails
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
${AttributeDetailsFragmentDoc}`;
|
|
1396
1453
|
/**
|
|
1397
1454
|
* __useSaveAttributeMutation__
|
|
1398
1455
|
*
|
|
@@ -1416,9 +1473,9 @@ export function useSaveAttributeMutation(baseOptions) {
|
|
|
1416
1473
|
}
|
|
1417
1474
|
export const ExportDocument = gql `
|
|
1418
1475
|
query EXPORT($library: ID!, $attributes: [ID!], $filters: [RecordFilterInput!]) {
|
|
1419
|
-
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1476
|
+
export(library: $library, attributes: $attributes, filters: $filters)
|
|
1477
|
+
}
|
|
1478
|
+
`;
|
|
1422
1479
|
/**
|
|
1423
1480
|
* __useExportQuery__
|
|
1424
1481
|
*
|
|
@@ -1445,13 +1502,17 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1445
1502
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1446
1503
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1447
1504
|
}
|
|
1505
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1506
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1507
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1508
|
+
}
|
|
1448
1509
|
export const CreateDirectoryDocument = gql `
|
|
1449
1510
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1511
|
+
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
1512
|
+
...RecordIdentity
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
${RecordIdentityFragmentDoc}`;
|
|
1455
1516
|
/**
|
|
1456
1517
|
* __useCreateDirectoryMutation__
|
|
1457
1518
|
*
|
|
@@ -1477,15 +1538,15 @@ export function useCreateDirectoryMutation(baseOptions) {
|
|
|
1477
1538
|
}
|
|
1478
1539
|
export const ForcePreviewsGenerationDocument = gql `
|
|
1479
1540
|
mutation FORCE_PREVIEWS_GENERATION($libraryId: ID!, $filters: [RecordFilterInput!], $recordIds: [ID!], $failedOnly: Boolean, $previewVersionSizeNames: [String!]) {
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
}
|
|
1488
|
-
|
|
1541
|
+
forcePreviewsGeneration(
|
|
1542
|
+
libraryId: $libraryId
|
|
1543
|
+
filters: $filters
|
|
1544
|
+
recordIds: $recordIds
|
|
1545
|
+
failedOnly: $failedOnly
|
|
1546
|
+
previewVersionSizeNames: $previewVersionSizeNames
|
|
1547
|
+
)
|
|
1548
|
+
}
|
|
1549
|
+
`;
|
|
1489
1550
|
/**
|
|
1490
1551
|
* __useForcePreviewsGenerationMutation__
|
|
1491
1552
|
*
|
|
@@ -1513,53 +1574,53 @@ export function useForcePreviewsGenerationMutation(baseOptions) {
|
|
|
1513
1574
|
}
|
|
1514
1575
|
export const GetDirectoryDataDocument = gql `
|
|
1515
1576
|
query GET_DIRECTORY_DATA($library: ID!, $directoryId: String!) {
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1577
|
+
records(
|
|
1578
|
+
library: $library
|
|
1579
|
+
filters: [{field: "id", value: $directoryId, condition: EQUAL}]
|
|
1580
|
+
) {
|
|
1581
|
+
list {
|
|
1582
|
+
...RecordIdentity
|
|
1583
|
+
created_at: property(attribute: "created_at") {
|
|
1584
|
+
... on Value {
|
|
1585
|
+
value
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
created_by: property(attribute: "created_by") {
|
|
1589
|
+
... on LinkValue {
|
|
1590
|
+
value {
|
|
1591
|
+
...RecordIdentity
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
modified_at: property(attribute: "modified_at") {
|
|
1596
|
+
... on Value {
|
|
1597
|
+
value
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
modified_by: property(attribute: "modified_by") {
|
|
1601
|
+
... on LinkValue {
|
|
1602
|
+
value {
|
|
1603
|
+
...RecordIdentity
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
file_name: property(attribute: "file_name") {
|
|
1608
|
+
... on Value {
|
|
1609
|
+
value
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
file_path: property(attribute: "file_path") {
|
|
1613
|
+
... on Value {
|
|
1614
|
+
value
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
library {
|
|
1618
|
+
behavior
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1537
1621
|
}
|
|
1538
|
-
}
|
|
1539
|
-
modified_by: property(attribute: "modified_by") {
|
|
1540
|
-
... on LinkValue {
|
|
1541
|
-
value {
|
|
1542
|
-
...RecordIdentity
|
|
1543
|
-
}
|
|
1544
|
-
}
|
|
1545
|
-
}
|
|
1546
|
-
file_name: property(attribute: "file_name") {
|
|
1547
|
-
... on Value {
|
|
1548
|
-
value
|
|
1549
|
-
}
|
|
1550
|
-
}
|
|
1551
|
-
file_path: property(attribute: "file_path") {
|
|
1552
|
-
... on Value {
|
|
1553
|
-
value
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
library {
|
|
1557
|
-
behavior
|
|
1558
|
-
}
|
|
1559
1622
|
}
|
|
1560
|
-
|
|
1561
|
-
}
|
|
1562
|
-
${RecordIdentityFragmentDoc}`;
|
|
1623
|
+
${RecordIdentityFragmentDoc}`;
|
|
1563
1624
|
/**
|
|
1564
1625
|
* __useGetDirectoryDataQuery__
|
|
1565
1626
|
*
|
|
@@ -1585,24 +1646,28 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1585
1646
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1586
1647
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1587
1648
|
}
|
|
1649
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1650
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1651
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1652
|
+
}
|
|
1588
1653
|
export const UploadUpdateDocument = gql `
|
|
1589
1654
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1655
|
+
upload(filters: $filters) {
|
|
1656
|
+
userId
|
|
1657
|
+
progress {
|
|
1658
|
+
length
|
|
1659
|
+
transferred
|
|
1660
|
+
speed
|
|
1661
|
+
runtime
|
|
1662
|
+
remaining
|
|
1663
|
+
percentage
|
|
1664
|
+
eta
|
|
1665
|
+
delta
|
|
1666
|
+
}
|
|
1667
|
+
uid
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
`;
|
|
1606
1671
|
/**
|
|
1607
1672
|
* __useUploadUpdateSubscription__
|
|
1608
1673
|
*
|
|
@@ -1625,42 +1690,87 @@ export function useUploadUpdateSubscription(baseOptions) {
|
|
|
1625
1690
|
}
|
|
1626
1691
|
export const UploadDocument = gql `
|
|
1627
1692
|
mutation UPLOAD($library: String!, $nodeId: String!, $files: [FileInput!]!) {
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1693
|
+
upload(library: $library, nodeId: $nodeId, files: $files) {
|
|
1694
|
+
uid
|
|
1695
|
+
record {
|
|
1696
|
+
...RecordIdentity
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1632
1699
|
}
|
|
1633
|
-
|
|
1700
|
+
${RecordIdentityFragmentDoc}`;
|
|
1701
|
+
/**
|
|
1702
|
+
* __useUploadMutation__
|
|
1703
|
+
*
|
|
1704
|
+
* To run a mutation, you first call `useUploadMutation` within a React component and pass it any options that fit your needs.
|
|
1705
|
+
* When your component renders, `useUploadMutation` returns a tuple that includes:
|
|
1706
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1707
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1708
|
+
*
|
|
1709
|
+
* @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;
|
|
1710
|
+
*
|
|
1711
|
+
* @example
|
|
1712
|
+
* const [uploadMutation, { data, loading, error }] = useUploadMutation({
|
|
1713
|
+
* variables: {
|
|
1714
|
+
* library: // value for 'library'
|
|
1715
|
+
* nodeId: // value for 'nodeId'
|
|
1716
|
+
* files: // value for 'files'
|
|
1717
|
+
* },
|
|
1718
|
+
* });
|
|
1719
|
+
*/
|
|
1720
|
+
export function useUploadMutation(baseOptions) {
|
|
1721
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1722
|
+
return Apollo.useMutation(UploadDocument, options);
|
|
1634
1723
|
}
|
|
1635
|
-
|
|
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}`;
|
|
1636
1737
|
/**
|
|
1637
|
-
*
|
|
1738
|
+
* __useGetRecordFormElementsValuesQuery__
|
|
1638
1739
|
*
|
|
1639
|
-
* To run a
|
|
1640
|
-
* When your component renders, `
|
|
1641
|
-
*
|
|
1642
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
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.
|
|
1643
1743
|
*
|
|
1644
|
-
* @param baseOptions options that will be passed into the
|
|
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;
|
|
1645
1745
|
*
|
|
1646
1746
|
* @example
|
|
1647
|
-
* const
|
|
1747
|
+
* const { data, loading, error } = useGetRecordFormElementsValuesQuery({
|
|
1648
1748
|
* variables: {
|
|
1649
|
-
*
|
|
1650
|
-
*
|
|
1651
|
-
*
|
|
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'
|
|
1652
1754
|
* },
|
|
1653
1755
|
* });
|
|
1654
1756
|
*/
|
|
1655
|
-
export function
|
|
1757
|
+
export function useGetRecordFormElementsValuesQuery(baseOptions) {
|
|
1656
1758
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1657
|
-
return Apollo.
|
|
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);
|
|
1658
1768
|
}
|
|
1659
1769
|
export const ImportExcelDocument = gql `
|
|
1660
1770
|
mutation IMPORT_EXCEL($file: Upload!, $sheets: [SheetInput], $startAt: Int) {
|
|
1661
|
-
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1771
|
+
importExcel(file: $file, sheets: $sheets, startAt: $startAt)
|
|
1772
|
+
}
|
|
1773
|
+
`;
|
|
1664
1774
|
/**
|
|
1665
1775
|
* __useImportExcelMutation__
|
|
1666
1776
|
*
|
|
@@ -1686,11 +1796,11 @@ export function useImportExcelMutation(baseOptions) {
|
|
|
1686
1796
|
}
|
|
1687
1797
|
export const CheckLibraryExistenceDocument = gql `
|
|
1688
1798
|
query CHECK_LIBRARY_EXISTENCE($id: [ID!]) {
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1799
|
+
libraries(filters: {id: $id}) {
|
|
1800
|
+
totalCount
|
|
1801
|
+
}
|
|
1802
|
+
}
|
|
1803
|
+
`;
|
|
1694
1804
|
/**
|
|
1695
1805
|
* __useCheckLibraryExistenceQuery__
|
|
1696
1806
|
*
|
|
@@ -1715,13 +1825,17 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1715
1825
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1716
1826
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1717
1827
|
}
|
|
1828
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1829
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1830
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1831
|
+
}
|
|
1718
1832
|
export const DeleteLibraryDocument = gql `
|
|
1719
1833
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1834
|
+
deleteLibrary(id: $id) {
|
|
1835
|
+
id
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
`;
|
|
1725
1839
|
/**
|
|
1726
1840
|
* __useDeleteLibraryMutation__
|
|
1727
1841
|
*
|
|
@@ -1745,13 +1859,13 @@ export function useDeleteLibraryMutation(baseOptions) {
|
|
|
1745
1859
|
}
|
|
1746
1860
|
export const GetLibrariesDocument = gql `
|
|
1747
1861
|
query GET_LIBRARIES {
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1862
|
+
libraries {
|
|
1863
|
+
list {
|
|
1864
|
+
...LibraryLight
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1751
1867
|
}
|
|
1752
|
-
|
|
1753
|
-
}
|
|
1754
|
-
${LibraryLightFragmentDoc}`;
|
|
1868
|
+
${LibraryLightFragmentDoc}`;
|
|
1755
1869
|
/**
|
|
1756
1870
|
* __useGetLibrariesQuery__
|
|
1757
1871
|
*
|
|
@@ -1775,15 +1889,19 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1775
1889
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1776
1890
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1777
1891
|
}
|
|
1892
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1893
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1894
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1895
|
+
}
|
|
1778
1896
|
export const GetLibraryByIdDocument = gql `
|
|
1779
1897
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1898
|
+
libraries(filters: {id: $id}) {
|
|
1899
|
+
list {
|
|
1900
|
+
...LibraryDetails
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1783
1903
|
}
|
|
1784
|
-
|
|
1785
|
-
}
|
|
1786
|
-
${LibraryDetailsFragmentDoc}`;
|
|
1904
|
+
${LibraryDetailsFragmentDoc}`;
|
|
1787
1905
|
/**
|
|
1788
1906
|
* __useGetLibraryByIdQuery__
|
|
1789
1907
|
*
|
|
@@ -1808,21 +1926,25 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1808
1926
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1809
1927
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1810
1928
|
}
|
|
1929
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
1930
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1931
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
1932
|
+
}
|
|
1811
1933
|
export const GetLibraryPermissionsDocument = gql `
|
|
1812
1934
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1935
|
+
libraries(filters: {id: $libraryId}) {
|
|
1936
|
+
list {
|
|
1937
|
+
permissions {
|
|
1938
|
+
access_library
|
|
1939
|
+
access_record
|
|
1940
|
+
create_record
|
|
1941
|
+
edit_record
|
|
1942
|
+
delete_record
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1822
1946
|
}
|
|
1823
|
-
|
|
1824
|
-
}
|
|
1825
|
-
`;
|
|
1947
|
+
`;
|
|
1826
1948
|
/**
|
|
1827
1949
|
* __useGetLibraryPermissionsQuery__
|
|
1828
1950
|
*
|
|
@@ -1847,30 +1969,34 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
1847
1969
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1848
1970
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
1849
1971
|
}
|
|
1972
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
1973
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
1974
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
1975
|
+
}
|
|
1850
1976
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
1851
1977
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1978
|
+
libraries(filters: {id: [$id]}) {
|
|
1979
|
+
list {
|
|
1980
|
+
id
|
|
1981
|
+
label
|
|
1982
|
+
behavior
|
|
1983
|
+
previewsSettings {
|
|
1984
|
+
description
|
|
1985
|
+
label
|
|
1986
|
+
system
|
|
1987
|
+
versions {
|
|
1988
|
+
background
|
|
1989
|
+
density
|
|
1990
|
+
sizes {
|
|
1991
|
+
name
|
|
1992
|
+
size
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1868
1997
|
}
|
|
1869
|
-
}
|
|
1870
1998
|
}
|
|
1871
|
-
|
|
1872
|
-
}
|
|
1873
|
-
`;
|
|
1999
|
+
`;
|
|
1874
2000
|
/**
|
|
1875
2001
|
* __useGetLibraryPreviewsSettingsQuery__
|
|
1876
2002
|
*
|
|
@@ -1895,13 +2021,17 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
1895
2021
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1896
2022
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
1897
2023
|
}
|
|
2024
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2025
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2026
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2027
|
+
}
|
|
1898
2028
|
export const SaveLibraryDocument = gql `
|
|
1899
2029
|
mutation saveLibrary($library: LibraryInput!) {
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
}
|
|
1904
|
-
|
|
2030
|
+
saveLibrary(library: $library) {
|
|
2031
|
+
...LibraryDetails
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
${LibraryDetailsFragmentDoc}`;
|
|
1905
2035
|
/**
|
|
1906
2036
|
* __useSaveLibraryMutation__
|
|
1907
2037
|
*
|
|
@@ -1925,12 +2055,12 @@ export function useSaveLibraryMutation(baseOptions) {
|
|
|
1925
2055
|
}
|
|
1926
2056
|
export const IsAllowedDocument = gql `
|
|
1927
2057
|
query IS_ALLOWED($type: PermissionTypes!, $actions: [PermissionsActions!]!, $applyTo: ID, $target: PermissionTarget) {
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
}
|
|
1933
|
-
|
|
2058
|
+
isAllowed(type: $type, actions: $actions, applyTo: $applyTo, target: $target) {
|
|
2059
|
+
name
|
|
2060
|
+
allowed
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
`;
|
|
1934
2064
|
/**
|
|
1935
2065
|
* __useIsAllowedQuery__
|
|
1936
2066
|
*
|
|
@@ -1958,18 +2088,22 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
1958
2088
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1959
2089
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
1960
2090
|
}
|
|
2091
|
+
export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
2092
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2093
|
+
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2094
|
+
}
|
|
1961
2095
|
export const ActivateRecordsDocument = gql `
|
|
1962
2096
|
mutation ACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
}
|
|
1972
|
-
|
|
2097
|
+
activateRecords(
|
|
2098
|
+
recordsIds: $recordsIds
|
|
2099
|
+
filters: $filters
|
|
2100
|
+
libraryId: $libraryId
|
|
2101
|
+
) {
|
|
2102
|
+
id
|
|
2103
|
+
...RecordIdentity
|
|
2104
|
+
}
|
|
2105
|
+
}
|
|
2106
|
+
${RecordIdentityFragmentDoc}`;
|
|
1973
2107
|
/**
|
|
1974
2108
|
* __useActivateRecordsMutation__
|
|
1975
2109
|
*
|
|
@@ -1995,19 +2129,19 @@ export function useActivateRecordsMutation(baseOptions) {
|
|
|
1995
2129
|
}
|
|
1996
2130
|
export const CreateRecordDocument = gql `
|
|
1997
2131
|
mutation CREATE_RECORD($library: ID!, $data: CreateRecordDataInput) {
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2132
|
+
createRecord(library: $library, data: $data) {
|
|
2133
|
+
record {
|
|
2134
|
+
...RecordIdentity
|
|
2135
|
+
}
|
|
2136
|
+
valuesErrors {
|
|
2137
|
+
type
|
|
2138
|
+
attribute
|
|
2139
|
+
input
|
|
2140
|
+
message
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2007
2143
|
}
|
|
2008
|
-
|
|
2009
|
-
}
|
|
2010
|
-
${RecordIdentityFragmentDoc}`;
|
|
2144
|
+
${RecordIdentityFragmentDoc}`;
|
|
2011
2145
|
/**
|
|
2012
2146
|
* __useCreateRecordMutation__
|
|
2013
2147
|
*
|
|
@@ -2032,16 +2166,16 @@ export function useCreateRecordMutation(baseOptions) {
|
|
|
2032
2166
|
}
|
|
2033
2167
|
export const DeactivateRecordsDocument = gql `
|
|
2034
2168
|
mutation DEACTIVATE_RECORDS($libraryId: String!, $recordsIds: [String!], $filters: [RecordFilterInput!]) {
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2169
|
+
deactivateRecords(
|
|
2170
|
+
recordsIds: $recordsIds
|
|
2171
|
+
filters: $filters
|
|
2172
|
+
libraryId: $libraryId
|
|
2173
|
+
) {
|
|
2174
|
+
id
|
|
2175
|
+
...RecordIdentity
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
${RecordIdentityFragmentDoc}`;
|
|
2045
2179
|
/**
|
|
2046
2180
|
* __useDeactivateRecordsMutation__
|
|
2047
2181
|
*
|
|
@@ -2067,13 +2201,13 @@ export function useDeactivateRecordsMutation(baseOptions) {
|
|
|
2067
2201
|
}
|
|
2068
2202
|
export const DoesFileExistAsChildDocument = gql `
|
|
2069
2203
|
query DOES_FILE_EXIST_AS_CHILD($parentNode: ID, $treeId: ID!, $filename: String!) {
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
}
|
|
2076
|
-
|
|
2204
|
+
doesFileExistAsChild(
|
|
2205
|
+
parentNode: $parentNode
|
|
2206
|
+
treeId: $treeId
|
|
2207
|
+
filename: $filename
|
|
2208
|
+
)
|
|
2209
|
+
}
|
|
2210
|
+
`;
|
|
2077
2211
|
/**
|
|
2078
2212
|
* __useDoesFileExistAsChildQuery__
|
|
2079
2213
|
*
|
|
@@ -2100,60 +2234,64 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2100
2234
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2101
2235
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2102
2236
|
}
|
|
2237
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2238
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2239
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2240
|
+
}
|
|
2103
2241
|
export const GetFileDataDocument = gql `
|
|
2104
2242
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2243
|
+
records(
|
|
2244
|
+
library: $library
|
|
2245
|
+
filters: [{field: "id", value: $fileId, condition: EQUAL}]
|
|
2246
|
+
) {
|
|
2247
|
+
list {
|
|
2248
|
+
...RecordIdentity
|
|
2249
|
+
created_at: property(attribute: "created_at") {
|
|
2250
|
+
... on Value {
|
|
2251
|
+
value
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
created_by: property(attribute: "created_by") {
|
|
2255
|
+
... on LinkValue {
|
|
2256
|
+
value {
|
|
2257
|
+
...RecordIdentity
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
modified_at: property(attribute: "modified_at") {
|
|
2262
|
+
... on Value {
|
|
2263
|
+
value
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
modified_by: property(attribute: "modified_by") {
|
|
2267
|
+
... on LinkValue {
|
|
2268
|
+
value {
|
|
2269
|
+
...RecordIdentity
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
file_name: property(attribute: "file_name") {
|
|
2274
|
+
... on Value {
|
|
2275
|
+
value
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
file_path: property(attribute: "file_path") {
|
|
2279
|
+
... on Value {
|
|
2280
|
+
value
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
previews_status: property(attribute: $previewsStatusAttribute) {
|
|
2284
|
+
... on Value {
|
|
2285
|
+
value
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
library {
|
|
2289
|
+
behavior
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2143
2292
|
}
|
|
2144
|
-
}
|
|
2145
|
-
previews_status: property(attribute: $previewsStatusAttribute) {
|
|
2146
|
-
... on Value {
|
|
2147
|
-
value
|
|
2148
|
-
}
|
|
2149
|
-
}
|
|
2150
|
-
library {
|
|
2151
|
-
behavior
|
|
2152
|
-
}
|
|
2153
2293
|
}
|
|
2154
|
-
|
|
2155
|
-
}
|
|
2156
|
-
${RecordIdentityFragmentDoc}`;
|
|
2294
|
+
${RecordIdentityFragmentDoc}`;
|
|
2157
2295
|
/**
|
|
2158
2296
|
* __useGetFileDataQuery__
|
|
2159
2297
|
*
|
|
@@ -2180,32 +2318,36 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2180
2318
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2181
2319
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2182
2320
|
}
|
|
2321
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2322
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2323
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2324
|
+
}
|
|
2183
2325
|
export const RecordFormDocument = gql `
|
|
2184
2326
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2327
|
+
recordForm(
|
|
2328
|
+
recordId: $recordId
|
|
2329
|
+
libraryId: $libraryId
|
|
2330
|
+
formId: $formId
|
|
2331
|
+
version: $version
|
|
2332
|
+
) {
|
|
2333
|
+
id
|
|
2334
|
+
recordId
|
|
2335
|
+
library {
|
|
2336
|
+
id
|
|
2337
|
+
}
|
|
2338
|
+
dependencyAttributes {
|
|
2339
|
+
id
|
|
2340
|
+
}
|
|
2341
|
+
elements {
|
|
2342
|
+
...RecordFormElement
|
|
2343
|
+
}
|
|
2344
|
+
sidePanel {
|
|
2345
|
+
enable
|
|
2346
|
+
isOpenByDefault
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2205
2349
|
}
|
|
2206
|
-
|
|
2207
|
-
}
|
|
2208
|
-
${RecordFormElementFragmentDoc}`;
|
|
2350
|
+
${RecordFormElementFragmentDoc}`;
|
|
2209
2351
|
/**
|
|
2210
2352
|
* __useRecordFormQuery__
|
|
2211
2353
|
*
|
|
@@ -2233,27 +2375,31 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2233
2375
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2234
2376
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2235
2377
|
}
|
|
2378
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2379
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2380
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2381
|
+
}
|
|
2236
2382
|
export const RecordUpdateDocument = gql `
|
|
2237
2383
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2384
|
+
recordUpdate(filters: $filters) {
|
|
2385
|
+
record {
|
|
2386
|
+
...RecordIdentity
|
|
2387
|
+
modified_by: property(attribute: "modified_by") {
|
|
2388
|
+
... on LinkValue {
|
|
2389
|
+
value {
|
|
2390
|
+
...RecordIdentity
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
updatedValues {
|
|
2396
|
+
attribute
|
|
2397
|
+
value {
|
|
2398
|
+
...ValueDetails
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2246
2401
|
}
|
|
2247
|
-
}
|
|
2248
|
-
}
|
|
2249
|
-
updatedValues {
|
|
2250
|
-
attribute
|
|
2251
|
-
value {
|
|
2252
|
-
...ValueDetails
|
|
2253
|
-
}
|
|
2254
2402
|
}
|
|
2255
|
-
}
|
|
2256
|
-
}
|
|
2257
2403
|
${RecordIdentityFragmentDoc}
|
|
2258
2404
|
${ValueDetailsFragmentDoc}`;
|
|
2259
2405
|
/**
|
|
@@ -2278,14 +2424,14 @@ export function useRecordUpdateSubscription(baseOptions) {
|
|
|
2278
2424
|
}
|
|
2279
2425
|
export const GetRecordsFromLibraryDocument = gql `
|
|
2280
2426
|
query getRecordsFromLibrary($libraryId: ID!, $pagination: RecordsPagination, $filters: [RecordFilterInput]) {
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2427
|
+
records(library: $libraryId, filters: $filters, pagination: $pagination) {
|
|
2428
|
+
totalCount
|
|
2429
|
+
list {
|
|
2430
|
+
...RecordIdentity
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2285
2433
|
}
|
|
2286
|
-
|
|
2287
|
-
}
|
|
2288
|
-
${RecordIdentityFragmentDoc}`;
|
|
2434
|
+
${RecordIdentityFragmentDoc}`;
|
|
2289
2435
|
/**
|
|
2290
2436
|
* __useGetRecordsFromLibraryQuery__
|
|
2291
2437
|
*
|
|
@@ -2312,11 +2458,15 @@ export function useGetRecordsFromLibraryLazyQuery(baseOptions) {
|
|
|
2312
2458
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2313
2459
|
return Apollo.useLazyQuery(GetRecordsFromLibraryDocument, options);
|
|
2314
2460
|
}
|
|
2461
|
+
export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
2462
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2463
|
+
return Apollo.useSuspenseQuery(GetRecordsFromLibraryDocument, options);
|
|
2464
|
+
}
|
|
2315
2465
|
export const IndexRecordsDocument = gql `
|
|
2316
2466
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2317
|
-
|
|
2318
|
-
}
|
|
2319
|
-
|
|
2467
|
+
indexRecords(libraryId: $libraryId, records: $records)
|
|
2468
|
+
}
|
|
2469
|
+
`;
|
|
2320
2470
|
/**
|
|
2321
2471
|
* __useIndexRecordsMutation__
|
|
2322
2472
|
*
|
|
@@ -2341,9 +2491,9 @@ export function useIndexRecordsMutation(baseOptions) {
|
|
|
2341
2491
|
}
|
|
2342
2492
|
export const CancelTaskDocument = gql `
|
|
2343
2493
|
mutation CANCEL_TASK($taskId: ID!) {
|
|
2344
|
-
|
|
2345
|
-
}
|
|
2346
|
-
|
|
2494
|
+
cancelTask(taskId: $taskId)
|
|
2495
|
+
}
|
|
2496
|
+
`;
|
|
2347
2497
|
/**
|
|
2348
2498
|
* __useCancelTaskMutation__
|
|
2349
2499
|
*
|
|
@@ -2367,11 +2517,11 @@ export function useCancelTaskMutation(baseOptions) {
|
|
|
2367
2517
|
}
|
|
2368
2518
|
export const CheckTreeExistenceDocument = gql `
|
|
2369
2519
|
query CHECK_TREE_EXISTENCE($id: [ID!]) {
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
}
|
|
2374
|
-
|
|
2520
|
+
trees(filters: {id: $id}) {
|
|
2521
|
+
totalCount
|
|
2522
|
+
}
|
|
2523
|
+
}
|
|
2524
|
+
`;
|
|
2375
2525
|
/**
|
|
2376
2526
|
* __useCheckTreeExistenceQuery__
|
|
2377
2527
|
*
|
|
@@ -2396,13 +2546,17 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2396
2546
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2397
2547
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2398
2548
|
}
|
|
2549
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2550
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2551
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2552
|
+
}
|
|
2399
2553
|
export const DeleteTreeDocument = gql `
|
|
2400
2554
|
mutation DELETE_TREE($id: ID!) {
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
}
|
|
2405
|
-
|
|
2555
|
+
deleteTree(id: $id) {
|
|
2556
|
+
id
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
`;
|
|
2406
2560
|
/**
|
|
2407
2561
|
* __useDeleteTreeMutation__
|
|
2408
2562
|
*
|
|
@@ -2426,13 +2580,13 @@ export function useDeleteTreeMutation(baseOptions) {
|
|
|
2426
2580
|
}
|
|
2427
2581
|
export const GetTreeByIdDocument = gql `
|
|
2428
2582
|
query GET_TREE_BY_ID($id: [ID!]) {
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2583
|
+
trees(filters: {id: $id}) {
|
|
2584
|
+
list {
|
|
2585
|
+
...TreeDetails
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2432
2588
|
}
|
|
2433
|
-
|
|
2434
|
-
}
|
|
2435
|
-
${TreeDetailsFragmentDoc}`;
|
|
2589
|
+
${TreeDetailsFragmentDoc}`;
|
|
2436
2590
|
/**
|
|
2437
2591
|
* __useGetTreeByIdQuery__
|
|
2438
2592
|
*
|
|
@@ -2457,31 +2611,35 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2457
2611
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2458
2612
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2459
2613
|
}
|
|
2614
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2615
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2616
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2617
|
+
}
|
|
2460
2618
|
export const GetTreeLibrariesDocument = gql `
|
|
2461
2619
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2620
|
+
trees(filters: {id: $treeId, library: $library}) {
|
|
2621
|
+
totalCount
|
|
2622
|
+
list {
|
|
2623
|
+
id
|
|
2624
|
+
behavior
|
|
2625
|
+
system
|
|
2626
|
+
libraries {
|
|
2627
|
+
library {
|
|
2628
|
+
id
|
|
2629
|
+
label
|
|
2630
|
+
behavior
|
|
2631
|
+
system
|
|
2632
|
+
}
|
|
2633
|
+
settings {
|
|
2634
|
+
allowMultiplePositions
|
|
2635
|
+
allowedChildren
|
|
2636
|
+
allowedAtRoot
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2479
2640
|
}
|
|
2480
|
-
}
|
|
2481
2641
|
}
|
|
2482
|
-
|
|
2483
|
-
}
|
|
2484
|
-
`;
|
|
2642
|
+
`;
|
|
2485
2643
|
/**
|
|
2486
2644
|
* __useGetTreeLibrariesQuery__
|
|
2487
2645
|
*
|
|
@@ -2507,15 +2665,19 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2507
2665
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2508
2666
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2509
2667
|
}
|
|
2668
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2669
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2670
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2671
|
+
}
|
|
2510
2672
|
export const GetTreesDocument = gql `
|
|
2511
2673
|
query GET_TREES {
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2674
|
+
trees {
|
|
2675
|
+
list {
|
|
2676
|
+
...TreeLight
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2515
2679
|
}
|
|
2516
|
-
|
|
2517
|
-
}
|
|
2518
|
-
${TreeLightFragmentDoc}`;
|
|
2680
|
+
${TreeLightFragmentDoc}`;
|
|
2519
2681
|
/**
|
|
2520
2682
|
* __useGetTreesQuery__
|
|
2521
2683
|
*
|
|
@@ -2539,13 +2701,17 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2539
2701
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2540
2702
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2541
2703
|
}
|
|
2704
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2705
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2706
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2707
|
+
}
|
|
2542
2708
|
export const SaveTreeDocument = gql `
|
|
2543
2709
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
}
|
|
2548
|
-
|
|
2710
|
+
saveTree(tree: $tree) {
|
|
2711
|
+
...TreeDetails
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2714
|
+
${TreeDetailsFragmentDoc}`;
|
|
2549
2715
|
/**
|
|
2550
2716
|
* __useSaveTreeMutation__
|
|
2551
2717
|
*
|
|
@@ -2568,15 +2734,20 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2568
2734
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2569
2735
|
}
|
|
2570
2736
|
export const TreeNodeChildrenDocument = gql `
|
|
2571
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination) {
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2737
|
+
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2738
|
+
treeNodeChildren(
|
|
2739
|
+
treeId: $treeId
|
|
2740
|
+
node: $node
|
|
2741
|
+
pagination: $pagination
|
|
2742
|
+
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2743
|
+
) {
|
|
2744
|
+
totalCount
|
|
2745
|
+
list {
|
|
2746
|
+
...TreeNodeChild
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2576
2749
|
}
|
|
2577
|
-
|
|
2578
|
-
}
|
|
2579
|
-
${TreeNodeChildFragmentDoc}`;
|
|
2750
|
+
${TreeNodeChildFragmentDoc}`;
|
|
2580
2751
|
/**
|
|
2581
2752
|
* __useTreeNodeChildrenQuery__
|
|
2582
2753
|
*
|
|
@@ -2592,6 +2763,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2592
2763
|
* treeId: // value for 'treeId'
|
|
2593
2764
|
* node: // value for 'node'
|
|
2594
2765
|
* pagination: // value for 'pagination'
|
|
2766
|
+
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2595
2767
|
* },
|
|
2596
2768
|
* });
|
|
2597
2769
|
*/
|
|
@@ -2603,14 +2775,18 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2603
2775
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2604
2776
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2605
2777
|
}
|
|
2778
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2779
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2780
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2781
|
+
}
|
|
2606
2782
|
export const GetUserDataDocument = gql `
|
|
2607
2783
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
}
|
|
2613
|
-
|
|
2784
|
+
userData(keys: $keys, global: $global) {
|
|
2785
|
+
global
|
|
2786
|
+
data
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
`;
|
|
2614
2790
|
/**
|
|
2615
2791
|
* __useGetUserDataQuery__
|
|
2616
2792
|
*
|
|
@@ -2636,14 +2812,18 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2636
2812
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2637
2813
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2638
2814
|
}
|
|
2815
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
2816
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2817
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
2818
|
+
}
|
|
2639
2819
|
export const SaveUserDataDocument = gql `
|
|
2640
2820
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
}
|
|
2646
|
-
|
|
2821
|
+
saveUserData(key: $key, value: $value, global: $global) {
|
|
2822
|
+
global
|
|
2823
|
+
data
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
`;
|
|
2647
2827
|
/**
|
|
2648
2828
|
* __useSaveUserDataMutation__
|
|
2649
2829
|
*
|
|
@@ -2669,16 +2849,16 @@ export function useSaveUserDataMutation(baseOptions) {
|
|
|
2669
2849
|
}
|
|
2670
2850
|
export const DeleteValueDocument = gql `
|
|
2671
2851
|
mutation DELETE_VALUE($library: ID!, $recordId: ID!, $attribute: ID!, $value: ValueInput) {
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
}
|
|
2681
|
-
|
|
2852
|
+
deleteValue(
|
|
2853
|
+
library: $library
|
|
2854
|
+
recordId: $recordId
|
|
2855
|
+
attribute: $attribute
|
|
2856
|
+
value: $value
|
|
2857
|
+
) {
|
|
2858
|
+
...ValueDetails
|
|
2859
|
+
}
|
|
2860
|
+
}
|
|
2861
|
+
${ValueDetailsFragmentDoc}`;
|
|
2682
2862
|
/**
|
|
2683
2863
|
* __useDeleteValueMutation__
|
|
2684
2864
|
*
|
|
@@ -2705,15 +2885,15 @@ export function useDeleteValueMutation(baseOptions) {
|
|
|
2705
2885
|
}
|
|
2706
2886
|
export const RunActionsListAndFormatOnValueDocument = gql `
|
|
2707
2887
|
query RUN_ACTIONS_LIST_AND_FORMAT_ON_VALUE($library: ID!, $value: ValueBatchInput, $version: [ValueVersionInput]) {
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
}
|
|
2716
|
-
|
|
2888
|
+
runActionsListAndFormatOnValue(
|
|
2889
|
+
library: $library
|
|
2890
|
+
value: $value
|
|
2891
|
+
version: $version
|
|
2892
|
+
) {
|
|
2893
|
+
...ValueDetails
|
|
2894
|
+
}
|
|
2895
|
+
}
|
|
2896
|
+
${ValueDetailsFragmentDoc}`;
|
|
2717
2897
|
/**
|
|
2718
2898
|
* __useRunActionsListAndFormatOnValueQuery__
|
|
2719
2899
|
*
|
|
@@ -2740,27 +2920,31 @@ export function useRunActionsListAndFormatOnValueLazyQuery(baseOptions) {
|
|
|
2740
2920
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2741
2921
|
return Apollo.useLazyQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2742
2922
|
}
|
|
2923
|
+
export function useRunActionsListAndFormatOnValueSuspenseQuery(baseOptions) {
|
|
2924
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
2925
|
+
return Apollo.useSuspenseQuery(RunActionsListAndFormatOnValueDocument, options);
|
|
2926
|
+
}
|
|
2743
2927
|
export const SaveValueBatchDocument = gql `
|
|
2744
2928
|
mutation SAVE_VALUE_BATCH($library: ID!, $recordId: ID!, $version: [ValueVersionInput!], $values: [ValueBatchInput!]!, $deleteEmpty: Boolean) {
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
}
|
|
2763
|
-
|
|
2929
|
+
saveValueBatch(
|
|
2930
|
+
library: $library
|
|
2931
|
+
recordId: $recordId
|
|
2932
|
+
version: $version
|
|
2933
|
+
values: $values
|
|
2934
|
+
deleteEmpty: $deleteEmpty
|
|
2935
|
+
) {
|
|
2936
|
+
values {
|
|
2937
|
+
...ValueDetails
|
|
2938
|
+
}
|
|
2939
|
+
errors {
|
|
2940
|
+
type
|
|
2941
|
+
attribute
|
|
2942
|
+
input
|
|
2943
|
+
message
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
${ValueDetailsFragmentDoc}`;
|
|
2764
2948
|
/**
|
|
2765
2949
|
* __useSaveValueBatchMutation__
|
|
2766
2950
|
*
|
|
@@ -2788,12 +2972,12 @@ export function useSaveValueBatchMutation(baseOptions) {
|
|
|
2788
2972
|
}
|
|
2789
2973
|
export const DeleteViewDocument = gql `
|
|
2790
2974
|
mutation DELETE_VIEW($viewId: String!) {
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
}
|
|
2796
|
-
|
|
2975
|
+
deleteView(viewId: $viewId) {
|
|
2976
|
+
id
|
|
2977
|
+
library
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
`;
|
|
2797
2981
|
/**
|
|
2798
2982
|
* __useDeleteViewMutation__
|
|
2799
2983
|
*
|
|
@@ -2817,11 +3001,11 @@ export function useDeleteViewMutation(baseOptions) {
|
|
|
2817
3001
|
}
|
|
2818
3002
|
export const GetViewDocument = gql `
|
|
2819
3003
|
query GET_VIEW($viewId: String!) {
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
}
|
|
2824
|
-
|
|
3004
|
+
view(viewId: $viewId) {
|
|
3005
|
+
...ViewDetails
|
|
3006
|
+
}
|
|
3007
|
+
}
|
|
3008
|
+
${ViewDetailsFragmentDoc}`;
|
|
2825
3009
|
/**
|
|
2826
3010
|
* __useGetViewQuery__
|
|
2827
3011
|
*
|
|
@@ -2846,16 +3030,20 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
2846
3030
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2847
3031
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
2848
3032
|
}
|
|
3033
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3034
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3035
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3036
|
+
}
|
|
2849
3037
|
export const GetViewsListDocument = gql `
|
|
2850
3038
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
3039
|
+
views(library: $libraryId) {
|
|
3040
|
+
totalCount
|
|
3041
|
+
list {
|
|
3042
|
+
...ViewDetails
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
2855
3045
|
}
|
|
2856
|
-
|
|
2857
|
-
}
|
|
2858
|
-
${ViewDetailsFragmentDoc}`;
|
|
3046
|
+
${ViewDetailsFragmentDoc}`;
|
|
2859
3047
|
/**
|
|
2860
3048
|
* __useGetViewsListQuery__
|
|
2861
3049
|
*
|
|
@@ -2880,13 +3068,17 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
2880
3068
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2881
3069
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
2882
3070
|
}
|
|
3071
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3072
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3073
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3074
|
+
}
|
|
2883
3075
|
export const SaveViewDocument = gql `
|
|
2884
3076
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
}
|
|
2889
|
-
|
|
3077
|
+
saveView(view: $view) {
|
|
3078
|
+
...ViewDetails
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
${ViewDetailsFragmentDoc}`;
|
|
2890
3082
|
/**
|
|
2891
3083
|
* __useSaveViewMutation__
|
|
2892
3084
|
*
|
|
@@ -2910,13 +3102,13 @@ export function useSaveViewMutation(baseOptions) {
|
|
|
2910
3102
|
}
|
|
2911
3103
|
export const GetAttributesByLibWithPermissionsDocument = gql `
|
|
2912
3104
|
query getAttributesByLibWithPermissions($library: String!) {
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
3105
|
+
attributes(filters: {libraries: [$library]}) {
|
|
3106
|
+
list {
|
|
3107
|
+
...AttributesByLibAttributeWithPermissions
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
2916
3110
|
}
|
|
2917
|
-
|
|
2918
|
-
}
|
|
2919
|
-
${AttributesByLibAttributeWithPermissionsFragmentDoc}`;
|
|
3111
|
+
${AttributesByLibAttributeWithPermissionsFragmentDoc}`;
|
|
2920
3112
|
/**
|
|
2921
3113
|
* __useGetAttributesByLibWithPermissionsQuery__
|
|
2922
3114
|
*
|
|
@@ -2941,22 +3133,26 @@ export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
|
2941
3133
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2942
3134
|
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
2943
3135
|
}
|
|
3136
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3137
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3138
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3139
|
+
}
|
|
2944
3140
|
export const ExplorerAttributesDocument = gql `
|
|
2945
3141
|
query ExplorerAttributes($ids: [ID!]) {
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
3142
|
+
attributes(filters: {ids: $ids}) {
|
|
3143
|
+
list {
|
|
3144
|
+
id
|
|
3145
|
+
type
|
|
3146
|
+
format
|
|
3147
|
+
label
|
|
3148
|
+
permissions {
|
|
3149
|
+
access_attribute
|
|
3150
|
+
}
|
|
3151
|
+
...LinkAttributeDetails
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
2956
3154
|
}
|
|
2957
|
-
|
|
2958
|
-
}
|
|
2959
|
-
${LinkAttributeDetailsFragmentDoc}`;
|
|
3155
|
+
${LinkAttributeDetailsFragmentDoc}`;
|
|
2960
3156
|
/**
|
|
2961
3157
|
* __useExplorerAttributesQuery__
|
|
2962
3158
|
*
|
|
@@ -2981,21 +3177,25 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
2981
3177
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2982
3178
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
2983
3179
|
}
|
|
3180
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3181
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3182
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3183
|
+
}
|
|
2984
3184
|
export const ExplorerLinkAttributeDocument = gql `
|
|
2985
3185
|
query ExplorerLinkAttribute($id: ID!) {
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
3186
|
+
attributes(filters: {ids: [$id]}) {
|
|
3187
|
+
list {
|
|
3188
|
+
id
|
|
3189
|
+
multiple_values
|
|
3190
|
+
permissions {
|
|
3191
|
+
access_attribute
|
|
3192
|
+
edit_value
|
|
3193
|
+
}
|
|
3194
|
+
...LinkAttributeDetails
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
2995
3197
|
}
|
|
2996
|
-
|
|
2997
|
-
}
|
|
2998
|
-
${LinkAttributeDetailsFragmentDoc}`;
|
|
3198
|
+
${LinkAttributeDetailsFragmentDoc}`;
|
|
2999
3199
|
/**
|
|
3000
3200
|
* __useExplorerLinkAttributeQuery__
|
|
3001
3201
|
*
|
|
@@ -3020,37 +3220,41 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
3020
3220
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3021
3221
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
3022
3222
|
}
|
|
3223
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3224
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3225
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3226
|
+
}
|
|
3023
3227
|
export const ExplorerLibraryDataDocument = gql `
|
|
3024
3228
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3229
|
+
records(
|
|
3230
|
+
library: $libraryId
|
|
3231
|
+
filters: $filters
|
|
3232
|
+
pagination: $pagination
|
|
3233
|
+
multipleSort: $multipleSort
|
|
3234
|
+
searchQuery: $searchQuery
|
|
3235
|
+
) {
|
|
3236
|
+
totalCount
|
|
3237
|
+
list {
|
|
3238
|
+
...RecordIdentity
|
|
3239
|
+
active
|
|
3240
|
+
permissions {
|
|
3241
|
+
create_record
|
|
3242
|
+
delete_record
|
|
3243
|
+
}
|
|
3244
|
+
properties(attributeIds: $attributeIds) {
|
|
3245
|
+
attributeId
|
|
3246
|
+
attributeProperties {
|
|
3247
|
+
...AttributeProperties
|
|
3248
|
+
}
|
|
3249
|
+
values {
|
|
3250
|
+
...PropertyValue
|
|
3251
|
+
}
|
|
3252
|
+
}
|
|
3253
|
+
}
|
|
3047
3254
|
}
|
|
3048
|
-
}
|
|
3049
3255
|
}
|
|
3050
|
-
}
|
|
3051
|
-
}
|
|
3052
3256
|
${RecordIdentityFragmentDoc}
|
|
3053
|
-
${AttributePropertiesFragmentDoc}
|
|
3257
|
+
${AttributePropertiesFragmentDoc}
|
|
3054
3258
|
${PropertyValueFragmentDoc}`;
|
|
3055
3259
|
/**
|
|
3056
3260
|
* __useExplorerLibraryDataQuery__
|
|
@@ -3081,27 +3285,31 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
3081
3285
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3082
3286
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
3083
3287
|
}
|
|
3288
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3289
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3290
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3291
|
+
}
|
|
3084
3292
|
export const ExplorerLinkDataDocument = gql `
|
|
3085
3293
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3294
|
+
records(
|
|
3295
|
+
library: $parentLibraryId
|
|
3296
|
+
filters: [{field: "id", condition: EQUAL, value: $parentRecordId}]
|
|
3297
|
+
) {
|
|
3298
|
+
list {
|
|
3299
|
+
id
|
|
3300
|
+
whoAmI {
|
|
3301
|
+
id
|
|
3302
|
+
library {
|
|
3303
|
+
id
|
|
3304
|
+
}
|
|
3305
|
+
}
|
|
3306
|
+
property(attribute: $linkAttributeId) {
|
|
3307
|
+
...LinkProperty
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3096
3310
|
}
|
|
3097
|
-
}
|
|
3098
|
-
property(attribute: $linkAttributeId) {
|
|
3099
|
-
...LinkProperty
|
|
3100
|
-
}
|
|
3101
3311
|
}
|
|
3102
|
-
|
|
3103
|
-
}
|
|
3104
|
-
${LinkPropertyFragmentDoc}`;
|
|
3312
|
+
${LinkPropertyFragmentDoc}`;
|
|
3105
3313
|
/**
|
|
3106
3314
|
* __useExplorerLinkDataQuery__
|
|
3107
3315
|
*
|
|
@@ -3129,18 +3337,22 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
3129
3337
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3130
3338
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
3131
3339
|
}
|
|
3340
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3341
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3342
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3343
|
+
}
|
|
3132
3344
|
export const GetLibraryAttributesDocument = gql `
|
|
3133
3345
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3346
|
+
libraries(filters: {id: [$libraryId]}) {
|
|
3347
|
+
list {
|
|
3348
|
+
id
|
|
3349
|
+
attributes {
|
|
3350
|
+
...LibraryAttribute
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3140
3354
|
}
|
|
3141
|
-
|
|
3142
|
-
}
|
|
3143
|
-
${LibraryAttributeFragmentDoc}`;
|
|
3355
|
+
${LibraryAttributeFragmentDoc}`;
|
|
3144
3356
|
/**
|
|
3145
3357
|
* __useGetLibraryAttributesQuery__
|
|
3146
3358
|
*
|
|
@@ -3165,17 +3377,21 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
3165
3377
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3166
3378
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
3167
3379
|
}
|
|
3380
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3381
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3382
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3383
|
+
}
|
|
3168
3384
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3169
3385
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3386
|
+
libraries(filters: {id: [$libraryId]}) {
|
|
3387
|
+
list {
|
|
3388
|
+
id
|
|
3389
|
+
label
|
|
3390
|
+
behavior
|
|
3391
|
+
}
|
|
3392
|
+
}
|
|
3175
3393
|
}
|
|
3176
|
-
|
|
3177
|
-
}
|
|
3178
|
-
`;
|
|
3394
|
+
`;
|
|
3179
3395
|
/**
|
|
3180
3396
|
* __useExplorerLibraryDetailsQuery__
|
|
3181
3397
|
*
|
|
@@ -3200,15 +3416,19 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3200
3416
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3201
3417
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3202
3418
|
}
|
|
3419
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3420
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3421
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3422
|
+
}
|
|
3203
3423
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3204
3424
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3425
|
+
records(library: $libraryId, filters: $filters) {
|
|
3426
|
+
list {
|
|
3427
|
+
id
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3208
3430
|
}
|
|
3209
|
-
|
|
3210
|
-
}
|
|
3211
|
-
`;
|
|
3431
|
+
`;
|
|
3212
3432
|
/**
|
|
3213
3433
|
* __useExplorerSelectionIdsQuery__
|
|
3214
3434
|
*
|
|
@@ -3234,19 +3454,23 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3234
3454
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3235
3455
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3236
3456
|
}
|
|
3457
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3458
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3459
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3460
|
+
}
|
|
3237
3461
|
export const MeDocument = gql `
|
|
3238
3462
|
query Me {
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3463
|
+
me {
|
|
3464
|
+
id
|
|
3465
|
+
whoAmI {
|
|
3466
|
+
id
|
|
3467
|
+
library {
|
|
3468
|
+
id
|
|
3469
|
+
}
|
|
3470
|
+
}
|
|
3471
|
+
}
|
|
3246
3472
|
}
|
|
3247
|
-
|
|
3248
|
-
}
|
|
3249
|
-
`;
|
|
3473
|
+
`;
|
|
3250
3474
|
/**
|
|
3251
3475
|
* __useMeQuery__
|
|
3252
3476
|
*
|
|
@@ -3270,13 +3494,17 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3270
3494
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3271
3495
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3272
3496
|
}
|
|
3497
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3498
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3499
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3500
|
+
}
|
|
3273
3501
|
export const UpdateViewDocument = gql `
|
|
3274
3502
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
}
|
|
3279
|
-
|
|
3503
|
+
updateView(view: $view) {
|
|
3504
|
+
...ViewDetails
|
|
3505
|
+
}
|
|
3506
|
+
}
|
|
3507
|
+
${ViewDetailsFragmentDoc}`;
|
|
3280
3508
|
/**
|
|
3281
3509
|
* __useUpdateViewMutation__
|
|
3282
3510
|
*
|
|
@@ -3298,16 +3526,67 @@ export function useUpdateViewMutation(baseOptions) {
|
|
|
3298
3526
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3299
3527
|
return Apollo.useMutation(UpdateViewDocument, options);
|
|
3300
3528
|
}
|
|
3529
|
+
export const GetJoinLibraryMandatoryAttributeValuesDocument = gql `
|
|
3530
|
+
query getJoinLibraryMandatoryAttributeValues($joinLibraryId: ID!, $filters: [RecordFilterInput], $mandatoryAttributeId: ID!) {
|
|
3531
|
+
records(library: $joinLibraryId, filters: $filters) {
|
|
3532
|
+
list {
|
|
3533
|
+
id
|
|
3534
|
+
property(attribute: $mandatoryAttributeId) {
|
|
3535
|
+
... on LinkValue {
|
|
3536
|
+
payload {
|
|
3537
|
+
id
|
|
3538
|
+
}
|
|
3539
|
+
}
|
|
3540
|
+
... on TreeValue {
|
|
3541
|
+
payload {
|
|
3542
|
+
id
|
|
3543
|
+
}
|
|
3544
|
+
}
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3547
|
+
}
|
|
3548
|
+
}
|
|
3549
|
+
`;
|
|
3550
|
+
/**
|
|
3551
|
+
* __useGetJoinLibraryMandatoryAttributeValuesQuery__
|
|
3552
|
+
*
|
|
3553
|
+
* To run a query within a React component, call `useGetJoinLibraryMandatoryAttributeValuesQuery` and pass it any options that fit your needs.
|
|
3554
|
+
* When your component renders, `useGetJoinLibraryMandatoryAttributeValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3555
|
+
* you can use to render your UI.
|
|
3556
|
+
*
|
|
3557
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
3558
|
+
*
|
|
3559
|
+
* @example
|
|
3560
|
+
* const { data, loading, error } = useGetJoinLibraryMandatoryAttributeValuesQuery({
|
|
3561
|
+
* variables: {
|
|
3562
|
+
* joinLibraryId: // value for 'joinLibraryId'
|
|
3563
|
+
* filters: // value for 'filters'
|
|
3564
|
+
* mandatoryAttributeId: // value for 'mandatoryAttributeId'
|
|
3565
|
+
* },
|
|
3566
|
+
* });
|
|
3567
|
+
*/
|
|
3568
|
+
export function useGetJoinLibraryMandatoryAttributeValuesQuery(baseOptions) {
|
|
3569
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3570
|
+
return Apollo.useQuery(GetJoinLibraryMandatoryAttributeValuesDocument, options);
|
|
3571
|
+
}
|
|
3572
|
+
export function useGetJoinLibraryMandatoryAttributeValuesLazyQuery(baseOptions) {
|
|
3573
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3574
|
+
return Apollo.useLazyQuery(GetJoinLibraryMandatoryAttributeValuesDocument, options);
|
|
3575
|
+
}
|
|
3576
|
+
export function useGetJoinLibraryMandatoryAttributeValuesSuspenseQuery(baseOptions) {
|
|
3577
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3578
|
+
return Apollo.useSuspenseQuery(GetJoinLibraryMandatoryAttributeValuesDocument, options);
|
|
3579
|
+
}
|
|
3301
3580
|
export const TreeDataQueryDocument = gql `
|
|
3302
3581
|
query TreeDataQuery($treeId: ID!) {
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3582
|
+
trees(filters: {id: [$treeId]}) {
|
|
3583
|
+
list {
|
|
3584
|
+
id
|
|
3585
|
+
label
|
|
3586
|
+
}
|
|
3587
|
+
}
|
|
3307
3588
|
}
|
|
3308
|
-
|
|
3309
|
-
}
|
|
3310
|
-
`;
|
|
3589
|
+
`;
|
|
3311
3590
|
/**
|
|
3312
3591
|
* __useTreeDataQueryQuery__
|
|
3313
3592
|
*
|
|
@@ -3332,4 +3611,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3332
3611
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3333
3612
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3334
3613
|
}
|
|
3614
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3615
|
+
const options = { ...defaultOptions, ...baseOptions };
|
|
3616
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3617
|
+
}
|
|
3335
3618
|
//# sourceMappingURL=index.js.map
|