@leav/ui 0.4.0-2c820e6 → 0.4.0-347facc

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.
Files changed (102) hide show
  1. package/dist/_gqlTypes/index.d.ts +939 -19
  2. package/dist/_gqlTypes/index.js +132 -3
  3. package/dist/_gqlTypes/index.js.map +1 -1
  4. package/dist/_queries/records/activateRecordsMutation.d.ts +1 -0
  5. package/dist/_queries/records/activateRecordsMutation.js +15 -0
  6. package/dist/_queries/records/activateRecordsMutation.js.map +1 -0
  7. package/dist/_queries/records/getRecordFormQuery.js +9 -0
  8. package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
  9. package/dist/components/Explorer/DataView.d.ts +2 -1
  10. package/dist/components/Explorer/DataView.js +13 -10
  11. package/dist/components/Explorer/DataView.js.map +1 -1
  12. package/dist/components/Explorer/Explorer.d.ts +5 -4
  13. package/dist/components/Explorer/Explorer.js +7 -5
  14. package/dist/components/Explorer/Explorer.js.map +1 -1
  15. package/dist/components/Explorer/_queries/useExplorerData.js +7 -3
  16. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  17. package/dist/components/Explorer/_types.d.ts +4 -2
  18. package/dist/components/Explorer/_types.js.map +1 -1
  19. package/dist/components/Explorer/actions-item/{useRemoveItemAction.d.ts → useEditStatusItemAction.d.ts} +2 -2
  20. package/dist/components/Explorer/actions-item/{useRemoveItemAction.js → useEditStatusItemAction.js} +71 -24
  21. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -0
  22. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +3 -1
  23. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +14 -6
  24. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  25. package/dist/components/Explorer/useViewSettingsReducer.js +6 -2
  26. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  27. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +2 -2
  28. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  29. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js +2 -2
  30. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js.map +1 -1
  31. package/dist/components/LinkSelect/LinkSelect.d.ts +15 -0
  32. package/dist/components/LinkSelect/LinkSelect.js +88 -0
  33. package/dist/components/LinkSelect/LinkSelect.js.map +1 -0
  34. package/dist/components/LinkSelect/index.d.ts +2 -0
  35. package/dist/components/{SelectTreeNodeModal → LinkSelect}/index.js +2 -1
  36. package/dist/components/LinkSelect/index.js.map +1 -0
  37. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +2 -2
  38. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +7 -4
  39. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  40. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js +2 -2
  41. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-creation/useLinkRecordsInCreation.js.map +1 -1
  42. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.d.ts +4 -2
  43. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js +258 -52
  44. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record-in-edition/useLinkRecordsInEdition.js.map +1 -1
  45. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +1 -1
  46. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  47. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +3 -3
  48. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
  49. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +4 -3
  50. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  51. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +2 -1
  52. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +2 -2
  53. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
  54. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.d.ts +2 -1
  55. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js +2 -2
  56. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/useDisplayTreeNode.js.map +1 -1
  57. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +21 -2
  58. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +8 -5
  59. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
  60. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +1 -0
  61. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +2 -2
  62. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  63. package/dist/components/RecordEdition/index.d.ts +1 -0
  64. package/dist/components/RecordEdition/index.js +1 -0
  65. package/dist/components/RecordEdition/index.js.map +1 -1
  66. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +2 -1
  67. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +2 -2
  68. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  69. package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.d.ts → SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts} +1 -1
  70. package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.js → SelectTreeNodeModalOld/SelectTreeNodeModalOld.js} +4 -2
  71. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
  72. package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
  73. package/dist/components/SelectTreeNodeModalOld/index.js +5 -0
  74. package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
  75. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
  76. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  77. package/dist/components/index.d.ts +1 -2
  78. package/dist/components/index.js +1 -2
  79. package/dist/components/index.js.map +1 -1
  80. package/dist/contexts/LangContext/LangContext.d.ts +1 -2
  81. package/dist/contexts/LangContext/LangContext.js +2 -2
  82. package/dist/contexts/LangContext/LangContext.js.map +1 -1
  83. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +1 -1
  84. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  85. package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +3 -2
  86. package/dist/hooks/useIFrameMessenger/messageHandlers.js +12 -5
  87. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
  88. package/dist/hooks/useIFrameMessenger/types.d.ts +78 -9
  89. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  90. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +2 -0
  91. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +32 -12
  92. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
  93. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
  94. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
  95. package/dist/locales/en/shared.json +5 -0
  96. package/dist/locales/fr/shared.json +5 -0
  97. package/dist/types/attributes.d.ts +2 -1
  98. package/package.json +1 -2
  99. package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +0 -1
  100. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
  101. package/dist/components/SelectTreeNodeModal/index.d.ts +0 -1
  102. package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
