@finos/legend-application-query 5.2.8 → 7.0.0

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 (602) hide show
  1. package/lib/application/LegendQuery.d.ts.map +1 -1
  2. package/lib/application/LegendQuery.js +4 -7
  3. package/lib/application/LegendQuery.js.map +1 -1
  4. package/lib/components/LegendQueryApplication.d.ts +0 -1
  5. package/lib/components/LegendQueryApplication.d.ts.map +1 -1
  6. package/lib/components/LegendQueryApplication.js +2 -2
  7. package/lib/components/LegendQueryApplication.js.map +1 -1
  8. package/lib/components/QueryEditor.d.ts +2 -3
  9. package/lib/components/QueryEditor.d.ts.map +1 -1
  10. package/lib/components/QueryEditor.js +83 -32
  11. package/lib/components/QueryEditor.js.map +1 -1
  12. package/lib/components/QueryEditorComponentTestUtils.d.ts +5 -1
  13. package/lib/components/QueryEditorComponentTestUtils.d.ts.map +1 -1
  14. package/lib/components/QueryEditorComponentTestUtils.js +21 -20
  15. package/lib/components/QueryEditorComponentTestUtils.js.map +1 -1
  16. package/lib/components/QueryEditorStoreProvider.d.ts +2 -3
  17. package/lib/components/QueryEditorStoreProvider.d.ts.map +1 -1
  18. package/lib/components/QueryEditorStoreProvider.js +5 -5
  19. package/lib/components/QueryEditorStoreProvider.js.map +1 -1
  20. package/lib/components/QuerySetup.js +17 -17
  21. package/lib/components/QuerySetup.js.map +1 -1
  22. package/lib/index.css +2 -2
  23. package/lib/index.css.map +1 -1
  24. package/lib/index.d.ts +2 -4
  25. package/lib/index.d.ts.map +1 -1
  26. package/lib/index.js +2 -4
  27. package/lib/index.js.map +1 -1
  28. package/lib/package.json +8 -14
  29. package/lib/stores/LegendQueryApplicationPlugin.d.ts +7 -0
  30. package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
  31. package/lib/stores/LegendQueryApplicationPlugin.js.map +1 -1
  32. package/lib/stores/LegendQueryRouter.d.ts +8 -12
  33. package/lib/stores/LegendQueryRouter.d.ts.map +1 -1
  34. package/lib/stores/LegendQueryRouter.js +6 -7
  35. package/lib/stores/LegendQueryRouter.js.map +1 -1
  36. package/lib/stores/QueryEditorStore.d.ts +22 -11
  37. package/lib/stores/QueryEditorStore.d.ts.map +1 -1
  38. package/lib/stores/QueryEditorStore.js +102 -67
  39. package/lib/stores/QueryEditorStore.js.map +1 -1
  40. package/lib/stores/QuerySetupStore.d.ts +4 -4
  41. package/lib/stores/QuerySetupStore.d.ts.map +1 -1
  42. package/lib/stores/QuerySetupStore.js +4 -4
  43. package/lib/stores/QuerySetupStore.js.map +1 -1
  44. package/package.json +15 -21
  45. package/src/application/LegendQuery.tsx +7 -8
  46. package/src/components/LegendQueryApplication.tsx +7 -7
  47. package/src/components/QueryEditor.tsx +371 -134
  48. package/src/components/QueryEditorComponentTestUtils.tsx +40 -29
  49. package/src/components/QueryEditorStoreProvider.tsx +7 -9
  50. package/src/components/QuerySetup.tsx +25 -25
  51. package/src/index.ts +2 -10
  52. package/src/stores/LegendQueryApplicationPlugin.ts +12 -0
  53. package/src/stores/LegendQueryRouter.ts +11 -16
  54. package/src/stores/QueryEditorStore.ts +167 -113
  55. package/src/stores/QuerySetupStore.ts +8 -6
  56. package/tsconfig.json +2 -111
  57. package/tsconfig.package.json +1 -1
  58. package/lib/QueryBuilder_Const.d.ts +0 -77
  59. package/lib/QueryBuilder_Const.d.ts.map +0 -1
  60. package/lib/QueryBuilder_Const.js +0 -85
  61. package/lib/QueryBuilder_Const.js.map +0 -1
  62. package/lib/components/QueryBuilder.d.ts +0 -23
  63. package/lib/components/QueryBuilder.d.ts.map +0 -1
  64. package/lib/components/QueryBuilder.js +0 -111
  65. package/lib/components/QueryBuilder.js.map +0 -1
  66. package/lib/components/QueryBuilderParameterPanel.d.ts +0 -30
  67. package/lib/components/QueryBuilderParameterPanel.d.ts.map +0 -1
  68. package/lib/components/QueryBuilderParameterPanel.js +0 -128
  69. package/lib/components/QueryBuilderParameterPanel.js.map +0 -1
  70. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +0 -30
  71. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +0 -1
  72. package/lib/components/QueryBuilderPropertyExpressionEditor.js +0 -116
  73. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +0 -1
  74. package/lib/components/QueryBuilderResultPanel.d.ts +0 -23
  75. package/lib/components/QueryBuilderResultPanel.d.ts.map +0 -1
  76. package/lib/components/QueryBuilderResultPanel.js +0 -242
  77. package/lib/components/QueryBuilderResultPanel.js.map +0 -1
  78. package/lib/components/QueryBuilderSetupPanel.d.ts +0 -23
  79. package/lib/components/QueryBuilderSetupPanel.d.ts.map +0 -1
  80. package/lib/components/QueryBuilderSetupPanel.js +0 -149
  81. package/lib/components/QueryBuilderSetupPanel.js.map +0 -1
  82. package/lib/components/QueryBuilderTextEditor.d.ts +0 -23
  83. package/lib/components/QueryBuilderTextEditor.d.ts.map +0 -1
  84. package/lib/components/QueryBuilderTextEditor.js +0 -48
  85. package/lib/components/QueryBuilderTextEditor.js.map +0 -1
  86. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +0 -23
  87. package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +0 -1
  88. package/lib/components/QueryBuilderUnsupportedQueryEditor.js +0 -37
  89. package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +0 -1
  90. package/lib/components/QueryBuilder_TestID.d.ts +0 -26
  91. package/lib/components/QueryBuilder_TestID.d.ts.map +0 -1
  92. package/lib/components/QueryBuilder_TestID.js +0 -27
  93. package/lib/components/QueryBuilder_TestID.js.map +0 -1
  94. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +0 -36
  95. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +0 -1
  96. package/lib/components/explorer/QueryBuilderExplorerPanel.js +0 -335
  97. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +0 -1
  98. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -23
  99. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +0 -1
  100. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +0 -147
  101. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +0 -1
  102. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts +0 -24
  103. package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +0 -1
  104. package/lib/components/explorer/QueryBuilderMilestoneEditor.js +0 -120
  105. package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +0 -1
  106. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -24
  107. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +0 -1
  108. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +0 -200
  109. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +0 -1
  110. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -23
  111. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +0 -1
  112. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +0 -52
  113. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +0 -1
  114. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -32
  115. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +0 -1
  116. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +0 -94
  117. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +0 -1
  118. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -31
  119. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +0 -1
  120. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +0 -378
  121. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +0 -1
  122. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts +0 -23
  123. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +0 -1
  124. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +0 -216
  125. package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +0 -1
  126. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -23
  127. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +0 -1
  128. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +0 -88
  129. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +0 -1
  130. package/lib/components/filter/QueryBuilderFilterPanel.d.ts +0 -23
  131. package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +0 -1
  132. package/lib/components/filter/QueryBuilderFilterPanel.js +0 -316
  133. package/lib/components/filter/QueryBuilderFilterPanel.js.map +0 -1
  134. package/lib/components/shared/ElementIconUtils.d.ts +0 -18
  135. package/lib/components/shared/ElementIconUtils.d.ts.map +0 -1
  136. package/lib/components/shared/ElementIconUtils.js +0 -37
  137. package/lib/components/shared/ElementIconUtils.js.map +0 -1
  138. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +0 -43
  139. package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +0 -1
  140. package/lib/components/shared/QueryBuilderLambdaEditor.js +0 -47
  141. package/lib/components/shared/QueryBuilderLambdaEditor.js.map +0 -1
  142. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts +0 -20
  143. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +0 -1
  144. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +0 -28
  145. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +0 -1
  146. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +0 -26
  147. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +0 -1
  148. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +0 -32
  149. package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +0 -1
  150. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts +0 -21
  151. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +0 -1
  152. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js +0 -27
  153. package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +0 -1
  154. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts +0 -24
  155. package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +0 -1
  156. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js +0 -32
  157. package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +0 -1
  158. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +0 -21
  159. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +0 -1
  160. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js +0 -20
  161. package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +0 -1
  162. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts +0 -21
  163. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +0 -1
  164. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js +0 -20
  165. package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +0 -1
  166. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +0 -25
  167. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  168. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +0 -21
  169. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  170. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +0 -18
  171. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
  172. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +0 -20
  173. package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +0 -1
  174. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +0 -22
  175. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +0 -1
  176. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +0 -70
  177. package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +0 -1
  178. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts +0 -22
  179. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +0 -1
  180. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +0 -207
  181. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +0 -1
  182. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts +0 -18
  183. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts.map +0 -1
  184. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js +0 -18
  185. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js.map +0 -1
  186. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +0 -29
  187. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
  188. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +0 -182
  189. package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +0 -1
  190. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts +0 -22
  191. package/lib/stores/QueryBuilderGroupOperationHelper.d.ts.map +0 -1
  192. package/lib/stores/QueryBuilderGroupOperationHelper.js +0 -43
  193. package/lib/stores/QueryBuilderGroupOperationHelper.js.map +0 -1
  194. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts +0 -26
  195. package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +0 -1
  196. package/lib/stores/QueryBuilderPreviewDataHelper.js +0 -143
  197. package/lib/stores/QueryBuilderPreviewDataHelper.js.map +0 -1
  198. package/lib/stores/QueryBuilderPropertyEditorState.d.ts +0 -62
  199. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +0 -1
  200. package/lib/stores/QueryBuilderPropertyEditorState.js +0 -395
  201. package/lib/stores/QueryBuilderPropertyEditorState.js.map +0 -1
  202. package/lib/stores/QueryBuilderResultState.d.ts +0 -41
  203. package/lib/stores/QueryBuilderResultState.d.ts.map +0 -1
  204. package/lib/stores/QueryBuilderResultState.js +0 -176
  205. package/lib/stores/QueryBuilderResultState.js.map +0 -1
  206. package/lib/stores/QueryBuilderSetupState.d.ts +0 -46
  207. package/lib/stores/QueryBuilderSetupState.d.ts.map +0 -1
  208. package/lib/stores/QueryBuilderSetupState.js +0 -163
  209. package/lib/stores/QueryBuilderSetupState.js.map +0 -1
  210. package/lib/stores/QueryBuilderState.d.ts +0 -100
  211. package/lib/stores/QueryBuilderState.d.ts.map +0 -1
  212. package/lib/stores/QueryBuilderState.js +0 -308
  213. package/lib/stores/QueryBuilderState.js.map +0 -1
  214. package/lib/stores/QueryBuilderStateBuilder.d.ts +0 -124
  215. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +0 -1
  216. package/lib/stores/QueryBuilderStateBuilder.js +0 -310
  217. package/lib/stores/QueryBuilderStateBuilder.js.map +0 -1
  218. package/lib/stores/QueryBuilderStateTestUtils.d.ts +0 -24
  219. package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +0 -1
  220. package/lib/stores/QueryBuilderStateTestUtils.js +0 -50
  221. package/lib/stores/QueryBuilderStateTestUtils.js.map +0 -1
  222. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +0 -24
  223. package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +0 -1
  224. package/lib/stores/QueryBuilderTypeaheadHelper.js +0 -86
  225. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +0 -1
  226. package/lib/stores/QueryBuilderUnsupportedState.d.ts +0 -26
  227. package/lib/stores/QueryBuilderUnsupportedState.d.ts.map +0 -1
  228. package/lib/stores/QueryBuilderUnsupportedState.js +0 -36
  229. package/lib/stores/QueryBuilderUnsupportedState.js.map +0 -1
  230. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts +0 -20
  231. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +0 -1
  232. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +0 -87
  233. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +0 -1
  234. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +0 -27
  235. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +0 -1
  236. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +0 -156
  237. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +0 -1
  238. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +0 -61
  239. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +0 -1
  240. package/lib/stores/QueryBuilderValueSpecificationHelper.js +0 -235
  241. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +0 -1
  242. package/lib/stores/QueryParametersState.d.ts +0 -28
  243. package/lib/stores/QueryParametersState.d.ts.map +0 -1
  244. package/lib/stores/QueryParametersState.js +0 -39
  245. package/lib/stores/QueryParametersState.js.map +0 -1
  246. package/lib/stores/QueryTextEditorState.d.ts +0 -49
  247. package/lib/stores/QueryTextEditorState.d.ts.map +0 -1
  248. package/lib/stores/QueryTextEditorState.js +0 -145
  249. package/lib/stores/QueryTextEditorState.js.map +0 -1
  250. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +0 -99
  251. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +0 -1
  252. package/lib/stores/explorer/QueryBuilderExplorerState.js +0 -442
  253. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +0 -1
  254. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts +0 -46
  255. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts.map +0 -1
  256. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js +0 -242
  257. package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js.map +0 -1
  258. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts +0 -59
  259. package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +0 -1
  260. package/lib/stores/explorer/QueryFunctionsExplorerState.js +0 -229
  261. package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +0 -1
  262. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +0 -40
  263. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +0 -1
  264. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +0 -34
  265. package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +0 -1
  266. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +0 -27
  267. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +0 -1
  268. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +0 -74
  269. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +0 -1
  270. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +0 -49
  271. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +0 -1
  272. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +0 -157
  273. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +0 -1
  274. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +0 -20
  275. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +0 -1
  276. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +0 -62
  277. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +0 -1
  278. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +0 -42
  279. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +0 -1
  280. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +0 -173
  281. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +0 -1
  282. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +0 -26
  283. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +0 -1
  284. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +0 -72
  285. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +0 -1
  286. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +0 -73
  287. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +0 -1
  288. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +0 -187
  289. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +0 -1
  290. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +0 -68
  291. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +0 -1
  292. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +0 -304
  293. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +0 -1
  294. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts +0 -25
  295. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +0 -1
  296. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js +0 -186
  297. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +0 -1
  298. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +0 -26
  299. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +0 -1
  300. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +0 -189
  301. package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +0 -1
  302. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts +0 -43
  303. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +0 -1
  304. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js +0 -77
  305. package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +0 -1
  306. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +0 -32
  307. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +0 -1
  308. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +0 -36
  309. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +0 -1
  310. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +0 -18
  311. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +0 -1
  312. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js +0 -38
  313. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +0 -1
  314. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +0 -42
  315. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +0 -1
  316. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +0 -103
  317. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +0 -1
  318. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts +0 -20
  319. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +0 -1
  320. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js +0 -96
  321. package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +0 -1
  322. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts +0 -22
  323. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +0 -1
  324. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js +0 -40
  325. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +0 -1
  326. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +0 -27
  327. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +0 -1
  328. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +0 -50
  329. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +0 -1
  330. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +0 -27
  331. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +0 -1
  332. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +0 -55
  333. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +0 -1
  334. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +0 -26
  335. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +0 -1
  336. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +0 -50
  337. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +0 -1
  338. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +0 -27
  339. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +0 -1
  340. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +0 -78
  341. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +0 -1
  342. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +0 -27
  343. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +0 -1
  344. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +0 -67
  345. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +0 -1
  346. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +0 -26
  347. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +0 -1
  348. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +0 -86
  349. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +0 -1
  350. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +0 -26
  351. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +0 -1
  352. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +0 -86
  353. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +0 -1
  354. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +0 -27
  355. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +0 -1
  356. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +0 -50
  357. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +0 -1
  358. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +0 -27
  359. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +0 -1
  360. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +0 -50
  361. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +0 -1
  362. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +0 -26
  363. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +0 -1
  364. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +0 -45
  365. package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +0 -1
  366. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +0 -29
  367. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +0 -1
  368. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js +0 -30
  369. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +0 -1
  370. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +0 -18
  371. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +0 -1
  372. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js +0 -44
  373. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +0 -1
  374. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +0 -135
  375. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +0 -1
  376. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +0 -586
  377. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +0 -1
  378. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +0 -22
  379. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +0 -1
  380. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js +0 -122
  381. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js.map +0 -1
  382. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +0 -19
  383. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +0 -1
  384. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +0 -79
  385. package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +0 -1
  386. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +0 -23
  387. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +0 -1
  388. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +0 -74
  389. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +0 -1
  390. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +0 -32
  391. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +0 -1
  392. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +0 -75
  393. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +0 -1
  394. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +0 -32
  395. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +0 -1
  396. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +0 -75
  397. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +0 -1
  398. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +0 -32
  399. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +0 -1
  400. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +0 -118
  401. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +0 -1
  402. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +0 -27
  403. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +0 -1
  404. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +0 -81
  405. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +0 -1
  406. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +0 -24
  407. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  408. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +0 -43
  409. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +0 -1
  410. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +0 -32
  411. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +0 -1
  412. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +0 -104
  413. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +0 -1
  414. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +0 -33
  415. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +0 -1
  416. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +0 -67
  417. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +0 -1
  418. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +0 -27
  419. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +0 -1
  420. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +0 -81
  421. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +0 -1
  422. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +0 -24
  423. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +0 -1
  424. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +0 -43
  425. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +0 -1
  426. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +0 -32
  427. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +0 -1
  428. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +0 -75
  429. package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +0 -1
  430. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +0 -27
  431. package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +0 -1
  432. package/lib/stores/filter/QueryBuilderFilterOperator.js +0 -20
  433. package/lib/stores/filter/QueryBuilderFilterOperator.js.map +0 -1
  434. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts +0 -18
  435. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts.map +0 -1
  436. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js +0 -44
  437. package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js.map +0 -1
  438. package/lib/stores/filter/QueryBuilderFilterState.d.ts +0 -123
  439. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +0 -1
  440. package/lib/stores/filter/QueryBuilderFilterState.js +0 -531
  441. package/lib/stores/filter/QueryBuilderFilterState.js.map +0 -1
  442. package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts +0 -19
  443. package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +0 -1
  444. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +0 -74
  445. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +0 -1
  446. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +0 -19
  447. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +0 -1
  448. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +0 -78
  449. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +0 -1
  450. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts +0 -21
  451. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +0 -1
  452. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js +0 -257
  453. package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js.map +0 -1
  454. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +0 -32
  455. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +0 -1
  456. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +0 -71
  457. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +0 -1
  458. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +0 -32
  459. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +0 -1
  460. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +0 -71
  461. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +0 -1
  462. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +0 -32
  463. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +0 -1
  464. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +0 -115
  465. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +0 -1
  466. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +0 -27
  467. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +0 -1
  468. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +0 -83
  469. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +0 -1
  470. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +0 -27
  471. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +0 -1
  472. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +0 -83
  473. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +0 -1
  474. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +0 -32
  475. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +0 -1
  476. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +0 -103
  477. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +0 -1
  478. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +0 -32
  479. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +0 -1
  480. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +0 -65
  481. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +0 -1
  482. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +0 -27
  483. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +0 -1
  484. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +0 -83
  485. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +0 -1
  486. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +0 -27
  487. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +0 -1
  488. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +0 -83
  489. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +0 -1
  490. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +0 -32
  491. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +0 -1
  492. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +0 -71
  493. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +0 -1
  494. package/src/QueryBuilder_Const.ts +0 -88
  495. package/src/components/QueryBuilder.tsx +0 -412
  496. package/src/components/QueryBuilderParameterPanel.tsx +0 -403
  497. package/src/components/QueryBuilderPropertyExpressionEditor.tsx +0 -374
  498. package/src/components/QueryBuilderResultPanel.tsx +0 -640
  499. package/src/components/QueryBuilderSetupPanel.tsx +0 -342
  500. package/src/components/QueryBuilderTextEditor.tsx +0 -127
  501. package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +0 -112
  502. package/src/components/QueryBuilder_TestID.ts +0 -26
  503. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +0 -927
  504. package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +0 -554
  505. package/src/components/explorer/QueryBuilderMilestoneEditor.tsx +0 -291
  506. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +0 -617
  507. package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +0 -112
  508. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +0 -276
  509. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +0 -1103
  510. package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +0 -649
  511. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +0 -254
  512. package/src/components/filter/QueryBuilderFilterPanel.tsx +0 -890
  513. package/src/components/shared/ElementIconUtils.tsx +0 -47
  514. package/src/components/shared/QueryBuilderLambdaEditor.tsx +0 -120
  515. package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +0 -40
  516. package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +0 -87
  517. package/src/graphManager/QueryBuilder_GraphManagerPlugin.ts +0 -32
  518. package/src/graphManager/QueryBuilder_GraphManagerPreset.ts +0 -33
  519. package/src/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +0 -22
  520. package/src/graphManager/action/analytics/ServiceExecutionAnalysis.ts +0 -22
  521. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +0 -47
  522. package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +0 -27
  523. package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +0 -167
  524. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +0 -573
  525. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts +0 -28
  526. package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +0 -296
  527. package/src/stores/QueryBuilderGroupOperationHelper.ts +0 -54
  528. package/src/stores/QueryBuilderPreviewDataHelper.ts +0 -210
  529. package/src/stores/QueryBuilderPropertyEditorState.ts +0 -668
  530. package/src/stores/QueryBuilderResultState.ts +0 -281
  531. package/src/stores/QueryBuilderSetupState.ts +0 -236
  532. package/src/stores/QueryBuilderState.ts +0 -465
  533. package/src/stores/QueryBuilderStateBuilder.ts +0 -584
  534. package/src/stores/QueryBuilderStateTestUtils.ts +0 -96
  535. package/src/stores/QueryBuilderTypeaheadHelper.ts +0 -155
  536. package/src/stores/QueryBuilderUnsupportedState.ts +0 -42
  537. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +0 -179
  538. package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +0 -254
  539. package/src/stores/QueryBuilderValueSpecificationHelper.ts +0 -359
  540. package/src/stores/QueryParametersState.ts +0 -52
  541. package/src/stores/QueryTextEditorState.ts +0 -203
  542. package/src/stores/explorer/QueryBuilderExplorerState.ts +0 -810
  543. package/src/stores/explorer/QueryBuilderPropertySearchPanelState.ts +0 -333
  544. package/src/stores/explorer/QueryFunctionsExplorerState.ts +0 -376
  545. package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +0 -65
  546. package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +0 -108
  547. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +0 -240
  548. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +0 -131
  549. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +0 -282
  550. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +0 -154
  551. package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +0 -329
  552. package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +0 -569
  553. package/src/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.ts +0 -426
  554. package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +0 -416
  555. package/src/stores/fetch-structure/projection/QueryResultSetModifierState.ts +0 -95
  556. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +0 -79
  557. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts +0 -41
  558. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +0 -145
  559. package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.ts +0 -228
  560. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts +0 -109
  561. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +0 -98
  562. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +0 -106
  563. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +0 -96
  564. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +0 -173
  565. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +0 -155
  566. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +0 -174
  567. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +0 -174
  568. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +0 -98
  569. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +0 -98
  570. package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +0 -88
  571. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +0 -66
  572. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +0 -65
  573. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +0 -808
  574. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.ts +0 -297
  575. package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -121
  576. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +0 -129
  577. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +0 -140
  578. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +0 -135
  579. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +0 -218
  580. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +0 -143
  581. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +0 -70
  582. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +0 -183
  583. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +0 -113
  584. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +0 -143
  585. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +0 -70
  586. package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +0 -135
  587. package/src/stores/filter/QueryBuilderFilterOperator.ts +0 -52
  588. package/src/stores/filter/QueryBuilderFilterOperatorLoader.ts +0 -65
  589. package/src/stores/filter/QueryBuilderFilterState.ts +0 -738
  590. package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +0 -155
  591. package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +0 -120
  592. package/src/stores/filter/operators/QueryBuilderFilterOperatorHelper.ts +0 -524
  593. package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +0 -134
  594. package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +0 -134
  595. package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -211
  596. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +0 -145
  597. package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +0 -145
  598. package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +0 -181
  599. package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +0 -125
  600. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +0 -145
  601. package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +0 -145
  602. package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +0 -134
