@finos/legend-query-builder 4.17.100 → 4.18.1

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 (278) hide show
  1. package/lib/__test__.d.ts +1 -0
  2. package/lib/__test__.d.ts.map +1 -1
  3. package/lib/__test__.js +1 -0
  4. package/lib/__test__.js.map +1 -1
  5. package/lib/components/QueryBuilder.d.ts.map +1 -1
  6. package/lib/components/QueryBuilder.js +2 -1
  7. package/lib/components/QueryBuilder.js.map +1 -1
  8. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  9. package/lib/components/QueryBuilderSideBar.js +9 -8
  10. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  11. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts +5 -0
  12. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
  13. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +28 -2
  14. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  15. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  16. package/lib/components/explorer/QueryBuilderExplorerPanel.js +48 -5
  17. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  18. package/lib/components/explorer/QueryBuilderRelationExplorerPanel.d.ts +24 -0
  19. package/lib/components/explorer/QueryBuilderRelationExplorerPanel.d.ts.map +1 -0
  20. package/lib/components/explorer/QueryBuilderRelationExplorerPanel.js +202 -0
  21. package/lib/components/explorer/QueryBuilderRelationExplorerPanel.js.map +1 -0
  22. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  23. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  24. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +3 -3
  25. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  26. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  27. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +25 -6
  28. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  29. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
  30. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +8 -2
  31. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  32. package/lib/components/workflows/AccessorQueryBuilder.d.ts +18 -0
  33. package/lib/components/workflows/AccessorQueryBuilder.d.ts.map +1 -0
  34. package/lib/components/workflows/AccessorQueryBuilder.js +87 -0
  35. package/lib/components/workflows/AccessorQueryBuilder.js.map +1 -0
  36. package/lib/components/workflows/ClassQueryBuilder.js +5 -5
  37. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  38. package/lib/components/workflows/DataProductQueryBuilder.d.ts.map +1 -1
  39. package/lib/components/workflows/DataProductQueryBuilder.js +13 -12
  40. package/lib/components/workflows/DataProductQueryBuilder.js.map +1 -1
  41. package/lib/data-access-overview.css +1 -1
  42. package/lib/graph/QueryBuilderMetaModelConst.d.ts +6 -0
  43. package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -1
  44. package/lib/graph/QueryBuilderMetaModelConst.js +6 -0
  45. package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -1
  46. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -1
  47. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +7 -1
  48. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
  49. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +2 -0
  50. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
  51. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +93 -3
  52. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  53. package/lib/index.css +2 -2
  54. package/lib/index.css.map +1 -1
  55. package/lib/index.d.ts +3 -1
  56. package/lib/index.d.ts.map +1 -1
  57. package/lib/index.js +3 -1
  58. package/lib/index.js.map +1 -1
  59. package/lib/package.json +1 -1
  60. package/lib/stores/QueryBuilderConfig.d.ts +3 -0
  61. package/lib/stores/QueryBuilderConfig.d.ts.map +1 -1
  62. package/lib/stores/QueryBuilderConfig.js +3 -0
  63. package/lib/stores/QueryBuilderConfig.js.map +1 -1
  64. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  65. package/lib/stores/QueryBuilderResultState.js +6 -2
  66. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  67. package/lib/stores/QueryBuilderState.d.ts +14 -4
  68. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  69. package/lib/stores/QueryBuilderState.js +41 -13
  70. package/lib/stores/QueryBuilderState.js.map +1 -1
  71. package/lib/stores/QueryBuilderStateBuilder.d.ts +2 -1
  72. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  73. package/lib/stores/QueryBuilderStateBuilder.js +51 -20
  74. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  75. package/lib/stores/QueryBuilderStateHashUtils.d.ts +2 -0
  76. package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
  77. package/lib/stores/QueryBuilderStateHashUtils.js +2 -0
  78. package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
  79. package/lib/stores/QueryBuilderTypeaheadHelper.js +6 -6
  80. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
  81. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts +1 -1
  82. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  83. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +54 -45
  84. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  85. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +1 -1
  86. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
  87. package/lib/stores/QueryBuilderValueSpecificationHelper.js +2 -2
  88. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  89. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js +1 -1
  90. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
  91. package/lib/stores/__test-utils__/TEST_DATA__QueryBuilder_Accessors.d.ts +374 -0
  92. package/lib/stores/__test-utils__/TEST_DATA__QueryBuilder_Accessors.d.ts.map +1 -0
  93. package/lib/stores/__test-utils__/TEST_DATA__QueryBuilder_Accessors.js +625 -0
  94. package/lib/stores/__test-utils__/TEST_DATA__QueryBuilder_Accessors.js.map +1 -0
  95. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +12 -2
  96. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  97. package/lib/stores/explorer/QueryBuilderExplorerState.js +12 -2
  98. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  99. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +2 -2
  100. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
  101. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
  102. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +2 -2
  103. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  104. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +4 -3
  105. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  106. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +1 -1
  107. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
  108. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts +2 -0
  109. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts.map +1 -1
  110. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js +19 -0
  111. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -1
  112. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +7 -4
  113. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  114. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +61 -13
  115. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  116. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderRelationAggregationValueSpecBuilder.js +2 -2
  117. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderRelationAggregationValueSpecBuilder.js.map +1 -1
  118. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +1 -1
  119. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
  120. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +16 -3
  121. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
  122. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +102 -24
  123. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  124. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts +2 -1
  125. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
  126. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +16 -1
  127. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  128. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
  129. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +11 -9
  130. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  131. package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuilder.d.ts.map +1 -1
  132. package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuilder.js +12 -3
  133. package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuilder.js.map +1 -1
  134. package/lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.d.ts.map +1 -1
  135. package/lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.js +16 -12
  136. package/lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.js.map +1 -1
  137. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowGroupByOperatorLoader.d.ts.map +1 -1
  138. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowGroupByOperatorLoader.js +2 -0
  139. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowGroupByOperatorLoader.js.map +1 -1
  140. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts +4 -3
  141. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts.map +1 -1
  142. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js +19 -9
  143. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
  144. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.d.ts +1 -0
  145. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.d.ts.map +1 -1
  146. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js +83 -5
  147. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js.map +1 -1
  148. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.d.ts +4 -3
  149. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.d.ts.map +1 -1
  150. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js +130 -9
  151. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js.map +1 -1
  152. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator.d.ts +2 -1
  153. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator.d.ts.map +1 -1
  154. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator.js.map +1 -1
  155. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.d.ts +1 -0
  156. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.d.ts.map +1 -1
  157. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js +3 -0
  158. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js.map +1 -1
  159. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.d.ts +1 -0
  160. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.d.ts.map +1 -1
  161. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js +3 -0
  162. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js.map +1 -1
  163. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.d.ts +1 -0
  164. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.d.ts.map +1 -1
  165. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js +3 -0
  166. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js.map +1 -1
  167. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.d.ts +1 -0
  168. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.d.ts.map +1 -1
  169. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js +3 -0
  170. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js.map +1 -1
  171. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_PercentRank.d.ts +25 -0
  172. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_PercentRank.d.ts.map +1 -0
  173. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_PercentRank.js +54 -0
  174. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_PercentRank.js.map +1 -0
  175. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.d.ts +1 -0
  176. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.d.ts.map +1 -1
  177. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js +3 -0
  178. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js.map +1 -1
  179. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.d.ts +1 -0
  180. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.d.ts.map +1 -1
  181. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js +4 -0
  182. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js.map +1 -1
  183. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.d.ts +1 -0
  184. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.d.ts.map +1 -1
  185. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js +3 -0
  186. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js.map +1 -1
  187. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.d.ts +1 -0
  188. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.d.ts.map +1 -1
  189. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js +3 -0
  190. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js.map +1 -1
  191. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.d.ts +1 -0
  192. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.d.ts.map +1 -1
  193. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js +3 -0
  194. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js.map +1 -1
  195. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +3 -3
  196. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
  197. package/lib/stores/milestoning/QueryBuilderMilestoningState.js +4 -4
  198. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  199. package/lib/stores/workflows/MappingQueryBuilderState.js +2 -2
  200. package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
  201. package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -2
  202. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  203. package/lib/stores/workflows/accessor/AccessorQueryBuilderHelper.d.ts +18 -0
  204. package/lib/stores/workflows/accessor/AccessorQueryBuilderHelper.d.ts.map +1 -0
  205. package/lib/stores/workflows/accessor/AccessorQueryBuilderHelper.js +32 -0
  206. package/lib/stores/workflows/accessor/AccessorQueryBuilderHelper.js.map +1 -0
  207. package/lib/stores/workflows/accessor/AccessorQueryBuilderState.d.ts +58 -0
  208. package/lib/stores/workflows/accessor/AccessorQueryBuilderState.d.ts.map +1 -0
  209. package/lib/stores/workflows/accessor/AccessorQueryBuilderState.js +129 -0
  210. package/lib/stores/workflows/accessor/AccessorQueryBuilderState.js.map +1 -0
  211. package/lib/stores/workflows/dataProduct/DataProductQueryBuilderState.d.ts +31 -6
  212. package/lib/stores/workflows/dataProduct/DataProductQueryBuilderState.d.ts.map +1 -1
  213. package/lib/stores/workflows/dataProduct/DataProductQueryBuilderState.js +164 -17
  214. package/lib/stores/workflows/dataProduct/DataProductQueryBuilderState.js.map +1 -1
  215. package/package.json +7 -7
  216. package/src/__test__.ts +1 -0
  217. package/src/components/QueryBuilder.tsx +2 -1
  218. package/src/components/QueryBuilderSideBar.tsx +12 -8
  219. package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +73 -1
  220. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +77 -14
  221. package/src/components/explorer/QueryBuilderRelationExplorerPanel.tsx +536 -0
  222. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +1 -0
  223. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +3 -3
  224. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +62 -4
  225. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +10 -4
  226. package/src/components/workflows/AccessorQueryBuilder.tsx +211 -0
  227. package/src/components/workflows/ClassQueryBuilder.tsx +5 -5
  228. package/src/components/workflows/DataProductQueryBuilder.tsx +40 -62
  229. package/src/graph/QueryBuilderMetaModelConst.ts +7 -0
  230. package/src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +28 -0
  231. package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +223 -4
  232. package/src/index.ts +5 -0
  233. package/src/stores/QueryBuilderConfig.ts +3 -0
  234. package/src/stores/QueryBuilderResultState.ts +12 -8
  235. package/src/stores/QueryBuilderState.ts +47 -12
  236. package/src/stores/QueryBuilderStateBuilder.ts +107 -43
  237. package/src/stores/QueryBuilderStateHashUtils.ts +2 -0
  238. package/src/stores/QueryBuilderTypeaheadHelper.ts +6 -6
  239. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +72 -59
  240. package/src/stores/QueryBuilderValueSpecificationHelper.ts +5 -3
  241. package/src/stores/__test-utils__/QueryBuilderStateTestUtils.ts +1 -1
  242. package/src/stores/__test-utils__/TEST_DATA__QueryBuilder_Accessors.ts +630 -0
  243. package/src/stores/explorer/QueryBuilderExplorerState.ts +26 -2
  244. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +1 -2
  245. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +4 -3
  246. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +1 -1
  247. package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +42 -0
  248. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +137 -20
  249. package/src/stores/fetch-structure/tds/aggregation/QueryBuilderRelationAggregationValueSpecBuilder.ts +2 -2
  250. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +1 -1
  251. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +197 -38
  252. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +30 -0
  253. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +11 -9
  254. package/src/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuilder.ts +22 -1
  255. package/src/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.ts +25 -16
  256. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowGroupByOperatorLoader.ts +2 -0
  257. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +23 -9
  258. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.ts +206 -4
  259. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.ts +250 -12
  260. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator.ts +3 -1
  261. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.ts +4 -0
  262. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.ts +4 -0
  263. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.ts +4 -0
  264. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.ts +4 -0
  265. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_PercentRank.ts +57 -0
  266. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.ts +4 -0
  267. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.ts +5 -0
  268. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.ts +4 -0
  269. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.ts +4 -0
  270. package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.ts +4 -0
  271. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +3 -3
  272. package/src/stores/milestoning/QueryBuilderMilestoningState.ts +4 -4
  273. package/src/stores/workflows/MappingQueryBuilderState.ts +2 -2
  274. package/src/stores/workflows/ServiceQueryBuilderState.ts +2 -2
  275. package/src/stores/workflows/accessor/AccessorQueryBuilderHelper.ts +51 -0
  276. package/src/stores/workflows/accessor/AccessorQueryBuilderState.ts +200 -0
  277. package/src/stores/workflows/dataProduct/DataProductQueryBuilderState.ts +277 -26
  278. package/tsconfig.json +6 -0
