@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.
- 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} +3 -3
- 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} +3 -8
- 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} +3 -3
- 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} +4 -9
- 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 +5 -5
- 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} +1 -1
- package/lib/stores/query/DSL_DataSpace_DataSpaceQueryCreatorStore.d.ts.map +1 -0
- package/lib/stores/query/{DataSpaceQueryCreatorStore.js → DSL_DataSpace_DataSpaceQueryCreatorStore.js} +5 -5
- 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} +11 -10
- 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} +1 -1
- package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.js.map +1 -0
- package/package.json +16 -16
- 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} +3 -3
- package/src/components/{DSLDataSpace_Icon.tsx → DSL_DataSpace_Icon.tsx} +0 -0
- package/src/components/query/{DataSpaceQueryBuilder.tsx → DSL_DataSpace_DataSpaceQueryBuilder.tsx} +4 -11
- package/src/components/query/{DataSpaceQueryCreator.tsx → DSL_DataSpace_DataSpaceQueryCreator.tsx} +2 -2
- package/src/components/query/{DataSpaceQuerySetup.tsx → DSL_DataSpace_DataSpaceQuerySetup.tsx} +3 -11
- 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} +6 -6
- package/src/stores/query/{DataSpaceQuerySetupState.ts → DSL_DataSpace_DataSpaceQuerySetupState.ts} +23 -12
- package/src/stores/query/{DSLDataSpace_LegendQueryRouter.ts → DSL_DataSpace_LegendQueryRouter.ts} +0 -0
- 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/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": "8.0.
|
|
47
|
-
"@finos/legend-application-query": "8.
|
|
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.1.
|
|
53
|
-
"@finos/legend-server-depot": "4.
|
|
54
|
-
"@finos/legend-shared": "6.1.
|
|
55
|
-
"@finos/legend-storage": "3.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
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
69
|
"eslint": "8.24.0",
|
|
70
|
-
"jest": "29.
|
|
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.
|
|
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,8 +48,8 @@ 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/
|
|
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 {
|
|
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/
|
|
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/
|
|
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 => (
|
|
@@ -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>
|
package/src/components/query/{DataSpaceQueryCreator.tsx → DSL_DataSpace_DataSpaceQueryCreator.tsx}
RENAMED
|
@@ -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/
|
|
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/
|
|
34
|
+
} from '../../stores/query/DSL_DataSpace_LegendQueryRouter.js';
|
|
35
35
|
import { parseGAVCoordinates } from '@finos/legend-storage';
|
|
36
36
|
|
|
37
37
|
const DataSpaceQueryCreatorStoreProvider: React.FC<{
|
package/src/components/query/{DataSpaceQuerySetup.tsx → DSL_DataSpace_DataSpaceQuerySetup.tsx}
RENAMED
|
@@ -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/
|
|
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 => ({
|
|
@@ -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/
|
|
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
|
+
);
|
|
@@ -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/
|
|
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/
|
|
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
|
|
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
|
-
):
|
|
36
|
+
): DSL_DataSpace_PureGraphManagerExtension =>
|
|
36
37
|
guaranteeNonNullable(
|
|
37
38
|
graphManager.extensions.find(
|
|
38
39
|
(extension) =>
|
|
39
|
-
extension instanceof
|
|
40
|
+
extension instanceof DSL_DataSpace_PureGraphManagerExtension,
|
|
40
41
|
),
|
|
41
42
|
`Can't find DSL Data Space Pure graph manager extension`,
|
|
42
|
-
) as
|
|
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 {
|
|
21
|
+
import { V1_DSL_DataSpace_PureGraphManagerExtension } from './v1/V1_DSL_DataSpace_PureGraphManagerExtension.js';
|
|
22
22
|
|
|
23
|
-
export const
|
|
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
|
|
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/
|
|
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/
|
|
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/
|
|
37
|
-
import { getOwnDataSpace } from '
|
|
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/
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
263
|
+
V1_DSL_Diagram_PackageableElementPointerType,
|
|
264
264
|
diagramPath.valueForSerialization ?? '',
|
|
265
265
|
),
|
|
266
266
|
);
|