@@ -1,296 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-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
- import {
18
- EngineRuntime,
19
- GraphBuilderError,
20
- MappingInclude,
21
- V1_getIncludedMappingPath,
22
- V1_GraphBuilderContextBuilder,
23
- V1_Mapping,
24
- V1_MAPPING_ELEMENT_PROTOCOL_TYPE,
25
- V1_PACKAGEABLE_RUNTIME_ELEMENT_PROTOCOL_TYPE,
26
- V1_PureMultiExecution,
27
- V1_Service,
28
- V1_PackageableRuntime,
29
- type V1_PackageableElement,
30
- type PureModel,
31
- V1_PureGraphManager,
32
- PureClientVersion,
33
- type AbstractPureGraphManager,
34
- type V1_EngineRuntime,
35
- CORE_PURE_PATH,
36
- getAllIncludedMappings,
37
- } from '@finos/legend-graph';
38
- import type { Entity } from '@finos/legend-storage';
39
- import {
40
- assertErrorThrown,
41
- filterByType,
42
- guaranteeNonEmptyString,
43
- guaranteeType,
44
- type PlainObject,
45
- } from '@finos/legend-shared';
46
- import { MappingRuntimeCompatibilityAnalysisResult } from '../../../action/analytics/MappingRuntimeCompatibilityAnalysis.js';
47
- import { ServiceExecutionAnalysisResult } from '../../../action/analytics/ServiceExecutionAnalysis.js';
48
- import { QueryBuilder_PureGraphManagerExtension } from '../QueryBuilder_PureGraphManagerExtension.js';
49
-
50
- export class V1_QueryBuilder_PureGraphManagerExtension extends QueryBuilder_PureGraphManagerExtension {
51
- declare graphManager: V1_PureGraphManager;
52
-
53
- constructor(graphManager: AbstractPureGraphManager) {
54
- super(graphManager);
55
- this.graphManager = guaranteeType(graphManager, V1_PureGraphManager);
56
- }
57
-
58
- getSupportedProtocolVersion(): string {
59
- return PureClientVersion.V1_0_0;
60
- }
61
-
62
- // We could optimize this further by omitting parts of the entities we don't need
63
- async buildGraphForCreateQuerySetup(
64
- graph: PureModel,
65
- entities: Entity[],
66
- dependencyEntities: Map<string, Entity[]>,
67
- ): Promise<void> {
68
- try {
69
- const graphBuilderInput = await this.graphManager.indexLightGraph(
70
- graph,
71
- entities,
72
- dependencyEntities,
73
- (entity: Entity): boolean =>
74
- ((entity.content as PlainObject<V1_PackageableElement>)
75
- ._type as string) === V1_MAPPING_ELEMENT_PROTOCOL_TYPE ||
76
- ((entity.content as PlainObject<V1_PackageableElement>)
77
- ._type as string) === V1_PACKAGEABLE_RUNTIME_ELEMENT_PROTOCOL_TYPE,
78
- );
79
- // handle mapping includes
80
- const mappings = [
81
- ...graph.ownMappings,
82
- ...graph.dependencyManager.mappings,
83
- ];
84
- const v1Mappings = graphBuilderInput
85
- .map((e) => e.data.elements.filter(filterByType(V1_Mapping)))
86
- .flat();
87
- const context = new V1_GraphBuilderContextBuilder(
88
- graph,
89
- graph,
90
- this.graphManager.graphBuilderExtensions,
91
- this.graphManager.log,
92
- ).build();
93
- // build include index for compatible runtime analysis
94
- v1Mappings.forEach((element) => {
95
- const mapping = mappings.find((e) => e.path === element.path);
96
- if (mapping) {
97
- mapping.includes = element.includedMappings.map(
98
- (i) =>
99
- new MappingInclude(
100
- mapping,
101
- context.resolveMapping(
102
- guaranteeNonEmptyString(
103
- V1_getIncludedMappingPath(i),
104
- `Mapping include path is missing or empty`,
105
- ),
106
- ),
107
- ),
108
- );
109
- }
110
- });
111
- // handle runtimes
112
- const runtimes = [
113
- ...graph.ownRuntimes,
114
- ...graph.dependencyManager.runtimes,
115
- ];
116
- const v1Runtimes = graphBuilderInput
117
- .map((e) => e.data.elements.filter(filterByType(V1_PackageableRuntime)))
118
- .flat();
119
- v1Runtimes.forEach((element) => {
120
- const runtime = runtimes.find((e) => e.path === element.path);
121
- if (runtime) {
122
- const runtimeValue = new EngineRuntime();
123
- runtime.runtimeValue = runtimeValue;
124
- runtimeValue.mappings = element.runtimeValue.mappings.map((mapping) =>
125
- context.resolveMapping(mapping.path),
126
- );
127
- }
128
- });
129
- } catch (error) {
130
- assertErrorThrown(error);
131
- /**
132
- * Wrap all error with `GraphBuilderError`, as we throw a lot of assertion error in the graph builder
133
- * But we might want to rethink this decision in the future and throw appropriate type of error
134
- */
135
- throw error instanceof GraphBuilderError
136
- ? error
137
- : new GraphBuilderError(error);
138
- }
139
- }
140
-
141
- async surveyMappingRuntimeCompatibility(
142
- entities: Entity[],
143
- dependencyEntities: Map<string, Entity[]>,
144
- ): Promise<MappingRuntimeCompatibilityAnalysisResult[]> {
145
- const result: MappingRuntimeCompatibilityAnalysisResult[] = [];
146
- const graph = await this.graphManager.createEmptyGraph({
147
- initializeSystem: false,
148
- });
149
-
150
- const graphBuilderInput = await this.graphManager.indexLightGraph(
151
- graph,
152
- entities,
153
- dependencyEntities,
154
- (entity: Entity): boolean =>
155
- ([CORE_PURE_PATH.MAPPING, CORE_PURE_PATH.RUNTIME] as string[]).includes(
156
- entity.classifierPath,
157
- ),
158
- // NOTE: small optimization since we only need to survey runtimes and mappings
159
- (entity: Entity): Entity => {
160
- if (entity.classifierPath === CORE_PURE_PATH.MAPPING) {
161
- entity.content = {
162
- _type: entity.content._type,
163
- name: entity.content.name,
164
- package: entity.content.package,
165
- includes: entity.content.includes,
166
- };
167
- } else if (entity.classifierPath === CORE_PURE_PATH.RUNTIME) {
168
- entity.content = {
169
- _type: entity.content._type,
170
- name: entity.content.name,
171
- package: entity.content.package,
172
- runtimeValue: {
173
- mappings: (
174
- entity.content.runtimeValue as
175
- | PlainObject<V1_EngineRuntime>
176
- | undefined
177
- )?.mappings,
178
- },
179
- };
180
- }
181
- return entity;
182
- },
183
- );
184
-
185
- const context = new V1_GraphBuilderContextBuilder(
186
- graph,
187
- graph,
188
- this.graphManager.graphBuilderExtensions,
189
- this.graphManager.log,
190
- ).build();
191
-
192
- graphBuilderInput
193
- .map((element) => element.data.elements.filter(filterByType(V1_Mapping)))
194
- .flat()
195
- .forEach((element) => {
196
- const mapping = graph.getNullableMapping(element.path);
197
- if (mapping) {
198
- mapping.includes = element.includedMappings.map(
199
- (include) =>
200
- new MappingInclude(
201
- mapping,
202
- context.resolveMapping(
203
- guaranteeNonEmptyString(
204
- V1_getIncludedMappingPath(include),
205
- `Mapping include path is missing or empty`,
206
- ),
207
- ),
208
- ),
209
- );
210
- }
211
- });
212
-
213
- graphBuilderInput
214
- .map((element) =>
215
- element.data.elements.filter(filterByType(V1_PackageableRuntime)),
216
- )
217
- .flat()
218
- .forEach((element) => {
219
- const runtime = graph.getNullableRuntime(element.path);
220
- if (runtime) {
221
- const runtimeValue = new EngineRuntime();
222
- runtime.runtimeValue = runtimeValue;
223
- runtimeValue.mappings = element.runtimeValue.mappings.map((mapping) =>
224
- context.resolveMapping(mapping.path),
225
- );
226
- }
227
- });
228
-
229
- graph.mappings.forEach((mapping) => {
230
- const mappingRuntimeCompatibilityAnalysisResult =
231
- new MappingRuntimeCompatibilityAnalysisResult();
232
- mappingRuntimeCompatibilityAnalysisResult.mapping = mapping;
233
- mappingRuntimeCompatibilityAnalysisResult.runtimes =
234
- // If the runtime claims to cover some mappings which include the specified mapping,
235
- // then we deem the runtime to be compatible with the such mapping
236
- graph.runtimes.filter((runtime) =>
237
- runtime.runtimeValue.mappings
238
- .map((mappingReference) => [
239
- mappingReference.value,
240
- ...getAllIncludedMappings(mappingReference.value),
241
- ])
242
- .flat()
243
- .includes(mapping),
244
- );
245
- result.push(mappingRuntimeCompatibilityAnalysisResult);
246
- });
247
-
248
- return result;
249
- }
250
-
251
- async surveyServiceExecution(
252
- entities: Entity[],
253
- dependencyEntities: Map<string, Entity[]>,
254
- ): Promise<ServiceExecutionAnalysisResult[]> {
255
- const result: ServiceExecutionAnalysisResult[] = [];
256
- const graph = await this.graphManager.createEmptyGraph({
257
- initializeSystem: false,
258
- });
259
-
260
- const graphBuilderInput = await this.graphManager.indexLightGraph(
261
- graph,
262
- entities,
263
- dependencyEntities,
264
- (entity: Entity): boolean =>
265
- entity.classifierPath === CORE_PURE_PATH.SERVICE,
266
- // NOTE: small optimization since we only need to inspect services' execution context
267
- (entity: Entity): Entity => {
268
- if (entity.classifierPath === CORE_PURE_PATH.SERVICE) {
269
- entity.content = {
270
- _type: entity.content._type,
271
- name: entity.content.name,
272
- package: entity.content.package,
273
- execution: entity.content.execution,
274
- };
275
- }
276
- return entity;
277
- },
278
- );
279
- graphBuilderInput
280
- .map((element) => element.data.elements.filter(filterByType(V1_Service)))
281
- .flat()
282
- .forEach((protocol) => {
283
- const service = graph.getNullableService(protocol.path);
284
- if (service) {
285
- const serviceAnalysisResult = new ServiceExecutionAnalysisResult();
286
- serviceAnalysisResult.service = service;
287
- if (protocol.execution instanceof V1_PureMultiExecution) {
288
- serviceAnalysisResult.executionKeys =
289
- protocol.execution.executionParameters.map((param) => param.key);
290
- }
291
- result.push(serviceAnalysisResult);
292
- }
293
- });
294
- return result;
295
- }
296
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-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
- import { matchFunctionName } from '@finos/legend-graph';
18
- import { UnsupportedOperationError } from '@finos/legend-shared';
19
- import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../QueryBuilder_Const.js';
20
-
21
- export enum QUERY_BUILDER_GROUP_OPERATION {
22
- AND = 'and',
23
- OR = 'or',
24
- }
25
-
26
- export const fromGroupOperation = (
27
- operation: QUERY_BUILDER_GROUP_OPERATION,
28
- ): string => {
29
- switch (operation) {
30
- case QUERY_BUILDER_GROUP_OPERATION.AND:
31
- return QUERY_BUILDER_SUPPORTED_FUNCTIONS.AND;
32
- case QUERY_BUILDER_GROUP_OPERATION.OR:
33
- return QUERY_BUILDER_SUPPORTED_FUNCTIONS.OR;
34
- default:
35
- throw new UnsupportedOperationError(
36
- `Can't derive function name from group operation '${operation}'`,
37
- );
38
- }
39
- };
40
-
41
- export const toGroupOperation = (
42
- functionName: string,
43
- ): QUERY_BUILDER_GROUP_OPERATION => {
44
- if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.AND)) {
45
- return QUERY_BUILDER_GROUP_OPERATION.AND;
46
- } else if (
47
- matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.OR)
48
- ) {
49
- return QUERY_BUILDER_GROUP_OPERATION.OR;
50
- }
51
- throw new UnsupportedOperationError(
52
- `Can't derive group operation from function name '${functionName}'`,
53
- );
54
- };
@@ -1,210 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-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
- import type {
18
- RawLambda,
19
- AbstractPropertyExpression,
20
- } from '@finos/legend-graph';
21
- import { guaranteeNonNullable, guaranteeType } from '@finos/legend-shared';
22
- import { QueryBuilderAggregateOperator_Average } from './fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js';
23
- import { QueryBuilderAggregateOperator_Count } from './fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js';
24
- import { QueryBuilderAggregateOperator_DistinctCount } from './fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js';
25
- import { QueryBuilderAggregateOperator_Max } from './fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js';
26
- import { QueryBuilderAggregateOperator_Min } from './fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js';
27
- import { QueryBuilderAggregateOperator_StdDev_Population } from './fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js';
28
- import { QueryBuilderAggregateOperator_StdDev_Sample } from './fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js';
29
- import { QueryBuilderAggregateOperator_Sum } from './fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js';
30
- import { QueryBuilderSimpleProjectionColumnState } from './fetch-structure/projection/QueryBuilderProjectionColumnState.js';
31
- import type { QueryBuilderState } from './QueryBuilderState.js';
32
- import {
33
- COLUMN_SORT_TYPE,
34
- SortColumnState,
35
- } from './fetch-structure/projection/QueryResultSetModifierState.js';
36
- import type { QueryBuilderAggregateOperator } from './fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js';
37
- import { QueryBuilderProjectionState } from './fetch-structure/projection/QueryBuilderProjectionState.js';
38
-
39
- const PREVIEW_DATA_TAKE_LIMIT = 10;
40
- const PREVIEW_DATA_NON_NUMERIC_VALUE_COLUMN_NAME = 'Value';
41
- const PREVIEW_DATA_NON_NUMERIC_COUNT_COLUMN_NAME = 'Count';
42
-
43
- enum NUMERIC_AGG_FUNC {
44
- COUNT = 'Count',
45
- DISTINCT_COUNT = 'Distinct Count',
46
- SUM = 'Sum',
47
- MIN = 'Min',
48
- MAX = 'Max',
49
- AVERAGE = 'Average',
50
- STD_DEV_POPULATION = 'Std Dev (Population)',
51
- STD_DEV_SAMPLE = 'Std Dev (Sample)',
52
- }
53
-
54
- const NUMERIC_AGG_FUNC_TO_AGG_OP: [
55
- NUMERIC_AGG_FUNC,
56
- typeof QueryBuilderAggregateOperator,
57
- ][] = [
58
- [NUMERIC_AGG_FUNC.COUNT, QueryBuilderAggregateOperator_Count],
59
- [
60
- NUMERIC_AGG_FUNC.DISTINCT_COUNT,
61
- QueryBuilderAggregateOperator_DistinctCount,
62
- ],
63
- [NUMERIC_AGG_FUNC.SUM, QueryBuilderAggregateOperator_Sum],
64
- [NUMERIC_AGG_FUNC.MIN, QueryBuilderAggregateOperator_Min],
65
- [NUMERIC_AGG_FUNC.MAX, QueryBuilderAggregateOperator_Max],
66
- [NUMERIC_AGG_FUNC.AVERAGE, QueryBuilderAggregateOperator_Average],
67
- [
68
- NUMERIC_AGG_FUNC.STD_DEV_POPULATION,
69
- QueryBuilderAggregateOperator_StdDev_Population,
70
- ],
71
- [
72
- NUMERIC_AGG_FUNC.STD_DEV_SAMPLE,
73
- QueryBuilderAggregateOperator_StdDev_Sample,
74
- ],
75
- ];
76
-
77
- const createSimpleProjectionColumn = (
78
- projectionState: QueryBuilderProjectionState,
79
- propertyExpression: AbstractPropertyExpression,
80
- columnName: string,
81
- ): QueryBuilderSimpleProjectionColumnState => {
82
- const col = new QueryBuilderSimpleProjectionColumnState(
83
- projectionState,
84
- propertyExpression,
85
- false,
86
- );
87
- col.setColumnName(columnName);
88
- return col;
89
- };
90
-
91
- const createQueryBuilderState = (
92
- queryBuilderState: QueryBuilderState,
93
- ): QueryBuilderState => {
94
- const builderState = queryBuilderState.cloneQueryBuilderState();
95
- builderState.querySetupState = queryBuilderState.querySetupState;
96
- return builderState;
97
- };
98
-
99
- export type QueryBuilderPreviewData = {
100
- columns: string[];
101
- rows: { values: (string | number)[] }[];
102
- };
103
-
104
- export const buildNumericPreviewDataQuery = (
105
- queryBuilderState: QueryBuilderState,
106
- propertyExpression: AbstractPropertyExpression,
107
- ): RawLambda => {
108
- // Build the following query
109
- //
110
- // ClassX.all()->groupBy(
111
- // [],
112
- // [
113
- // agg(x|$x.prop, x|$x->count()),
114
- // agg(x|$x.prop, x|$x->distinct()->count()),
115
- // agg(x|$x.prop, x|$x->sum()),
116
- // agg(x|$x.prop, x|$x->min()),
117
- // agg(x|$x.prop, x|$x->max()),
118
- // agg(x|$x.prop, x|$x->average()),
119
- // agg(x|$x.prop, x|$x->stdDevPopulation()),
120
- // agg(x|$x.prop, x|$x->stdDevSample())
121
- // ],
122
- // [
123
- // 'Count',
124
- // 'Distinct Count',
125
- // 'Sum',
126
- // 'Min',
127
- // 'Max',
128
- // 'Average',
129
- // 'Std Dev (Population)',
130
- // 'Std Dev (Sample)'
131
- // ]
132
- // )
133
- const builderState = createQueryBuilderState(queryBuilderState);
134
- const projectionState = guaranteeType(
135
- builderState.fetchStructureState.implementation,
136
- QueryBuilderProjectionState,
137
- );
138
- const aggregationState = projectionState.aggregationState;
139
- NUMERIC_AGG_FUNC_TO_AGG_OP.forEach((val) => {
140
- const colState = createSimpleProjectionColumn(
141
- projectionState,
142
- propertyExpression,
143
- val[0],
144
- );
145
- projectionState.columns.push(colState);
146
- const valAggOp = guaranteeNonNullable(
147
- aggregationState.operators.find((t) => t instanceof val[1]),
148
- );
149
- aggregationState.changeColumnAggregateOperator(valAggOp, colState);
150
- });
151
-
152
- return builderState.resultState.buildExecutionRawLambda();
153
- };
154
-
155
- export const buildNonNumericPreviewDataQuery = (
156
- queryBuilderState: QueryBuilderState,
157
- propertyExpression: AbstractPropertyExpression,
158
- ): RawLambda => {
159
- // Build the following query
160
- //
161
- // ClassX.all()->groupBy(
162
- // [
163
- // x|$x.prop
164
- // ],
165
- // [
166
- // agg(x|$x.prop, x|$x->count())
167
- // ],
168
- // [
169
- // 'Value',
170
- // 'Count'
171
- // ]
172
- // )->sort([desc('Count'), asc('Value')])->take(10)
173
- const builderState = createQueryBuilderState(queryBuilderState);
174
- const projectionState = guaranteeType(
175
- builderState.fetchStructureState.implementation,
176
- QueryBuilderProjectionState,
177
- );
178
- const valueProjectionColState = createSimpleProjectionColumn(
179
- projectionState,
180
- propertyExpression,
181
- PREVIEW_DATA_NON_NUMERIC_VALUE_COLUMN_NAME,
182
- );
183
- const valueCountProjectionState = createSimpleProjectionColumn(
184
- projectionState,
185
- propertyExpression,
186
- PREVIEW_DATA_NON_NUMERIC_COUNT_COLUMN_NAME,
187
- );
188
- projectionState.columns = [
189
- valueProjectionColState,
190
- valueCountProjectionState,
191
- ];
192
- const distinctCountOp = guaranteeNonNullable(
193
- projectionState.aggregationState.operators.find(
194
- (t) => t instanceof QueryBuilderAggregateOperator_Count,
195
- ),
196
- );
197
- projectionState.aggregationState.changeColumnAggregateOperator(
198
- distinctCountOp,
199
- valueCountProjectionState,
200
- );
201
- // result set
202
- projectionState.resultSetModifierState.limit = PREVIEW_DATA_TAKE_LIMIT;
203
- const sortValueCount = new SortColumnState(valueCountProjectionState);
204
- sortValueCount.sortType = COLUMN_SORT_TYPE.DESC;
205
- projectionState.resultSetModifierState.sortColumns = [
206
- sortValueCount,
207
- new SortColumnState(valueProjectionColState),
208
- ];
209
- return builderState.resultState.buildExecutionRawLambda();
210
- };