@finos/legend-extension-dsl-data-space 6.1.16 → 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 (240) hide show
  1. package/lib/{DSLDataSpace_Const.d.ts → DSL_DataSpace_Const.d.ts} +1 -3
  2. package/lib/DSL_DataSpace_Const.d.ts.map +1 -0
  3. package/lib/{DSLDataSpace_Const.js → DSL_DataSpace_Const.js} +1 -3
  4. package/lib/DSL_DataSpace_Const.js.map +1 -0
  5. package/lib/{DSLDataSpace_Extension.d.ts → DSL_DataSpace_Extension.d.ts} +2 -2
  6. package/lib/DSL_DataSpace_Extension.d.ts.map +1 -0
  7. package/lib/{DSLDataSpace_Extension.js → DSL_DataSpace_Extension.js} +8 -8
  8. package/lib/DSL_DataSpace_Extension.js.map +1 -0
  9. package/lib/components/{DataSpaceViewer.d.ts → DSL_DataSpace_DataSpaceViewer.d.ts} +3 -2
  10. package/lib/components/DSL_DataSpace_DataSpaceViewer.d.ts.map +1 -0
  11. package/lib/components/{DataSpaceViewer.js → DSL_DataSpace_DataSpaceViewer.js} +3 -3
  12. package/lib/components/DSL_DataSpace_DataSpaceViewer.js.map +1 -0
  13. package/lib/components/{DSLDataSpace_Icon.d.ts → DSL_DataSpace_Icon.d.ts} +1 -1
  14. package/lib/components/DSL_DataSpace_Icon.d.ts.map +1 -0
  15. package/lib/components/{DSLDataSpace_Icon.js → DSL_DataSpace_Icon.js} +1 -1
  16. package/lib/components/DSL_DataSpace_Icon.js.map +1 -0
  17. package/lib/components/query/{DataSpaceQueryBuilder.d.ts → DSL_DataSpace_DataSpaceQueryBuilder.d.ts} +2 -2
  18. package/lib/components/query/DSL_DataSpace_DataSpaceQueryBuilder.d.ts.map +1 -0
  19. package/lib/components/query/{DataSpaceQueryBuilder.js → DSL_DataSpace_DataSpaceQueryBuilder.js} +3 -8
  20. package/lib/components/query/DSL_DataSpace_DataSpaceQueryBuilder.js.map +1 -0
  21. package/lib/components/query/{DataSpaceQueryCreator.d.ts → DSL_DataSpace_DataSpaceQueryCreator.d.ts} +2 -1
  22. package/lib/components/query/DSL_DataSpace_DataSpaceQueryCreator.d.ts.map +1 -0
  23. package/lib/components/query/{DataSpaceQueryCreator.js → DSL_DataSpace_DataSpaceQueryCreator.js} +3 -3
  24. package/lib/components/query/DSL_DataSpace_DataSpaceQueryCreator.js.map +1 -0
  25. package/lib/components/query/{DataSpaceQuerySetup.d.ts → DSL_DataSpace_DataSpaceQuerySetup.d.ts} +3 -2
  26. package/lib/components/query/DSL_DataSpace_DataSpaceQuerySetup.d.ts.map +1 -0
  27. package/lib/components/query/{DataSpaceQuerySetup.js → DSL_DataSpace_DataSpaceQuerySetup.js} +4 -9
  28. package/lib/components/query/DSL_DataSpace_DataSpaceQuerySetup.js.map +1 -0
  29. package/lib/components/query/{DSLDataSpace_LegendQueryApplicationPlugin.d.ts → DSL_DataSpace_LegendQueryApplicationPlugin.d.ts} +2 -2
  30. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -0
  31. package/lib/components/query/{DSLDataSpace_LegendQueryApplicationPlugin.js → DSL_DataSpace_LegendQueryApplicationPlugin.js} +11 -11
  32. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -0
  33. package/lib/components/studio/{DSLDataSpace_CodeSnippets.d.ts → DSL_DataSpace_CodeSnippets.d.ts} +1 -1
  34. package/lib/components/studio/DSL_DataSpace_CodeSnippets.d.ts.map +1 -0
  35. package/lib/components/studio/{DSLDataSpace_CodeSnippets.js → DSL_DataSpace_CodeSnippets.js} +1 -1
  36. package/lib/components/studio/DSL_DataSpace_CodeSnippets.js.map +1 -0
  37. package/lib/components/studio/{DSLDataSpace_LegendStudioApplicationPlugin.d.ts → DSL_DataSpace_LegendStudioApplicationPlugin.d.ts} +2 -2
  38. package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -0
  39. package/lib/components/studio/{DSLDataSpace_LegendStudioApplicationPlugin.js → DSL_DataSpace_LegendStudioApplicationPlugin.js} +7 -7
  40. package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js.map +1 -0
  41. package/lib/components/studio/{DSLDataSpace_LegendStudioDocumentation.d.ts → DSL_DataSpace_LegendStudioDocumentation.d.ts} +1 -1
  42. package/lib/components/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts.map +1 -0
  43. package/lib/components/studio/{DSLDataSpace_LegendStudioDocumentation.js → DSL_DataSpace_LegendStudioDocumentation.js} +1 -1
  44. package/lib/components/studio/DSL_DataSpace_LegendStudioDocumentation.js.map +1 -0
  45. package/lib/graph/{DSLDataSpace_HashUtils.d.ts → DSL_DataSpace_HashUtils.d.ts} +1 -1
  46. package/lib/graph/DSL_DataSpace_HashUtils.d.ts.map +1 -0
  47. package/lib/graph/{DSLDataSpace_HashUtils.js → DSL_DataSpace_HashUtils.js} +1 -1
  48. package/lib/graph/DSL_DataSpace_HashUtils.js.map +1 -0
  49. package/lib/graph/{DSLDataSpace_PureGraphPlugin.d.ts → DSL_DataSpace_PureGraphPlugin.d.ts} +2 -2
  50. package/lib/graph/DSL_DataSpace_PureGraphPlugin.d.ts.map +1 -0
  51. package/lib/graph/{DSLDataSpace_PureGraphPlugin.js → DSL_DataSpace_PureGraphPlugin.js} +3 -3
  52. package/lib/graph/DSL_DataSpace_PureGraphPlugin.js.map +1 -0
  53. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/{DSLDataSpace_DataSpace.d.ts → DSL_DataSpace_DataSpace.d.ts} +1 -1
  54. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts.map +1 -0
  55. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/{DSLDataSpace_DataSpace.js → DSL_DataSpace_DataSpace.js} +2 -2
  56. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js.map +1 -0
  57. package/lib/graphManager/{DSLDataSpace_GraphManagerHelper.d.ts → DSL_DataSpace_GraphManagerHelper.d.ts} +2 -2
  58. package/lib/graphManager/DSL_DataSpace_GraphManagerHelper.d.ts.map +1 -0
  59. package/lib/graphManager/{DSLDataSpace_GraphManagerHelper.js → DSL_DataSpace_GraphManagerHelper.js} +2 -2
  60. package/lib/graphManager/DSL_DataSpace_GraphManagerHelper.js.map +1 -0
  61. package/lib/graphManager/{DSLDataSpace_PureGraphManagerPlugin.d.ts → DSL_DataSpace_PureGraphManagerPlugin.d.ts} +2 -2
  62. package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.d.ts.map +1 -0
  63. package/lib/graphManager/{DSLDataSpace_PureGraphManagerPlugin.js → DSL_DataSpace_PureGraphManagerPlugin.js} +6 -6
  64. package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.js.map +1 -0
  65. package/lib/graphManager/action/analytics/{DataSpaceAnalysis.d.ts → DSL_DataSpace_DataSpaceAnalysis.d.ts} +2 -2
  66. package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysis.d.ts.map +1 -0
  67. package/lib/graphManager/action/analytics/{DataSpaceAnalysis.js → DSL_DataSpace_DataSpaceAnalysis.js} +1 -1
  68. package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysis.js.map +1 -0
  69. package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.d.ts +20 -0
  70. package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.d.ts.map +1 -0
  71. package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.js +20 -0
  72. package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.js.map +1 -0
  73. package/lib/graphManager/action/changeDetection/{DSLDataSpace_ObserverHelper.d.ts → DSL_DataSpace_ObserverHelper.d.ts} +2 -2
  74. package/lib/graphManager/action/changeDetection/DSL_DataSpace_ObserverHelper.d.ts.map +1 -0
  75. package/lib/graphManager/action/changeDetection/{DSLDataSpace_ObserverHelper.js → DSL_DataSpace_ObserverHelper.js} +1 -1
  76. package/lib/graphManager/action/changeDetection/DSL_DataSpace_ObserverHelper.js.map +1 -0
  77. package/lib/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtension.d.ts → DSL_DataSpace_PureGraphManagerExtension.d.ts} +6 -5
  78. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -0
  79. package/lib/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtension.js → DSL_DataSpace_PureGraphManagerExtension.js} +3 -3
  80. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js.map +1 -0
  81. package/lib/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts → DSL_DataSpace_PureGraphManagerExtensionBuilder.d.ts} +2 -2
  82. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
  83. package/lib/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtensionBuilder.js → DSL_DataSpace_PureGraphManagerExtensionBuilder.js} +4 -4
  84. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtensionBuilder.js.map +1 -0
  85. package/lib/graphManager/protocol/pure/{DSLDataSpace_PureProtocolProcessorPlugin.d.ts → DSL_DataSpace_PureProtocolProcessorPlugin.d.ts} +3 -3
  86. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -0
  87. package/lib/graphManager/protocol/pure/{DSLDataSpace_PureProtocolProcessorPlugin.js → DSL_DataSpace_PureProtocolProcessorPlugin.js} +9 -9
  88. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js.map +1 -0
  89. package/lib/graphManager/protocol/pure/v1/{V1_DSLDataSpace_PureGraphManagerExtension.d.ts → V1_DSL_DataSpace_PureGraphManagerExtension.d.ts} +7 -5
  90. package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -0
  91. package/lib/graphManager/protocol/pure/v1/{V1_DSLDataSpace_PureGraphManagerExtension.js → V1_DSL_DataSpace_PureGraphManagerExtension.js} +36 -25
  92. package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -0
  93. package/lib/graphManager/protocol/pure/v1/{V1_DSLDataSpace_SystemModels.json → V1_DSL_DataSpace_SystemModels.json} +0 -0
  94. package/lib/graphManager/protocol/pure/v1/engine/analytics/{V1_DataSpaceAnalysis.d.ts → V1_DSL_DataSpace_DataSpaceAnalysis.d.ts} +2 -2
  95. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DSL_DataSpace_DataSpaceAnalysis.d.ts.map +1 -0
  96. package/lib/graphManager/protocol/pure/v1/engine/analytics/{V1_DataSpaceAnalysis.js → V1_DSL_DataSpace_DataSpaceAnalysis.js} +2 -2
  97. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DSL_DataSpace_DataSpaceAnalysis.js.map +1 -0
  98. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/{V1_DSLDataSpace_DataSpace.d.ts → V1_DSL_DataSpace_DataSpace.d.ts} +1 -1
  99. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts.map +1 -0
  100. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/{V1_DSLDataSpace_DataSpace.js → V1_DSL_DataSpace_DataSpace.js} +2 -2
  101. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js.map +1 -0
  102. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDataSpace_GraphBuilderHelper.d.ts → V1_DSL_DataSpace_GraphBuilderHelper.d.ts} +2 -2
  103. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_DataSpace_GraphBuilderHelper.d.ts.map +1 -0
  104. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDataSpace_GraphBuilderHelper.js → V1_DSL_DataSpace_GraphBuilderHelper.js} +2 -2
  105. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_DataSpace_GraphBuilderHelper.js.map +1 -0
  106. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLDataSpace_ProtocolHelper.d.ts → V1_DSL_DataSpace_ProtocolHelper.d.ts} +2 -2
  107. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts.map +1 -0
  108. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLDataSpace_ProtocolHelper.js → V1_DSL_DataSpace_ProtocolHelper.js} +2 -2
  109. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js.map +1 -0
  110. package/lib/index.css +1 -1
  111. package/lib/index.d.ts +10 -9
  112. package/lib/index.d.ts.map +1 -1
  113. package/lib/index.js +10 -9
  114. package/lib/index.js.map +1 -1
  115. package/lib/package.json +5 -5
  116. package/lib/stores/{DataSpaceViewerState.d.ts → DSL_DataSpace_DataSpaceViewerState.d.ts} +2 -2
  117. package/lib/stores/DSL_DataSpace_DataSpaceViewerState.d.ts.map +1 -0
  118. package/lib/stores/{DataSpaceViewerState.js → DSL_DataSpace_DataSpaceViewerState.js} +1 -1
  119. package/lib/stores/DSL_DataSpace_DataSpaceViewerState.js.map +1 -0
  120. package/lib/stores/query/{DataSpaceInfo.d.ts → DSL_DataSpace_DataSpaceInfo.d.ts} +1 -1
  121. package/lib/stores/query/DSL_DataSpace_DataSpaceInfo.d.ts.map +1 -0
  122. package/lib/stores/query/{DataSpaceInfo.js → DSL_DataSpace_DataSpaceInfo.js} +1 -1
  123. package/lib/stores/query/DSL_DataSpace_DataSpaceInfo.js.map +1 -0
  124. package/lib/stores/query/{DataSpaceQueryBuilderState.d.ts → DSL_DataSpace_DataSpaceQueryBuilderState.d.ts} +4 -4
  125. package/lib/stores/query/DSL_DataSpace_DataSpaceQueryBuilderState.d.ts.map +1 -0
  126. package/lib/stores/query/{DataSpaceQueryBuilderState.js → DSL_DataSpace_DataSpaceQueryBuilderState.js} +7 -7
  127. package/lib/stores/query/DSL_DataSpace_DataSpaceQueryBuilderState.js.map +1 -0
  128. package/lib/stores/query/{DataSpaceQueryCreatorStore.d.ts → DSL_DataSpace_DataSpaceQueryCreatorStore.d.ts} +1 -1
  129. package/lib/stores/query/DSL_DataSpace_DataSpaceQueryCreatorStore.d.ts.map +1 -0
  130. package/lib/stores/query/{DataSpaceQueryCreatorStore.js → DSL_DataSpace_DataSpaceQueryCreatorStore.js} +5 -5
  131. package/lib/stores/query/DSL_DataSpace_DataSpaceQueryCreatorStore.js.map +1 -0
  132. package/lib/stores/query/{DataSpaceQuerySetupState.d.ts → DSL_DataSpace_DataSpaceQuerySetupState.d.ts} +3 -3
  133. package/lib/stores/query/DSL_DataSpace_DataSpaceQuerySetupState.d.ts.map +1 -0
  134. package/lib/stores/query/{DataSpaceQuerySetupState.js → DSL_DataSpace_DataSpaceQuerySetupState.js} +11 -10
  135. package/lib/stores/query/DSL_DataSpace_DataSpaceQuerySetupState.js.map +1 -0
  136. package/lib/stores/query/{DSLDataSpace_LegendQueryRouter.d.ts → DSL_DataSpace_LegendQueryRouter.d.ts} +1 -1
  137. package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.d.ts.map +1 -0
  138. package/lib/stores/query/{DSLDataSpace_LegendQueryRouter.js → DSL_DataSpace_LegendQueryRouter.js} +1 -1
  139. package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.js.map +1 -0
  140. package/package.json +16 -16
  141. package/src/{DSLDataSpace_Const.ts → DSL_DataSpace_Const.ts} +0 -3
  142. package/src/{DSLDataSpace_Extension.ts → DSL_DataSpace_Extension.ts} +7 -7
  143. package/src/components/{DataSpaceViewer.tsx → DSL_DataSpace_DataSpaceViewer.tsx} +3 -3
  144. package/src/components/{DSLDataSpace_Icon.tsx → DSL_DataSpace_Icon.tsx} +0 -0
  145. package/src/components/query/{DataSpaceQueryBuilder.tsx → DSL_DataSpace_DataSpaceQueryBuilder.tsx} +4 -11
  146. package/src/components/query/{DataSpaceQueryCreator.tsx → DSL_DataSpace_DataSpaceQueryCreator.tsx} +2 -2
  147. package/src/components/query/{DataSpaceQuerySetup.tsx → DSL_DataSpace_DataSpaceQuerySetup.tsx} +3 -11
  148. package/src/components/query/{DSLDataSpace_LegendQueryApplicationPlugin.tsx → DSL_DataSpace_LegendQueryApplicationPlugin.tsx} +13 -12
  149. package/src/components/studio/{DSLDataSpace_CodeSnippets.ts → DSL_DataSpace_CodeSnippets.ts} +0 -0
  150. package/src/components/studio/{DSLDataSpace_LegendStudioApplicationPlugin.tsx → DSL_DataSpace_LegendStudioApplicationPlugin.tsx} +6 -6
  151. package/src/components/studio/{DSLDataSpace_LegendStudioDocumentation.ts → DSL_DataSpace_LegendStudioDocumentation.ts} +0 -0
  152. package/src/graph/{DSLDataSpace_HashUtils.ts → DSL_DataSpace_HashUtils.ts} +0 -0
  153. package/src/graph/{DSLDataSpace_PureGraphPlugin.ts → DSL_DataSpace_PureGraphPlugin.ts} +2 -2
  154. package/src/graph/metamodel/pure/model/packageableElements/dataSpace/{DSLDataSpace_DataSpace.ts → DSL_DataSpace_DataSpace.ts} +1 -1
  155. package/src/graphManager/{DSLDataSpace_GraphManagerHelper.ts → DSL_DataSpace_GraphManagerHelper.ts} +1 -1
  156. package/src/graphManager/{DSLDataSpace_PureGraphManagerPlugin.ts → DSL_DataSpace_PureGraphManagerPlugin.ts} +5 -5
  157. package/src/graphManager/action/analytics/{DataSpaceAnalysis.ts → DSL_DataSpace_DataSpaceAnalysis.ts} +1 -1
  158. package/src/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.ts +43 -0
  159. package/src/graphManager/action/changeDetection/{DSLDataSpace_ObserverHelper.ts → DSL_DataSpace_ObserverHelper.ts} +1 -1
  160. package/src/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtension.ts → DSL_DataSpace_PureGraphManagerExtension.ts} +7 -6
  161. package/src/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtensionBuilder.ts → DSL_DataSpace_PureGraphManagerExtensionBuilder.ts} +3 -3
  162. package/src/graphManager/protocol/pure/{DSLDataSpace_PureProtocolProcessorPlugin.ts → DSL_DataSpace_PureProtocolProcessorPlugin.ts} +8 -8
  163. package/src/graphManager/protocol/pure/v1/{V1_DSLDataSpace_PureGraphManagerExtension.ts → V1_DSL_DataSpace_PureGraphManagerExtension.ts} +42 -23
  164. package/src/graphManager/protocol/pure/v1/{V1_DSLDataSpace_SystemModels.json → V1_DSL_DataSpace_SystemModels.json} +0 -0
  165. package/src/graphManager/protocol/pure/v1/engine/analytics/{V1_DataSpaceAnalysis.ts → V1_DSL_DataSpace_DataSpaceAnalysis.ts} +2 -2
  166. package/src/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/{V1_DSLDataSpace_DataSpace.ts → V1_DSL_DataSpace_DataSpace.ts} +1 -1
  167. package/src/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDataSpace_GraphBuilderHelper.ts → V1_DSL_DataSpace_GraphBuilderHelper.ts} +2 -2
  168. package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLDataSpace_ProtocolHelper.ts → V1_DSL_DataSpace_ProtocolHelper.ts} +1 -1
  169. package/src/index.ts +11 -9
  170. package/src/stores/{DataSpaceViewerState.ts → DSL_DataSpace_DataSpaceViewerState.ts} +1 -1
  171. package/src/stores/query/{DataSpaceInfo.ts → DSL_DataSpace_DataSpaceInfo.ts} +0 -0
  172. package/src/stores/query/{DataSpaceQueryBuilderState.ts → DSL_DataSpace_DataSpaceQueryBuilderState.ts} +14 -11
  173. package/src/stores/query/{DataSpaceQueryCreatorStore.ts → DSL_DataSpace_DataSpaceQueryCreatorStore.ts} +6 -6
  174. package/src/stores/query/{DataSpaceQuerySetupState.ts → DSL_DataSpace_DataSpaceQuerySetupState.ts} +23 -12
  175. package/src/stores/query/{DSLDataSpace_LegendQueryRouter.ts → DSL_DataSpace_LegendQueryRouter.ts} +0 -0
  176. package/tsconfig.json +34 -33
  177. package/lib/DSLDataSpace_Const.d.ts.map +0 -1
  178. package/lib/DSLDataSpace_Const.js.map +0 -1
  179. package/lib/DSLDataSpace_Extension.d.ts.map +0 -1
  180. package/lib/DSLDataSpace_Extension.js.map +0 -1
  181. package/lib/components/DSLDataSpace_Icon.d.ts.map +0 -1
  182. package/lib/components/DSLDataSpace_Icon.js.map +0 -1
  183. package/lib/components/DataSpaceViewer.d.ts.map +0 -1
  184. package/lib/components/DataSpaceViewer.js.map +0 -1
  185. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.d.ts.map +0 -1
  186. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.js.map +0 -1
  187. package/lib/components/query/DataSpaceQueryBuilder.d.ts.map +0 -1
  188. package/lib/components/query/DataSpaceQueryBuilder.js.map +0 -1
  189. package/lib/components/query/DataSpaceQueryCreator.d.ts.map +0 -1
  190. package/lib/components/query/DataSpaceQueryCreator.js.map +0 -1
  191. package/lib/components/query/DataSpaceQuerySetup.d.ts.map +0 -1
  192. package/lib/components/query/DataSpaceQuerySetup.js.map +0 -1
  193. package/lib/components/studio/DSLDataSpace_CodeSnippets.d.ts.map +0 -1
  194. package/lib/components/studio/DSLDataSpace_CodeSnippets.js.map +0 -1
  195. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.d.ts.map +0 -1
  196. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js.map +0 -1
  197. package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.d.ts.map +0 -1
  198. package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.js.map +0 -1
  199. package/lib/graph/DSLDataSpace_HashUtils.d.ts.map +0 -1
  200. package/lib/graph/DSLDataSpace_HashUtils.js.map +0 -1
  201. package/lib/graph/DSLDataSpace_PureGraphPlugin.d.ts.map +0 -1
  202. package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +0 -1
  203. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +0 -1
  204. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +0 -1
  205. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts.map +0 -1
  206. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js.map +0 -1
  207. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts.map +0 -1
  208. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +0 -1
  209. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +0 -1
  210. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +0 -1
  211. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts.map +0 -1
  212. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js.map +0 -1
  213. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.d.ts.map +0 -1
  214. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js.map +0 -1
  215. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
  216. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js.map +0 -1
  217. package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +0 -1
  218. package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +0 -1
  219. package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +0 -1
  220. package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +0 -1
  221. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +0 -1
  222. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +0 -1
  223. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +0 -1
  224. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +0 -1
  225. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +0 -1
  226. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +0 -1
  227. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +0 -1
  228. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +0 -1
  229. package/lib/stores/DataSpaceViewerState.d.ts.map +0 -1
  230. package/lib/stores/DataSpaceViewerState.js.map +0 -1
  231. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts.map +0 -1
  232. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js.map +0 -1
  233. package/lib/stores/query/DataSpaceInfo.d.ts.map +0 -1
  234. package/lib/stores/query/DataSpaceInfo.js.map +0 -1
  235. package/lib/stores/query/DataSpaceQueryBuilderState.d.ts.map +0 -1
  236. package/lib/stores/query/DataSpaceQueryBuilderState.js.map +0 -1
  237. package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts.map +0 -1
  238. package/lib/stores/query/DataSpaceQueryCreatorStore.js.map +0 -1
  239. package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +0 -1
  240. package/lib/stores/query/DataSpaceQuerySetupState.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "6.1.16",
