@leav/ui 1.6.0-a91c4173 → 1.6.0-b6d4f1b3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_gqlTypes/index.d.ts +307 -27
- package/dist/_gqlTypes/index.js +176 -1
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/trees/treeNodeChildrenQuery.js +2 -0
- package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
- package/dist/_queries/views/viewDetailsFragment.js +1 -0
- package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
- package/dist/components/AttributesSelectionList/sharedComponents.d.ts +159 -153
- package/dist/components/Explorer/Explorer.js +3 -1
- package/dist/components/Explorer/Explorer.js.map +1 -1
- package/dist/components/Explorer/ExplorerFiltersAndSorts.js +1 -1
- package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -1
- package/dist/components/Explorer/TableCell.js +1 -0
- package/dist/components/Explorer/TableCell.js.map +1 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +2 -1
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js +2 -2
- package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.js +2 -1
- package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +2 -1
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +2 -2
- package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
- package/dist/components/Explorer/link-item/LinkModal.d.ts +1 -0
- package/dist/components/Explorer/link-item/LinkModal.js +2 -2
- package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +3 -0
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
- package/dist/components/Filters/FiltersProvider.d.ts +2 -2
- package/dist/components/Filters/FiltersProvider.js.map +1 -1
- package/dist/components/Filters/_types.d.ts +3 -0
- package/dist/components/Filters/_types.js.map +1 -1
- package/dist/components/Filters/context/filtersReducer.js +5 -1
- package/dist/components/Filters/context/filtersReducer.js.map +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.d.ts +1 -0
- package/dist/components/Filters/filter-items/CommonFilterItem.js +28 -8
- package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
- package/dist/components/Filters/filter-items/EmptyValueCheckbox.d.ts +8 -0
- package/dist/components/Filters/filter-items/EmptyValueCheckbox.js +16 -0
- package/dist/components/Filters/filter-items/EmptyValueCheckbox.js.map +1 -0
- package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js +9 -8
- package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +2 -2
- package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.d.ts +0 -1
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +14 -21
- package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +10 -12
- package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js +3 -13
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Filters/index.d.ts +1 -0
- package/dist/components/Filters/index.js +1 -0
- package/dist/components/Filters/index.js.map +1 -1
- package/dist/components/Filters/prepareFiltersForRequest.js +36 -3
- package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
- package/dist/components/Filters/useFilters.d.ts +5 -0
- package/dist/components/Filters/useTransformFilters.js +4 -0
- package/dist/components/Filters/useTransformFilters.js.map +1 -1
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +1 -8
- package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.d.ts +53 -51
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +6 -0
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.d.ts +53 -51
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +2 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +2 -2
- 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 +2 -2
- package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +1 -0
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +4 -2
- package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +2 -1
- package/dist/components/SelectTreeNode/SelectTreeNode.js +3 -3
- package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +2 -1
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +6 -2
- package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/constants.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +2 -1
- package/dist/hooks/useIFrameMessenger/messageHandlers.js +8 -0
- package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/schema.d.ts +3 -0
- package/dist/hooks/useIFrameMessenger/schema.js +1 -0
- package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/types.d.ts +12 -2
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +1 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +15 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +1 -0
- package/dist/locales/en/shared.json +2 -1
- package/dist/locales/fr/shared.json +2 -1
- package/package.json +7 -6
package/dist/_gqlTypes/index.js
CHANGED
|
@@ -886,6 +886,7 @@ export const ViewDetailsFilterFragmentDoc = gql `
|
|
|
886
886
|
}
|
|
887
887
|
condition
|
|
888
888
|
operator
|
|
889
|
+
withEmptyValues
|
|
889
890
|
}
|
|
890
891
|
`;
|
|
891
892
|
export const ViewDetailsFragmentDoc = gql `
|
|
@@ -1206,6 +1207,10 @@ export function useCheckApplicationExistenceLazyQuery(baseOptions) {
|
|
|
1206
1207
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1207
1208
|
return Apollo.useLazyQuery(CheckApplicationExistenceDocument, options);
|
|
1208
1209
|
}
|
|
1210
|
+
export function useCheckApplicationExistenceSuspenseQuery(baseOptions) {
|
|
1211
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1212
|
+
return Apollo.useSuspenseQuery(CheckApplicationExistenceDocument, options);
|
|
1213
|
+
}
|
|
1209
1214
|
export const GetApplicationByIdDocument = gql `
|
|
1210
1215
|
query GET_APPLICATION_BY_ID($id: ID!) {
|
|
1211
1216
|
applications(filters: {id: $id}) {
|
|
@@ -1239,6 +1244,10 @@ export function useGetApplicationByIdLazyQuery(baseOptions) {
|
|
|
1239
1244
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1240
1245
|
return Apollo.useLazyQuery(GetApplicationByIdDocument, options);
|
|
1241
1246
|
}
|
|
1247
|
+
export function useGetApplicationByIdSuspenseQuery(baseOptions) {
|
|
1248
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1249
|
+
return Apollo.useSuspenseQuery(GetApplicationByIdDocument, options);
|
|
1250
|
+
}
|
|
1242
1251
|
export const GetApplicationModulesDocument = gql `
|
|
1243
1252
|
query GET_APPLICATION_MODULES {
|
|
1244
1253
|
applicationsModules {
|
|
@@ -1271,6 +1280,10 @@ export function useGetApplicationModulesLazyQuery(baseOptions) {
|
|
|
1271
1280
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1272
1281
|
return Apollo.useLazyQuery(GetApplicationModulesDocument, options);
|
|
1273
1282
|
}
|
|
1283
|
+
export function useGetApplicationModulesSuspenseQuery(baseOptions) {
|
|
1284
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1285
|
+
return Apollo.useSuspenseQuery(GetApplicationModulesDocument, options);
|
|
1286
|
+
}
|
|
1274
1287
|
export const SaveApplicationDocument = gql `
|
|
1275
1288
|
mutation SAVE_APPLICATION($application: ApplicationInput!) {
|
|
1276
1289
|
saveApplication(application: $application) {
|
|
@@ -1330,6 +1343,10 @@ export function useCheckAttributeExistenceLazyQuery(baseOptions) {
|
|
|
1330
1343
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1331
1344
|
return Apollo.useLazyQuery(CheckAttributeExistenceDocument, options);
|
|
1332
1345
|
}
|
|
1346
|
+
export function useCheckAttributeExistenceSuspenseQuery(baseOptions) {
|
|
1347
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1348
|
+
return Apollo.useSuspenseQuery(CheckAttributeExistenceDocument, options);
|
|
1349
|
+
}
|
|
1333
1350
|
export const DeleteAttributeDocument = gql `
|
|
1334
1351
|
mutation DELETE_ATTRIBUTE($id: ID) {
|
|
1335
1352
|
deleteAttribute(id: $id) {
|
|
@@ -1391,6 +1408,10 @@ export function useGetAttributeByIdLazyQuery(baseOptions) {
|
|
|
1391
1408
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1392
1409
|
return Apollo.useLazyQuery(GetAttributeByIdDocument, options);
|
|
1393
1410
|
}
|
|
1411
|
+
export function useGetAttributeByIdSuspenseQuery(baseOptions) {
|
|
1412
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1413
|
+
return Apollo.useSuspenseQuery(GetAttributeByIdDocument, options);
|
|
1414
|
+
}
|
|
1394
1415
|
export const GetAttributesByLibDocument = gql `
|
|
1395
1416
|
query GET_ATTRIBUTES_BY_LIB($library: String!) {
|
|
1396
1417
|
attributes(filters: {libraries: [$library]}) {
|
|
@@ -1424,6 +1445,10 @@ export function useGetAttributesByLibLazyQuery(baseOptions) {
|
|
|
1424
1445
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1425
1446
|
return Apollo.useLazyQuery(GetAttributesByLibDocument, options);
|
|
1426
1447
|
}
|
|
1448
|
+
export function useGetAttributesByLibSuspenseQuery(baseOptions) {
|
|
1449
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1450
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibDocument, options);
|
|
1451
|
+
}
|
|
1427
1452
|
export const GetAttributesDocument = gql `
|
|
1428
1453
|
query GET_ATTRIBUTES($pagination: Pagination, $sort: SortAttributes, $filters: AttributesFiltersInput) {
|
|
1429
1454
|
attributes(pagination: $pagination, sort: $sort, filters: $filters) {
|
|
@@ -1464,6 +1489,10 @@ export function useGetAttributesLazyQuery(baseOptions) {
|
|
|
1464
1489
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1465
1490
|
return Apollo.useLazyQuery(GetAttributesDocument, options);
|
|
1466
1491
|
}
|
|
1492
|
+
export function useGetAttributesSuspenseQuery(baseOptions) {
|
|
1493
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1494
|
+
return Apollo.useSuspenseQuery(GetAttributesDocument, options);
|
|
1495
|
+
}
|
|
1467
1496
|
export const GetVersionProfilesDocument = gql `
|
|
1468
1497
|
query GET_VERSION_PROFILES($filters: VersionProfilesFiltersInput, $sort: SortVersionProfilesInput) {
|
|
1469
1498
|
versionProfiles(filters: $filters, sort: $sort) {
|
|
@@ -1499,6 +1528,10 @@ export function useGetVersionProfilesLazyQuery(baseOptions) {
|
|
|
1499
1528
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1500
1529
|
return Apollo.useLazyQuery(GetVersionProfilesDocument, options);
|
|
1501
1530
|
}
|
|
1531
|
+
export function useGetVersionProfilesSuspenseQuery(baseOptions) {
|
|
1532
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1533
|
+
return Apollo.useSuspenseQuery(GetVersionProfilesDocument, options);
|
|
1534
|
+
}
|
|
1502
1535
|
export const GetVersionableAttributesByLibraryDocument = gql `
|
|
1503
1536
|
query GET_VERSIONABLE_ATTRIBUTES_BY_LIBRARY($libraryId: String!) {
|
|
1504
1537
|
attributes(filters: {libraries: [$libraryId], versionable: true}) {
|
|
@@ -1542,6 +1575,10 @@ export function useGetVersionableAttributesByLibraryLazyQuery(baseOptions) {
|
|
|
1542
1575
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1543
1576
|
return Apollo.useLazyQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1544
1577
|
}
|
|
1578
|
+
export function useGetVersionableAttributesByLibrarySuspenseQuery(baseOptions) {
|
|
1579
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1580
|
+
return Apollo.useSuspenseQuery(GetVersionableAttributesByLibraryDocument, options);
|
|
1581
|
+
}
|
|
1545
1582
|
export const SaveAttributeDocument = gql `
|
|
1546
1583
|
mutation SAVE_ATTRIBUTE($attribute: AttributeInput!) {
|
|
1547
1584
|
saveAttribute(attribute: $attribute) {
|
|
@@ -1601,6 +1638,10 @@ export function useExportLazyQuery(baseOptions) {
|
|
|
1601
1638
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1602
1639
|
return Apollo.useLazyQuery(ExportDocument, options);
|
|
1603
1640
|
}
|
|
1641
|
+
export function useExportSuspenseQuery(baseOptions) {
|
|
1642
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1643
|
+
return Apollo.useSuspenseQuery(ExportDocument, options);
|
|
1644
|
+
}
|
|
1604
1645
|
export const CreateDirectoryDocument = gql `
|
|
1605
1646
|
mutation CREATE_DIRECTORY($library: String!, $nodeId: String!, $name: String!) {
|
|
1606
1647
|
createDirectory(library: $library, nodeId: $nodeId, name: $name) {
|
|
@@ -1741,6 +1782,10 @@ export function useGetDirectoryDataLazyQuery(baseOptions) {
|
|
|
1741
1782
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1742
1783
|
return Apollo.useLazyQuery(GetDirectoryDataDocument, options);
|
|
1743
1784
|
}
|
|
1785
|
+
export function useGetDirectoryDataSuspenseQuery(baseOptions) {
|
|
1786
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1787
|
+
return Apollo.useSuspenseQuery(GetDirectoryDataDocument, options);
|
|
1788
|
+
}
|
|
1744
1789
|
export const UploadUpdateDocument = gql `
|
|
1745
1790
|
subscription UPLOAD_UPDATE($filters: UploadFiltersInput) {
|
|
1746
1791
|
upload(filters: $filters) {
|
|
@@ -1871,6 +1916,10 @@ export function useCheckLibraryExistenceLazyQuery(baseOptions) {
|
|
|
1871
1916
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1872
1917
|
return Apollo.useLazyQuery(CheckLibraryExistenceDocument, options);
|
|
1873
1918
|
}
|
|
1919
|
+
export function useCheckLibraryExistenceSuspenseQuery(baseOptions) {
|
|
1920
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1921
|
+
return Apollo.useSuspenseQuery(CheckLibraryExistenceDocument, options);
|
|
1922
|
+
}
|
|
1874
1923
|
export const DeleteLibraryDocument = gql `
|
|
1875
1924
|
mutation DELETE_LIBRARY($id: ID) {
|
|
1876
1925
|
deleteLibrary(id: $id) {
|
|
@@ -1931,6 +1980,10 @@ export function useGetLibrariesLazyQuery(baseOptions) {
|
|
|
1931
1980
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1932
1981
|
return Apollo.useLazyQuery(GetLibrariesDocument, options);
|
|
1933
1982
|
}
|
|
1983
|
+
export function useGetLibrariesSuspenseQuery(baseOptions) {
|
|
1984
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
1985
|
+
return Apollo.useSuspenseQuery(GetLibrariesDocument, options);
|
|
1986
|
+
}
|
|
1934
1987
|
export const GetLibraryByIdDocument = gql `
|
|
1935
1988
|
query GET_LIBRARY_BY_ID($id: [ID!]) {
|
|
1936
1989
|
libraries(filters: {id: $id}) {
|
|
@@ -1964,6 +2017,10 @@ export function useGetLibraryByIdLazyQuery(baseOptions) {
|
|
|
1964
2017
|
const options = { ...defaultOptions, ...baseOptions };
|
|
1965
2018
|
return Apollo.useLazyQuery(GetLibraryByIdDocument, options);
|
|
1966
2019
|
}
|
|
2020
|
+
export function useGetLibraryByIdSuspenseQuery(baseOptions) {
|
|
2021
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2022
|
+
return Apollo.useSuspenseQuery(GetLibraryByIdDocument, options);
|
|
2023
|
+
}
|
|
1967
2024
|
export const GetLibraryPermissionsDocument = gql `
|
|
1968
2025
|
query GET_LIBRARY_PERMISSIONS($libraryId: [ID!]) {
|
|
1969
2026
|
libraries(filters: {id: $libraryId}) {
|
|
@@ -2003,6 +2060,10 @@ export function useGetLibraryPermissionsLazyQuery(baseOptions) {
|
|
|
2003
2060
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2004
2061
|
return Apollo.useLazyQuery(GetLibraryPermissionsDocument, options);
|
|
2005
2062
|
}
|
|
2063
|
+
export function useGetLibraryPermissionsSuspenseQuery(baseOptions) {
|
|
2064
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2065
|
+
return Apollo.useSuspenseQuery(GetLibraryPermissionsDocument, options);
|
|
2066
|
+
}
|
|
2006
2067
|
export const GetLibraryPreviewsSettingsDocument = gql `
|
|
2007
2068
|
query GET_LIBRARY_PREVIEWS_SETTINGS($id: ID!) {
|
|
2008
2069
|
libraries(filters: {id: [$id]}) {
|
|
@@ -2051,6 +2112,10 @@ export function useGetLibraryPreviewsSettingsLazyQuery(baseOptions) {
|
|
|
2051
2112
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2052
2113
|
return Apollo.useLazyQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2053
2114
|
}
|
|
2115
|
+
export function useGetLibraryPreviewsSettingsSuspenseQuery(baseOptions) {
|
|
2116
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2117
|
+
return Apollo.useSuspenseQuery(GetLibraryPreviewsSettingsDocument, options);
|
|
2118
|
+
}
|
|
2054
2119
|
export const SaveLibraryDocument = gql `
|
|
2055
2120
|
mutation saveLibrary($library: LibraryInput!) {
|
|
2056
2121
|
saveLibrary(library: $library) {
|
|
@@ -2114,6 +2179,10 @@ export function useIsAllowedLazyQuery(baseOptions) {
|
|
|
2114
2179
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2115
2180
|
return Apollo.useLazyQuery(IsAllowedDocument, options);
|
|
2116
2181
|
}
|
|
2182
|
+
export function useIsAllowedSuspenseQuery(baseOptions) {
|
|
2183
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2184
|
+
return Apollo.useSuspenseQuery(IsAllowedDocument, options);
|
|
2185
|
+
}
|
|
2117
2186
|
export const ActivateNewRecordDocument = gql `
|
|
2118
2187
|
mutation activateNewRecord($libraryId: ID!, $recordId: ID!, $formId: String) {
|
|
2119
2188
|
activateNewRecord(library: $libraryId, recordId: $recordId, formId: $formId) {
|
|
@@ -2324,6 +2393,10 @@ export function useDoesFileExistAsChildLazyQuery(baseOptions) {
|
|
|
2324
2393
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2325
2394
|
return Apollo.useLazyQuery(DoesFileExistAsChildDocument, options);
|
|
2326
2395
|
}
|
|
2396
|
+
export function useDoesFileExistAsChildSuspenseQuery(baseOptions) {
|
|
2397
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2398
|
+
return Apollo.useSuspenseQuery(DoesFileExistAsChildDocument, options);
|
|
2399
|
+
}
|
|
2327
2400
|
export const GetFileDataDocument = gql `
|
|
2328
2401
|
query GET_FILE_DATA($library: ID!, $fileId: String!, $previewsStatusAttribute: ID!) {
|
|
2329
2402
|
records(
|
|
@@ -2404,6 +2477,10 @@ export function useGetFileDataLazyQuery(baseOptions) {
|
|
|
2404
2477
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2405
2478
|
return Apollo.useLazyQuery(GetFileDataDocument, options);
|
|
2406
2479
|
}
|
|
2480
|
+
export function useGetFileDataSuspenseQuery(baseOptions) {
|
|
2481
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2482
|
+
return Apollo.useSuspenseQuery(GetFileDataDocument, options);
|
|
2483
|
+
}
|
|
2407
2484
|
export const RecordFormDocument = gql `
|
|
2408
2485
|
query RECORD_FORM($libraryId: String!, $formId: String!, $recordId: String, $version: [ValueVersionInput!]) {
|
|
2409
2486
|
recordForm(
|
|
@@ -2457,6 +2534,10 @@ export function useRecordFormLazyQuery(baseOptions) {
|
|
|
2457
2534
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2458
2535
|
return Apollo.useLazyQuery(RecordFormDocument, options);
|
|
2459
2536
|
}
|
|
2537
|
+
export function useRecordFormSuspenseQuery(baseOptions) {
|
|
2538
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2539
|
+
return Apollo.useSuspenseQuery(RecordFormDocument, options);
|
|
2540
|
+
}
|
|
2460
2541
|
export const RecordUpdateDocument = gql `
|
|
2461
2542
|
subscription RECORD_UPDATE($filters: RecordUpdateFilterInput) {
|
|
2462
2543
|
recordUpdate(filters: $filters) {
|
|
@@ -2536,6 +2617,10 @@ export function useGetRecordsFromLibraryLazyQuery(baseOptions) {
|
|
|
2536
2617
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2537
2618
|
return Apollo.useLazyQuery(GetRecordsFromLibraryDocument, options);
|
|
2538
2619
|
}
|
|
2620
|
+
export function useGetRecordsFromLibrarySuspenseQuery(baseOptions) {
|
|
2621
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2622
|
+
return Apollo.useSuspenseQuery(GetRecordsFromLibraryDocument, options);
|
|
2623
|
+
}
|
|
2539
2624
|
export const IndexRecordsDocument = gql `
|
|
2540
2625
|
mutation INDEX_RECORDS($libraryId: String!, $records: [String!]) {
|
|
2541
2626
|
indexRecords(libraryId: $libraryId, records: $records)
|
|
@@ -2649,6 +2734,10 @@ export function useCheckTreeExistenceLazyQuery(baseOptions) {
|
|
|
2649
2734
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2650
2735
|
return Apollo.useLazyQuery(CheckTreeExistenceDocument, options);
|
|
2651
2736
|
}
|
|
2737
|
+
export function useCheckTreeExistenceSuspenseQuery(baseOptions) {
|
|
2738
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2739
|
+
return Apollo.useSuspenseQuery(CheckTreeExistenceDocument, options);
|
|
2740
|
+
}
|
|
2652
2741
|
export const DeleteTreeDocument = gql `
|
|
2653
2742
|
mutation DELETE_TREE($id: ID!) {
|
|
2654
2743
|
deleteTree(id: $id) {
|
|
@@ -2710,6 +2799,10 @@ export function useGetTreeByIdLazyQuery(baseOptions) {
|
|
|
2710
2799
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2711
2800
|
return Apollo.useLazyQuery(GetTreeByIdDocument, options);
|
|
2712
2801
|
}
|
|
2802
|
+
export function useGetTreeByIdSuspenseQuery(baseOptions) {
|
|
2803
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2804
|
+
return Apollo.useSuspenseQuery(GetTreeByIdDocument, options);
|
|
2805
|
+
}
|
|
2713
2806
|
export const GetTreeLibrariesDocument = gql `
|
|
2714
2807
|
query GET_TREE_LIBRARIES($treeId: [ID!], $library: String) {
|
|
2715
2808
|
trees(filters: {id: $treeId, library: $library}) {
|
|
@@ -2760,6 +2853,10 @@ export function useGetTreeLibrariesLazyQuery(baseOptions) {
|
|
|
2760
2853
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2761
2854
|
return Apollo.useLazyQuery(GetTreeLibrariesDocument, options);
|
|
2762
2855
|
}
|
|
2856
|
+
export function useGetTreeLibrariesSuspenseQuery(baseOptions) {
|
|
2857
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2858
|
+
return Apollo.useSuspenseQuery(GetTreeLibrariesDocument, options);
|
|
2859
|
+
}
|
|
2763
2860
|
export const GetTreesDocument = gql `
|
|
2764
2861
|
query GET_TREES {
|
|
2765
2862
|
trees {
|
|
@@ -2792,6 +2889,10 @@ export function useGetTreesLazyQuery(baseOptions) {
|
|
|
2792
2889
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2793
2890
|
return Apollo.useLazyQuery(GetTreesDocument, options);
|
|
2794
2891
|
}
|
|
2892
|
+
export function useGetTreesSuspenseQuery(baseOptions) {
|
|
2893
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2894
|
+
return Apollo.useSuspenseQuery(GetTreesDocument, options);
|
|
2895
|
+
}
|
|
2795
2896
|
export const SaveTreeDocument = gql `
|
|
2796
2897
|
mutation SAVE_TREE($tree: TreeInput!) {
|
|
2797
2898
|
saveTree(tree: $tree) {
|
|
@@ -2821,12 +2922,13 @@ export function useSaveTreeMutation(baseOptions) {
|
|
|
2821
2922
|
return Apollo.useMutation(SaveTreeDocument, options);
|
|
2822
2923
|
}
|
|
2823
2924
|
export const TreeNodeChildrenDocument = gql `
|
|
2824
|
-
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput) {
|
|
2925
|
+
query TREE_NODE_CHILDREN($treeId: ID!, $node: ID, $pagination: Pagination, $childrenAsRecordValuePermissionFilter: ChildrenAsRecordValuePermissionFilterInput, $dependentValuesPermissionFilter: DependentValuesPermissionFilterInput) {
|
|
2825
2926
|
treeNodeChildren(
|
|
2826
2927
|
treeId: $treeId
|
|
2827
2928
|
node: $node
|
|
2828
2929
|
pagination: $pagination
|
|
2829
2930
|
childrenAsRecordValuePermissionFilter: $childrenAsRecordValuePermissionFilter
|
|
2931
|
+
dependentValuesPermissionFilter: $dependentValuesPermissionFilter
|
|
2830
2932
|
) {
|
|
2831
2933
|
totalCount
|
|
2832
2934
|
list {
|
|
@@ -2851,6 +2953,7 @@ export const TreeNodeChildrenDocument = gql `
|
|
|
2851
2953
|
* node: // value for 'node'
|
|
2852
2954
|
* pagination: // value for 'pagination'
|
|
2853
2955
|
* childrenAsRecordValuePermissionFilter: // value for 'childrenAsRecordValuePermissionFilter'
|
|
2956
|
+
* dependentValuesPermissionFilter: // value for 'dependentValuesPermissionFilter'
|
|
2854
2957
|
* },
|
|
2855
2958
|
* });
|
|
2856
2959
|
*/
|
|
@@ -2862,6 +2965,10 @@ export function useTreeNodeChildrenLazyQuery(baseOptions) {
|
|
|
2862
2965
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2863
2966
|
return Apollo.useLazyQuery(TreeNodeChildrenDocument, options);
|
|
2864
2967
|
}
|
|
2968
|
+
export function useTreeNodeChildrenSuspenseQuery(baseOptions) {
|
|
2969
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
2970
|
+
return Apollo.useSuspenseQuery(TreeNodeChildrenDocument, options);
|
|
2971
|
+
}
|
|
2865
2972
|
export const GetUserDataDocument = gql `
|
|
2866
2973
|
query GET_USER_DATA($keys: [String!]!, $global: Boolean) {
|
|
2867
2974
|
userData(keys: $keys, global: $global) {
|
|
@@ -2895,6 +3002,10 @@ export function useGetUserDataLazyQuery(baseOptions) {
|
|
|
2895
3002
|
const options = { ...defaultOptions, ...baseOptions };
|
|
2896
3003
|
return Apollo.useLazyQuery(GetUserDataDocument, options);
|
|
2897
3004
|
}
|
|
3005
|
+
export function useGetUserDataSuspenseQuery(baseOptions) {
|
|
3006
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3007
|
+
return Apollo.useSuspenseQuery(GetUserDataDocument, options);
|
|
3008
|
+
}
|
|
2898
3009
|
export const SaveUserDataDocument = gql `
|
|
2899
3010
|
mutation SAVE_USER_DATA($key: String!, $value: Any, $global: Boolean!) {
|
|
2900
3011
|
saveUserData(key: $key, value: $value, global: $global) {
|
|
@@ -3102,6 +3213,10 @@ export function useGetViewLazyQuery(baseOptions) {
|
|
|
3102
3213
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3103
3214
|
return Apollo.useLazyQuery(GetViewDocument, options);
|
|
3104
3215
|
}
|
|
3216
|
+
export function useGetViewSuspenseQuery(baseOptions) {
|
|
3217
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3218
|
+
return Apollo.useSuspenseQuery(GetViewDocument, options);
|
|
3219
|
+
}
|
|
3105
3220
|
export const GetViewsListDocument = gql `
|
|
3106
3221
|
query GET_VIEWS_LIST($libraryId: String!) {
|
|
3107
3222
|
views(library: $libraryId) {
|
|
@@ -3136,6 +3251,10 @@ export function useGetViewsListLazyQuery(baseOptions) {
|
|
|
3136
3251
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3137
3252
|
return Apollo.useLazyQuery(GetViewsListDocument, options);
|
|
3138
3253
|
}
|
|
3254
|
+
export function useGetViewsListSuspenseQuery(baseOptions) {
|
|
3255
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3256
|
+
return Apollo.useSuspenseQuery(GetViewsListDocument, options);
|
|
3257
|
+
}
|
|
3139
3258
|
export const SaveViewDocument = gql `
|
|
3140
3259
|
mutation SAVE_VIEW($view: ViewInput!) {
|
|
3141
3260
|
saveView(view: $view) {
|
|
@@ -3212,6 +3331,10 @@ export function useTreeFilterByDefaultValuesLazyQuery(baseOptions) {
|
|
|
3212
3331
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3213
3332
|
return Apollo.useLazyQuery(TreeFilterByDefaultValuesDocument, options);
|
|
3214
3333
|
}
|
|
3334
|
+
export function useTreeFilterByDefaultValuesSuspenseQuery(baseOptions) {
|
|
3335
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3336
|
+
return Apollo.useSuspenseQuery(TreeFilterByDefaultValuesDocument, options);
|
|
3337
|
+
}
|
|
3215
3338
|
export const GetAttributesByLibWithPermissionsDocument = gql `
|
|
3216
3339
|
query getAttributesByLibWithPermissions($library: String!) {
|
|
3217
3340
|
attributes(filters: {libraries: [$library]}) {
|
|
@@ -3245,6 +3368,10 @@ export function useGetAttributesByLibWithPermissionsLazyQuery(baseOptions) {
|
|
|
3245
3368
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3246
3369
|
return Apollo.useLazyQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3247
3370
|
}
|
|
3371
|
+
export function useGetAttributesByLibWithPermissionsSuspenseQuery(baseOptions) {
|
|
3372
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3373
|
+
return Apollo.useSuspenseQuery(GetAttributesByLibWithPermissionsDocument, options);
|
|
3374
|
+
}
|
|
3248
3375
|
export const ExplorerAttributesDocument = gql `
|
|
3249
3376
|
query ExplorerAttributes($ids: [ID!]) {
|
|
3250
3377
|
attributes(filters: {ids: $ids}) {
|
|
@@ -3289,6 +3416,10 @@ export function useExplorerAttributesLazyQuery(baseOptions) {
|
|
|
3289
3416
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3290
3417
|
return Apollo.useLazyQuery(ExplorerAttributesDocument, options);
|
|
3291
3418
|
}
|
|
3419
|
+
export function useExplorerAttributesSuspenseQuery(baseOptions) {
|
|
3420
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3421
|
+
return Apollo.useSuspenseQuery(ExplorerAttributesDocument, options);
|
|
3422
|
+
}
|
|
3292
3423
|
export const ExplorerLinkAttributeDocument = gql `
|
|
3293
3424
|
query ExplorerLinkAttribute($id: ID!) {
|
|
3294
3425
|
attributes(filters: {ids: [$id]}) {
|
|
@@ -3330,6 +3461,10 @@ export function useExplorerLinkAttributeLazyQuery(baseOptions) {
|
|
|
3330
3461
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3331
3462
|
return Apollo.useLazyQuery(ExplorerLinkAttributeDocument, options);
|
|
3332
3463
|
}
|
|
3464
|
+
export function useExplorerLinkAttributeSuspenseQuery(baseOptions) {
|
|
3465
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3466
|
+
return Apollo.useSuspenseQuery(ExplorerLinkAttributeDocument, options);
|
|
3467
|
+
}
|
|
3333
3468
|
export const CountValuesOccurrencesDocument = gql `
|
|
3334
3469
|
query CountValuesOccurrences($library: ID!, $attribute: ID!, $recordFilters: [RecordFilterInput]) {
|
|
3335
3470
|
countValuesOccurrences(
|
|
@@ -3375,6 +3510,10 @@ export function useCountValuesOccurrencesLazyQuery(baseOptions) {
|
|
|
3375
3510
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3376
3511
|
return Apollo.useLazyQuery(CountValuesOccurrencesDocument, options);
|
|
3377
3512
|
}
|
|
3513
|
+
export function useCountValuesOccurrencesSuspenseQuery(baseOptions) {
|
|
3514
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3515
|
+
return Apollo.useSuspenseQuery(CountValuesOccurrencesDocument, options);
|
|
3516
|
+
}
|
|
3378
3517
|
export const ExplorerLibraryDataDocument = gql `
|
|
3379
3518
|
query ExplorerLibraryData($libraryId: ID!, $attributeIds: [ID!]!, $pagination: RecordsPagination, $filters: [RecordFilterInput], $multipleSort: [RecordSortInput!], $searchQuery: String) {
|
|
3380
3519
|
records(
|
|
@@ -3436,6 +3575,10 @@ export function useExplorerLibraryDataLazyQuery(baseOptions) {
|
|
|
3436
3575
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3437
3576
|
return Apollo.useLazyQuery(ExplorerLibraryDataDocument, options);
|
|
3438
3577
|
}
|
|
3578
|
+
export function useExplorerLibraryDataSuspenseQuery(baseOptions) {
|
|
3579
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3580
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDataDocument, options);
|
|
3581
|
+
}
|
|
3439
3582
|
export const ExplorerLinkDataDocument = gql `
|
|
3440
3583
|
query ExplorerLinkData($attributeIds: [ID!]!, $parentLibraryId: ID!, $parentRecordId: String, $linkAttributeId: ID!) {
|
|
3441
3584
|
records(
|
|
@@ -3485,6 +3628,10 @@ export function useExplorerLinkDataLazyQuery(baseOptions) {
|
|
|
3485
3628
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3486
3629
|
return Apollo.useLazyQuery(ExplorerLinkDataDocument, options);
|
|
3487
3630
|
}
|
|
3631
|
+
export function useExplorerLinkDataSuspenseQuery(baseOptions) {
|
|
3632
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3633
|
+
return Apollo.useSuspenseQuery(ExplorerLinkDataDocument, options);
|
|
3634
|
+
}
|
|
3488
3635
|
export const GetLibraryAttributesDocument = gql `
|
|
3489
3636
|
query GetLibraryAttributes($libraryId: ID!) {
|
|
3490
3637
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3521,6 +3668,10 @@ export function useGetLibraryAttributesLazyQuery(baseOptions) {
|
|
|
3521
3668
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3522
3669
|
return Apollo.useLazyQuery(GetLibraryAttributesDocument, options);
|
|
3523
3670
|
}
|
|
3671
|
+
export function useGetLibraryAttributesSuspenseQuery(baseOptions) {
|
|
3672
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3673
|
+
return Apollo.useSuspenseQuery(GetLibraryAttributesDocument, options);
|
|
3674
|
+
}
|
|
3524
3675
|
export const ExplorerLibraryDetailsDocument = gql `
|
|
3525
3676
|
query ExplorerLibraryDetails($libraryId: ID!) {
|
|
3526
3677
|
libraries(filters: {id: [$libraryId]}) {
|
|
@@ -3559,6 +3710,10 @@ export function useExplorerLibraryDetailsLazyQuery(baseOptions) {
|
|
|
3559
3710
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3560
3711
|
return Apollo.useLazyQuery(ExplorerLibraryDetailsDocument, options);
|
|
3561
3712
|
}
|
|
3713
|
+
export function useExplorerLibraryDetailsSuspenseQuery(baseOptions) {
|
|
3714
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3715
|
+
return Apollo.useSuspenseQuery(ExplorerLibraryDetailsDocument, options);
|
|
3716
|
+
}
|
|
3562
3717
|
export const LibraryExportProfilesDocument = gql `
|
|
3563
3718
|
query libraryExportProfiles($libraryId: [ID!]) {
|
|
3564
3719
|
libraries(filters: {id: $libraryId}) {
|
|
@@ -3605,6 +3760,10 @@ export function useLibraryExportProfilesLazyQuery(baseOptions) {
|
|
|
3605
3760
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3606
3761
|
return Apollo.useLazyQuery(LibraryExportProfilesDocument, options);
|
|
3607
3762
|
}
|
|
3763
|
+
export function useLibraryExportProfilesSuspenseQuery(baseOptions) {
|
|
3764
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3765
|
+
return Apollo.useSuspenseQuery(LibraryExportProfilesDocument, options);
|
|
3766
|
+
}
|
|
3608
3767
|
export const ExplorerSelectionIdsDocument = gql `
|
|
3609
3768
|
query ExplorerSelectionIds($libraryId: ID!, $filters: [RecordFilterInput]) {
|
|
3610
3769
|
records(library: $libraryId, filters: $filters) {
|
|
@@ -3639,6 +3798,10 @@ export function useExplorerSelectionIdsLazyQuery(baseOptions) {
|
|
|
3639
3798
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3640
3799
|
return Apollo.useLazyQuery(ExplorerSelectionIdsDocument, options);
|
|
3641
3800
|
}
|
|
3801
|
+
export function useExplorerSelectionIdsSuspenseQuery(baseOptions) {
|
|
3802
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3803
|
+
return Apollo.useSuspenseQuery(ExplorerSelectionIdsDocument, options);
|
|
3804
|
+
}
|
|
3642
3805
|
export const MeDocument = gql `
|
|
3643
3806
|
query Me {
|
|
3644
3807
|
me {
|
|
@@ -3675,6 +3838,10 @@ export function useMeLazyQuery(baseOptions) {
|
|
|
3675
3838
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3676
3839
|
return Apollo.useLazyQuery(MeDocument, options);
|
|
3677
3840
|
}
|
|
3841
|
+
export function useMeSuspenseQuery(baseOptions) {
|
|
3842
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3843
|
+
return Apollo.useSuspenseQuery(MeDocument, options);
|
|
3844
|
+
}
|
|
3678
3845
|
export const UpdateViewDocument = gql `
|
|
3679
3846
|
mutation UpdateView($view: ViewInputPartial!) {
|
|
3680
3847
|
updateView(view: $view) {
|
|
@@ -3780,6 +3947,10 @@ export function useGetRecordHistoryLazyQuery(baseOptions) {
|
|
|
3780
3947
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3781
3948
|
return Apollo.useLazyQuery(GetRecordHistoryDocument, options);
|
|
3782
3949
|
}
|
|
3950
|
+
export function useGetRecordHistorySuspenseQuery(baseOptions) {
|
|
3951
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3952
|
+
return Apollo.useSuspenseQuery(GetRecordHistoryDocument, options);
|
|
3953
|
+
}
|
|
3783
3954
|
export const TreeDataQueryDocument = gql `
|
|
3784
3955
|
query TreeDataQuery($treeId: ID!) {
|
|
3785
3956
|
trees(filters: {id: [$treeId]}) {
|
|
@@ -3814,4 +3985,8 @@ export function useTreeDataQueryLazyQuery(baseOptions) {
|
|
|
3814
3985
|
const options = { ...defaultOptions, ...baseOptions };
|
|
3815
3986
|
return Apollo.useLazyQuery(TreeDataQueryDocument, options);
|
|
3816
3987
|
}
|
|
3988
|
+
export function useTreeDataQuerySuspenseQuery(baseOptions) {
|
|
3989
|
+
const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
|
|
3990
|
+
return Apollo.useSuspenseQuery(TreeDataQueryDocument, options);
|
|
3991
|
+
}
|
|
3817
3992
|
//# sourceMappingURL=index.js.map
|