@@ -0,0 +1,630 @@
1
+ /**
2
+ * Copyright (c) 2026-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ export const TEST_DATA__QueryBuilder_Accessors_SimpleProjection_WithPostFilter =
18
+ {
19
+ _type: 'lambda',
20
+ body: [
21
+ {
22
+ _type: 'func',
23
+ function: 'from',
24
+ parameters: [
25
+ {
26
+ _type: 'func',
27
+ function: 'filter',
28
+ parameters: [
29
+ {
30
+ _type: 'func',
31
+ function: 'project',
32
+ parameters: [
33
+ {
34
+ _type: 'classInstance',
35
+ multiplicity: {
36
+ lowerBound: 1,
37
+ upperBound: 1,
38
+ },
39
+ type: 'I',
40
+ value: {
41
+ path: [
42
+ 'ingestion::CARBON_DIOXIDE_EMISSIONS',
43
+ 'CARBON_DIOXIDE_EMISSIONS',
44
+ ],
45
+ metadata: false,
46
+ },
47
+ },
48
+ {
49
+ _type: 'classInstance',
50
+ multiplicity: {
51
+ lowerBound: 1,
52
+ upperBound: 1,
53
+ },
54
+ type: 'colSpecArray',
55
+ value: {
56
+ colSpecs: [
57
+ {
58
+ function1: {
59
+ _type: 'lambda',
60
+ body: [
61
+ {
62
+ _type: 'property',
63
+ parameters: [
64
+ {
65
+ _type: 'var',
66
+ name: 'x',
67
+ },
68
+ ],
69
+ property: 'country',
70
+ },
71
+ ],
72
+ parameters: [
73
+ {
74
+ _type: 'var',
75
+ name: 'x',
76
+ },
77
+ ],
78
+ },
79
+ name: 'Country',
80
+ },
81
+ {
82
+ function1: {
83
+ _type: 'lambda',
84
+ body: [
85
+ {
86
+ _type: 'property',
87
+ parameters: [
88
+ {
89
+ _type: 'var',
90
+ name: 'x',
91
+ },
92
+ ],
93
+ property: 'year',
94
+ },
95
+ ],
96
+ parameters: [
97
+ {
98
+ _type: 'var',
99
+ name: 'x',
100
+ },
101
+ ],
102
+ },
103
+ name: 'Year',
104
+ },
105
+ {
106
+ function1: {
107
+ _type: 'lambda',
108
+ body: [
109
+ {
110
+ _type: 'property',
111
+ parameters: [
112
+ {
113
+ _type: 'var',
114
+ name: 'x',
115
+ },
116
+ ],
117
+ property: 'iso_code',
118
+ },
119
+ ],
120
+ parameters: [
121
+ {
122
+ _type: 'var',
123
+ name: 'x',
124
+ },
125
+ ],
126
+ },
127
+ name: 'Iso code',
128
+ },
129
+ {
130
+ function1: {
131
+ _type: 'lambda',
132
+ body: [
133
+ {
134
+ _type: 'property',
135
+ parameters: [
136
+ {
137
+ _type: 'var',
138
+ name: 'x',
139
+ },
140
+ ],
141
+ property: 'population',
142
+ },
143
+ ],
144
+ parameters: [
145
+ {
146
+ _type: 'var',
147
+ name: 'x',
148
+ },
149
+ ],
150
+ },
151
+ name: 'Population',
152
+ },
153
+ {
154
+ function1: {
155
+ _type: 'lambda',
156
+ body: [
157
+ {
158
+ _type: 'property',
159
+ parameters: [
160
+ {
161
+ _type: 'var',
162
+ name: 'x',
163
+ },
164
+ ],
165
+ property: 'gdp',
166
+ },
167
+ ],
168
+ parameters: [
169
+ {
170
+ _type: 'var',
171
+ name: 'x',
172
+ },
173
+ ],
174
+ },
175
+ name: 'Gdp',
176
+ },
177
+ {
178
+ function1: {
179
+ _type: 'lambda',
180
+ body: [
181
+ {
182
+ _type: 'property',
183
+ parameters: [
184
+ {
185
+ _type: 'var',
186
+ name: 'x',
187
+ },
188
+ ],
189
+ property: 'trade_co2_share',
190
+ },
191
+ ],
192
+ parameters: [
193
+ {
194
+ _type: 'var',
195
+ name: 'x',
196
+ },
197
+ ],
198
+ },
199
+ name: 'Trade co 2 share',
200
+ },
201
+ ],
202
+ },
203
+ },
204
+ ],
205
+ },
206
+ {
207
+ _type: 'lambda',
208
+ body: [
209
+ {
210
+ _type: 'func',
211
+ function: 'equal',
212
+ parameters: [
213
+ {
214
+ _type: 'property',
215
+ parameters: [
216
+ {
217
+ _type: 'var',
218
+ name: 'row',
219
+ },
220
+ ],
221
+ property: 'Gdp',
222
+ },
223
+ {
224
+ _type: 'string',
225
+ value: 'test',
226
+ },
227
+ ],
228
+ },
229
+ ],
230
+ parameters: [
231
+ {
232
+ _type: 'var',
233
+ name: 'row',
234
+ },
235
+ ],
236
+ },
237
+ ],
238
+ },
239
+ {
240
+ _type: 'packageableElementPtr',
241
+ fullPath: 'runtime::LakehouseRuntime',
242
+ },
243
+ ],
244
+ },
245
+ ],
246
+ parameters: [],
247
+ };
248
+
249
+ export const TEST_DATA__QueryBuilder_Accessors_SimpleProjectionWithDatabase_WithPostFilter =
250
+ {
251
+ _type: 'lambda',
252
+ body: [
253
+ {
254
+ _type: 'func',
255
+ function: 'from',
256
+ parameters: [
257
+ {
258
+ _type: 'func',
259
+ function: 'project',
260
+ parameters: [
261
+ {
262
+ _type: 'classInstance',
263
+ multiplicity: {
264
+ lowerBound: 1,
265
+ upperBound: 1,
266
+ },
267
+ type: '>',
268
+ value: {
269
+ path: ['database::TestDatabase', 'default', 'TEST0'],
270
+ },
271
+ },
272
+ {
273
+ _type: 'classInstance',
274
+ multiplicity: {
275
+ lowerBound: 1,
276
+ upperBound: 1,
277
+ },
278
+ type: 'colSpecArray',
279
+ value: {
280
+ colSpecs: [
281
+ {
282
+ function1: {
283
+ _type: 'lambda',
284
+ body: [
285
+ {
286
+ _type: 'property',
287
+ parameters: [
288
+ {
289
+ _type: 'var',
290
+ name: 'x',
291
+ },
292
+ ],
293
+ property: 'FIRSTNAME',
294
+ },
295
+ ],
296
+ parameters: [
297
+ {
298
+ _type: 'var',
299
+ name: 'x',
300
+ },
301
+ ],
302
+ },
303
+ name: 'Firstname',
304
+ },
305
+ {
306
+ function1: {
307
+ _type: 'lambda',
308
+ body: [
309
+ {
310
+ _type: 'property',
311
+ parameters: [
312
+ {
313
+ _type: 'var',
314
+ name: 'x',
315
+ },
316
+ ],
317
+ property: 'LASTNAME',
318
+ },
319
+ ],
320
+ parameters: [
321
+ {
322
+ _type: 'var',
323
+ name: 'x',
324
+ },
325
+ ],
326
+ },
327
+ name: 'Lastname',
328
+ },
329
+ ],
330
+ },
331
+ },
332
+ ],
333
+ },
334
+ {
335
+ _type: 'packageableElementPtr',
336
+ fullPath: 'runtime::LakehouseRuntime',
337
+ },
338
+ ],
339
+ },
340
+ ],
341
+ parameters: [],
342
+ };
343
+
344
+ export const TEST_DATA__QueryBuilder_Accessors = [
345
+ {
346
+ path: 'database::TestDatabase',
347
+ content: {
348
+ _type: 'relational',
349
+ filters: [],
350
+ joins: [],
351
+ name: 'TestDatabase',
352
+ package: 'database',
353
+ schemas: [
354
+ {
355
+ name: 'default',
356
+ tables: [
357
+ {
358
+ columns: [
359
+ {
360
+ name: 'FIRSTNAME',
361
+ nullable: true,
362
+ type: {
363
+ _type: 'Varchar',
364
+ size: 200,
365
+ },
366
+ },
367
+ {
368
+ name: 'LASTNAME',
369
+ nullable: true,
370
+ type: {
371
+ _type: 'Varchar',
372
+ size: 200,
373
+ },
374
+ },
375
+ ],
376
+ name: 'TEST0',
377
+ primaryKey: [],
378
+ },
379
+ ],
380
+ views: [],
381
+ },
382
+ ],
383
+ },
384
+ classifierPath: 'meta::relational::metamodel::Database',
385
+ },
386
+ {
387
+ path: 'runtime::LakehouseRuntime',
388
+ content: {
389
+ _type: 'runtime',
390
+ name: 'LakehouseRuntime',
391
+ package: 'runtime',
392
+ runtimeValue: {
393
+ _type: 'LakehouseRuntime',
394
+ connectionStores: [],
395
+ connections: [],
396
+ mappings: [],
397
+ environment: 'dataeng-pp',
398
+ warehouse: 'LAKEHOUSE_CONSUMER_DEFAULT_WH',
399
+ },
400
+ },
401
+ classifierPath: 'meta::pure::runtime::PackageableRuntime',
402
+ },
403
+ {
404
+ path: 'runtime::TestRuntime',
405
+ content: {
406
+ _type: 'runtime',
407
+ name: 'TestRuntime',
408
+ package: 'runtime',
409
+ runtimeValue: {
410
+ _type: 'engineRuntime',
411
+ connectionStores: [],
412
+ connections: [
413
+ {
414
+ store: {
415
+ path: 'database::TestDatabase',
416
+ type: 'STORE',
417
+ },
418
+ storeConnections: [
419
+ {
420
+ connection: {
421
+ _type: 'connectionPointer',
422
+ connection: 'runtime::TestConnection',
423
+ },
424
+ id: 'connection',
425
+ },
426
+ ],
427
+ },
428
+ ],
429
+ mappings: [],
430
+ },
431
+ },
432
+ classifierPath: 'meta::pure::runtime::PackageableRuntime',
433
+ },
434
+ {
435
+ path: 'runtime::TestConnection',
436
+ content: {
437
+ _type: 'connection',
438
+ connectionValue: {
439
+ _type: 'RelationalDatabaseConnection',
440
+ authenticationStrategy: {
441
+ _type: 'h2Default',
442
+ },
443
+ databaseType: 'H2',
444
+ datasourceSpecification: {
445
+ _type: 'h2Local',
446
+ testDataSetupSqls: [''],
447
+ },
448
+ element: 'database::TestDatabase',
449
+ type: 'H2',
450
+ },
451
+ name: 'TestConnection',
452
+ package: 'runtime',
453
+ },
454
+ classifierPath: 'meta::pure::runtime::PackageableConnection',
455
+ },
456
+ {
457
+ path: 'ingestion::CARBON_DIOXIDE_EMISSIONS',
458
+ content: {
459
+ _type: 'ingestDefinition',
460
+ name: 'CARBON_DIOXIDE_EMISSIONS',
461
+ readMode: {
462
+ _type: 'Snapshot',
463
+ },
464
+ writeMode: {
465
+ _type: 'batch_milestoned',
466
+ },
467
+ datasets: [
468
+ {
469
+ name: 'CARBON_DIOXIDE_EMISSIONS',
470
+ primaryKey: ['country', 'year'],
471
+ ingestPartitionColumns: [],
472
+ storageLayoutClusterColumns: [],
473
+ storageLayoutPartitionColumns: [],
474
+ source: {
475
+ _type: 'serializedSource',
476
+ schema: {
477
+ _type: 'relationType',
478
+ columns: [
479
+ {
480
+ name: 'country',
481
+ genericType: {
482
+ rawType: {
483
+ _type: 'packageableType',
484
+ fullPath: 'Varchar',
485
+ },
486
+ typeArguments: [],
487
+ multiplicityArguments: [],
488
+ typeVariableValues: [
489
+ {
490
+ _type: 'integer',
491
+ value: 255,
492
+ },
493
+ ],
494
+ },
495
+ multiplicity: {
496
+ lowerBound: 1,
497
+ upperBound: 1,
498
+ },
499
+ },
500
+ {
501
+ name: 'year',
502
+ genericType: {
503
+ rawType: {
504
+ _type: 'packageableType',
505
+ fullPath: 'BigInt',
506
+ },
507
+ typeArguments: [],
508
+ multiplicityArguments: [],
509
+ typeVariableValues: [],
510
+ },
511
+ multiplicity: {
512
+ lowerBound: 1,
513
+ upperBound: 1,
514
+ },
515
+ },
516
+ {
517
+ name: 'iso_code',
518
+ genericType: {
519
+ rawType: {
520
+ _type: 'packageableType',
521
+ fullPath: 'Varchar',
522
+ },
523
+ typeArguments: [],
524
+ multiplicityArguments: [],
525
+ typeVariableValues: [
526
+ {
527
+ _type: 'integer',
528
+ value: 255,
529
+ },
530
+ ],
531
+ },
532
+ multiplicity: {
533
+ lowerBound: 0,
534
+ upperBound: 0,
535
+ },
536
+ },
537
+ {
538
+ name: 'population',
539
+ genericType: {
540
+ rawType: {
541
+ _type: 'packageableType',
542
+ fullPath: 'Double',
543
+ },
544
+ typeArguments: [],
545
+ multiplicityArguments: [],
546
+ typeVariableValues: [],
547
+ },
548
+ multiplicity: {
549
+ lowerBound: 0,
550
+ upperBound: 0,
551
+ },
552
+ },
553
+ {
554
+ name: 'gdp',
555
+ genericType: {
556
+ rawType: {
557
+ _type: 'packageableType',
558
+ fullPath: 'Varchar',
559
+ },
560
+ typeArguments: [],
561
+ multiplicityArguments: [],
562
+ typeVariableValues: [
563
+ {
564
+ _type: 'integer',
565
+ value: 255,
566
+ },
567
+ ],
568
+ },
569
+ multiplicity: {
570
+ lowerBound: 0,
571
+ upperBound: 0,
572
+ },
573
+ },
574
+ {
575
+ name: 'trade_co2_share',
576
+ genericType: {
577
+ rawType: {
578
+ _type: 'packageableType',
579
+ fullPath: 'Varchar',
580
+ },
581
+ typeArguments: [],
582
+ multiplicityArguments: [],
583
+ typeVariableValues: [
584
+ {
585
+ _type: 'integer',
586
+ value: 255,
587
+ },
588
+ ],
589
+ },
590
+ multiplicity: {
591
+ lowerBound: 0,
592
+ upperBound: 0,
593
+ },
594
+ },
595
+ ],
596
+ },
597
+ format: {
598
+ _type: 'CSV',
599
+ fieldDelimiter: '\u001f',
600
+ headerRowsToSkipCount: 0,
601
+ recordDelimiter: '\u001e\n',
602
+ parseHeader: false,
603
+ },
604
+ },
605
+ privacyClassification: {
606
+ sensitivity: 'DP10',
607
+ },
608
+ preprocessors: [],
609
+ },
610
+ ],
611
+ datasetGroup: 'VLF_DEMO_DATA',
612
+ owner: {
613
+ _type: 'appDir',
614
+ prodParallel: {
615
+ appDirId: 270520,
616
+ level: 'DEPLOYMENT',
617
+ },
618
+ production: {
619
+ appDirId: 270523,
620
+ level: 'DEPLOYMENT',
621
+ },
622
+ },
623
+ stereotypes: [],
624
+ taggedValues: [],
625
+ package: 'ingestion',
626
+ },
627
+ classifierPath:
628
+ 'meta::external::ingest::specification::metamodel::IngestDefinition',
629
+ },
630
+ ];
@@ -60,6 +60,7 @@ import {
60
60
  getAllSubclasses,
61
61
  PropertyExplicitReference,
62
62
  reportGraphAnalytics,
63
+ type RelationColumn,
63
64
  } from '@finos/legend-graph';
64
65
  import type { QueryBuilderState } from '../QueryBuilderState.js';
65
66
  import { action, flow, flowResult, makeObservable, observable } from 'mobx';
@@ -80,6 +81,7 @@ export enum QUERY_BUILDER_EXPLORER_TREE_DND_TYPE {
80
81
  CLASS_PROPERTY = 'CLASS_PROPERTY',
81
82
  ENUM_PROPERTY = 'ENUM_PROPERTY',
82
83
  PRIMITIVE_PROPERTY = 'PRIMITIVE_PROPERTY',
84
+ RELATION_COLUMN = 'RELATION_COLUMN',
83
85
  }
84
86
 
85
87
  export const generateExplorerTreePropertyNodeID = (
@@ -96,6 +98,10 @@ export interface QueryBuilderExplorerTreeDragSource {
96
98
  node: QueryBuilderExplorerTreePropertyNodeData;
97
99
  }
98
100
 
101
+ export interface QueryBuilderExplorerTreeRelationColumnDragSource {
102
+ node: QueryBuilderExplorerTreeRelationColumnNodeData;
103
+ }
104
+
99
105
  export abstract class QueryBuilderExplorerTreeNodeData implements TreeNodeData {
100
106
  isSelected?: boolean | undefined;
101
107
  isOpen?: boolean | undefined;
@@ -221,6 +227,24 @@ export class QueryBuilderExplorerTreeSubTypeNodeData extends QueryBuilderExplore
221
227
  }
222
228
  }
223
229
 
230
+ export class QueryBuilderExplorerTreeRelationRootNodeData extends QueryBuilderExplorerTreeNodeData {}
231
+
232
+ export class QueryBuilderExplorerTreeRelationColumnNodeData extends QueryBuilderExplorerTreeNodeData {
233
+ column: RelationColumn;
234
+
235
+ constructor(
236
+ id: string,
237
+ label: string,
238
+ dndText: string,
239
+ column: RelationColumn,
240
+ type: Type,
241
+ mappingData: QueryBuilderExplorerTreeNodeMappingData,
242
+ ) {
243
+ super(id, label, dndText, false, type, mappingData);
244
+ this.column = column;
245
+ }
246
+ }
247
+
224
248
  export const buildPropertyExpressionFromExplorerTreeNodeData = (
225
249
  node: QueryBuilderExplorerTreePropertyNodeData,
226
250
  explorerState: QueryBuilderExplorerState,
@@ -807,7 +831,7 @@ export class QueryBuilderExplorerState {
807
831
  }
808
832
 
809
833
  refreshTreeData(): void {
810
- const _class = this.queryBuilderState.class;
834
+ const _class = this.queryBuilderState.sourceClass;
811
835
  const _mapping = this.queryBuilderState.executionContextState.mapping;
812
836
  this.setTreeData(
813
837
  _class && _mapping && this.mappingModelCoverageAnalysisResult
@@ -984,7 +1008,7 @@ export class QueryBuilderExplorerState {
984
1008
  }
985
1009
  if (
986
1010
  !node.mappingData.mapped ||
987
- !this.queryBuilderState.class ||
1011
+ !this.queryBuilderState.sourceClass ||
988
1012
  !this.queryBuilderState.executionContextState.mapping
989
1013
  ) {
990
1014
  return;
@@ -15,7 +15,6 @@
15
15
  */
16
16
 
17
17
  import type {
18
- Class,
19
18
  CompilationError,
20
19
  LambdaFunction,
21
20
  VariableExpression,
@@ -63,7 +62,7 @@ export abstract class QueryBuilderFetchStructureImplementationState
63
62
  abstract get fetchLabel(): string;
64
63
  abstract get canBeExportedToCube(): boolean;
65
64
 
66
- abstract onClassChange(_class: Class | undefined): void;
65
+ abstract onClassChange(): void;
67
66
  abstract revealCompilationError(compilationError: CompilationError): boolean;
68
67
  abstract clearCompilationError(): void;
69
68
  abstract fetchProperty(node: QueryBuilderExplorerTreePropertyNodeData): void;