3
+ "version": "7.0.0",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,35 +43,35 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "8.0.0",
47
- "@finos/legend-application-query": "8.0.0",
48
- "@finos/legend-application-studio": "17.0.0",
49
- "@finos/legend-art": "3.2.2",
50
- "@finos/legend-extension-dsl-diagram": "6.0.3",
51
- "@finos/legend-graph": "16.0.0",
52
- "@finos/legend-query-builder": "0.1.0",
53
- "@finos/legend-server-depot": "4.0.0",
54
- "@finos/legend-shared": "6.1.2",
55
- "@finos/legend-storage": "3.0.11",
46
+ "@finos/legend-application": "8.0.1",
47
+ "@finos/legend-application-query": "8.1.0",
48
+ "@finos/legend-application-studio": "18.0.0",
49
+ "@finos/legend-art": "3.3.0",
50
+ "@finos/legend-extension-dsl-diagram": "7.0.0",
51
+ "@finos/legend-graph": "17.0.0",
52
+ "@finos/legend-query-builder": "0.1.1",
53
+ "@finos/legend-server-depot": "4.1.0",
54
+ "@finos/legend-shared": "6.1.3",
55
+ "@finos/legend-storage": "3.0.12",
56
56
  "@types/react": "18.0.21",
57
57
  "mobx": "6.6.2",