@@ -310,12 +310,12 @@ export type LibraryIconInput = {
310
310
  export type LibraryInput = {
311
311
  attributes?: InputMaybe<Array<Scalars['ID']>>;
312
312
  behavior?: InputMaybe<LibraryBehavior>;
313
- mandatoryAttribute?: InputMaybe<Scalars['ID']>;
314
313
  defaultView?: InputMaybe<Scalars['ID']>;
315
314
  fullTextAttributes?: InputMaybe<Array<Scalars['ID']>>;
316
315
  icon?: InputMaybe<LibraryIconInput>;
317
316
  id: Scalars['ID'];
318
317
  label?: InputMaybe<Scalars['SystemTranslation']>;
318
+ mandatoryAttribute?: InputMaybe<Scalars['ID']>;
319
319
  permissions_conf?: InputMaybe<TreepermissionsConfInput>;
320
320
  previewsSettings?: InputMaybe<Array<LibraryPreviewsSettingsInput>>;
321
321
  recordIdentityConf?: InputMaybe<RecordIdentityConfInput>;
@@ -346,7 +346,6 @@ export declare enum LogAction {
346
346
  PERMISSION_SAVE = "PERMISSION_SAVE",
347
347
  RECORD_DELETE = "RECORD_DELETE",
348
348
  RECORD_SAVE = "RECORD_SAVE",
349
- SDO_LOG_EXPORT_RECORD = "SDO_LOG_EXPORT_RECORD",
350
349
  TASKS_DELETE = "TASKS_DELETE",
351
350
  TREE_ADD_ELEMENT = "TREE_ADD_ELEMENT",
352
351
  TREE_DELETE = "TREE_DELETE",
@@ -1773,6 +1772,261 @@ export type RecordFormElementFragment = {
1773
1772
  key: string;
1774
1773
  value: any;
1775
1774
  }>;
1775
+ joinLibraryContext?: {
1776
+ mandatoryAttribute: {
1777
+ id: string;
1778
+ label?: any | null;
1779
+ description?: any | null;
1780
+ type: AttributeType;
1781
+ format?: AttributeFormat | null;
1782
+ system: boolean;
1783
+ readonly: boolean;
1784
+ required: boolean;
1785
+ multiple_values: boolean;
1786
+ compute: boolean;
1787
+ linked_library?: {
1788
+ id: string;
1789
+ label?: any | null;
1790
+ behavior: LibraryBehavior;
1791
+ permissions?: {
1792
+ create_record: boolean;
1793
+ } | null;
1794
+ } | null;
1795
+ linkValuesList?: {
1796
+ enable: boolean;
1797
+ allowFreeEntry?: boolean | null;
1798
+ allowListUpdate?: boolean | null;
1799
+ values?: Array<{
1800
+ id: string;
1801
+ whoAmI: {
1802
+ id: string;
1803
+ label?: string | null;
1804
+ subLabel?: string | null;
1805
+ color?: string | null;
1806
+ preview?: IPreviewScalar | null;
1807
+ library: {
1808
+ id: string;
1809
+ label?: any | null;
1810
+ };
1811
+ };
1812
+ }> | null;
1813
+ } | null;
1814
+ permissions: {
1815
+ access_attribute: boolean;
1816
+ edit_value: boolean;
1817
+ };
1818
+ versions_conf?: {
1819
+ versionable: boolean;
1820
+ profile?: {
1821
+ id: string;
1822
+ trees: Array<{
1823
+ id: string;
1824
+ label?: any | null;
1825
+ }>;
1826
+ } | null;
1827
+ } | null;
1828
+ metadata_fields?: Array<{
1829
+ id: string;
1830
+ label?: any | null;
1831
+ description?: any | null;
1832
+ type: AttributeType;
1833
+ format?: AttributeFormat | null;
1834
+ system: boolean;
1835
+ readonly: boolean;
1836
+ multiple_values: boolean;
1837
+ permissions: {
1838
+ access_attribute: boolean;
1839
+ edit_value: boolean;
1840
+ };
1841
+ values_list?: {
1842
+ enable: boolean;
1843
+ allowFreeEntry?: boolean | null;
1844
+ allowListUpdate?: boolean | null;
1845
+ dateRangeValues?: Array<{
1846
+ from?: string | null;
1847
+ to?: string | null;
1848
+ }> | null;
1849
+ } | {
1850
+ enable: boolean;
1851
+ allowFreeEntry?: boolean | null;
1852
+ allowListUpdate?: boolean | null;
1853
+ values?: Array<string> | null;
1854
+ } | null;
1855
+ metadata_fields?: Array<{
1856
+ id: string;
1857
+ }> | null;
1858
+ }> | null;
1859
+ } | {
1860
+ character_limit?: number | null;
1861
+ id: string;
1862
+ label?: any | null;
1863
+ description?: any | null;
1864
+ type: AttributeType;
1865
+ format?: AttributeFormat | null;
1866
+ system: boolean;
1867
+ readonly: boolean;
1868
+ required: boolean;
1869
+ multiple_values: boolean;
1870
+ compute: boolean;
1871
+ values_list?: {
1872
+ enable: boolean;
1873
+ allowFreeEntry?: boolean | null;
1874
+ allowListUpdate?: boolean | null;
1875
+ dateRangeValues?: Array<{
1876
+ from?: string | null;
1877
+ to?: string | null;
1878
+ }> | null;
1879
+ } | {
1880
+ enable: boolean;
1881
+ allowFreeEntry?: boolean | null;
1882
+ allowListUpdate?: boolean | null;
1883
+ values?: Array<string> | null;
1884
+ } | null;
1885
+ permissions: {
1886
+ access_attribute: boolean;
1887
+ edit_value: boolean;
1888
+ };
1889
+ versions_conf?: {
1890
+ versionable: boolean;
1891
+ profile?: {
1892
+ id: string;
1893
+ trees: Array<{
1894
+ id: string;
1895
+ label?: any | null;
1896
+ }>;
1897
+ } | null;
1898
+ } | null;
1899
+ metadata_fields?: Array<{
1900
+ id: string;
1901
+ label?: any | null;
1902
+ description?: any | null;
1903
+ type: AttributeType;
1904
+ format?: AttributeFormat | null;
1905
+ system: boolean;
1906
+ readonly: boolean;
1907
+ multiple_values: boolean;
1908
+ permissions: {
1909
+ access_attribute: boolean;
1910
+ edit_value: boolean;
1911
+ };
1912
+ values_list?: {
1913
+ enable: boolean;
1914
+ allowFreeEntry?: boolean | null;
1915
+ allowListUpdate?: boolean | null;
1916
+ dateRangeValues?: Array<{
1917
+ from?: string | null;
1918
+ to?: string | null;
1919
+ }> | null;
1920
+ } | {
1921
+ enable: boolean;
1922
+ allowFreeEntry?: boolean | null;
1923
+ allowListUpdate?: boolean | null;
1924
+ values?: Array<string> | null;
1925
+ } | null;
1926
+ metadata_fields?: Array<{
1927
+ id: string;
1928
+ }> | null;
1929
+ }> | null;
1930
+ } | {
1931
+ id: string;
1932
+ label?: any | null;
1933
+ description?: any | null;
1934
+ type: AttributeType;
1935
+ format?: AttributeFormat | null;
1936
+ system: boolean;
1937
+ readonly: boolean;
1938
+ required: boolean;
1939
+ multiple_values: boolean;
1940
+ compute: boolean;
1941
+ linked_tree?: {
1942
+ id: string;
1943
+ label?: any | null;
1944
+ } | null;
1945
+ treeValuesList?: {
1946
+ enable: boolean;
1947
+ allowFreeEntry?: boolean | null;
1948
+ allowListUpdate?: boolean | null;
1949
+ values?: Array<{
1950
+ id: string;
1951
+ record: {
1952
+ id: string;
1953
+ whoAmI: {
1954
+ id: string;
1955
+ label?: string | null;
1956
+ subLabel?: string | null;
1957
+ color?: string | null;
1958
+ preview?: IPreviewScalar | null;
1959
+ library: {
1960
+ id: string;
1961
+ label?: any | null;
1962
+ };
1963
+ };
1964
+ };
1965
+ ancestors?: Array<{
1966
+ record: {
1967
+ id: string;
1968
+ whoAmI: {
1969
+ id: string;
1970
+ label?: string | null;
1971
+ subLabel?: string | null;
1972
+ color?: string | null;
1973
+ preview?: IPreviewScalar | null;
1974
+ library: {
1975
+ id: string;
1976
+ label?: any | null;
1977
+ };
1978
+ };
1979
+ };
1980
+ }> | null;
1981
+ }> | null;
1982
+ } | null;
1983
+ permissions: {
1984
+ access_attribute: boolean;
1985
+ edit_value: boolean;
1986
+ };
1987
+ versions_conf?: {
1988
+ versionable: boolean;
1989
+ profile?: {
1990
+ id: string;
1991
+ trees: Array<{
1992
+ id: string;
1993
+ label?: any | null;
1994
+ }>;
1995
+ } | null;
1996
+ } | null;
1997
+ metadata_fields?: Array<{
1998
+ id: string;
1999
+ label?: any | null;
2000
+ description?: any | null;
2001
+ type: AttributeType;
2002
+ format?: AttributeFormat | null;
2003
+ system: boolean;
2004
+ readonly: boolean;
2005
+ multiple_values: boolean;
2006
+ permissions: {
2007
+ access_attribute: boolean;
2008
+ edit_value: boolean;
2009
+ };
2010
+ values_list?: {
2011
+ enable: boolean;
2012
+ allowFreeEntry?: boolean | null;
2013
+ allowListUpdate?: boolean | null;
2014
+ dateRangeValues?: Array<{
2015
+ from?: string | null;
2016
+ to?: string | null;
2017
+ }> | null;
2018
+ } | {
2019
+ enable: boolean;
2020
+ allowFreeEntry?: boolean | null;
2021
+ allowListUpdate?: boolean | null;
2022
+ values?: Array<string> | null;
2023
+ } | null;
2024
+ metadata_fields?: Array<{
2025
+ id: string;
2026
+ }> | null;
2027
+ }> | null;
2028
+ };
2029
+ } | null;
1776
2030
  };
1777
2031
  export type ValueDetailsLinkValueFragment = {
1778
2032
  id_value?: string | null;
@@ -2447,20 +2701,275 @@ export type StandardValuesListFragmentStandardStringValuesListConfFragment = {
2447
2701
  values?: Array<string> | null;
2448
2702
  };
2449
2703
  export type StandardValuesListFragmentFragment = StandardValuesListFragmentStandardDateRangeValuesListConfFragment | StandardValuesListFragmentStandardStringValuesListConfFragment;
2450
- export type TreeDetailsFragment = {
2451
- id: string;
2452
- label?: any | null;
2453
- behavior: TreeBehavior;
2454
- system: boolean;
2455
- libraries: Array<{
2456
- library: {
2457
- id: string;
2458
- label?: any | null;
2459
- };
2460
- settings: {
2461
- allowMultiplePositions: boolean;
2462
- allowedAtRoot: boolean;
2463
- allowedChildren: Array<string>;
2704
+ export type JoinLibraryContextFragment = {
2705
+ mandatoryAttribute: {
2706
+ id: string;
2707
+ label?: any | null;
2708
+ description?: any | null;
2709
+ type: AttributeType;
2710
+ format?: AttributeFormat | null;
2711
+ system: boolean;
2712
+ readonly: boolean;
2713
+ required: boolean;
2714
+ multiple_values: boolean;
2715
+ compute: boolean;
2716
+ linked_library?: {
2717
+ id: string;
2718
+ label?: any | null;
2719
+ behavior: LibraryBehavior;
2720
+ permissions?: {
2721
+ create_record: boolean;
2722
+ } | null;
2723
+ } | null;
2724
+ linkValuesList?: {
2725
+ enable: boolean;
2726
+ allowFreeEntry?: boolean | null;
2727
+ allowListUpdate?: boolean | null;
2728
+ values?: Array<{
2729
+ id: string;
2730
+ whoAmI: {
2731
+ id: string;
2732
+ label?: string | null;
2733
+ subLabel?: string | null;
2734
+ color?: string | null;
2735
+ preview?: IPreviewScalar | null;
2736
+ library: {
2737
+ id: string;
2738
+ label?: any | null;
2739
+ };
2740
+ };
2741
+ }> | null;
2742
+ } | null;
2743
+ permissions: {
2744
+ access_attribute: boolean;
2745
+ edit_value: boolean;
2746
+ };
2747
+ versions_conf?: {
2748
+ versionable: boolean;
2749
+ profile?: {
2750
+ id: string;
2751
+ trees: Array<{
2752
+ id: string;
2753
+ label?: any | null;
2754
+ }>;
2755
+ } | null;
2756
+ } | null;
2757
+ metadata_fields?: Array<{
2758
+ id: string;
2759
+ label?: any | null;
2760
+ description?: any | null;
2761
+ type: AttributeType;
2762
+ format?: AttributeFormat | null;
2763
+ system: boolean;
2764
+ readonly: boolean;
2765
+ multiple_values: boolean;
2766
+ permissions: {
2767
+ access_attribute: boolean;
2768
+ edit_value: boolean;
2769
+ };
2770
+ values_list?: {
2771
+ enable: boolean;
2772
+ allowFreeEntry?: boolean | null;
2773
+ allowListUpdate?: boolean | null;
2774
+ dateRangeValues?: Array<{
2775
+ from?: string | null;
2776
+ to?: string | null;
2777
+ }> | null;
2778
+ } | {
2779
+ enable: boolean;
2780
+ allowFreeEntry?: boolean | null;
2781
+ allowListUpdate?: boolean | null;
2782
+ values?: Array<string> | null;
2783
+ } | null;
2784
+ metadata_fields?: Array<{
2785
+ id: string;
2786
+ }> | null;
2787
+ }> | null;
2788
+ } | {
2789
+ character_limit?: number | null;
2790
+ id: string;
2791
+ label?: any | null;
2792
+ description?: any | null;
2793
+ type: AttributeType;
2794
+ format?: AttributeFormat | null;
2795
+ system: boolean;
2796
+ readonly: boolean;
2797
+ required: boolean;
2798
+ multiple_values: boolean;
2799
+ compute: boolean;
2800
+ values_list?: {
2801
+ enable: boolean;
2802
+ allowFreeEntry?: boolean | null;
2803
+ allowListUpdate?: boolean | null;
2804
+ dateRangeValues?: Array<{
2805
+ from?: string | null;
2806
+ to?: string | null;
2807
+ }> | null;
2808
+ } | {
2809
+ enable: boolean;
2810
+ allowFreeEntry?: boolean | null;
2811
+ allowListUpdate?: boolean | null;
2812
+ values?: Array<string> | null;
2813
+ } | null;
2814
+ permissions: {
2815
+ access_attribute: boolean;
2816
+ edit_value: boolean;
2817
+ };
2818
+ versions_conf?: {
2819
+ versionable: boolean;
2820
+ profile?: {
2821
+ id: string;
2822
+ trees: Array<{
2823
+ id: string;
2824
+ label?: any | null;
2825
+ }>;
2826
+ } | null;
2827
+ } | null;
2828
+ metadata_fields?: Array<{
2829
+ id: string;
2830
+ label?: any | null;
2831
+ description?: any | null;
2832
+ type: AttributeType;
2833
+ format?: AttributeFormat | null;
2834
+ system: boolean;
2835
+ readonly: boolean;
2836
+ multiple_values: boolean;
2837
+ permissions: {
2838
+ access_attribute: boolean;
2839
+ edit_value: boolean;
2840
+ };
2841
+ values_list?: {
2842
+ enable: boolean;
2843
+ allowFreeEntry?: boolean | null;
2844
+ allowListUpdate?: boolean | null;
2845
+ dateRangeValues?: Array<{
2846
+ from?: string | null;
2847
+ to?: string | null;
2848
+ }> | null;
2849
+ } | {
2850
+ enable: boolean;
2851
+ allowFreeEntry?: boolean | null;
2852
+ allowListUpdate?: boolean | null;
2853
+ values?: Array<string> | null;
2854
+ } | null;
2855
+ metadata_fields?: Array<{
2856
+ id: string;
2857
+ }> | null;
2858
+ }> | null;
2859
+ } | {
2860
+ id: string;
2861
+ label?: any | null;
2862
+ description?: any | null;
2863
+ type: AttributeType;
2864
+ format?: AttributeFormat | null;
2865
+ system: boolean;
2866
+ readonly: boolean;
2867
+ required: boolean;
2868
+ multiple_values: boolean;
2869
+ compute: boolean;
2870
+ linked_tree?: {
2871
+ id: string;
2872
+ label?: any | null;
2873
+ } | null;
2874
+ treeValuesList?: {
2875
+ enable: boolean;
2876
+ allowFreeEntry?: boolean | null;
2877
+ allowListUpdate?: boolean | null;
2878
+ values?: Array<{
2879
+ id: string;
2880
+ record: {
2881
+ id: string;
2882
+ whoAmI: {
2883
+ id: string;
2884
+ label?: string | null;
2885
+ subLabel?: string | null;
2886
+ color?: string | null;
2887
+ preview?: IPreviewScalar | null;
2888
+ library: {
2889
+ id: string;
2890
+ label?: any | null;
2891
+ };
2892
+ };
2893
+ };
2894
+ ancestors?: Array<{
2895
+ record: {
2896
+ id: string;
2897
+ whoAmI: {
2898
+ id: string;
2899
+ label?: string | null;
2900
+ subLabel?: string | null;
2901
+ color?: string | null;
2902
+ preview?: IPreviewScalar | null;
2903
+ library: {
2904
+ id: string;
2905
+ label?: any | null;
2906
+ };
2907
+ };
2908
+ };
2909
+ }> | null;
2910
+ }> | null;
2911
+ } | null;
2912
+ permissions: {
2913
+ access_attribute: boolean;
2914
+ edit_value: boolean;
2915
+ };
2916
+ versions_conf?: {
2917
+ versionable: boolean;
2918
+ profile?: {
2919
+ id: string;
2920
+ trees: Array<{
2921
+ id: string;
2922
+ label?: any | null;
2923
+ }>;
2924
+ } | null;
2925
+ } | null;
2926
+ metadata_fields?: Array<{
2927
+ id: string;
2928
+ label?: any | null;
2929
+ description?: any | null;
2930
+ type: AttributeType;
2931
+ format?: AttributeFormat | null;
2932
+ system: boolean;
2933
+ readonly: boolean;
2934
+ multiple_values: boolean;
2935
+ permissions: {
2936
+ access_attribute: boolean;
2937
+ edit_value: boolean;
2938
+ };
2939
+ values_list?: {
2940
+ enable: boolean;
2941
+ allowFreeEntry?: boolean | null;
2942
+ allowListUpdate?: boolean | null;
2943
+ dateRangeValues?: Array<{
2944
+ from?: string | null;
2945
+ to?: string | null;
2946
+ }> | null;
2947
+ } | {
2948
+ enable: boolean;
2949
+ allowFreeEntry?: boolean | null;
2950
+ allowListUpdate?: boolean | null;
2951
+ values?: Array<string> | null;
2952
+ } | null;
2953
+ metadata_fields?: Array<{
2954
+ id: string;
2955
+ }> | null;
2956
+ }> | null;
2957
+ };
2958
+ };
2959
+ export type TreeDetailsFragment = {
2960
+ id: string;
2961
+ label?: any | null;
2962
+ behavior: TreeBehavior;
2963
+ system: boolean;
2964
+ libraries: Array<{
2965
+ library: {
2966
+ id: string;
2967
+ label?: any | null;
2968
+ };
2969
+ settings: {
2970
+ allowMultiplePositions: boolean;
2971
+ allowedAtRoot: boolean;
2972
+ allowedChildren: Array<string>;
2464
2973
  };
2465
2974
  }>;
2466
2975
  };
@@ -3669,6 +4178,27 @@ export type IsAllowedQuery = {
3669
4178
  allowed?: boolean | null;
3670
4179
  }> | null;
3671
4180
  };
4181
+ export type ActivateRecordsMutationVariables = Exact<{
4182
+ libraryId: Scalars['String'];
4183
+ recordsIds?: InputMaybe<Array<Scalars['String']> | Scalars['String']>;
4184
+ filters?: InputMaybe<Array<RecordFilterInput> | RecordFilterInput>;
4185
+ }>;
4186
+ export type ActivateRecordsMutation = {
4187
+ activateRecords: Array<{
4188
+ id: string;
4189
+ whoAmI: {
4190
+ id: string;
4191
+ label?: string | null;
4192
+ subLabel?: string | null;
4193
+ color?: string | null;
4194
+ preview?: IPreviewScalar | null;
4195
+ library: {
4196
+ id: string;
4197
+ label?: any | null;
4198
+ };
4199
+ };
4200
+ }>;
4201
+ };
3672
4202
  export type CreateRecordMutationVariables = Exact<{
3673
4203
  library: Scalars['ID'];
3674
4204
  data?: InputMaybe<CreateRecordDataInput>;
@@ -4460,10 +4990,265 @@ export type RecordFormQuery = {
4460
4990
  key: string;
4461
4991
  value: any;
4462
4992
  }>;
4993
+ joinLibraryContext?: {
4994
+ mandatoryAttribute: {
4995
+ id: string;
4996
+ label?: any | null;
4997
+ description?: any | null;
4998
+ type: AttributeType;
4999
+ format?: AttributeFormat | null;
5000
+ system: boolean;
5001
+ readonly: boolean;
5002
+ required: boolean;
5003
+ multiple_values: boolean;
5004
+ compute: boolean;
5005
+ linked_library?: {
5006
+ id: string;
5007
+ label?: any | null;
5008
+ behavior: LibraryBehavior;
5009
+ permissions?: {
5010
+ create_record: boolean;
5011
+ } | null;
5012
+ } | null;
5013
+ linkValuesList?: {
5014
+ enable: boolean;
5015
+ allowFreeEntry?: boolean | null;
5016
+ allowListUpdate?: boolean | null;
5017
+ values?: Array<{
5018
+ id: string;
5019
+ whoAmI: {
5020
+ id: string;
5021
+ label?: string | null;
5022
+ subLabel?: string | null;
5023
+ color?: string | null;
5024
+ preview?: IPreviewScalar | null;
5025
+ library: {
5026
+ id: string;
5027
+ label?: any | null;
5028
+ };
5029
+ };
5030
+ }> | null;
5031
+ } | null;
5032
+ permissions: {
5033
+ access_attribute: boolean;
5034
+ edit_value: boolean;
5035
+ };
5036
+ versions_conf?: {
5037
+ versionable: boolean;
5038
+ profile?: {
5039
+ id: string;
5040
+ trees: Array<{
5041
+ id: string;
5042
+ label?: any | null;
5043
+ }>;
5044
+ } | null;
5045
+ } | null;
5046
+ metadata_fields?: Array<{
5047
+ id: string;
5048
+ label?: any | null;
5049
+ description?: any | null;
5050
+ type: AttributeType;
5051
+ format?: AttributeFormat | null;
5052
+ system: boolean;
5053
+ readonly: boolean;
5054
+ multiple_values: boolean;
5055
+ permissions: {
5056
+ access_attribute: boolean;
5057
+ edit_value: boolean;
5058
+ };
5059
+ values_list?: {
5060
+ enable: boolean;
5061
+ allowFreeEntry?: boolean | null;
5062
+ allowListUpdate?: boolean | null;
5063
+ dateRangeValues?: Array<{
5064
+ from?: string | null;
5065
+ to?: string | null;
5066
+ }> | null;
5067
+ } | {
5068
+ enable: boolean;
5069
+ allowFreeEntry?: boolean | null;
5070
+ allowListUpdate?: boolean | null;
5071
+ values?: Array<string> | null;
5072
+ } | null;
5073
+ metadata_fields?: Array<{
5074
+ id: string;
5075
+ }> | null;
5076
+ }> | null;
5077
+ } | {
5078
+ character_limit?: number | null;
5079
+ id: string;
5080
+ label?: any | null;
5081
+ description?: any | null;
5082
+ type: AttributeType;
5083
+ format?: AttributeFormat | null;
5084
+ system: boolean;
5085
+ readonly: boolean;
5086
+ required: boolean;
5087
+ multiple_values: boolean;
5088
+ compute: boolean;
5089
+ values_list?: {
5090
+ enable: boolean;
5091
+ allowFreeEntry?: boolean | null;
5092
+ allowListUpdate?: boolean | null;
5093
+ dateRangeValues?: Array<{
5094
+ from?: string | null;
5095
+ to?: string | null;
5096
+ }> | null;
5097
+ } | {
5098
+ enable: boolean;
5099
+ allowFreeEntry?: boolean | null;
5100
+ allowListUpdate?: boolean | null;
5101
+ values?: Array<string> | null;
5102
+ } | null;
5103
+ permissions: {
5104
+ access_attribute: boolean;
5105
+ edit_value: boolean;
5106
+ };
5107
+ versions_conf?: {
5108
+ versionable: boolean;
5109
+ profile?: {
5110
+ id: string;
5111
+ trees: Array<{
5112
+ id: string;
5113
+ label?: any | null;
5114
+ }>;
5115
+ } | null;
5116
+ } | null;
5117
+ metadata_fields?: Array<{
5118
+ id: string;
5119
+ label?: any | null;
5120
+ description?: any | null;
5121
+ type: AttributeType;
5122
+ format?: AttributeFormat | null;
5123
+ system: boolean;
5124
+ readonly: boolean;
5125
+ multiple_values: boolean;
5126
+ permissions: {
5127
+ access_attribute: boolean;
5128
+ edit_value: boolean;
5129
+ };
5130
+ values_list?: {
5131
+ enable: boolean;
5132
+ allowFreeEntry?: boolean | null;
5133
+ allowListUpdate?: boolean | null;
5134
+ dateRangeValues?: Array<{
5135
+ from?: string | null;
5136
+ to?: string | null;
5137
+ }> | null;
5138
+ } | {
5139
+ enable: boolean;
5140
+ allowFreeEntry?: boolean | null;
5141
+ allowListUpdate?: boolean | null;
5142
+ values?: Array<string> | null;
5143
+ } | null;
5144
+ metadata_fields?: Array<{
5145
+ id: string;
5146
+ }> | null;
5147
+ }> | null;
5148
+ } | {
5149
+ id: string;
5150
+ label?: any | null;
5151
+ description?: any | null;
5152
+ type: AttributeType;
5153
+ format?: AttributeFormat | null;
5154
+ system: boolean;
5155
+ readonly: boolean;
5156
+ required: boolean;
5157
+ multiple_values: boolean;
5158
+ compute: boolean;
5159
+ linked_tree?: {
5160
+ id: string;
5161
+ label?: any | null;
5162
+ } | null;
5163
+ treeValuesList?: {
5164
+ enable: boolean;
5165
+ allowFreeEntry?: boolean | null;
5166
+ allowListUpdate?: boolean | null;
5167
+ values?: Array<{
5168
+ id: string;
5169
+ record: {
5170
+ id: string;
5171
+ whoAmI: {
5172
+ id: string;
5173
+ label?: string | null;
5174
+ subLabel?: string | null;
5175
+ color?: string | null;
5176
+ preview?: IPreviewScalar | null;
5177
+ library: {
5178
+ id: string;
5179
+ label?: any | null;
5180
+ };
5181
+ };
5182
+ };
5183
+ ancestors?: Array<{
5184
+ record: {
5185
+ id: string;
5186
+ whoAmI: {
5187
+ id: string;
5188
+ label?: string | null;
5189
+ subLabel?: string | null;
5190
+ color?: string | null;
5191
+ preview?: IPreviewScalar | null;
5192
+ library: {
5193
+ id: string;
5194
+ label?: any | null;
5195
+ };
5196
+ };
5197
+ };
5198
+ }> | null;
5199
+ }> | null;
5200
+ } | null;
5201
+ permissions: {
5202
+ access_attribute: boolean;
5203
+ edit_value: boolean;
5204
+ };
5205
+ versions_conf?: {
5206
+ versionable: boolean;
5207
+ profile?: {
5208
+ id: string;
5209
+ trees: Array<{
5210
+ id: string;
5211
+ label?: any | null;
5212
+ }>;
5213
+ } | null;
5214
+ } | null;
5215
+ metadata_fields?: Array<{
5216
+ id: string;
5217
+ label?: any | null;
5218
+ description?: any | null;
5219
+ type: AttributeType;
5220
+ format?: AttributeFormat | null;
5221
+ system: boolean;
5222
+ readonly: boolean;
5223
+ multiple_values: boolean;
5224
+ permissions: {
5225
+ access_attribute: boolean;
5226
+ edit_value: boolean;
5227
+ };
5228
+ values_list?: {
5229
+ enable: boolean;
5230
+ allowFreeEntry?: boolean | null;
5231
+ allowListUpdate?: boolean | null;
5232
+ dateRangeValues?: Array<{
5233
+ from?: string | null;
5234
+ to?: string | null;
5235
+ }> | null;
5236
+ } | {
5237
+ enable: boolean;
5238
+ allowFreeEntry?: boolean | null;
5239
+ allowListUpdate?: boolean | null;
5240
+ values?: Array<string> | null;
5241
+ } | null;
5242
+ metadata_fields?: Array<{
5243
+ id: string;
5244
+ }> | null;
5245
+ }> | null;
5246
+ };
5247
+ } | null;
4463
5248
  }>;
4464
5249
  sidePanel?: {
4465
5250
  enable: boolean;
4466
- isOpenByDefault: boolean;
5251
+ isOpenByDefault?: boolean | null;
4467
5252
  } | null;
4468
5253
  } | null;
4469
5254
  };
@@ -4889,6 +5674,30 @@ export type RecordUpdateSubscription = {
4889
5674
  }>;
4890
5675
  };
4891
5676
  };
5677
+ export type GetRecordsFromLibraryQueryVariables = Exact<{
5678
+ libraryId: Scalars['ID'];
5679
+ pagination?: InputMaybe<RecordsPagination>;
5680
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
5681
+ }>;
5682
+ export type GetRecordsFromLibraryQuery = {
5683
+ records: {
5684
+ totalCount?: number | null;
5685
+ list: Array<{
5686
+ id: string;
5687
+ whoAmI: {
5688
+ id: string;
5689
+ label?: string | null;
5690
+ subLabel?: string | null;
5691
+ color?: string | null;
5692
+ preview?: IPreviewScalar | null;
5693
+ library: {
5694
+ id: string;
5695
+ label?: any | null;
5696
+ };
5697
+ };
5698
+ }>;
5699
+ };
5700
+ };
4892
5701
  export type IndexRecordsMutationVariables = Exact<{
4893
5702
  libraryId: Scalars['String'];
4894
5703
  records?: InputMaybe<Array<Scalars['String']> | Scalars['String']>;
@@ -6289,7 +7098,6 @@ export type ExplorerLinkAttributeQuery = {
6289
7098
  label?: any | null;
6290
7099
  id: string;
6291
7100
  multiple_values: boolean;
6292
- multi_link_display_option?: MultiLinkDisplayOption | null;
6293
7101
  linked_library?: {
6294
7102
  id: string;
6295
7103
  label?: any | null;
@@ -6301,7 +7109,6 @@ export type ExplorerLinkAttributeQuery = {
6301
7109
  } | {
6302
7110
  id: string;
6303
7111
  multiple_values: boolean;
6304
- multi_link_display_option?: MultiLinkDisplayOption | null;
6305
7112
  permissions: {
6306
7113
  access_attribute: boolean;
6307
7114
  edit_value: boolean;
@@ -6322,6 +7129,7 @@ export type ExplorerLibraryDataQuery = {
6322
7129
  totalCount?: number | null;
6323
7130
  list: Array<{
6324
7131
  id: string;
7132
+ active: boolean;
6325
7133
  whoAmI: {
6326
7134
  id: string;
6327
7135
  label?: string | null;
@@ -6334,6 +7142,7 @@ export type ExplorerLibraryDataQuery = {
6334
7142
  };
6335
7143
  };
6336
7144
  permissions: {
7145
+ create_record: boolean;
6337
7146
  delete_record: boolean;
6338
7147
  };
6339
7148
  properties: Array<{
@@ -6614,6 +7423,23 @@ export type UpdateViewMutation = {
6614
7423
  }> | null;
6615
7424
  };
6616
7425
  };
7426
+ export type GetJoinLibraryMandatoryAttributeValuesQueryVariables = Exact<{
7427
+ joinLibraryId: Scalars['ID'];
7428
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
7429
+ mandatoryAttributeId: Scalars['ID'];
7430
+ }>;
7431
+ export type GetJoinLibraryMandatoryAttributeValuesQuery = {
7432
+ records: {
7433
+ list: Array<{
7434
+ id: string;
7435
+ property: Array<{
7436
+ payload?: {
7437
+ id: string;
7438
+ } | null;
7439
+ }>;
7440
+ }>;
7441
+ };
7442
+ };
6617
7443
  export type TreeDataQueryQueryVariables = Exact<{
6618
7444
  treeId: Scalars['ID'];
6619
7445
  }>;
@@ -6639,6 +7465,7 @@ export declare const ValuesVersionDetailsFragmentDoc: Apollo.DocumentNode;
6639
7465
  export declare const ValueDetailsFragmentDoc: Apollo.DocumentNode;
6640
7466
  export declare const StandardValuesListFragmentFragmentDoc: Apollo.DocumentNode;
6641
7467
  export declare const RecordFormAttributeFragmentDoc: Apollo.DocumentNode;
7468
+ export declare const JoinLibraryContextFragmentDoc: Apollo.DocumentNode;
6642
7469
  export declare const RecordFormElementFragmentDoc: Apollo.DocumentNode;
6643
7470
  export declare const TreeLightFragmentDoc: Apollo.DocumentNode;
6644
7471
  export declare const TreeDetailsFragmentDoc: Apollo.DocumentNode;
@@ -7390,6 +8217,35 @@ export declare function useIsAllowedLazyQuery(baseOptions?: Apollo.LazyQueryHook
7390
8217
  export type IsAllowedQueryHookResult = ReturnType<typeof useIsAllowedQuery>;
7391
8218
  export type IsAllowedLazyQueryHookResult = ReturnType<typeof useIsAllowedLazyQuery>;
7392
8219
  export type IsAllowedQueryResult = Apollo.QueryResult<IsAllowedQuery, IsAllowedQueryVariables>;
8220
+ export declare const ActivateRecordsDocument: Apollo.DocumentNode;
8221
+ export type ActivateRecordsMutationFn = Apollo.MutationFunction<ActivateRecordsMutation, ActivateRecordsMutationVariables>;
8222
+ /**
8223
+ * __useActivateRecordsMutation__
8224
+ *
8225
+ * To run a mutation, you first call `useActivateRecordsMutation` within a React component and pass it any options that fit your needs.
8226
+ * When your component renders, `useActivateRecordsMutation` returns a tuple that includes:
8227
+ * - A mutate function that you can call at any time to execute the mutation
8228
+ * - An object with fields that represent the current status of the mutation's execution
8229
+ *
8230
+ * @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;
8231
+ *
8232
+ * @example
8233
+ * const [activateRecordsMutation, { data, loading, error }] = useActivateRecordsMutation({
8234
+ * variables: {
8235
+ * libraryId: // value for 'libraryId'
8236
+ * recordsIds: // value for 'recordsIds'
8237
+ * filters: // value for 'filters'
8238
+ * },
8239
+ * });
8240
+ */
8241
+ export declare function useActivateRecordsMutation(baseOptions?: Apollo.MutationHookOptions<ActivateRecordsMutation, ActivateRecordsMutationVariables>): Apollo.MutationTuple<ActivateRecordsMutation, Exact<{
8242
+ libraryId: Scalars["String"];
8243
+ recordsIds?: InputMaybe<Array<Scalars["String"]> | Scalars["String"]>;
8244
+ filters?: InputMaybe<Array<RecordFilterInput> | RecordFilterInput>;
8245
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
8246
+ export type ActivateRecordsMutationHookResult = ReturnType<typeof useActivateRecordsMutation>;
8247
+ export type ActivateRecordsMutationResult = Apollo.MutationResult<ActivateRecordsMutation>;
8248
+ export type ActivateRecordsMutationOptions = Apollo.BaseMutationOptions<ActivateRecordsMutation, ActivateRecordsMutationVariables>;
7393
8249
  export declare const CreateRecordDocument: Apollo.DocumentNode;
7394
8250
  export type CreateRecordMutationFn = Apollo.MutationFunction<CreateRecordMutation, CreateRecordMutationVariables>;
7395
8251
  /**
@@ -7567,6 +8423,38 @@ export declare function useRecordUpdateSubscription(baseOptions?: Apollo.Subscri
7567
8423
  }>>;
7568
8424
  export type RecordUpdateSubscriptionHookResult = ReturnType<typeof useRecordUpdateSubscription>;
7569
8425
  export type RecordUpdateSubscriptionResult = Apollo.SubscriptionResult<RecordUpdateSubscription>;
8426
+ export declare const GetRecordsFromLibraryDocument: Apollo.DocumentNode;
8427
+ /**
8428
+ * __useGetRecordsFromLibraryQuery__
8429
+ *
8430
+ * To run a query within a React component, call `useGetRecordsFromLibraryQuery` and pass it any options that fit your needs.
8431
+ * When your component renders, `useGetRecordsFromLibraryQuery` returns an object from Apollo Client that contains loading, error, and data properties
8432
+ * you can use to render your UI.
8433
+ *
8434
+ * @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;
8435
+ *
8436
+ * @example
8437
+ * const { data, loading, error } = useGetRecordsFromLibraryQuery({
8438
+ * variables: {
8439
+ * libraryId: // value for 'libraryId'
8440
+ * pagination: // value for 'pagination'
8441
+ * filters: // value for 'filters'
8442
+ * },
8443
+ * });
8444
+ */
8445
+ export declare function useGetRecordsFromLibraryQuery(baseOptions: Apollo.QueryHookOptions<GetRecordsFromLibraryQuery, GetRecordsFromLibraryQueryVariables>): Apollo.QueryResult<GetRecordsFromLibraryQuery, Exact<{
8446
+ libraryId: Scalars["ID"];
8447
+ pagination?: InputMaybe<RecordsPagination>;
8448
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
8449
+ }>>;
8450
+ export declare function useGetRecordsFromLibraryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetRecordsFromLibraryQuery, GetRecordsFromLibraryQueryVariables>): Apollo.LazyQueryResultTuple<GetRecordsFromLibraryQuery, Exact<{
8451
+ libraryId: Scalars["ID"];
8452
+ pagination?: InputMaybe<RecordsPagination>;
8453
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
8454
+ }>>;
8455
+ export type GetRecordsFromLibraryQueryHookResult = ReturnType<typeof useGetRecordsFromLibraryQuery>;
8456
+ export type GetRecordsFromLibraryLazyQueryHookResult = ReturnType<typeof useGetRecordsFromLibraryLazyQuery>;
8457
+ export type GetRecordsFromLibraryQueryResult = Apollo.QueryResult<GetRecordsFromLibraryQuery, GetRecordsFromLibraryQueryVariables>;
7570
8458
  export declare const IndexRecordsDocument: Apollo.DocumentNode;
7571
8459
  export type IndexRecordsMutationFn = Apollo.MutationFunction<IndexRecordsMutation, IndexRecordsMutationVariables>;
7572
8460
  /**
@@ -8348,6 +9236,38 @@ export declare function useUpdateViewMutation(baseOptions?: Apollo.MutationHookO
8348
9236
  export type UpdateViewMutationHookResult = ReturnType<typeof useUpdateViewMutation>;
8349
9237
  export type UpdateViewMutationResult = Apollo.MutationResult<UpdateViewMutation>;
8350
9238
  export type UpdateViewMutationOptions = Apollo.BaseMutationOptions<UpdateViewMutation, UpdateViewMutationVariables>;
9239
+ export declare const GetJoinLibraryMandatoryAttributeValuesDocument: Apollo.DocumentNode;
9240
+ /**
9241
+ * __useGetJoinLibraryMandatoryAttributeValuesQuery__
9242
+ *
9243
+ * To run a query within a React component, call `useGetJoinLibraryMandatoryAttributeValuesQuery` and pass it any options that fit your needs.
9244
+ * When your component renders, `useGetJoinLibraryMandatoryAttributeValuesQuery` returns an object from Apollo Client that contains loading, error, and data properties
9245
+ * you can use to render your UI.
9246
+ *
9247
+ * @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;
9248
+ *
9249
+ * @example
9250
+ * const { data, loading, error } = useGetJoinLibraryMandatoryAttributeValuesQuery({
9251
+ * variables: {
9252
+ * joinLibraryId: // value for 'joinLibraryId'
9253
+ * filters: // value for 'filters'
9254
+ * mandatoryAttributeId: // value for 'mandatoryAttributeId'
9255
+ * },
9256
+ * });
9257
+ */
9258
+ export declare function useGetJoinLibraryMandatoryAttributeValuesQuery(baseOptions: Apollo.QueryHookOptions<GetJoinLibraryMandatoryAttributeValuesQuery, GetJoinLibraryMandatoryAttributeValuesQueryVariables>): Apollo.QueryResult<GetJoinLibraryMandatoryAttributeValuesQuery, Exact<{
9259
+ joinLibraryId: Scalars["ID"];
9260
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
9261
+ mandatoryAttributeId: Scalars["ID"];
9262
+ }>>;
9263
+ export declare function useGetJoinLibraryMandatoryAttributeValuesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetJoinLibraryMandatoryAttributeValuesQuery, GetJoinLibraryMandatoryAttributeValuesQueryVariables>): Apollo.LazyQueryResultTuple<GetJoinLibraryMandatoryAttributeValuesQuery, Exact<{
9264
+ joinLibraryId: Scalars["ID"];
9265
+ filters?: InputMaybe<Array<InputMaybe<RecordFilterInput>> | InputMaybe<RecordFilterInput>>;
9266
+ mandatoryAttributeId: Scalars["ID"];
9267
+ }>>;
9268
+ export type GetJoinLibraryMandatoryAttributeValuesQueryHookResult = ReturnType<typeof useGetJoinLibraryMandatoryAttributeValuesQuery>;
9269
+ export type GetJoinLibraryMandatoryAttributeValuesLazyQueryHookResult = ReturnType<typeof useGetJoinLibraryMandatoryAttributeValuesLazyQuery>;
9270
+ export type GetJoinLibraryMandatoryAttributeValuesQueryResult = Apollo.QueryResult<GetJoinLibraryMandatoryAttributeValuesQuery, GetJoinLibraryMandatoryAttributeValuesQueryVariables>;
8351
9271
  export declare const TreeDataQueryDocument: Apollo.DocumentNode;
8352
9272
  /**
8353
9273
  * __useTreeDataQueryQuery__