@finos/legend-extension-dsl-data-space 4.0.5 → 6.1.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 +18 -0
- package/lib/DSLDataSpace_Const.d.ts.map +1 -0
- package/lib/DSLDataSpace_Const.js +20 -0
- package/lib/DSLDataSpace_Const.js.map +1 -0
- package/lib/DSLDataSpace_Extension.d.ts +1 -1
- package/lib/DSLDataSpace_Extension.d.ts.map +1 -1
- package/lib/DSLDataSpace_Extension.js +3 -3
- package/lib/DSLDataSpace_Extension.js.map +1 -1
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +39 -33
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/{DSLDataSpace_LegendQueryPlugin.d.ts → DSLDataSpace_LegendQueryApplicationPlugin.d.ts} +6 -3
- package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -0
- package/lib/components/query/{DSLDataSpace_LegendQueryPlugin.js → DSLDataSpace_LegendQueryApplicationPlugin.js} +28 -4
- package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.js.map +1 -0
- package/lib/components/query/DataSpaceQueryEditor.d.ts +20 -0
- package/lib/components/query/DataSpaceQueryEditor.d.ts.map +1 -0
- package/lib/components/query/DataSpaceQueryEditor.js +43 -0
- package/lib/components/query/DataSpaceQueryEditor.js.map +1 -0
- package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +13 -21
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/studio/{DSLDataSpace_LegendStudioPlugin.d.ts → DSLDataSpace_LegendStudioApplicationPlugin.d.ts} +3 -3
- package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/studio/{DSLDataSpace_LegendStudioPlugin.js → DSLDataSpace_LegendStudioApplicationPlugin.js} +5 -5
- package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/{models/DSLDataSpace_ModelUtils.d.ts → graph/DSLDataSpace_HashUtils.d.ts} +1 -1
- package/lib/graph/DSLDataSpace_HashUtils.d.ts.map +1 -0
- package/lib/{models/DSLDataSpace_ModelUtils.js → graph/DSLDataSpace_HashUtils.js} +1 -1
- package/lib/graph/DSLDataSpace_HashUtils.js.map +1 -0
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +1 -1
- package/lib/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts +1 -0
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +1 -0
- package/lib/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js +3 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +1 -0
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts.map +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts +2 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +5 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +51 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +49 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -0
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts +1 -1
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts.map +1 -1
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js +1 -0
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js.map +1 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.d.ts +23 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js +21 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts +18 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js +20 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +0 -0
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +3 -1
- package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts +26 -0
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js +159 -0
- package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/V1_DSLDataSpace_SystemModels.json +0 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +54 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +80 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts +1 -0
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js +3 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js +0 -0
- package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts +3 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -0
- package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +2 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -0
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +5 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -3
- package/lib/index.js.map +1 -1
- package/lib/package.json +15 -14
- package/lib/stores/DataSpaceViewerState.d.ts +8 -12
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +11 -33
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts +32 -0
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts.map +1 -0
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js +34 -0
- package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js.map +1 -0
- package/lib/stores/query/DataSpaceQueryEditorStore.d.ts +31 -0
- package/lib/stores/query/DataSpaceQueryEditorStore.d.ts.map +1 -0
- package/lib/stores/query/DataSpaceQueryEditorStore.js +88 -0
- package/lib/stores/query/DataSpaceQueryEditorStore.js.map +1 -0
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts +6 -5
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js +41 -46
- package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
- package/package.json +22 -21
- package/src/DSLDataSpace_Const.ts +20 -0
- package/src/DSLDataSpace_Extension.ts +3 -3
- package/src/components/DataSpaceViewer.tsx +142 -89
- package/src/components/query/{DSLDataSpace_LegendQueryPlugin.tsx → DSLDataSpace_LegendQueryApplicationPlugin.tsx} +41 -4
- package/src/components/query/DataSpaceQueryEditor.tsx +106 -0
- package/src/components/query/DataSpaceQuerySetup.tsx +45 -34
- package/src/components/studio/{DSLDataSpace_LegendStudioPlugin.tsx → DSLDataSpace_LegendStudioApplicationPlugin.tsx} +11 -11
- package/src/{models/DSLDataSpace_ModelUtils.ts → graph/DSLDataSpace_HashUtils.ts} +0 -0
- package/src/graph/DSLDataSpace_PureGraphPlugin.ts +1 -1
- package/src/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts +3 -1
- package/src/graphManager/DSLDataSpace_GraphManagerHelper.ts +1 -1
- package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +7 -1
- package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +65 -0
- package/src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts +2 -1
- package/src/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.ts +42 -0
- package/src/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.ts +27 -0
- package/src/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +3 -1
- package/src/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts +265 -0
- package/src/{models/protocols → graphManager/protocol}/pure/v1/V1_DSLDataSpace_SystemModels.json +0 -0
- package/src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +119 -0
- package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts +3 -1
- package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts +1 -1
- package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +2 -1
- package/src/index.ts +5 -3
- package/src/stores/DataSpaceViewerState.ts +24 -55
- package/src/stores/query/DSLDataSpace_LegendQueryRouter.ts +69 -0
- package/src/stores/query/DataSpaceQueryEditorStore.ts +143 -0
- package/src/stores/query/DataSpaceQuerySetupState.ts +74 -75
- package/tsconfig.json +18 -9
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.d.ts.map +0 -1
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +0 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +0 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +0 -1
- package/lib/models/DSLDataSpace_ModelUtils.d.ts.map +0 -1
- package/lib/models/DSLDataSpace_ModelUtils.js.map +0 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +0 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +0 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +0 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +0 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetup.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,mBAA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e,KAAG,GACf,EACN,cAAK,SAAS,EAAC,6CAA6C,sCAEtD,IACF,GACY,CACrB,IACA,CACJ,IACG,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { type NewElementFromStateCreator, type ElementTypeGetter, type ElementProjectExplorerDnDTypeGetter, type ElementIconGetter, type
|
|
17
|
-
export declare class
|
|
16
|
+
import { type NewElementFromStateCreator, type ElementTypeGetter, type ElementProjectExplorerDnDTypeGetter, type ElementIconGetter, type DSL_LegendStudioApplicationPlugin_Extension, type ElementEditorStateCreator, type PureGrammarParserElementDocumentationGetter, type PureGrammarParserDocumentationGetter, type PureGrammarParserKeywordSuggestionGetter, type PureGrammarParserElementSnippetSuggestionsGetter, LegendStudioApplicationPlugin } from '@finos/legend-application-studio';
|
|
17
|
+
export declare class DSLDataSpace_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin implements DSL_LegendStudioApplicationPlugin_Extension {
|
|
18
18
|
constructor();
|
|
19
19
|
getExtraRequiredDocumentationKeys(): string[];
|
|
20
20
|
getExtraSupportedElementTypes(): string[];
|
|
@@ -29,4 +29,4 @@ export declare class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin
|
|
|
29
29
|
getExtraPureGrammarParserKeywordSuggestionGetters(): PureGrammarParserKeywordSuggestionGetter[];
|
|
30
30
|
getExtraPureGrammarParserElementSnippetSuggestionsGetters(): PureGrammarParserElementSnippetSuggestionsGetter[];
|
|
31
31
|
}
|
|
32
|
-
//# sourceMappingURL=
|
|
32
|
+
//# sourceMappingURL=DSLDataSpace_LegendStudioApplicationPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,2CAA2C,EAEhD,KAAK,yBAAyB,EAG9B,KAAK,2CAA2C,EAChD,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EAErD,6BAA6B,EAC9B,MAAM,kCAAkC,CAAC;AAwB1C,qBAAa,0CACX,SAAQ,6BACR,YAAW,2CAA2C;;IAM7C,iCAAiC,IAAI,MAAM,EAAE;IAOtD,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,mCAAmC,IAAI,0BAA0B,EAAE;IA0BnE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,4CAA4C,IAAI,mCAAmC,EAAE;IAWrF,qCAAqC,IAAI,MAAM,EAAE;IAIjD,oDAAoD,IAAI,2CAA2C,EAAE;IAmBrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;CAgBhH"}
|
|
@@ -15,18 +15,18 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import packageJson from '../../../package.json';
|
|
18
|
-
import { UnsupportedElementEditorState,
|
|
18
|
+
import { UnsupportedElementEditorState, LegendStudioApplicationPlugin, } from '@finos/legend-application-studio';
|
|
19
19
|
import { SquareIcon } from '@finos/legend-art';
|
|
20
20
|
import { PackageableElementExplicitReference, stub_Mapping, stub_PackageableRuntime, } from '@finos/legend-graph';
|
|
21
|
-
import { DataSpace, DataSpaceExecutionContext, } from '../../
|
|
21
|
+
import { DataSpace, DataSpaceExecutionContext, } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
22
22
|
import { DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSLDataSpace_LegendStudioDocumentation.js';
|
|
23
23
|
import { PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL, PURE_GRAMMAR_DATA_SPACE_PARSER_NAME, } from '../../graphManager/DSLDataSpace_PureGraphManagerPlugin.js';
|
|
24
24
|
import { SIMPLE_DATA_SPACE_SNIPPET } from './DSLDataSpace_CodeSnippets.js';
|
|
25
25
|
const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
|
|
26
26
|
const DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_DATA_SPACE';
|
|
27
|
-
export class
|
|
27
|
+
export class DSLDataSpace_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin {
|
|
28
28
|
constructor() {
|
|
29
|
-
super(packageJson.extensions.
|
|
29
|
+
super(packageJson.extensions.applicationStudioPlugin, packageJson.version);
|
|
30
30
|
}
|
|
31
31
|
getExtraRequiredDocumentationKeys() {
|
|
32
32
|
return [
|
|
@@ -146,4 +146,4 @@ export class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin {
|
|
|
146
146
|
];
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
//# sourceMappingURL=
|
|
149
|
+
//# sourceMappingURL=DSLDataSpace_LegendStudioApplicationPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAeL,6BAA6B,EAC7B,6BAA6B,GAC9B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,U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,KAAK,0CAA0C,EAAE;wBACjE,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,8CAA8C,CAAC,0BAA0B,CAC1E,CAAC;qBACH;iBACF;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,6CAA6C;QAC3C,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACW,EAAE;gBAClC,IAAI,aAAa,KAAK,mCAAmC,EAAE;oBACzD,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,8CAA8C,CAAC,cAAc,CAC9D,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iDAAiD;QAC/C,OAAO;YACL,CAAC,WAAwB,EAA+B,EAAE,CAAC;gBACzD;oBACE,IAAI,EAAE,mCAAmC;oBACzC,WAAW,EAAE,OAAO;oBACpB,aAAa,EACX,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAC3D,8CAA8C,CAAC,cAAc,CAC9D;oBACH,UAAU,EAAE,mCAAmC;iBAChD;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,mCAAmC;gBACnD,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,0CAA0C;wBAChD,UAAU,EAAE,yBAAyB;qBACtC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -18,4 +18,4 @@ export declare enum DATA_SPACE_HASH_STRUCTURE {
|
|
|
18
18
|
DATA_SPACE_EXECUTION_CONTEXT = "DATA_SPACE_EXECUTION_CONTEXT",
|
|
19
19
|
DATA_SPACE_SUPPORT_EMAIL = "DATA_SPACE_SUPPORT_EMAIL"
|
|
20
20
|
}
|
|
21
|
-
//# sourceMappingURL=
|
|
21
|
+
//# sourceMappingURL=DSLDataSpace_HashUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_HashUtils.d.ts","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,yBAAyB;IACnC,UAAU,eAAe;IACzB,4BAA4B,iCAAiC;IAC7D,wBAAwB,6BAA6B;CACtD"}
|
|
@@ -19,4 +19,4 @@ export var DATA_SPACE_HASH_STRUCTURE;
|
|
|
19
19
|
DATA_SPACE_HASH_STRUCTURE["DATA_SPACE_EXECUTION_CONTEXT"] = "DATA_SPACE_EXECUTION_CONTEXT";
|
|
20
20
|
DATA_SPACE_HASH_STRUCTURE["DATA_SPACE_SUPPORT_EMAIL"] = "DATA_SPACE_SUPPORT_EMAIL";
|
|
21
21
|
})(DATA_SPACE_HASH_STRUCTURE = DATA_SPACE_HASH_STRUCTURE || (DATA_SPACE_HASH_STRUCTURE = {}));
|
|
22
|
-
//# sourceMappingURL=
|
|
22
|
+
//# sourceMappingURL=DSLDataSpace_HashUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_HashUtils.js","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,sDAAyB,CAAA;IACzB,0FAA6D,CAAA;IAC7D,kFAAqD,CAAA;AACvD,CAAC,EAJW,yBAAyB,GAAzB,yBAAyB,KAAzB,yBAAyB,QAIpC"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import packageJson from '../../package.json';
|
|
17
|
-
import { DataSpace } from '../
|
|
17
|
+
import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
18
18
|
import { PureGraphPlugin } from '@finos/legend-graph';
|
|
19
19
|
export class DSLDataSpace_PureGraphPlugin extends PureGraphPlugin {
|
|
20
20
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,uFAAuF,CAAC;AAElH,OAAO,EAA2B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE/E,MAAM,OAAO,4BAA6B,SAAQ,eAAe;IAC/D;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAEQ,iCAAiC;QACxC,OAAO,CAAC,SAAS,CAAC,CAAC;IACrB,CAAC;CACF"}
|
|
@@ -34,6 +34,7 @@ export declare class DataSpace extends PackageableElement implements Hashable {
|
|
|
34
34
|
executionContexts: DataSpaceExecutionContext[];
|
|
35
35
|
defaultExecutionContext: DataSpaceExecutionContext;
|
|
36
36
|
featuredDiagrams?: PackageableElementReference<Diagram>[] | undefined;
|
|
37
|
+
title?: string | undefined;
|
|
37
38
|
description?: string | undefined;
|
|
38
39
|
supportInfo?: DataSpaceSupportInfo | undefined;
|
|
39
40
|
protected get _elementHashCode(): string;
|
package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_DataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../src/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,KAAK,2BAA2B,EAChC,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC/B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAEnE,8BAAsB,oBAAqB,YAAW,QAAQ;IAC5D,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,qBACX,SAAQ,oBACR,YAAW,QAAQ;IAEnB,OAAO,EAAG,MAAM,CAAC;IAEjB,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF;AAED,qBAAa,yBAA0B,YAAW,QAAQ;IACxD,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,2BAA2B,CAAC,OAAO,CAAC,CAAC;IAC/C,cAAc,EAAG,2BAA2B,CAAC,kBAAkB,CAAC,CAAC;IAEjE,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF;AAED,qBAAa,SAAU,SAAQ,kBAAmB,YAAW,QAAQ;IACnE,iBAAiB,EAAE,yBAAyB,EAAE,CAAM;IACpD,uBAAuB,EAAG,yBAAyB,CAAC;IACpD,gBAAgB,CAAC,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAAE,GAAG,SAAS,CAAC;IACtE,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAE/C,cAAuB,gBAAgB,IAAI,MAAM,CAkBhD;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,GACpC,CAAC;CAGL"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
|
17
17
|
import { PackageableElement, } from '@finos/legend-graph';
|
|
18
|
-
import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../
|
|
18
|
+
import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSLDataSpace_HashUtils.js';
|
|
19
19
|
export class DataSpaceSupportInfo {
|
|
20
20
|
}
|
|
21
21
|
export class DataSpaceSupportEmail extends DataSpaceSupportInfo {
|
|
@@ -46,6 +46,7 @@ export class DataSpace extends PackageableElement {
|
|
|
46
46
|
executionContexts = [];
|
|
47
47
|
defaultExecutionContext;
|
|
48
48
|
featuredDiagrams;
|
|
49
|
+
title;
|
|
49
50
|
description;
|
|
50
51
|
supportInfo;
|
|
51
52
|
get _elementHashCode() {
|
|
@@ -56,6 +57,7 @@ export class DataSpace extends PackageableElement {
|
|
|
56
57
|
hashArray(this.executionContexts),
|
|
57
58
|
this.defaultExecutionContext.name,
|
|
58
59
|
hashArray((this.featuredDiagrams ?? []).map((diagram) => diagram.valueForSerialization ?? '')),
|
|
60
|
+
this.title ?? '',
|
|
59
61
|
this.description ?? '',
|
|
60
62
|
this.supportInfo ?? '',
|
|
61
63
|
]);
|
package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_DataSpace.js","sourceRoot":"","sources":["../../../../../../../src/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAA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S,CACP,CAAC,IAAI,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,GAAG,CAC/B,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE,CACjD,CACF;YACD,IAAI,CAAC,KAAK,IAAI,EAAE;YAChB,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,WAAW,IAAI,EAAE;SACvB,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { BasicModel, PureModel } from '@finos/legend-graph';
|
|
17
|
-
import { DataSpace } from '../
|
|
17
|
+
import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
18
18
|
export declare const getDataSpace: (path: string, graph: PureModel) => DataSpace;
|
|
19
19
|
export declare const getOwnDataSpace: (path: string, graph: BasicModel) => DataSpace;
|
|
20
20
|
//# sourceMappingURL=DSLDataSpace_GraphManagerHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_GraphManagerHelper.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_GraphManagerHelper.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,EAAE,SAAS,EAAE,MAAM,uFAAuF,CAAC;AAElH,eAAO,MAAM,YAAY,SAAU,MAAM,SAAS,SAAS,KAAG,SACiB,CAAC;AAEhF,eAAO,MAAM,eAAe,SAAU,MAAM,SAAS,UAAU,KAAG,SAI/D,CAAC"}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
17
|
-
import { DataSpace } from '../
|
|
17
|
+
import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
18
18
|
export const getDataSpace = (path, graph) => graph.getExtensionElement(path, DataSpace, `Can't find data space '${path}'`);
|
|
19
19
|
export const getOwnDataSpace = (path, graph) => guaranteeNonNullable(graph.getOwnNullableExtensionElement(path, DataSpace), `Can't find data space '${path}'`);
|
|
20
20
|
//# sourceMappingURL=DSLDataSpace_GraphManagerHelper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_GraphManagerHelper.js","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_GraphManagerHelper.js","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,uFAAuF,CAAC;AAElH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,KAAgB,EAAa,EAAE,CACxE,KAAK,CAAC,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,0BAA0B,IAAI,GAAG,CAAC,CAAC;AAEhF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAY,EAAE,KAAiB,EAAa,EAAE,CAC5E,oBAAoB,CAClB,KAAK,CAAC,8BAA8B,CAAC,IAAI,EAAE,SAAS,CAAC,EACrD,0BAA0B,IAAI,GAAG,CAClC,CAAC"}
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { PureGraphManagerPlugin, type ElementObserver, type PureGrammarElementLabeler } from '@finos/legend-graph';
|
|
16
|
+
import { PureGraphManagerPlugin, type ElementObserver, type PureGrammarElementLabeler, type PureGraphManagerExtensionBuilder } from '@finos/legend-graph';
|
|
17
17
|
export declare const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = "DataSpace";
|
|
18
18
|
export declare const PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL = "DataSpace";
|
|
19
19
|
export declare class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin {
|
|
20
20
|
constructor();
|
|
21
|
+
getExtraPureGraphManagerExtensionBuilders(): PureGraphManagerExtensionBuilder[];
|
|
21
22
|
getExtraPureGrammarParserNames(): string[];
|
|
22
23
|
getExtraPureGrammarKeywords(): string[];
|
|
23
24
|
getExtraPureGrammarElementLabelers(): PureGrammarElementLabeler[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,sBAAsB,EAEtB,KAAK,eAAe,EAEpB,KAAK,yBAAyB,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,sBAAsB,EAEtB,KAAK,eAAe,EAEpB,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,EACtC,MAAM,qBAAqB,CAAC;AAI7B,eAAO,MAAM,mCAAmC,cAAc,CAAC;AAC/D,eAAO,MAAM,0CAA0C,cAAc,CAAC;AAEtE,qBAAa,mCAAoC,SAAQ,sBAAsB;;IAKpE,yCAAyC,IAAI,gCAAgC,EAAE;IAI/E,8BAA8B,IAAI,MAAM,EAAE;IAI1C,2BAA2B,IAAI,MAAM,EAAE;IAIvC,kCAAkC,IAAI,yBAAyB,EAAE;IAWjE,wBAAwB,IAAI,eAAe,EAAE;CAavD"}
|
|
@@ -14,15 +14,19 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import packageJson from '../../package.json';
|
|
17
|
-
import { DataSpace } from '../
|
|
17
|
+
import { DataSpace } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
18
18
|
import { PureGraphManagerPlugin, } from '@finos/legend-graph';
|
|
19
19
|
import { observe_DataSpace } from './action/changeDetection/DSLDataSpace_ObserverHelper.js';
|
|
20
|
+
import { DSLDataSpace_buildGraphManagerExtension } from './protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js';
|
|
20
21
|
export const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = 'DataSpace';
|
|
21
22
|
export const PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL = 'DataSpace';
|
|
22
23
|
export class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin {
|
|
23
24
|
constructor() {
|
|
24
25
|
super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
|
|
25
26
|
}
|
|
27
|
+
getExtraPureGraphManagerExtensionBuilders() {
|
|
28
|
+
return [DSLDataSpace_buildGraphManagerExtension];
|
|
29
|
+
}
|
|
26
30
|
getExtraPureGrammarParserNames() {
|
|
27
31
|
return [PURE_GRAMMAR_DATA_SPACE_PARSER_NAME];
|
|
28
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,uFAAuF,CAAC;AAClH,OAAO,EACL,sBAAsB,GAMvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AAC5F,OAAO,EAAE,uCAAuC,EAAE,MAAM,kEAAkE,CAAC;AAE3H,MAAM,CAAC,MAAM,mCAAmC,GAAG,WAAW,CAAC;AAC/D,MAAM,CAAC,MAAM,0CAA0C,GAAG,WAAW,CAAC;AAEtE,MAAM,OAAO,mCAAoC,SAAQ,sBAAsB;IAC7E;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,sBAAsB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEQ,yCAAyC;QAChD,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACnD,CAAC;IAEQ,8BAA8B;QACrC,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAC/C,CAAC;IAEQ,2BAA2B;QAClC,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACtD,CAAC;IAEQ,kCAAkC;QACzC,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,0CAA0C,CAAC;iBACnD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,wBAAwB;QAC/B,OAAO;YACL,CACE,OAA2B,EAC3B,OAAwB,EACQ,EAAE;gBAClC,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,iBAAiB,CAAC,OAAO,CAAC,CAAC;iBACnC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
import type { Diagram } from '@finos/legend-extension-dsl-diagram';
|
|
17
|
+
import type { Mapping, PackageableRuntime, PureModel } from '@finos/legend-graph';
|
|
18
|
+
import type { DataSpaceSupportInfo } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
19
|
+
export declare class DataSpaceExecutionContextAnalysisResult {
|
|
20
|
+
name: string;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
mapping: Mapping;
|
|
23
|
+
defaultRuntime: PackageableRuntime;
|
|
24
|
+
compatibleRuntimes: PackageableRuntime[];
|
|
25
|
+
}
|
|
26
|
+
export declare class DataSpaceTaggedValueInfo {
|
|
27
|
+
readonly _UUID: string;
|
|
28
|
+
profile: string;
|
|
29
|
+
tag: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}
|
|
32
|
+
export declare class DataSpaceStereotypeInfo {
|
|
33
|
+
readonly _UUID: string;
|
|
34
|
+
profile: string;
|
|
35
|
+
value: string;
|
|
36
|
+
}
|
|
37
|
+
export declare class DataSpaceAnalysisResult {
|
|
38
|
+
name: string;
|
|
39
|
+
package: string;
|
|
40
|
+
path: string;
|
|
41
|
+
taggedValues: DataSpaceTaggedValueInfo[];
|
|
42
|
+
stereotypes: DataSpaceStereotypeInfo[];
|
|
43
|
+
title?: string | undefined;
|
|
44
|
+
description?: string | undefined;
|
|
45
|
+
supportInfo?: DataSpaceSupportInfo | undefined;
|
|
46
|
+
graph: PureModel;
|
|
47
|
+
executionContextsIndex: Map<string, DataSpaceExecutionContextAnalysisResult>;
|
|
48
|
+
defaultExecutionContext: DataSpaceExecutionContextAnalysisResult;
|
|
49
|
+
featuredDiagrams: Diagram[];
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=DataSpaceAnalysis.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceAnalysis.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,KAAK,EACV,OAAO,EACP,kBAAkB,EAClB,SAAS,EACV,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6FAA6F,CAAC;AAExI,qBAAa,uCAAuC;IAClD,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,OAAO,CAAC;IAClB,cAAc,EAAG,kBAAkB,CAAC;IACpC,kBAAkB,EAAG,kBAAkB,EAAE,CAAC;CAC3C;AAED,qBAAa,wBAAwB;IACnC,QAAQ,CAAC,KAAK,SAAU;IAExB,OAAO,EAAG,MAAM,CAAC;IACjB,GAAG,EAAG,MAAM,CAAC;IACb,KAAK,EAAG,MAAM,CAAC;CAChB;AAED,qBAAa,uBAAuB;IAClC,QAAQ,CAAC,KAAK,SAAU;IAExB,OAAO,EAAG,MAAM,CAAC;IACjB,KAAK,EAAG,MAAM,CAAC;CAChB;AAED,qBAAa,uBAAuB;IAClC,IAAI,EAAG,MAAM,CAAC;IACd,OAAO,EAAG,MAAM,CAAC;IACjB,IAAI,EAAG,MAAM,CAAC;IACd,YAAY,EAAE,wBAAwB,EAAE,CAAM;IAC9C,WAAW,EAAE,uBAAuB,EAAE,CAAM;IAC5C,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAE/C,KAAK,EAAG,SAAS,CAAC;IAElB,sBAAsB,EAAG,GAAG,CAAC,MAAM,EAAE,uCAAuC,CAAC,CAAC;IAC9E,uBAAuB,EAAG,uCAAuC,CAAC;IAElE,gBAAgB,EAAE,OAAO,EAAE,CAAM;CAClC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
import { uuid } from '@finos/legend-shared';
|
|
17
|
+
export class DataSpaceExecutionContextAnalysisResult {
|
|
18
|
+
name;
|
|
19
|
+
description;
|
|
20
|
+
mapping;
|
|
21
|
+
defaultRuntime;
|
|
22
|
+
compatibleRuntimes;
|
|
23
|
+
}
|
|
24
|
+
export class DataSpaceTaggedValueInfo {
|
|
25
|
+
_UUID = uuid();
|
|
26
|
+
profile;
|
|
27
|
+
tag;
|
|
28
|
+
value;
|
|
29
|
+
}
|
|
30
|
+
export class DataSpaceStereotypeInfo {
|
|
31
|
+
_UUID = uuid();
|
|
32
|
+
profile;
|
|
33
|
+
value;
|
|
34
|
+
}
|
|
35
|
+
export class DataSpaceAnalysisResult {
|
|
36
|
+
name;
|
|
37
|
+
package;
|
|
38
|
+
path;
|
|
39
|
+
taggedValues = [];
|
|
40
|
+
stereotypes = [];
|
|
41
|
+
title;
|
|
42
|
+
description;
|
|
43
|
+
supportInfo;
|
|
44
|
+
graph;
|
|
45
|
+
executionContextsIndex;
|
|
46
|
+
defaultExecutionContext;
|
|
47
|
+
featuredDiagrams = [];
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=DataSpaceAnalysis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAG5C,MAAM,OAAO,uCAAuC;IAClD,IAAI,CAAU;IACd,WAAW,CAAsB;IACjC,OAAO,CAAW;IAClB,cAAc,CAAsB;IACpC,kBAAkB,CAAwB;CAC3C;AAED,MAAM,OAAO,wBAAwB;IAC1B,KAAK,GAAG,IAAI,EAAE,CAAC;IAExB,OAAO,CAAU;IACjB,GAAG,CAAU;IACb,KAAK,CAAU;CAChB;AAED,MAAM,OAAO,uBAAuB;IACzB,KAAK,GAAG,IAAI,EAAE,CAAC;IAExB,OAAO,CAAU;IACjB,KAAK,CAAU;CAChB;AAED,MAAM,OAAO,uBAAuB;IAClC,IAAI,CAAU;IACd,OAAO,CAAU;IACjB,IAAI,CAAU;IACd,YAAY,GAA+B,EAAE,CAAC;IAC9C,WAAW,GAA8B,EAAE,CAAC;IAC5C,KAAK,CAAsB;IAC3B,WAAW,CAAsB;IACjC,WAAW,CAAoC;IAE/C,KAAK,CAAa;IAElB,sBAAsB,CAAwD;IAC9E,uBAAuB,CAA2C;IAElE,gBAAgB,GAAc,EAAE,CAAC;CAClC"}
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type { DataSpace } from '../../../
|
|
16
|
+
import type { DataSpace } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
17
17
|
export declare const observe_DataSpace: (metamodel: DataSpace) => DataSpace;
|
|
18
18
|
//# sourceMappingURL=DSLDataSpace_ObserverHelper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_ObserverHelper.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_ObserverHelper.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6FAA6F,CAAC;AAE7H,eAAO,MAAM,iBAAiB,qCAmB7B,CAAC"}
|
|
@@ -20,6 +20,7 @@ export const observe_DataSpace = skipObserved((metamodel) => {
|
|
|
20
20
|
makeObservable(metamodel, {
|
|
21
21
|
_elementHashCode: override,
|
|
22
22
|
});
|
|
23
|
+
// TODO
|
|
23
24
|
// metamodel.executionContexts.forEach(observe_DataSpaceExecutionContext);
|
|
24
25
|
// observe_DataSpaceExecutionContext(metamodel.defaultExecutionContext);
|
|
25
26
|
// if (metamodel.supportInfo) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_ObserverHelper.js","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mCAAmC,EACnC,2BAA2B,EAC3B,mBAAmB,EACnB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAGhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,YAAY,CAC3C,CAAC,SAAoB,EAAa,EAAE;IAClC,mCAAmC,CAAC,SAAS,CAAC,CAAC;IAE/C,cAAc,CAAgC,SAAS,EAAE;QACvD,gBAAgB,EAAE,QAAQ;KAC3B,CAAC,CAAC;IAEH,0EAA0E;IAC1E,wEAAwE;IACxE,+BAA+B;IAC/B,yDAAyD;IACzD,IAAI;IACJ,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC;IAC3D,SAAS,CAAC,YAAY,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEpD,OAAO,SAAS,CAAC;AACnB,CAAC,CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_ObserverHelper.js","sourceRoot":"","sources":["../../../../src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mCAAmC,EACnC,2BAA2B,EAC3B,mBAAmB,EACnB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAGhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,YAAY,CAC3C,CAAC,SAAoB,EAAa,EAAE;IAClC,mCAAmC,CAAC,SAAS,CAAC,CAAC;IAE/C,cAAc,CAAgC,SAAS,EAAE;QACvD,gBAAgB,EAAE,QAAQ;KAC3B,CAAC,CAAC;IAEH,OAAO;IACP,0EAA0E;IAC1E,wEAAwE;IACxE,+BAA+B;IAC/B,yDAAyD;IACzD,IAAI;IACJ,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC;IAC3D,SAAS,CAAC,YAAY,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAEpD,OAAO,SAAS,CAAC;AACnB,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
import { type AbstractPureGraphManager, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
|
|
17
|
+
import type { Entity } from '@finos/legend-storage';
|
|
18
|
+
import type { DataSpaceAnalysisResult } from '../../action/analytics/DataSpaceAnalysis.js';
|
|
19
|
+
export declare abstract class DSLDataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
|
|
20
|
+
abstract analyzeDataSpace(dataSpacePath: string, entities: Entity[], dependencyEntitiesIndex: Map<string, Entity[]>): Promise<DataSpaceAnalysisResult>;
|
|
21
|
+
}
|
|
22
|
+
export declare const getDSLDataSpaceGraphManagerExtension: (graphManager: AbstractPureGraphManager) => DSLDataSpace_PureGraphManagerExtension;
|
|
23
|
+
//# sourceMappingURL=DSLDataSpace_PureGraphManagerExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAE3F,8BAAsB,sCAAuC,SAAQ,iCAAiC;IACpG,QAAQ,CAAC,gBAAgB,CACvB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAC7C,OAAO,CAAC,uBAAuB,CAAC;CACpC;AAED,eAAO,MAAM,oCAAoC,iBACjC,wBAAwB,KACrC,sCAO0C,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
import { AbstractPureGraphManagerExtension, } from '@finos/legend-graph';
|
|
17
|
+
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
18
|
+
export class DSLDataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
|
|
19
|
+
}
|
|
20
|
+
export const getDSLDataSpaceGraphManagerExtension = (graphManager) => guaranteeNonNullable(graphManager.extensions.find((extension) => extension instanceof DSLDataSpace_PureGraphManagerExtension), `Can't find DSL Data Space Pure graph manager extension`);
|
|
21
|
+
//# sourceMappingURL=DSLDataSpace_PureGraphManagerExtension.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAG5D,MAAM,OAAgB,sCAAuC,SAAQ,iCAAiC;CAMrG;AAED,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAClD,YAAsC,EACE,EAAE,CAC1C,oBAAoB,CAClB,YAAY,CAAC,UAAU,CAAC,IAAI,CAC1B,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,YAAY,sCAAsC,CAC9D,EACD,wDAAwD,CACf,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
import type { AbstractPureGraphManager, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
|
|
17
|
+
export declare const DSLDataSpace_buildGraphManagerExtension: (graphManager: AbstractPureGraphManager) => AbstractPureGraphManagerExtension;
|
|
18
|
+
//# sourceMappingURL=DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,wBAAwB,EACxB,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAG7B,eAAO,MAAM,uCAAuC,iBACpC,wBAAwB,KACrC,iCAE0D,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
import { V1_DSLDataSpace_PureGraphManagerExtension } from './v1/V1_DSLDataSpace_PureGraphManagerExtension.js';
|
|
17
|
+
export const DSLDataSpace_buildGraphManagerExtension = (graphManager) =>
|
|
18
|
+
// NOTE: until we support more client versions, we always default to return V1
|
|
19
|
+
new V1_DSLDataSpace_PureGraphManagerExtension(graphManager);
|
|
20
|
+
//# sourceMappingURL=DSLDataSpace_PureGraphManagerExtensionBuilder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerExtensionBuilder.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,yCAAyC,EAAE,MAAM,mDAAmD,CAAC;AAE9G,MAAM,CAAC,MAAM,uCAAuC,GAAG,CACrD,YAAsC,EACH,EAAE;AACrC,8EAA8E;AAC9E,IAAI,yCAAyC,CAAC,YAAY,CAAC,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,uEAAuE,CAAC;AAC/E,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAY9B,OAAO,EAEL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAS5B,2BAA2B,EAC3B,iBAAiB,EAGlB,MAAM,qBAAqB,CAAC;AAM7B,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQ9E,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IAoGxE,uBAAuB,IAAI,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAIjE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;CA4DnE;AAED,eAAO,MAAM,6BAA6B,SAClC,YAAY,YAAY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
|
|
@@ -20,7 +20,7 @@ import { guaranteeNonEmptyString, guaranteeNonNullable, UnsupportedOperationErro
|
|
|
20
20
|
import { deserialize, serialize } from 'serializr';
|
|
21
21
|
import { V1_dataSpaceModelSchema, V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE, } from './v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js';
|
|
22
22
|
import { getOwnDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper.js';
|
|
23
|
-
import { DataSpace, DataSpaceExecutionContext, DataSpaceSupportEmail, } from '
|
|
23
|
+
import { DataSpace, DataSpaceExecutionContext, DataSpaceSupportEmail, } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
24
24
|
import { V1_taggedValueSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_buildFullPath, } from '@finos/legend-graph';
|
|
25
25
|
import { V1_DSLDiagram_PackageableElementPointerType, getDiagram, } from '@finos/legend-extension-dsl-diagram';
|
|
26
26
|
export const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = 'meta::pure::metamodel::dataSpace::DataSpace';
|
|
@@ -61,6 +61,7 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
61
61
|
});
|
|
62
62
|
element.defaultExecutionContext = guaranteeNonNullable(element.executionContexts.find((execContext) => execContext.name ===
|
|
63
63
|
guaranteeNonEmptyString(elementProtocol.defaultExecutionContext, `Data space 'defaultExecutionContext' field is missing or empty`)), `Can't find default execution context '${elementProtocol.defaultExecutionContext}'`);
|
|
64
|
+
element.title = elementProtocol.title;
|
|
64
65
|
element.description = elementProtocol.description;
|
|
65
66
|
if (elementProtocol.featuredDiagrams) {
|
|
66
67
|
element.featuredDiagrams = elementProtocol.featuredDiagrams.map((pointer) => PackageableElementExplicitReference.create(getDiagram(pointer.path, context.graph)));
|
|
@@ -130,6 +131,7 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
130
131
|
});
|
|
131
132
|
protocol.defaultExecutionContext =
|
|
132
133
|
metamodel.defaultExecutionContext.name;
|
|
134
|
+
protocol.title = metamodel.title;
|
|
133
135
|
protocol.description = metamodel.description;
|
|
134
136
|
protocol.featuredDiagrams = metamodel.featuredDiagrams?.map((diagramPath) => new V1_PackageableElementPointer(V1_DSLDiagram_PackageableElementPointerType, diagramPath.valueForSerialization ?? ''));
|
|
135
137
|
if (metamodel.supportInfo) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,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C;YAClD,CAAC,CAAC,CAAC;SACN;KACF;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
import { V1_PureGraphManager, type AbstractPureGraphManager } from '@finos/legend-graph';
|
|
17
|
+
import type { Entity } from '@finos/legend-storage';
|
|
18
|
+
import { DataSpaceAnalysisResult } from '../../../action/analytics/DataSpaceAnalysis.js';
|
|
19
|
+
import { DSLDataSpace_PureGraphManagerExtension } from '../DSLDataSpace_PureGraphManagerExtension.js';
|
|
20
|
+
export declare class V1_DSLDataSpace_PureGraphManagerExtension extends DSLDataSpace_PureGraphManagerExtension {
|
|
21
|
+
graphManager: V1_PureGraphManager;
|
|
22
|
+
constructor(graphManager: AbstractPureGraphManager);
|
|
23
|
+
getSupportedProtocolVersion(): string;
|
|
24
|
+
analyzeDataSpace(dataSpacePath: string, entities: Entity[], dependencyEntitiesIndex: Map<string, Entity[]>): Promise<DataSpaceAnalysisResult>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V1_DSLDataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,mBAAmB,EAEnB,KAAK,wBAAwB,EAS9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAYpD,OAAO,EACL,uBAAuB,EAIxB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,sCAAsC,EAAE,MAAM,8CAA8C,CAAC;AAKtG,qBAAa,yCAA0C,SAAQ,sCAAsC;IAC3F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAI/B,gBAAgB,CACpB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAC7C,OAAO,CAAC,uBAAuB,CAAC;CAkMpC"}
|