58
58
  "mobx-react-lite": "3.4.0",
59
59
  "react": "18.2.0",
60
60
  "react-dom": "18.2.0",
61
61
  "react-resize-detector": "7.1.2",
62
- "react-router": "5.3.3",
62
+ "react-router": "5.3.4",
63
63
  "serializr": "2.0.5"
64
64
  },
65
65
  "devDependencies": {
66
- "@finos/legend-dev-utils": "2.0.17",
67
- "@jest/globals": "29.0.3",
66
+ "@finos/legend-dev-utils": "2.0.18",
67
+ "@jest/globals": "29.1.2",
68
68
  "cross-env": "7.0.3",
69
69
  "eslint": "8.24.0",
70
- "jest": "29.0.3",
70
+ "jest": "29.1.2",
71
71
  "npm-run-all": "4.1.5",
72
72
  "rimraf": "3.0.2",
73
73
  "sass": "1.55.0",
74
- "typescript": "4.8.3"
74
+ "typescript": "4.8.4"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "react": "^18.0.0"
@@ -18,6 +18,3 @@
18
18
  // so that it records the dataSpace it is created from
19
19
  export const QUERY_PROFILE_PATH = 'meta::pure::profiles::query';
20
20
  export const QUERY_PROFILE_TAG_DATA_SPACE = 'dataSpace';
21
-
22
- export const DEFAULT_DATA_SPACE_LOADER_LIMIT = 10;
23
- export const MINIMUM_DATA_SPACE_LOADER_SEARCH_LENGTH = 3;
@@ -16,16 +16,16 @@
16
16
 
17
17
  import packageJson from '../package.json';
18
18
  import { AbstractPreset } from '@finos/legend-shared';
19
- import { DSLDataSpace_PureGraphManagerPlugin } from './graphManager/DSLDataSpace_PureGraphManagerPlugin.js';
20
- import { DSLDataSpace_PureProtocolProcessorPlugin } from './graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
21
- import { DSLDataSpace_PureGraphPlugin } from './graph/DSLDataSpace_PureGraphPlugin.js';
19
+ import { DSL_DataSpace_PureGraphManagerPlugin } from './graphManager/DSL_DataSpace_PureGraphManagerPlugin.js';
20
+ import { DSL_DataSpace_PureProtocolProcessorPlugin } from './graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
21
+ import { DSL_DataSpace_PureGraphPlugin } from './graph/DSL_DataSpace_PureGraphPlugin.js';
22
22
 
23
- export class DSLDataSpace_GraphManagerPreset extends AbstractPreset {
23
+ export class DSL_DataSpace_GraphManagerPreset extends AbstractPreset {
24
24
  constructor() {
25
25
  super(packageJson.extensions.graphManagerPreset, packageJson.version, [
26
- new DSLDataSpace_PureGraphPlugin(),
27
- new DSLDataSpace_PureGraphManagerPlugin(),
28
- new DSLDataSpace_PureProtocolProcessorPlugin(),
26
+ new DSL_DataSpace_PureGraphPlugin(),
27
+ new DSL_DataSpace_PureGraphManagerPlugin(),
28
+ new DSL_DataSpace_PureProtocolProcessorPlugin(),
29
29
  ]);
30
30
  }
31
31
  }
@@ -40,7 +40,7 @@ import {
40
40
  type Diagram,
41
41
  DiagramRenderer,
42
42
  } from '@finos/legend-extension-dsl-diagram';
43
- import { DataSpaceSupportEmail } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
43
+ import { DataSpaceSupportEmail } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
44
44
  import {
45
45
  extractElementNameFromPath,
46
46
  type PackageableRuntime,
@@ -48,8 +48,8 @@ import {
48
48
  import {
49
49
  type DataSpaceViewerState,
50
50
  DATA_SPACE_VIEWER_ACTIVITY_MODE,
51
- } from '../stores/DataSpaceViewerState.js';
52
- import type { DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/DataSpaceAnalysis.js';
51
+ } from '../stores/DSL_DataSpace_DataSpaceViewerState.js';
52
+ import type { DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysis.js';
53
53
  import { generateGAVCoordinates } from '@finos/legend-storage';
54
54
 
55
55
  interface DataSpaceViewerActivityConfig {
@@ -29,7 +29,7 @@ import {
29
29
  } from '@finos/legend-art';
30
30
  import { observer } from 'mobx-react-lite';
31
31
  import { useApplicationStore } from '@finos/legend-application';
32
- import type { DataSpaceQueryBuilderState } from '../../stores/query/DataSpaceQueryBuilderState.js';
32
+ import type { DataSpaceQueryBuilderState } from '../../stores/query/DSL_DataSpace_DataSpaceQueryBuilderState.js';
33
33
  import {
34
34
  buildRuntimeValueOption,
35
35
  getRuntimeOptionFormatter,
@@ -42,13 +42,13 @@ import {
42
42
  PackageableElementExplicitReference,
43
43
  RuntimePointer,
44
44
  } from '@finos/legend-graph';
45
- import type { DataSpaceInfo } from '../../stores/query/DataSpaceInfo.js';
45
+ import type { DataSpaceInfo } from '../../stores/query/DSL_DataSpace_DataSpaceInfo.js';
46
46
  import { generateGAVCoordinates } from '@finos/legend-storage';
47
47
  import { useEffect, useMemo, useState } from 'react';
48
48
  import { debounce, guaranteeType } from '@finos/legend-shared';
49
49
  import { flowResult } from 'mobx';
50
- import type { DataSpaceExecutionContext } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
51
- import { DataSpaceIcon } from '../DSLDataSpace_Icon.js';
50
+ import type { DataSpaceExecutionContext } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
51
+ import { DataSpaceIcon } from '../DSL_DataSpace_Icon.js';
52
52
 
53
53
  type DataSpaceOption = {
54
54
  label: string;
@@ -105,12 +105,6 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
105
105
  const onDataSpaceOptionChange = (option: DataSpaceOption): void => {
106
106
  queryBuilderState.onDataSpaceChange(option.value);
107
107
  };
108
- const dataSpaceFilterOption = createFilter({
109
- ignoreCase: true,
110
- ignoreAccents: false,
111
- stringify: (option: DataSpaceOption): string =>
112
- `${option.label} - ${option.value.path}`,
113
- });
114
108
  const formatDataSpaceOptionLabel = (
115
109
  option: DataSpaceOption,
116
110
  ): React.ReactNode => (
@@ -278,7 +272,6 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
278
272
  placeholder="Search for data space..."
279
273
  escapeClearsValue={true}
280
274
  darkMode={!applicationStore.TEMPORARY__isLightThemeEnabled}
281
- filterOption={dataSpaceFilterOption}
282
275
  formatOptionLabel={formatDataSpaceOptionLabel}
283
276
  />
284
277
  </div>
@@ -25,13 +25,13 @@ import {
25
25
  useLegendQueryApplicationStore,
26
26
  } from '@finos/legend-application-query';
27
27
  import { useParams } from 'react-router';
28
- import { DataSpaceQueryCreatorStore } from '../../stores/query/DataSpaceQueryCreatorStore.js';
28
+ import { DataSpaceQueryCreatorStore } from '../../stores/query/DSL_DataSpace_DataSpaceQueryCreatorStore.js';
29
29
  import {
30
30
  type DataSpaceQueryCreatorPathParams,
31
31
  type DataSpaceQueryEditorQueryParams,
32
32
  DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN,
33
33
  DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN,
34
- } from '../../stores/query/DSLDataSpace_LegendQueryRouter.js';
34
+ } from '../../stores/query/DSL_DataSpace_LegendQueryRouter.js';
35
35
  import { parseGAVCoordinates } from '@finos/legend-storage';
36
36
 
37
37
  const DataSpaceQueryCreatorStoreProvider: React.FC<{
@@ -26,7 +26,6 @@ import {
26
26
  ArrowLeftIcon,
27
27
  CustomSelectorInput,
28
28
  SearchIcon,
29
- createFilter,
30
29
  } from '@finos/legend-art';
31
30
  import { useQuerySetupStore } from '@finos/legend-application-query';
32
31
  import { generateGAVCoordinates } from '@finos/legend-storage';
@@ -34,9 +33,9 @@ import { debounce } from '@finos/legend-shared';
34
33
  import { flowResult } from 'mobx';
35
34
  import { observer } from 'mobx-react-lite';
36
35
  import { useEffect, useMemo, useRef, useState } from 'react';
37
- import type { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState.js';
38
- import { DataSpaceViewer } from '../DataSpaceViewer.js';
39
- import type { DataSpaceInfo } from '../../stores/query/DataSpaceInfo.js';
36
+ import type { DataSpaceQuerySetupState } from '../../stores/query/DSL_DataSpace_DataSpaceQuerySetupState.js';
37
+ import { DataSpaceViewer } from '../DSL_DataSpace_DataSpaceViewer.js';
38
+ import type { DataSpaceInfo } from '../../stores/query/DSL_DataSpace_DataSpaceInfo.js';
40
39
 
41
40
  type DataSpaceOption = { label: string; value: DataSpaceInfo };
42
41
  const buildDataSpaceOption = (value: DataSpaceInfo): DataSpaceOption => ({
@@ -82,12 +81,6 @@ export const DataspaceQuerySetup = observer(
82
81
  querySetupState.setCurrentDataSpace(option?.value);
83
82
  querySetupState.setDataSpaceViewerState(undefined);
84
83
  };
85
- const filterOption = createFilter({
86
- ignoreCase: true,
87
- ignoreAccents: false,
88
- stringify: (option: DataSpaceOption): string =>
89
- `${option.label} - ${option.value.path}`,
90
- });
91
84
  const formatDataSpaceOptionLabel = (
92
85
  option: DataSpaceOption,
93
86
  ): React.ReactNode => (
@@ -195,7 +188,6 @@ export const DataspaceQuerySetup = observer(
195
188
  isClearable={true}
196
189
  escapeClearsValue={true}
197
190
  darkMode={true}
198
- filterOption={filterOption}
199
191
  formatOptionLabel={formatDataSpaceOptionLabel}
200
192
  />
201
193
  <button
@@ -23,25 +23,26 @@ import {
23
23
  type QuerySetupState,
24
24
  type QuerySetupStore,
25
25
  type ExistingQueryEditorStateBuilder,
26
+ type ExistingQueryEditorStore,
26
27
  LegendQueryApplicationPlugin,
27
28
  generateExistingQueryEditorRoute,
28
29
  LegendQueryEventService,
29
30
  LEGEND_QUERY_APP_EVENT,
30
31
  } from '@finos/legend-application-query';
31
32
  import { SquareIcon } from '@finos/legend-art';
32
- import { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState.js';
33
- import { DataspaceQuerySetup } from './DataSpaceQuerySetup.js';
33
+ import { DataSpaceQuerySetupState } from '../../stores/query/DSL_DataSpace_DataSpaceQuerySetupState.js';
34
+ import { DataspaceQuerySetup } from './DSL_DataSpace_DataSpaceQuerySetup.js';
34
35
  import {
35
36
  ActionAlertActionType,
36
37
  ActionAlertType,
37
38
  type ApplicationPageEntry,
38
39
  } from '@finos/legend-application';
39
- import { CREATE_QUERY_FROM_DATA_SPACE_ROUTE_PATTERN } from '../../stores/query/DSLDataSpace_LegendQueryRouter.js';
40
- import { DataSpaceQueryCreator } from './DataSpaceQueryCreator.js';
40
+ import { CREATE_QUERY_FROM_DATA_SPACE_ROUTE_PATTERN } from '../../stores/query/DSL_DataSpace_LegendQueryRouter.js';
41
+ import { DataSpaceQueryCreator } from './DSL_DataSpace_DataSpaceQueryCreator.js';
41
42
  import {
42
43
  createQueryDataSpaceTaggedValue,
43
44
  DataSpaceQueryCreatorStore,
44
- } from '../../stores/query/DataSpaceQueryCreatorStore.js';
45
+ } from '../../stores/query/DSL_DataSpace_DataSpaceQueryCreatorStore.js';
45
46
  import {
46
47
  Query,
47
48
  extractElementNameFromPath,
@@ -50,14 +51,14 @@ import {
50
51
  import {
51
52
  QUERY_PROFILE_PATH,
52
53
  QUERY_PROFILE_TAG_DATA_SPACE,
53
- } from '../../DSLDataSpace_Const.js';
54
- import { DataSpaceQueryBuilderState } from '../../stores/query/DataSpaceQueryBuilderState.js';
55
- import type { DataSpaceInfo } from '../../stores/query/DataSpaceInfo.js';
56
- import { getOwnDataSpace } from '../../graphManager/DSLDataSpace_GraphManagerHelper.js';
54
+ } from '../../DSL_DataSpace_Const.js';
55
+ import { DataSpaceQueryBuilderState } from '../../stores/query/DSL_DataSpace_DataSpaceQueryBuilderState.js';
56
+ import type { DataSpaceInfo } from '../../stores/query/DSL_DataSpace_DataSpaceInfo.js';
57
+ import { getOwnDataSpace } from '../../graphManager/DSL_DataSpace_GraphManagerHelper.js';
57
58
  import { assertErrorThrown, LogEvent, uuid } from '@finos/legend-shared';
58
59
  import type { QueryBuilderState } from '@finos/legend-query-builder';
59
60
 
60
- export class DSLDataSpace_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
61
+ export class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
61
62
  constructor() {
62
63
  super(packageJson.extensions.queryApplicationPlugin, packageJson.version);
63
64
  }
@@ -134,7 +135,7 @@ export class DSLDataSpace_LegendQueryApplicationPlugin extends LegendQueryApplic
134
135
  return [
135
136
  (
136
137
  query: Query,
137
- editorStore: QueryEditorStore,
138
+ editorStore: ExistingQueryEditorStore,
138
139
  ): QueryBuilderState | undefined => {
139
140
  const dataSpaceTaggedValue = query.taggedValues?.find(
140
141
  (taggedValue) =>
@@ -222,7 +223,7 @@ export class DSLDataSpace_LegendQueryApplicationPlugin extends LegendQueryApplic
222
223
  } catch (error) {
223
224
  assertErrorThrown(error);
224
225
  editorStore.applicationStore.log.error(
225
- LogEvent.create(LEGEND_QUERY_APP_EVENT.QUERY_PROBLEM),
226
+ LogEvent.create(LEGEND_QUERY_APP_EVENT.GENERIC_FAILURE),
226
227
  error,
227
228
  );
228
229
  editorStore.applicationStore.notifyError(error);
@@ -42,21 +42,21 @@ import {
42
42
  import {
43
43
  DataSpace,
44
44
  DataSpaceExecutionContext,
45
- } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
46
- import { DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSLDataSpace_LegendStudioDocumentation.js';
45
+ } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
46
+ import { DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSL_DataSpace_LegendStudioDocumentation.js';
47
47
  import {
48
48
  PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL,
49
49
  PURE_GRAMMAR_DATA_SPACE_PARSER_NAME,
50
- } from '../../graphManager/DSLDataSpace_PureGraphManagerPlugin.js';
51
- import { SIMPLE_DATA_SPACE_SNIPPET } from './DSLDataSpace_CodeSnippets.js';
50
+ } from '../../graphManager/DSL_DataSpace_PureGraphManagerPlugin.js';
51
+ import { SIMPLE_DATA_SPACE_SNIPPET } from './DSL_DataSpace_CodeSnippets.js';
52
52
  import type { DocumentationEntry } from '@finos/legend-application';
53
- import { DataSpaceIcon } from '../DSLDataSpace_Icon.js';
53
+ import { DataSpaceIcon } from '../DSL_DataSpace_Icon.js';
54
54
 
55
55
  const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
56
56
  const DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE =
57
57
  'PROJECT_EXPLORER_DATA_SPACE';
58
58
 
59
- export class DSLDataSpace_LegendStudioApplicationPlugin
59
+ export class DSL_DataSpace_LegendStudioApplicationPlugin
60
60
  extends LegendStudioApplicationPlugin
61
61
  implements DSL_LegendStudioApplicationPlugin_Extension
62
62
  {
@@ -15,11 +15,11 @@
15
15
  */
16
16
 
17
17
  import packageJson from '../../package.json';
18
- import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
18
+ import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
19
19
  import type { Clazz } from '@finos/legend-shared';
20
20
  import { type PackageableElement, PureGraphPlugin } from '@finos/legend-graph';
21
21
 
22
- export class DSLDataSpace_PureGraphPlugin extends PureGraphPlugin {
22
+ export class DSL_DataSpace_PureGraphPlugin extends PureGraphPlugin {
23
23
  constructor() {
24
24
  super(packageJson.extensions.pureGraphPlugin, packageJson.version);
25
25
  }
@@ -22,7 +22,7 @@ import {
22
22
  type PackageableRuntime,
23
23
  type PackageableElementVisitor,
24
24
  } from '@finos/legend-graph';
25
- import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSLDataSpace_HashUtils.js';
25
+ import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSL_DataSpace_HashUtils.js';
26
26
  import type { Diagram } from '@finos/legend-extension-dsl-diagram';
27
27
 
28
28
  export abstract class DataSpaceSupportInfo implements Hashable {
@@ -16,7 +16,7 @@
16
16
 
17
17
  import type { BasicModel, PureModel } from '@finos/legend-graph';
18
18
  import { guaranteeNonNullable } from '@finos/legend-shared';
19
- import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
19
+ import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
20
20
 
21
21
  export const getDataSpace = (path: string, graph: PureModel): DataSpace =>
22
22
  graph.getExtensionElement(path, DataSpace, `Can't find data space '${path}'`);
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import packageJson from '../../package.json';
18
- import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
18
+ import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
19
19
  import {
20
20
  PureGraphManagerPlugin,
21
21
  type ObserverContext,
@@ -24,19 +24,19 @@ import {
24
24
  type PureGrammarElementLabeler,
25
25
  type PureGraphManagerExtensionBuilder,
26
26
  } from '@finos/legend-graph';
27
- import { observe_DataSpace } from './action/changeDetection/DSLDataSpace_ObserverHelper.js';
28
- import { DSLDataSpace_buildGraphManagerExtension } from './protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js';
27
+ import { observe_DataSpace } from './action/changeDetection/DSL_DataSpace_ObserverHelper.js';
28
+ import { DSL_DataSpace_buildGraphManagerExtension } from './protocol/pure/DSL_DataSpace_PureGraphManagerExtensionBuilder.js';
29
29
 
30
30
  export const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = 'DataSpace';
31
31
  export const PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL = 'DataSpace';
32
32
 
33
- export class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin {
33
+ export class DSL_DataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin {
34
34
  constructor() {
35
35
  super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
36
36
  }
37
37
 
38
38
  override getExtraPureGraphManagerExtensionBuilders(): PureGraphManagerExtensionBuilder[] {
39
- return [DSLDataSpace_buildGraphManagerExtension];
39
+ return [DSL_DataSpace_buildGraphManagerExtension];
40
40
  }
41
41
 
42
42
  override getExtraPureGrammarParserNames(): string[] {
@@ -21,7 +21,7 @@ import type {
21
21
  PureModel,
22
22
  } from '@finos/legend-graph';
23
23
  import { uuid } from '@finos/legend-shared';
24
- import type { DataSpaceSupportInfo } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
24
+ import type { DataSpaceSupportInfo } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
25
25
 
26
26
  export class DataSpaceExecutionContextAnalysisResult {
27
27
  name!: string;
@@ -0,0 +1,43 @@
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 { getExpectedArtifactGenerationExtensionOutputPath } from '@finos/legend-graph';
18
+ import type { DepotServerClient } from '@finos/legend-server-depot';
19
+ import type { PlainObject } from '@finos/legend-shared';
20
+ import type { DataSpaceAnalysisResult } from './DSL_DataSpace_DataSpaceAnalysis.js';
21
+
22
+ const DATASPACE_ANALYTICS_FILE_NAME = 'AnalyticsResult.json';
23
+ const V1_DATASPACE_ANALYTICS_ARTIFACT_EXTENSION_KEY = 'dataSpace-analytics';
24
+
25
+ export const retrieveAnalyticsResultCache = async (
26
+ groupId: string,
27
+ artifactId: string,
28
+ versionId: string,
29
+ dataSpacePath: string,
30
+ depotServerClient: DepotServerClient,
31
+ ): Promise<PlainObject<DataSpaceAnalysisResult>> =>
32
+ JSON.parse(
33
+ await depotServerClient.getGenerationContentByPath(
34
+ groupId,
35
+ artifactId,
36
+ versionId,
37
+ getExpectedArtifactGenerationExtensionOutputPath(
38
+ dataSpacePath,
39
+ V1_DATASPACE_ANALYTICS_ARTIFACT_EXTENSION_KEY,
40
+ DATASPACE_ANALYTICS_FILE_NAME,
41
+ ),
42
+ ),
43
+ );
@@ -21,7 +21,7 @@ import {
21
21
  skipObserved,
22
22
  } from '@finos/legend-graph';
23
23
  import { makeObservable, override } from 'mobx';
24
- import type { DataSpace } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
24
+ import type { DataSpace } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
25
25
 
26
26
  export const observe_DataSpace = skipObserved(
27
27
  (metamodel: DataSpace): DataSpace => {
@@ -19,24 +19,25 @@ import {
19
19
  AbstractPureGraphManagerExtension,
20
20
  } from '@finos/legend-graph';
21
21
  import type { Entity } from '@finos/legend-storage';
22
- import { guaranteeNonNullable } from '@finos/legend-shared';
23
- import type { DataSpaceAnalysisResult } from '../../action/analytics/DataSpaceAnalysis.js';
22
+ import { guaranteeNonNullable, type PlainObject } from '@finos/legend-shared';
23
+ import type { DataSpaceAnalysisResult } from '../../action/analytics/DSL_DataSpace_DataSpaceAnalysis.js';
24
24
 
25
- export abstract class DSLDataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
25
+ export abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
26
26
  abstract analyzeDataSpace(
27
27
  dataSpacePath: string,
28
28
  entities: Entity[],
29
29
  dependencyEntitiesIndex: Map<string, Entity[]>,
30
+ cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>,
30
31
  ): Promise<DataSpaceAnalysisResult>;
31
32
  }
32
33
 
33
34
  export const getDSLDataSpaceGraphManagerExtension = (
34
35
  graphManager: AbstractPureGraphManager,
35
- ): DSLDataSpace_PureGraphManagerExtension =>
36
+ ): DSL_DataSpace_PureGraphManagerExtension =>
36
37
  guaranteeNonNullable(
37
38
  graphManager.extensions.find(
38
39
  (extension) =>
39
- extension instanceof DSLDataSpace_PureGraphManagerExtension,
40
+ extension instanceof DSL_DataSpace_PureGraphManagerExtension,
40
41
  ),
41
42
  `Can't find DSL Data Space Pure graph manager extension`,
42
- ) as DSLDataSpace_PureGraphManagerExtension;
43
+ ) as DSL_DataSpace_PureGraphManagerExtension;
@@ -18,10 +18,10 @@ import type {
18
18
  AbstractPureGraphManager,
19
19
  AbstractPureGraphManagerExtension,
20
20
  } from '@finos/legend-graph';
21
- import { V1_DSLDataSpace_PureGraphManagerExtension } from './v1/V1_DSLDataSpace_PureGraphManagerExtension.js';
21
+ import { V1_DSL_DataSpace_PureGraphManagerExtension } from './v1/V1_DSL_DataSpace_PureGraphManagerExtension.js';
22
22
 
23
- export const DSLDataSpace_buildGraphManagerExtension = (
23
+ export const DSL_DataSpace_buildGraphManagerExtension = (
24
24
  graphManager: AbstractPureGraphManager,
25
25
  ): AbstractPureGraphManagerExtension =>
26
26
  // NOTE: until we support more client versions, we always default to return V1
27
- new V1_DSLDataSpace_PureGraphManagerExtension(graphManager);
27
+ new V1_DSL_DataSpace_PureGraphManagerExtension(graphManager);
@@ -15,12 +15,12 @@
15
15
  */
16
16
 
17
17
  import packageJson from '../../../../package.json';
18
- import V1_SYSTEM_MODELS from './v1/V1_DSLDataSpace_SystemModels.json';
18
+ import V1_SYSTEM_MODELS from './v1/V1_DSL_DataSpace_SystemModels.json';
19
19
  import {
20
20
  V1_DataSpace,
21
21
  V1_DataSpaceExecutionContext,
22
22
  V1_DataSpaceSupportEmail,
23
- } from './v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
23
+ } from './v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
24
24
  import {
25
25
  type PlainObject,
26
26
  guaranteeNonEmptyString,
@@ -33,13 +33,13 @@ import { deserialize, serialize } from 'serializr';
33
33
  import {
34
34
  V1_dataSpaceModelSchema,
35
35
  V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE,
36
- } from './v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js';
37
- import { getOwnDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper.js';
36
+ } from './v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js';
37
+ import { getOwnDataSpace } from '../../DSL_DataSpace_GraphManagerHelper.js';
38
38
  import {
39
39
  DataSpace,
40
40
  DataSpaceExecutionContext,
41
41
  DataSpaceSupportEmail,
42
- } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
42
+ } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
43
43
  import {
44
44
  type PackageableElement,
45
45
  type V1_ElementProtocolClassifierPathGetter,
@@ -64,14 +64,14 @@ import {
64
64
  V1_buildFullPath,
65
65
  } from '@finos/legend-graph';
66
66
  import {
67
- V1_DSLDiagram_PackageableElementPointerType,
67
+ V1_DSL_Diagram_PackageableElementPointerType,
68
68
  getDiagram,
69
69
  } from '@finos/legend-extension-dsl-diagram';
70
70
 
71
71
  export const DATA_SPACE_ELEMENT_CLASSIFIER_PATH =
72
72
  'meta::pure::metamodel::dataSpace::DataSpace';
73
73
 
74
- export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
74
+ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
75
75
  constructor() {
76
76
  super(
77
77
  packageJson.extensions.pureProtocolProcessorPlugin,
@@ -260,7 +260,7 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
260
260
  protocol.featuredDiagrams = metamodel.featuredDiagrams?.map(
261
261
  (diagramPath) =>
262
262
  new V1_PackageableElementPointer(
263
- V1_DSLDiagram_PackageableElementPointerType,
263
+ V1_DSL_Diagram_PackageableElementPointerType,
264
264
  diagramPath.valueForSerialization ?? '',
265
265
  ),
266
266
  );