@finos/legend-extension-dsl-data-space 6.1.15 → 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.
- package/lib/{DSLDataSpace_Const.d.ts → DSL_DataSpace_Const.d.ts} +1 -3
- package/lib/DSL_DataSpace_Const.d.ts.map +1 -0
- package/lib/{DSLDataSpace_Const.js → DSL_DataSpace_Const.js} +1 -3
- package/lib/DSL_DataSpace_Const.js.map +1 -0
- package/lib/{DSLDataSpace_Extension.d.ts → DSL_DataSpace_Extension.d.ts} +2 -2
- package/lib/DSL_DataSpace_Extension.d.ts.map +1 -0
- package/lib/{DSLDataSpace_Extension.js → DSL_DataSpace_Extension.js} +8 -8
- package/lib/DSL_DataSpace_Extension.js.map +1 -0
- package/lib/components/{DataSpaceViewer.d.ts → DSL_DataSpace_DataSpaceViewer.d.ts} +3 -2
- package/lib/components/DSL_DataSpace_DataSpaceViewer.d.ts.map +1 -0
- package/lib/components/{DataSpaceViewer.js → DSL_DataSpace_DataSpaceViewer.js} +4 -4
- package/lib/components/DSL_DataSpace_DataSpaceViewer.js.map +1 -0
- package/lib/components/{DSLDataSpace_Icon.d.ts → DSL_DataSpace_Icon.d.ts} +1 -1
- package/lib/components/DSL_DataSpace_Icon.d.ts.map +1 -0
- package/lib/components/{DSLDataSpace_Icon.js → DSL_DataSpace_Icon.js} +1 -1
- package/lib/components/DSL_DataSpace_Icon.js.map +1 -0
- package/lib/components/query/{DataSpaceQueryBuilder.d.ts → DSL_DataSpace_DataSpaceQueryBuilder.d.ts} +2 -2
- package/lib/components/query/DSL_DataSpace_DataSpaceQueryBuilder.d.ts.map +1 -0
- package/lib/components/query/{DataSpaceQueryBuilder.js → DSL_DataSpace_DataSpaceQueryBuilder.js} +4 -9
- package/lib/components/query/DSL_DataSpace_DataSpaceQueryBuilder.js.map +1 -0
- package/lib/components/query/{DataSpaceQueryCreator.d.ts → DSL_DataSpace_DataSpaceQueryCreator.d.ts} +2 -1
- package/lib/components/query/DSL_DataSpace_DataSpaceQueryCreator.d.ts.map +1 -0
- package/lib/components/query/{DataSpaceQueryCreator.js → DSL_DataSpace_DataSpaceQueryCreator.js} +7 -7
- package/lib/components/query/DSL_DataSpace_DataSpaceQueryCreator.js.map +1 -0
- package/lib/components/query/{DataSpaceQuerySetup.d.ts → DSL_DataSpace_DataSpaceQuerySetup.d.ts} +3 -2
- package/lib/components/query/DSL_DataSpace_DataSpaceQuerySetup.d.ts.map +1 -0
- package/lib/components/query/{DataSpaceQuerySetup.js → DSL_DataSpace_DataSpaceQuerySetup.js} +5 -11
- package/lib/components/query/DSL_DataSpace_DataSpaceQuerySetup.js.map +1 -0
- package/lib/components/query/{DSLDataSpace_LegendQueryApplicationPlugin.d.ts → DSL_DataSpace_LegendQueryApplicationPlugin.d.ts} +2 -2
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -0
- package/lib/components/query/{DSLDataSpace_LegendQueryApplicationPlugin.js → DSL_DataSpace_LegendQueryApplicationPlugin.js} +11 -11
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -0
- package/lib/components/studio/{DSLDataSpace_CodeSnippets.d.ts → DSL_DataSpace_CodeSnippets.d.ts} +1 -1
- package/lib/components/studio/DSL_DataSpace_CodeSnippets.d.ts.map +1 -0
- package/lib/components/studio/{DSLDataSpace_CodeSnippets.js → DSL_DataSpace_CodeSnippets.js} +1 -1
- package/lib/components/studio/DSL_DataSpace_CodeSnippets.js.map +1 -0
- package/lib/components/studio/{DSLDataSpace_LegendStudioApplicationPlugin.d.ts → DSL_DataSpace_LegendStudioApplicationPlugin.d.ts} +2 -2
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/studio/{DSLDataSpace_LegendStudioApplicationPlugin.js → DSL_DataSpace_LegendStudioApplicationPlugin.js} +7 -7
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/studio/{DSLDataSpace_LegendStudioDocumentation.d.ts → DSL_DataSpace_LegendStudioDocumentation.d.ts} +1 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/components/studio/{DSLDataSpace_LegendStudioDocumentation.js → DSL_DataSpace_LegendStudioDocumentation.js} +1 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioDocumentation.js.map +1 -0
- package/lib/graph/{DSLDataSpace_HashUtils.d.ts → DSL_DataSpace_HashUtils.d.ts} +1 -1
- package/lib/graph/DSL_DataSpace_HashUtils.d.ts.map +1 -0
- package/lib/graph/{DSLDataSpace_HashUtils.js → DSL_DataSpace_HashUtils.js} +1 -1
- package/lib/graph/DSL_DataSpace_HashUtils.js.map +1 -0
- package/lib/graph/{DSLDataSpace_PureGraphPlugin.d.ts → DSL_DataSpace_PureGraphPlugin.d.ts} +2 -2
- package/lib/graph/DSL_DataSpace_PureGraphPlugin.d.ts.map +1 -0
- package/lib/graph/{DSLDataSpace_PureGraphPlugin.js → DSL_DataSpace_PureGraphPlugin.js} +3 -3
- package/lib/graph/DSL_DataSpace_PureGraphPlugin.js.map +1 -0
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/{DSLDataSpace_DataSpace.d.ts → DSL_DataSpace_DataSpace.d.ts} +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts.map +1 -0
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/{DSLDataSpace_DataSpace.js → DSL_DataSpace_DataSpace.js} +2 -2
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js.map +1 -0
- package/lib/graphManager/{DSLDataSpace_GraphManagerHelper.d.ts → DSL_DataSpace_GraphManagerHelper.d.ts} +2 -2
- package/lib/graphManager/DSL_DataSpace_GraphManagerHelper.d.ts.map +1 -0
- package/lib/graphManager/{DSLDataSpace_GraphManagerHelper.js → DSL_DataSpace_GraphManagerHelper.js} +2 -2
- package/lib/graphManager/DSL_DataSpace_GraphManagerHelper.js.map +1 -0
- package/lib/graphManager/{DSLDataSpace_PureGraphManagerPlugin.d.ts → DSL_DataSpace_PureGraphManagerPlugin.d.ts} +2 -2
- package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.d.ts.map +1 -0
- package/lib/graphManager/{DSLDataSpace_PureGraphManagerPlugin.js → DSL_DataSpace_PureGraphManagerPlugin.js} +6 -6
- package/lib/graphManager/DSL_DataSpace_PureGraphManagerPlugin.js.map +1 -0
- package/lib/graphManager/action/analytics/{DataSpaceAnalysis.d.ts → DSL_DataSpace_DataSpaceAnalysis.d.ts} +2 -2
- package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysis.d.ts.map +1 -0
- package/lib/graphManager/action/analytics/{DataSpaceAnalysis.js → DSL_DataSpace_DataSpaceAnalysis.js} +1 -1
- package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysis.js.map +1 -0
- package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.d.ts +20 -0
- package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.d.ts.map +1 -0
- package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.js +20 -0
- package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.js.map +1 -0
- package/lib/graphManager/action/changeDetection/{DSLDataSpace_ObserverHelper.d.ts → DSL_DataSpace_ObserverHelper.d.ts} +2 -2
- package/lib/graphManager/action/changeDetection/DSL_DataSpace_ObserverHelper.d.ts.map +1 -0
- package/lib/graphManager/action/changeDetection/{DSLDataSpace_ObserverHelper.js → DSL_DataSpace_ObserverHelper.js} +1 -1
- package/lib/graphManager/action/changeDetection/DSL_DataSpace_ObserverHelper.js.map +1 -0
- package/lib/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtension.d.ts → DSL_DataSpace_PureGraphManagerExtension.d.ts} +6 -5
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtension.js → DSL_DataSpace_PureGraphManagerExtension.js} +3 -3
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js.map +1 -0
- package/lib/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts → DSL_DataSpace_PureGraphManagerExtensionBuilder.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtensionBuilder.js → DSL_DataSpace_PureGraphManagerExtensionBuilder.js} +4 -4
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtensionBuilder.js.map +1 -0
- package/lib/graphManager/protocol/pure/{DSLDataSpace_PureProtocolProcessorPlugin.d.ts → DSL_DataSpace_PureProtocolProcessorPlugin.d.ts} +3 -3
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/{DSLDataSpace_PureProtocolProcessorPlugin.js → DSL_DataSpace_PureProtocolProcessorPlugin.js} +9 -9
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/{V1_DSLDataSpace_PureGraphManagerExtension.d.ts → V1_DSL_DataSpace_PureGraphManagerExtension.d.ts} +7 -5
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/{V1_DSLDataSpace_PureGraphManagerExtension.js → V1_DSL_DataSpace_PureGraphManagerExtension.js} +36 -25
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/{V1_DSLDataSpace_SystemModels.json → V1_DSL_DataSpace_SystemModels.json} +0 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/{V1_DataSpaceAnalysis.d.ts → V1_DSL_DataSpace_DataSpaceAnalysis.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DSL_DataSpace_DataSpaceAnalysis.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/{V1_DataSpaceAnalysis.js → V1_DSL_DataSpace_DataSpaceAnalysis.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DSL_DataSpace_DataSpaceAnalysis.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/{V1_DSLDataSpace_DataSpace.d.ts → V1_DSL_DataSpace_DataSpace.d.ts} +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/{V1_DSLDataSpace_DataSpace.js → V1_DSL_DataSpace_DataSpace.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDataSpace_GraphBuilderHelper.d.ts → V1_DSL_DataSpace_GraphBuilderHelper.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_DataSpace_GraphBuilderHelper.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDataSpace_GraphBuilderHelper.js → V1_DSL_DataSpace_GraphBuilderHelper.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSL_DataSpace_GraphBuilderHelper.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLDataSpace_ProtocolHelper.d.ts → V1_DSL_DataSpace_ProtocolHelper.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLDataSpace_ProtocolHelper.js → V1_DSL_DataSpace_ProtocolHelper.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js.map +1 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +10 -9
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -9
- package/lib/index.js.map +1 -1
- package/lib/package.json +8 -8
- package/lib/stores/{DataSpaceViewerState.d.ts → DSL_DataSpace_DataSpaceViewerState.d.ts} +2 -2
- package/lib/stores/DSL_DataSpace_DataSpaceViewerState.d.ts.map +1 -0
- package/lib/stores/{DataSpaceViewerState.js → DSL_DataSpace_DataSpaceViewerState.js} +1 -1
- package/lib/stores/DSL_DataSpace_DataSpaceViewerState.js.map +1 -0
- package/lib/stores/query/{DataSpaceInfo.d.ts → DSL_DataSpace_DataSpaceInfo.d.ts} +1 -1
- package/lib/stores/query/DSL_DataSpace_DataSpaceInfo.d.ts.map +1 -0
- package/lib/stores/query/{DataSpaceInfo.js → DSL_DataSpace_DataSpaceInfo.js} +1 -1
- package/lib/stores/query/DSL_DataSpace_DataSpaceInfo.js.map +1 -0
- package/lib/stores/query/{DataSpaceQueryBuilderState.d.ts → DSL_DataSpace_DataSpaceQueryBuilderState.d.ts} +4 -4
- package/lib/stores/query/DSL_DataSpace_DataSpaceQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/query/{DataSpaceQueryBuilderState.js → DSL_DataSpace_DataSpaceQueryBuilderState.js} +7 -7
- package/lib/stores/query/DSL_DataSpace_DataSpaceQueryBuilderState.js.map +1 -0
- package/lib/stores/query/{DataSpaceQueryCreatorStore.d.ts → DSL_DataSpace_DataSpaceQueryCreatorStore.d.ts} +5 -4
- package/lib/stores/query/DSL_DataSpace_DataSpaceQueryCreatorStore.d.ts.map +1 -0
- package/lib/stores/query/{DataSpaceQueryCreatorStore.js → DSL_DataSpace_DataSpaceQueryCreatorStore.js} +7 -7
- package/lib/stores/query/DSL_DataSpace_DataSpaceQueryCreatorStore.js.map +1 -0
- package/lib/stores/query/{DataSpaceQuerySetupState.d.ts → DSL_DataSpace_DataSpaceQuerySetupState.d.ts} +3 -3
- package/lib/stores/query/DSL_DataSpace_DataSpaceQuerySetupState.d.ts.map +1 -0
- package/lib/stores/query/{DataSpaceQuerySetupState.js → DSL_DataSpace_DataSpaceQuerySetupState.js} +13 -12
- package/lib/stores/query/DSL_DataSpace_DataSpaceQuerySetupState.js.map +1 -0
- package/lib/stores/query/{DSLDataSpace_LegendQueryRouter.d.ts → DSL_DataSpace_LegendQueryRouter.d.ts} +1 -1
- package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.d.ts.map +1 -0
- package/lib/stores/query/{DSLDataSpace_LegendQueryRouter.js → DSL_DataSpace_LegendQueryRouter.js} +2 -2
- package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.js.map +1 -0
- package/package.json +19 -19
- package/src/{DSLDataSpace_Const.ts → DSL_DataSpace_Const.ts} +0 -3
- package/src/{DSLDataSpace_Extension.ts → DSL_DataSpace_Extension.ts} +7 -7
- package/src/components/{DataSpaceViewer.tsx → DSL_DataSpace_DataSpaceViewer.tsx} +4 -4
- package/src/components/{DSLDataSpace_Icon.tsx → DSL_DataSpace_Icon.tsx} +0 -0
- package/src/components/query/{DataSpaceQueryBuilder.tsx → DSL_DataSpace_DataSpaceQueryBuilder.tsx} +6 -13
- package/src/components/query/{DataSpaceQueryCreator.tsx → DSL_DataSpace_DataSpaceQueryCreator.tsx} +4 -9
- package/src/components/query/{DataSpaceQuerySetup.tsx → DSL_DataSpace_DataSpaceQuerySetup.tsx} +6 -15
- package/src/components/query/{DSLDataSpace_LegendQueryApplicationPlugin.tsx → DSL_DataSpace_LegendQueryApplicationPlugin.tsx} +13 -12
- package/src/components/studio/{DSLDataSpace_CodeSnippets.ts → DSL_DataSpace_CodeSnippets.ts} +0 -0
- package/src/components/studio/{DSLDataSpace_LegendStudioApplicationPlugin.tsx → DSL_DataSpace_LegendStudioApplicationPlugin.tsx} +6 -6
- package/src/components/studio/{DSLDataSpace_LegendStudioDocumentation.ts → DSL_DataSpace_LegendStudioDocumentation.ts} +0 -0
- package/src/graph/{DSLDataSpace_HashUtils.ts → DSL_DataSpace_HashUtils.ts} +0 -0
- package/src/graph/{DSLDataSpace_PureGraphPlugin.ts → DSL_DataSpace_PureGraphPlugin.ts} +2 -2
- package/src/graph/metamodel/pure/model/packageableElements/dataSpace/{DSLDataSpace_DataSpace.ts → DSL_DataSpace_DataSpace.ts} +1 -1
- package/src/graphManager/{DSLDataSpace_GraphManagerHelper.ts → DSL_DataSpace_GraphManagerHelper.ts} +1 -1
- package/src/graphManager/{DSLDataSpace_PureGraphManagerPlugin.ts → DSL_DataSpace_PureGraphManagerPlugin.ts} +5 -5
- package/src/graphManager/action/analytics/{DataSpaceAnalysis.ts → DSL_DataSpace_DataSpaceAnalysis.ts} +1 -1
- package/src/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.ts +43 -0
- package/src/graphManager/action/changeDetection/{DSLDataSpace_ObserverHelper.ts → DSL_DataSpace_ObserverHelper.ts} +1 -1
- package/src/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtension.ts → DSL_DataSpace_PureGraphManagerExtension.ts} +7 -6
- package/src/graphManager/protocol/pure/{DSLDataSpace_PureGraphManagerExtensionBuilder.ts → DSL_DataSpace_PureGraphManagerExtensionBuilder.ts} +3 -3
- package/src/graphManager/protocol/pure/{DSLDataSpace_PureProtocolProcessorPlugin.ts → DSL_DataSpace_PureProtocolProcessorPlugin.ts} +8 -8
- package/src/graphManager/protocol/pure/v1/{V1_DSLDataSpace_PureGraphManagerExtension.ts → V1_DSL_DataSpace_PureGraphManagerExtension.ts} +42 -23
- package/src/graphManager/protocol/pure/v1/{V1_DSLDataSpace_SystemModels.json → V1_DSL_DataSpace_SystemModels.json} +0 -0
- package/src/graphManager/protocol/pure/v1/engine/analytics/{V1_DataSpaceAnalysis.ts → V1_DSL_DataSpace_DataSpaceAnalysis.ts} +2 -2
- package/src/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/{V1_DSLDataSpace_DataSpace.ts → V1_DSL_DataSpace_DataSpace.ts} +1 -1
- package/src/graphManager/protocol/pure/v1/transformation/pureGraph/{V1_DSLDataSpace_GraphBuilderHelper.ts → V1_DSL_DataSpace_GraphBuilderHelper.ts} +2 -2
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/{V1_DSLDataSpace_ProtocolHelper.ts → V1_DSL_DataSpace_ProtocolHelper.ts} +1 -1
- package/src/index.ts +11 -9
- package/src/stores/{DataSpaceViewerState.ts → DSL_DataSpace_DataSpaceViewerState.ts} +1 -1
- package/src/stores/query/{DataSpaceInfo.ts → DSL_DataSpace_DataSpaceInfo.ts} +0 -0
- package/src/stores/query/{DataSpaceQueryBuilderState.ts → DSL_DataSpace_DataSpaceQueryBuilderState.ts} +14 -11
- package/src/stores/query/{DataSpaceQueryCreatorStore.ts → DSL_DataSpace_DataSpaceQueryCreatorStore.ts} +9 -13
- package/src/stores/query/{DataSpaceQuerySetupState.ts → DSL_DataSpace_DataSpaceQuerySetupState.ts} +25 -14
- package/src/stores/query/{DSLDataSpace_LegendQueryRouter.ts → DSL_DataSpace_LegendQueryRouter.ts} +1 -1
- package/tsconfig.json +34 -33
- package/lib/DSLDataSpace_Const.d.ts.map +0 -1
- package/lib/DSLDataSpace_Const.js.map +0 -1
- package/lib/DSLDataSpace_Extension.d.ts.map +0 -1
- package/lib/DSLDataSpace_Extension.js.map +0 -1
- package/lib/components/DSLDataSpace_Icon.d.ts.map +0 -1
- package/lib/components/DSLDataSpace_Icon.js.map +0 -1
- package/lib/components/DataSpaceViewer.d.ts.map +0 -1
- package/lib/components/DataSpaceViewer.js.map +0 -1
- package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.d.ts.map +0 -1
- package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.js.map +0 -1
- package/lib/components/query/DataSpaceQueryBuilder.d.ts.map +0 -1
- package/lib/components/query/DataSpaceQueryBuilder.js.map +0 -1
- package/lib/components/query/DataSpaceQueryCreator.d.ts.map +0 -1
- package/lib/components/query/DataSpaceQueryCreator.js.map +0 -1
- package/lib/components/query/DataSpaceQuerySetup.d.ts.map +0 -1
- package/lib/components/query/DataSpaceQuerySetup.js.map +0 -1
- package/lib/components/studio/DSLDataSpace_CodeSnippets.d.ts.map +0 -1
- package/lib/components/studio/DSLDataSpace_CodeSnippets.js.map +0 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.js.map +0 -1
- package/lib/graph/DSLDataSpace_HashUtils.d.ts.map +0 -1
- package/lib/graph/DSLDataSpace_HashUtils.js.map +0 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.d.ts.map +0 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +0 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +0 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +0 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts.map +0 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js.map +0 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts.map +0 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +0 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +0 -1
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts.map +0 -1
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js.map +0 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js.map +0 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js.map +0 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +0 -1
- package/lib/stores/DataSpaceViewerState.d.ts.map +0 -1
- package/lib/stores/DataSpaceViewerState.js.map +0 -1
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts.map +0 -1
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js.map +0 -1
- package/lib/stores/query/DataSpaceInfo.d.ts.map +0 -1
- package/lib/stores/query/DataSpaceInfo.js.map +0 -1
- package/lib/stores/query/DataSpaceQueryBuilderState.d.ts.map +0 -1
- package/lib/stores/query/DataSpaceQueryBuilderState.js.map +0 -1
- package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts.map +0 -1
- package/lib/stores/query/DataSpaceQueryCreatorStore.js.map +0 -1
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +0 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js.map +0 -1
package/lib/stores/query/{DataSpaceQuerySetupState.js → DSL_DataSpace_DataSpaceQuerySetupState.js}
RENAMED
|
@@ -13,16 +13,17 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { QuerySetupState,
|
|
16
|
+
import { QuerySetupState, EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl, } from '@finos/legend-application-query';
|
|
17
17
|
import { DepotScope, ProjectData, } from '@finos/legend-server-depot';
|
|
18
18
|
import { ActionState, assertErrorThrown, } from '@finos/legend-shared';
|
|
19
19
|
import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
|
20
|
-
import { getDSLDataSpaceGraphManagerExtension } from '../../graphManager/protocol/pure/
|
|
21
|
-
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../graphManager/protocol/pure/
|
|
22
|
-
import { DataSpaceViewerState } from '../
|
|
23
|
-
import { generateDataSpaceQueryCreatorRoute } from './
|
|
24
|
-
import { extractDataSpaceInfo } from './
|
|
25
|
-
import {
|
|
20
|
+
import { getDSLDataSpaceGraphManagerExtension } from '../../graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
21
|
+
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
|
|
22
|
+
import { DataSpaceViewerState } from '../DSL_DataSpace_DataSpaceViewerState.js';
|
|
23
|
+
import { generateDataSpaceQueryCreatorRoute } from './DSL_DataSpace_LegendQueryRouter.js';
|
|
24
|
+
import { extractDataSpaceInfo, } from './DSL_DataSpace_DataSpaceInfo.js';
|
|
25
|
+
import { DEFAULT_TYPEAHEAD_SEARCH_LIMIT, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, } from '@finos/legend-application';
|
|
26
|
+
import { retrieveAnalyticsResultCache } from '../../graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.js';
|
|
26
27
|
export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
27
28
|
dataSpaces = [];
|
|
28
29
|
loadDataSpacesState = ActionState.create();
|
|
@@ -55,7 +56,7 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
55
56
|
this.toGetSnapShot = val;
|
|
56
57
|
}
|
|
57
58
|
*loadDataSpaces(searchText) {
|
|
58
|
-
const isValidSearchString = searchText.length >=
|
|
59
|
+
const isValidSearchString = searchText.length >= DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH;
|
|
59
60
|
this.loadDataSpacesState.inProgress();
|
|
60
61
|
try {
|
|
61
62
|
this.dataSpaces = (yield this.setupStore.depotServerClient.getEntitiesByClassifierPath(DATA_SPACE_ELEMENT_CLASSIFIER_PATH, {
|
|
@@ -63,7 +64,7 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
63
64
|
scope: this.toGetSnapShot
|
|
64
65
|
? DepotScope.SNAPSHOT
|
|
65
66
|
: DepotScope.RELEASES,
|
|
66
|
-
limit:
|
|
67
|
+
limit: DEFAULT_TYPEAHEAD_SEARCH_LIMIT,
|
|
67
68
|
})).map((storedEntity) => extractDataSpaceInfo(storedEntity, this.toGetSnapShot));
|
|
68
69
|
this.loadDataSpacesState.pass();
|
|
69
70
|
}
|
|
@@ -88,9 +89,9 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
88
89
|
const dependencyEntitiesIndex = (yield flowResult(this.setupStore.depotServerClient.getIndexedDependencyEntities(project, dataSpace.versionId)));
|
|
89
90
|
// analyze data space
|
|
90
91
|
this.loadDataSpaceState.setMessage(`Analyzing data space...`);
|
|
91
|
-
const analysisResult = (yield getDSLDataSpaceGraphManagerExtension(this.setupStore.graphManagerState.graphManager).analyzeDataSpace(dataSpace.path, entities, dependencyEntitiesIndex));
|
|
92
|
+
const analysisResult = (yield getDSLDataSpaceGraphManagerExtension(this.setupStore.graphManagerState.graphManager).analyzeDataSpace(dataSpace.path, entities, dependencyEntitiesIndex, () => retrieveAnalyticsResultCache(dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId, dataSpace.path, this.setupStore.depotServerClient)));
|
|
92
93
|
this.dataSpaceViewerState = new DataSpaceViewerState(dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId, analysisResult, {
|
|
93
|
-
viewProject: (groupId, artifactId, versionId, entityPath) => this.setupStore.applicationStore.navigator.openNewWindow(
|
|
94
|
+
viewProject: (groupId, artifactId, versionId, entityPath) => this.setupStore.applicationStore.navigator.openNewWindow(EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl(this.setupStore.applicationStore.config.studioUrl, groupId, artifactId, versionId, entityPath)),
|
|
94
95
|
onDiagramClassDoubleClick: (classView) => {
|
|
95
96
|
this.proceedToCreateQuery(classView.class.value);
|
|
96
97
|
},
|
|
@@ -116,4 +117,4 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
119
|
}
|
|
119
|
-
//# sourceMappingURL=
|
|
120
|
+
//# sourceMappingURL=DSL_DataSpace_DataSpaceQuerySetupState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_DataSpaceQuerySetupState.ts"],"names":[],"mappings":"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"}
|
|
@@ -32,4 +32,4 @@ export interface DataSpaceQueryEditorQueryParams {
|
|
|
32
32
|
}
|
|
33
33
|
export declare const CREATE_QUERY_FROM_DATA_SPACE_ROUTE_PATTERN: string;
|
|
34
34
|
export declare const generateDataSpaceQueryCreatorRoute: (groupId: string, artifactId: string, versionId: string, dataSpacePath: string, executionContextKey: string, runtimePath?: string | undefined, classPath?: string | undefined) => string;
|
|
35
|
-
//# sourceMappingURL=
|
|
35
|
+
//# sourceMappingURL=DSL_DataSpace_LegendQueryRouter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendQueryRouter.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAIhF,oBAAY,yCAAyC;IACnD,eAAe,kBAAkB;IACjC,iBAAiB,qBAAqB;CACvC;AAED,oBAAY,0CAA0C;IACpD,UAAU,UAAU;CACrB;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC5C,CAAC,yCAAyC,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACpE,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACtE,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;CACvD;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC;CAClE;AAED,eAAO,MAAM,0CAA0C,QAA+O,CAAC;AAEvS,eAAO,MAAM,kCAAkC,YACpC,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,uBACA,MAAM,gBACb,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAmBC,CAAC"}
|
package/lib/stores/query/{DSLDataSpace_LegendQueryRouter.js → DSL_DataSpace_LegendQueryRouter.js}
RENAMED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { generateExtensionUrlPattern } from '@finos/legend-application';
|
|
17
17
|
import { LEGEND_QUERY_PATH_PARAM_TOKEN } from '@finos/legend-application-query';
|
|
18
|
-
import { generateGAVCoordinates } from '@finos/legend-
|
|
18
|
+
import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
19
19
|
import { generatePath } from 'react-router';
|
|
20
20
|
export var DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN;
|
|
21
21
|
(function (DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN) {
|
|
@@ -35,4 +35,4 @@ export const generateDataSpaceQueryCreatorRoute = (groupId, artifactId, versionI
|
|
|
35
35
|
})}${classPath
|
|
36
36
|
? `?${DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH}=${classPath}`
|
|
37
37
|
: ''}`;
|
|
38
|
-
//# sourceMappingURL=
|
|
38
|
+
//# sourceMappingURL=DSL_DataSpace_LegendQueryRouter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendQueryRouter.js","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,CAAN,IAAY,yCAGX;AAHD,WAAY,yCAAyC;IACnD,8EAAiC,CAAA;IACjC,mFAAsC,CAAA;AACxC,CAAC,EAHW,yCAAyC,GAAzC,yCAAyC,KAAzC,yCAAyC,QAGpD;AAED,MAAM,CAAN,IAAY,0CAEX;AAFD,WAAY,0CAA0C;IACpD,kEAAoB,CAAA;AACtB,CAAC,EAFW,0CAA0C,GAA1C,0CAA0C,KAA1C,0CAA0C,QAErD;AAaD,MAAM,CAAC,MAAM,0CAA0C,GAAG,2BAA2B,6BAA6B,CAAC,GAAG,KAAK,yCAAyC,CAAC,eAAe,KAAK,yCAAyC,CAAC,iBAAiB,KAAK,6BAA6B,CAAC,YAAY,GAAG,CAAC;AAEvS,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAChD,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,mBAA2B,EAC3B,WAAgC,EAChC,SAA8B,EACtB,EAAE,CACV,GAAG,YAAY,CACb,2BAA2B,CAAC,0CAA0C,CAAC,EACvE;IACE,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,sBAAsB,CACzD,OAAO,EACP,UAAU,EACV,SAAS,CACV;IACD,CAAC,yCAAyC,CAAC,eAAe,CAAC,EACzD,aAAa;IACf,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,EAC3D,mBAAmB;IACrB,CAAC,6BAA6B,CAAC,YAAY,CAAC,EAAE,WAAW;CAC1D,CACF,GACC,SAAS;IACP,CAAC,CAAC,IAAI,0CAA0C,CAAC,UAAU,IAAI,SAAS,EAAE;IAC1E,CAAC,CAAC,EACN,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "
|
|
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": "
|
|
47
|
-
"@finos/legend-application-query": "
|
|
48
|
-
"@finos/legend-application-studio": "
|
|
49
|
-
"@finos/legend-art": "3.
|
|
50
|
-
"@finos/legend-extension-dsl-diagram": "
|
|
51
|
-
"@finos/legend-graph": "
|
|
52
|
-
"@finos/legend-query-builder": "0.
|
|
53
|
-
"@finos/legend-server-depot": "
|
|
54
|
-
"@finos/legend-shared": "6.1.
|
|
55
|
-
"@finos/legend-storage": "3.0.
|
|
56
|
-
"@types/react": "18.0.
|
|
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
|
+
"@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.
|
|
62
|
+
"react-router": "5.3.4",
|
|
63
63
|
"serializr": "2.0.5"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@finos/legend-dev-utils": "2.0.
|
|
67
|
-
"@jest/globals": "29.
|
|
66
|
+
"@finos/legend-dev-utils": "2.0.18",
|
|
67
|
+
"@jest/globals": "29.1.2",
|
|
68
68
|
"cross-env": "7.0.3",
|
|
69
|
-
"eslint": "8.
|
|
70
|
-
"jest": "29.
|
|
69
|
+
"eslint": "8.24.0",
|
|
70
|
+
"jest": "29.1.2",
|
|
71
71
|
"npm-run-all": "4.1.5",
|
|
72
72
|
"rimraf": "3.0.2",
|
|
73
|
-
"sass": "1.
|
|
74
|
-
"typescript": "4.8.
|
|
73
|
+
"sass": "1.55.0",
|
|
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 {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
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
|
|
23
|
+
export class DSL_DataSpace_GraphManagerPreset extends AbstractPreset {
|
|
24
24
|
constructor() {
|
|
25
25
|
super(packageJson.extensions.graphManagerPreset, packageJson.version, [
|
|
26
|
-
new
|
|
27
|
-
new
|
|
28
|
-
new
|
|
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/
|
|
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,9 +48,9 @@ import {
|
|
|
48
48
|
import {
|
|
49
49
|
type DataSpaceViewerState,
|
|
50
50
|
DATA_SPACE_VIEWER_ACTIVITY_MODE,
|
|
51
|
-
} from '../stores/
|
|
52
|
-
import type { DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/
|
|
53
|
-
import { generateGAVCoordinates } from '@finos/legend-
|
|
51
|
+
} from '../stores/DSL_DataSpace_DataSpaceViewerState.js';
|
|
52
|
+
import type { DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysis.js';
|
|
53
|
+
import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
54
54
|
|
|
55
55
|
interface DataSpaceViewerActivityConfig {
|
|
56
56
|
mode: DATA_SPACE_VIEWER_ACTIVITY_MODE;
|
|
File without changes
|
package/src/components/query/{DataSpaceQueryBuilder.tsx → DSL_DataSpace_DataSpaceQueryBuilder.tsx}
RENAMED
|
@@ -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/
|
|
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/
|
|
46
|
-
import { generateGAVCoordinates } from '@finos/legend-
|
|
45
|
+
import type { DataSpaceInfo } from '../../stores/query/DSL_DataSpace_DataSpaceInfo.js';
|
|
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/
|
|
51
|
-
import { DataSpaceIcon } from '../
|
|
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 => (
|
|
@@ -275,10 +269,9 @@ const DataSpaceQueryBuilderSetupPanelContent = observer(
|
|
|
275
269
|
inputValue={dataSpaceSearchText}
|
|
276
270
|
onChange={onDataSpaceOptionChange}
|
|
277
271
|
value={selectedDataSpaceOption}
|
|
278
|
-
placeholder="Search for data space
|
|
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>
|
package/src/components/query/{DataSpaceQueryCreator.tsx → DSL_DataSpace_DataSpaceQueryCreator.tsx}
RENAMED
|
@@ -17,25 +17,22 @@
|
|
|
17
17
|
import { observer, useLocalObservable } from 'mobx-react-lite';
|
|
18
18
|
import { getQueryParameters } from '@finos/legend-shared';
|
|
19
19
|
import { useApplicationStore } from '@finos/legend-application';
|
|
20
|
-
import {
|
|
21
|
-
parseGAVCoordinates,
|
|
22
|
-
useDepotServerClient,
|
|
23
|
-
} from '@finos/legend-server-depot';
|
|
20
|
+
import { useDepotServerClient } from '@finos/legend-server-depot';
|
|
24
21
|
import {
|
|
25
22
|
LEGEND_QUERY_PATH_PARAM_TOKEN,
|
|
26
23
|
QueryEditor,
|
|
27
24
|
QueryEditorStoreContext,
|
|
28
25
|
useLegendQueryApplicationStore,
|
|
29
|
-
useLegendQueryBaseStore,
|
|
30
26
|
} from '@finos/legend-application-query';
|
|
31
27
|
import { useParams } from 'react-router';
|
|
32
|
-
import { DataSpaceQueryCreatorStore } from '../../stores/query/
|
|
28
|
+
import { DataSpaceQueryCreatorStore } from '../../stores/query/DSL_DataSpace_DataSpaceQueryCreatorStore.js';
|
|
33
29
|
import {
|
|
34
30
|
type DataSpaceQueryCreatorPathParams,
|
|
35
31
|
type DataSpaceQueryEditorQueryParams,
|
|
36
32
|
DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN,
|
|
37
33
|
DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN,
|
|
38
|
-
} from '../../stores/query/
|
|
34
|
+
} from '../../stores/query/DSL_DataSpace_LegendQueryRouter.js';
|
|
35
|
+
import { parseGAVCoordinates } from '@finos/legend-storage';
|
|
39
36
|
|
|
40
37
|
const DataSpaceQueryCreatorStoreProvider: React.FC<{
|
|
41
38
|
children: React.ReactNode;
|
|
@@ -55,13 +52,11 @@ const DataSpaceQueryCreatorStoreProvider: React.FC<{
|
|
|
55
52
|
const { groupId, artifactId, versionId } = parseGAVCoordinates(gav);
|
|
56
53
|
const applicationStore = useLegendQueryApplicationStore();
|
|
57
54
|
const depotServerClient = useDepotServerClient();
|
|
58
|
-
const baseStore = useLegendQueryBaseStore();
|
|
59
55
|
const store = useLocalObservable(
|
|
60
56
|
() =>
|
|
61
57
|
new DataSpaceQueryCreatorStore(
|
|
62
58
|
applicationStore,
|
|
63
59
|
depotServerClient,
|
|
64
|
-
baseStore.pluginManager,
|
|
65
60
|
groupId,
|
|
66
61
|
artifactId,
|
|
67
62
|
versionId,
|
package/src/components/query/{DataSpaceQuerySetup.tsx → DSL_DataSpace_DataSpaceQuerySetup.tsx}
RENAMED
|
@@ -26,17 +26,16 @@ 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
|
-
import { generateGAVCoordinates } from '@finos/legend-
|
|
31
|
+
import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
33
32
|
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/
|
|
38
|
-
import { DataSpaceViewer } from '../
|
|
39
|
-
import type { DataSpaceInfo } from '../../stores/query/
|
|
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 => ({
|
|
@@ -70,7 +69,6 @@ export const DataspaceQuerySetup = observer(
|
|
|
70
69
|
|
|
71
70
|
const back = (): void => {
|
|
72
71
|
setupStore.setSetupState(undefined);
|
|
73
|
-
querySetupState.setCurrentDataSpace(undefined);
|
|
74
72
|
};
|
|
75
73
|
|
|
76
74
|
// data space
|
|
@@ -83,12 +81,6 @@ export const DataspaceQuerySetup = observer(
|
|
|
83
81
|
querySetupState.setCurrentDataSpace(option?.value);
|
|
84
82
|
querySetupState.setDataSpaceViewerState(undefined);
|
|
85
83
|
};
|
|
86
|
-
const filterOption = createFilter({
|
|
87
|
-
ignoreCase: true,
|
|
88
|
-
ignoreAccents: false,
|
|
89
|
-
stringify: (option: DataSpaceOption): string =>
|
|
90
|
-
`${option.label} - ${option.value.path}`,
|
|
91
|
-
});
|
|
92
84
|
const formatDataSpaceOptionLabel = (
|
|
93
85
|
option: DataSpaceOption,
|
|
94
86
|
): React.ReactNode => (
|
|
@@ -173,7 +165,7 @@ export const DataspaceQuerySetup = observer(
|
|
|
173
165
|
})}
|
|
174
166
|
onClick={next}
|
|
175
167
|
disabled={!canProceed}
|
|
176
|
-
title="
|
|
168
|
+
title="Create a new query"
|
|
177
169
|
>
|
|
178
170
|
<ArrowRightIcon />
|
|
179
171
|
</button>
|
|
@@ -192,11 +184,10 @@ export const DataspaceQuerySetup = observer(
|
|
|
192
184
|
inputValue={searchText}
|
|
193
185
|
onChange={onDataSpaceOptionChange}
|
|
194
186
|
value={selectedDataSpaceOption}
|
|
195
|
-
placeholder="Search for data space
|
|
187
|
+
placeholder="Search for data space..."
|
|
196
188
|
isClearable={true}
|
|
197
189
|
escapeClearsValue={true}
|
|
198
190
|
darkMode={true}
|
|
199
|
-
filterOption={filterOption}
|
|
200
191
|
formatOptionLabel={formatDataSpaceOptionLabel}
|
|
201
192
|
/>
|
|
202
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/
|
|
33
|
-
import { DataspaceQuerySetup } from './
|
|
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/
|
|
40
|
-
import { DataSpaceQueryCreator } from './
|
|
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/
|
|
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 '../../
|
|
54
|
-
import { DataSpaceQueryBuilderState } from '../../stores/query/
|
|
55
|
-
import type { DataSpaceInfo } from '../../stores/query/
|
|
56
|
-
import { getOwnDataSpace } from '../../graphManager/
|
|
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
|
|
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:
|
|
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.
|
|
226
|
+
LogEvent.create(LEGEND_QUERY_APP_EVENT.GENERIC_FAILURE),
|
|
226
227
|
error,
|
|
227
228
|
);
|
|
228
229
|
editorStore.applicationStore.notifyError(error);
|
package/src/components/studio/{DSLDataSpace_CodeSnippets.ts → DSL_DataSpace_CodeSnippets.ts}
RENAMED
|
File without changes
|
|
@@ -42,21 +42,21 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
DataSpace,
|
|
44
44
|
DataSpaceExecutionContext,
|
|
45
|
-
} from '../../graph/metamodel/pure/model/packageableElements/dataSpace/
|
|
46
|
-
import { DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY } from './
|
|
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/
|
|
51
|
-
import { SIMPLE_DATA_SPACE_SNIPPET } from './
|
|
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 '../
|
|
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
|
|
59
|
+
export class DSL_DataSpace_LegendStudioApplicationPlugin
|
|
60
60
|
extends LegendStudioApplicationPlugin
|
|
61
61
|
implements DSL_LegendStudioApplicationPlugin_Extension
|
|
62
62
|
{
|
|
File without changes
|
|
File without changes
|
|
@@ -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/
|
|
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
|
|
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 '../../../../../
|
|
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 {
|
package/src/graphManager/{DSLDataSpace_GraphManagerHelper.ts → DSL_DataSpace_GraphManagerHelper.ts}
RENAMED
|
@@ -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/
|
|
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/
|
|
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/
|
|
28
|
-
import {
|
|
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
|
|
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 [
|
|
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/
|
|
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
|
+
);
|