@finos/legend-extension-dsl-data-space 4.0.4 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/lib/DSLDataSpace_Const.d.ts +18 -0
  2. package/lib/DSLDataSpace_Const.d.ts.map +1 -0
  3. package/lib/DSLDataSpace_Const.js +20 -0
  4. package/lib/DSLDataSpace_Const.js.map +1 -0
  5. package/lib/DSLDataSpace_Extension.d.ts +1 -1
  6. package/lib/DSLDataSpace_Extension.d.ts.map +1 -1
  7. package/lib/DSLDataSpace_Extension.js +3 -3
  8. package/lib/DSLDataSpace_Extension.js.map +1 -1
  9. package/lib/components/DataSpaceViewer.d.ts.map +1 -1
  10. package/lib/components/DataSpaceViewer.js +30 -27
  11. package/lib/components/DataSpaceViewer.js.map +1 -1
  12. package/lib/components/query/{DSLDataSpace_LegendQueryPlugin.d.ts → DSLDataSpace_LegendQueryApplicationPlugin.d.ts} +6 -3
  13. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -0
  14. package/lib/components/query/{DSLDataSpace_LegendQueryPlugin.js → DSLDataSpace_LegendQueryApplicationPlugin.js} +28 -4
  15. package/lib/components/query/DSLDataSpace_LegendQueryApplicationPlugin.js.map +1 -0
  16. package/lib/components/query/DataSpaceQueryEditor.d.ts +20 -0
  17. package/lib/components/query/DataSpaceQueryEditor.d.ts.map +1 -0
  18. package/lib/components/query/DataSpaceQueryEditor.js +43 -0
  19. package/lib/components/query/DataSpaceQueryEditor.js.map +1 -0
  20. package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
  21. package/lib/components/query/DataSpaceQuerySetup.js +4 -17
  22. package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
  23. package/lib/components/studio/{DSLDataSpace_LegendStudioPlugin.d.ts → DSLDataSpace_LegendStudioApplicationPlugin.d.ts} +3 -3
  24. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -0
  25. package/lib/components/studio/{DSLDataSpace_LegendStudioPlugin.js → DSLDataSpace_LegendStudioApplicationPlugin.js} +5 -5
  26. package/lib/components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js.map +1 -0
  27. package/lib/{models/DSLDataSpace_ModelUtils.d.ts → graph/DSLDataSpace_HashUtils.d.ts} +1 -1
  28. package/lib/graph/DSLDataSpace_HashUtils.d.ts.map +1 -0
  29. package/lib/{models/DSLDataSpace_ModelUtils.js → graph/DSLDataSpace_HashUtils.js} +1 -1
  30. package/lib/graph/DSLDataSpace_HashUtils.js.map +1 -0
  31. package/lib/graph/DSLDataSpace_PureGraphPlugin.js +1 -1
  32. package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +1 -1
  33. package/lib/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts +0 -0
  34. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +1 -0
  35. package/lib/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js +1 -1
  36. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +1 -0
  37. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts +1 -1
  38. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts.map +1 -1
  39. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js +1 -1
  40. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js.map +1 -1
  41. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts +2 -1
  42. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts.map +1 -1
  43. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +5 -1
  44. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
  45. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +50 -0
  46. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -0
  47. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +48 -0
  48. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -0
  49. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts +1 -1
  50. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts.map +1 -1
  51. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js +1 -0
  52. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.js.map +1 -1
  53. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.d.ts +23 -0
  54. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
  55. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js +21 -0
  56. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
  57. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts +18 -0
  58. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
  59. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js +20 -0
  60. package/lib/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.js.map +1 -0
  61. package/lib/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +0 -0
  62. package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -0
  63. package/lib/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +1 -1
  64. package/lib/graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -0
  65. package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts +26 -0
  66. package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.d.ts.map +1 -0
  67. package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js +131 -0
  68. package/lib/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.js.map +1 -0
  69. package/lib/{models/protocols → graphManager/protocol}/pure/v1/V1_DSLDataSpace_SystemModels.json +0 -0
  70. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +53 -0
  71. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -0
  72. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +78 -0
  73. package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -0
  74. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts +0 -0
  75. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +1 -0
  76. package/lib/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js +1 -1
  77. package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +1 -0
  78. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts +1 -1
  79. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +1 -0
  80. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js +0 -0
  81. package/lib/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +1 -0
  82. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts +3 -1
  83. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -0
  84. package/lib/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +1 -1
  85. package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -0
  86. package/lib/index.css +2 -2
  87. package/lib/index.css.map +1 -1
  88. package/lib/index.d.ts +5 -3
  89. package/lib/index.d.ts.map +1 -1
  90. package/lib/index.js +5 -3
  91. package/lib/index.js.map +1 -1
  92. package/lib/package.json +15 -14
  93. package/lib/stores/DataSpaceViewerState.d.ts +7 -11
  94. package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
  95. package/lib/stores/DataSpaceViewerState.js +10 -32
  96. package/lib/stores/DataSpaceViewerState.js.map +1 -1
  97. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts +32 -0
  98. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.d.ts.map +1 -0
  99. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js +34 -0
  100. package/lib/stores/query/DSLDataSpace_LegendQueryRouter.js.map +1 -0
  101. package/lib/stores/query/DataSpaceQueryEditorStore.d.ts +31 -0
  102. package/lib/stores/query/DataSpaceQueryEditorStore.d.ts.map +1 -0
  103. package/lib/stores/query/DataSpaceQueryEditorStore.js +87 -0
  104. package/lib/stores/query/DataSpaceQueryEditorStore.js.map +1 -0
  105. package/lib/stores/query/DataSpaceQuerySetupState.d.ts +4 -5
  106. package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
  107. package/lib/stores/query/DataSpaceQuerySetupState.js +35 -45
  108. package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
  109. package/package.json +22 -21
  110. package/src/DSLDataSpace_Const.ts +20 -0
  111. package/src/DSLDataSpace_Extension.ts +3 -3
  112. package/src/components/DataSpaceViewer.tsx +56 -66
  113. package/src/components/query/{DSLDataSpace_LegendQueryPlugin.tsx → DSLDataSpace_LegendQueryApplicationPlugin.tsx} +41 -4
  114. package/src/components/query/DataSpaceQueryEditor.tsx +106 -0
  115. package/src/components/query/DataSpaceQuerySetup.tsx +23 -32
  116. package/src/components/studio/{DSLDataSpace_LegendStudioPlugin.tsx → DSLDataSpace_LegendStudioApplicationPlugin.tsx} +11 -11
  117. package/src/{models/DSLDataSpace_ModelUtils.ts → graph/DSLDataSpace_HashUtils.ts} +0 -0
  118. package/src/graph/DSLDataSpace_PureGraphPlugin.ts +1 -1
  119. package/src/{models/metamodels → graph/metamodel}/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts +1 -1
  120. package/src/graphManager/DSLDataSpace_GraphManagerHelper.ts +1 -1
  121. package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +7 -1
  122. package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +64 -0
  123. package/src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts +2 -1
  124. package/src/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.ts +42 -0
  125. package/src/graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtensionBuilder.ts +27 -0
  126. package/src/{models/protocols → graphManager/protocol}/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +1 -1
  127. package/src/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts +228 -0
  128. package/src/{models/protocols → graphManager/protocol}/pure/v1/V1_DSLDataSpace_SystemModels.json +0 -0
  129. package/src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +117 -0
  130. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts +1 -1
  131. package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts +1 -1
  132. package/src/{models/protocols → graphManager/protocol}/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +1 -1
  133. package/src/index.ts +5 -3
  134. package/src/stores/DataSpaceViewerState.ts +23 -54
  135. package/src/stores/query/DSLDataSpace_LegendQueryRouter.ts +69 -0
  136. package/src/stores/query/DataSpaceQueryEditorStore.ts +141 -0
  137. package/src/stores/query/DataSpaceQuerySetupState.ts +67 -75
  138. package/tsconfig.json +18 -9
  139. package/lib/components/query/DSLDataSpace_LegendQueryPlugin.d.ts.map +0 -1
  140. package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +0 -1
  141. package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +0 -1
  142. package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +0 -1
  143. package/lib/models/DSLDataSpace_ModelUtils.d.ts.map +0 -1
  144. package/lib/models/DSLDataSpace_ModelUtils.js.map +0 -1
  145. package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +0 -1
  146. package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +0 -1
  147. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +0 -1
  148. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +0 -1
  149. package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.d.ts.map +0 -1
  150. package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +0 -1
  151. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +0 -1
  152. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +0 -1
  153. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +0 -1
  154. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +0 -1
@@ -0,0 +1,131 @@
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 { getDiagram } from '@finos/legend-extension-dsl-diagram';
17
+ import { PureModel, V1_PureGraphManager, PureClientVersion, CoreModel, SystemModel, V1_Mapping, resolvePackagePathAndElementName, V1_PureModelContextType, V1_PackageableRuntime, V1_EngineRuntime, } from '@finos/legend-graph';
18
+ import { ActionState, guaranteeNonEmptyString, guaranteeNonNullable, guaranteeType, uniq, } from '@finos/legend-shared';
19
+ import { DataSpaceSupportEmail } from '../../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
20
+ import { V1_DataSpaceSupportEmail } from '../../../../graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
21
+ import { DataSpaceAnalysisResult, DataSpaceExecutionContextAnalysisResult, DataSpaceStereotypeInfo, DataSpaceTaggedValueInfo, } from '../../../action/analytics/DataSpaceAnalysis.js';
22
+ import { DSLDataSpace_PureGraphManagerExtension } from '../DSLDataSpace_PureGraphManagerExtension.js';
23
+ import { V1_DataSpaceAnalysisResult } from './engine/analytics/V1_DataSpaceAnalysis.js';
24
+ const ANALYZE_DATA_SPACE_TRACE = 'analyze data space';
25
+ export class V1_DSLDataSpace_PureGraphManagerExtension extends DSLDataSpace_PureGraphManagerExtension {
26
+ constructor(graphManager) {
27
+ super(graphManager);
28
+ this.graphManager = guaranteeType(graphManager, V1_PureGraphManager);
29
+ }
30
+ getSupportedProtocolVersion() {
31
+ return PureClientVersion.V1_0_0;
32
+ }
33
+ async analyzeDataSpace(dataSpacePath, entities, dependencyEntitiesIndex) {
34
+ // prepare graph data for analysis
35
+ // NOTE: we don't do serialization roundtrip here to save time
36
+ const graphDataForAnalysis = {
37
+ _type: V1_PureModelContextType.DATA,
38
+ elements: Array.from(dependencyEntitiesIndex.values())
39
+ .flat()
40
+ .concat(entities)
41
+ .map((entity) => entity.content),
42
+ };
43
+ const engineServerClient = this.graphManager.engine.getEngineServerClient();
44
+ const analysisResult = V1_DataSpaceAnalysisResult.serialization.fromJson(await engineServerClient.postWithTracing(engineServerClient.getTraceData(ANALYZE_DATA_SPACE_TRACE), `${engineServerClient._pure()}/analytics/dataSpace/render`, {
45
+ clientVersion: V1_PureGraphManager.TARGET_PROTOCOL_VERSION,
46
+ dataSpace: dataSpacePath,
47
+ model: graphDataForAnalysis,
48
+ }, {}, undefined, undefined, { enableCompression: true }));
49
+ const result = new DataSpaceAnalysisResult();
50
+ result.name = analysisResult.name;
51
+ result.package = analysisResult.package;
52
+ result.path = analysisResult.path;
53
+ result.description = analysisResult.description;
54
+ result.taggedValues = analysisResult.taggedValues.map((taggedValue) => {
55
+ const info = new DataSpaceTaggedValueInfo();
56
+ info.profile = taggedValue.profile;
57
+ info.tag = taggedValue.value;
58
+ info.value = taggedValue.value;
59
+ return info;
60
+ });
61
+ result.stereotypes = analysisResult.stereotypes.map((stereotype) => {
62
+ const info = new DataSpaceStereotypeInfo();
63
+ info.profile = stereotype.profile;
64
+ info.value = stereotype.value;
65
+ return info;
66
+ });
67
+ if (analysisResult.supportInfo) {
68
+ if (analysisResult.supportInfo instanceof V1_DataSpaceSupportEmail) {
69
+ const supportEmail = new DataSpaceSupportEmail();
70
+ supportEmail.address = guaranteeNonEmptyString(analysisResult.supportInfo.address, `Data space support email 'address' field is missing or empty`);
71
+ result.supportInfo = supportEmail;
72
+ }
73
+ // NOTE: we will relax the check and not throw here for unknown support info type
74
+ }
75
+ // create an empty graph
76
+ const extensionElementClasses = this.graphManager.pluginManager
77
+ .getPureGraphPlugins()
78
+ .flatMap((plugin) => plugin.getExtraPureGraphExtensionClasses?.() ?? []);
79
+ const systemModel = new SystemModel(extensionElementClasses);
80
+ const coreModel = new CoreModel(extensionElementClasses);
81
+ await this.graphManager.buildSystem(coreModel, systemModel, ActionState.create(), {});
82
+ systemModel.initializeAutoImports();
83
+ const graph = new PureModel(coreModel, systemModel, this.graphManager.pluginManager.getPureGraphPlugins());
84
+ // Create dummy mappings and runtimes
85
+ // TODO?: these stubbed mappings and runtimes are not really useful that useful, so either we should
86
+ // simplify the model here or potentially refactor the backend analytics endpoint to return these as model
87
+ const mappingModels = uniq(analysisResult.executionContexts.map((context) => context.mapping)).map((path) => {
88
+ const mapping = new V1_Mapping();
89
+ const [packagePath, name] = resolvePackagePathAndElementName(path);
90
+ mapping.package = packagePath;
91
+ mapping.name = name;
92
+ return mapping;
93
+ });
94
+ const runtimeModels = uniq(analysisResult.executionContexts
95
+ .map((context) => context.defaultRuntime)
96
+ .concat(analysisResult.executionContexts.flatMap((val) => val.compatibleRuntimes))).map((path) => {
97
+ const runtime = new V1_PackageableRuntime();
98
+ const [packagePath, name] = resolvePackagePathAndElementName(path);
99
+ runtime.package = packagePath;
100
+ runtime.name = name;
101
+ runtime.runtimeValue = new V1_EngineRuntime();
102
+ return runtime;
103
+ });
104
+ // prepare the model context data
105
+ // scan for models coming from system so we don't duplicate them when building the graph
106
+ const graphEntities = analysisResult.model.elements
107
+ .concat(mappingModels)
108
+ .concat(runtimeModels)
109
+ // NOTE: if an element could be found in the graph already it means it comes from system
110
+ // so we could rid of it
111
+ .filter((el) => !graph.getNullableElement(el.path, false))
112
+ .map((el) => this.graphManager.elementProtocolToEntity(el));
113
+ await this.graphManager.buildGraph(graph, graphEntities, ActionState.create());
114
+ // build execution context info
115
+ result.executionContextsIndex = new Map();
116
+ analysisResult.executionContexts.forEach((context) => {
117
+ const contextAnalysisResult = new DataSpaceExecutionContextAnalysisResult();
118
+ contextAnalysisResult.name = context.name;
119
+ contextAnalysisResult.description = context.description;
120
+ contextAnalysisResult.mapping = graph.getMapping(context.mapping);
121
+ contextAnalysisResult.defaultRuntime = graph.getRuntime(context.defaultRuntime);
122
+ contextAnalysisResult.compatibleRuntimes = context.compatibleRuntimes.map((runtime) => graph.getRuntime(runtime));
123
+ result.executionContextsIndex.set(contextAnalysisResult.name, contextAnalysisResult);
124
+ });
125
+ result.defaultExecutionContext = guaranteeNonNullable(result.executionContextsIndex.get(analysisResult.defaultExecutionContext));
126
+ // find featured diagrams
127
+ result.featuredDiagrams = analysisResult.featuredDiagrams.map((path) => getDiagram(path, graph));
128
+ return result;
129
+ }
130
+ }
131
+ //# sourceMappingURL=V1_DSLDataSpace_PureGraphManagerExtension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLDataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EAEjB,SAAS,EACT,WAAW,EACX,UAAU,EACV,gCAAgC,EAChC,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,gGAAgG,CAAC;AACvI,OAAO,EAAE,wBAAwB,EAAE,MAAM,4GAA4G,CAAC;AACtJ,OAAO,EACL,uBAAuB,EACvB,uCAAuC,EACvC,uBAAuB,EACvB,wBAAwB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AAI,GAAG,OAAO,CAAC,IAAI,CAAC;YAC1C,qBAAqB,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;YACxD,qBAAqB,CAAC,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAClE,qBAAqB,CAAC,cAAc,GAAG,KAAK,CAAC,UAAU,CACrD,OAAO,CAAC,cAAc,CACvB,CAAC;YACF,qBAAqB,CAAC,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC,GAAG,CACvE,CAAC,OAAO,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CACvC,CAAC;YACF,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAC/B,qBAAqB,CAAC,IAAI,EAC1B,qBAAqB,CACtB,CAAC;QACJ,CAAC,CAAC,CAAC;QACH,MAAM,CAAC,uBAAuB,GAAG,oBAAoB,CACnD,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAC1E,CAAC;QAEF,yBAAyB;QACzB,MAAM,CAAC,gBAAgB,GAAG,cAAc,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACrE,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CACxB,CAAC;QAEF,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
@@ -0,0 +1,53 @@
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_PureModelContextData } from '@finos/legend-graph';
17
+ import { SerializationFactory } from '@finos/legend-shared';
18
+ import type { V1_DataSpaceSupportInfo } from '../../../../../../graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
19
+ declare class V1_DataSpaceTaggedValueInfo {
20
+ profile: string;
21
+ tag: string;
22
+ value: string;
23
+ static readonly serialization: SerializationFactory<V1_DataSpaceTaggedValueInfo>;
24
+ }
25
+ declare class V1_DataSpaceStereotypeInfo {
26
+ profile: string;
27
+ value: string;
28
+ static readonly serialization: SerializationFactory<V1_DataSpaceStereotypeInfo>;
29
+ }
30
+ declare class V1_DataSpaceExecutionContextAnalysisResult {
31
+ name: string;
32
+ description?: string | undefined;
33
+ mapping: string;
34
+ defaultRuntime: string;
35
+ compatibleRuntimes: string[];
36
+ static readonly serialization: SerializationFactory<V1_DataSpaceExecutionContextAnalysisResult>;
37
+ }
38
+ export declare class V1_DataSpaceAnalysisResult {
39
+ name: string;
40
+ package: string;
41
+ path: string;
42
+ taggedValues: V1_DataSpaceTaggedValueInfo[];
43
+ stereotypes: V1_DataSpaceStereotypeInfo[];
44
+ description?: string | undefined;
45
+ supportInfo?: V1_DataSpaceSupportInfo | undefined;
46
+ model: V1_PureModelContextData;
47
+ executionContexts: V1_DataSpaceExecutionContextAnalysisResult[];
48
+ defaultExecutionContext: string;
49
+ featuredDiagrams: string[];
50
+ static readonly serialization: SerializationFactory<V1_DataSpaceAnalysisResult>;
51
+ }
52
+ export {};
53
+ //# sourceMappingURL=V1_DataSpaceAnalysis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DataSpaceAnalysis.d.ts","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,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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_PureModelContextData } from '@finos/legend-graph';
17
+ import { SerializationFactory, optionalCustom } from '@finos/legend-shared';
18
+ import { createModelSchema, list, object, optional, primitive, SKIP, } from 'serializr';
19
+ import { V1_deserializeSupportInfo } from '../../../../../../graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js';
20
+ class V1_DataSpaceTaggedValueInfo {
21
+ profile;
22
+ tag;
23
+ value;
24
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceTaggedValueInfo, {
25
+ profile: primitive(),
26
+ tag: primitive(),
27
+ value: primitive(),
28
+ }));
29
+ }
30
+ class V1_DataSpaceStereotypeInfo {
31
+ profile;
32
+ value;
33
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceStereotypeInfo, {
34
+ profile: primitive(),
35
+ value: primitive(),
36
+ }));
37
+ }
38
+ class V1_DataSpaceExecutionContextAnalysisResult {
39
+ name;
40
+ description;
41
+ mapping;
42
+ defaultRuntime;
43
+ compatibleRuntimes;
44
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceExecutionContextAnalysisResult, {
45
+ name: primitive(),
46
+ description: optional(primitive()),
47
+ mapping: primitive(),
48
+ defaultRuntime: primitive(),
49
+ compatibleRuntimes: list(primitive()),
50
+ }));
51
+ }
52
+ export class V1_DataSpaceAnalysisResult {
53
+ name;
54
+ package;
55
+ path;
56
+ taggedValues = [];
57
+ stereotypes = [];
58
+ description;
59
+ supportInfo;
60
+ model;
61
+ executionContexts = [];
62
+ defaultExecutionContext;
63
+ featuredDiagrams = [];
64
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceAnalysisResult, {
65
+ name: primitive(),
66
+ package: primitive(),
67
+ path: primitive(),
68
+ taggedValues: list(object(V1_DataSpaceTaggedValueInfo)),
69
+ stereotypes: list(object(V1_DataSpaceStereotypeInfo)),
70
+ description: optional(primitive()),
71
+ supportInfo: optionalCustom(() => SKIP, (val) => V1_deserializeSupportInfo(val)),
72
+ model: object(V1_PureModelContextData),
73
+ executionContexts: list(object(V1_DataSpaceExecutionContextAnalysisResult)),
74
+ defaultExecutionContext: primitive(),
75
+ featuredDiagrams: list(primitive()),
76
+ }));
77
+ }
78
+ //# sourceMappingURL=V1_DataSpaceAnalysis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EACL,iBAAiB,EACjB,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,yBAAyB,EAAE,MAAM,+GAA+G,CAAC;AAE1J,MAAM,2BAA2B;IAC/B,OAAO,CAAU;IACjB,GAAG,CAAU;IACb,KAAK,CAAU;IAEf,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,2BAA2B,EAAE;QAC7C,OAAO,EAAE,SAAS,EAAE;QACpB,GAAG,EAAE,SAAS,EAAE;QAChB,KAAK,EAAE,SAAS,EAAE;KACnB,CAAC,CACH,CAAC;;AAGJ,MAAM,0BAA0B;IAC9B,OAAO,CAAU;IACjB,KAAK,CAAU;IAEf,MAAM,CAAU,aAAa,GAAG,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C,IAAI,EACV,CAAC,GAAG,EAAE,EAAE,CAAC,yBAAyB,CAAC,GAAG,CAAC,CACxC;QAED,KAAK,EAAE,MAAM,CAAC,uBAAuB,CAAC;QAEtC,iBAAiB,EAAE,IAAI,CACrB,MAAM,CAAC,0CAA0C,CAAC,CACnD;QACD,uBAAuB,EAAE,SAAS,EAAE;QAEpC,gBAAgB,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;KACpC,CAAC,CACH,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLDataSpace_DataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../../src/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EACL,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACpB,MAAM,qBAAqB,CAAC;AAE7B,8BAAsB,uBAAwB,YAAW,QAAQ;IAC/D,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC;AAED,qBAAa,wBACX,SAAQ,uBACR,YAAW,QAAQ;IAEnB,OAAO,EAAG,MAAM,CAAC;IAEjB,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF;AAED,qBAAa,4BAA6B,YAAW,QAAQ;IAC3D,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,4BAA4B,CAAC;IACvC,cAAc,EAAG,4BAA4B,CAAC;IAE9C,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF;AAED,qBAAa,YAAa,SAAQ,qBAAsB,YAAW,QAAQ;IACzE,WAAW,EAAE,gBAAgB,EAAE,CAAM;IACrC,YAAY,EAAE,cAAc,EAAE,CAAM;IACpC,iBAAiB,EAAG,4BAA4B,EAAE,CAAC;IACnD,uBAAuB,EAAG,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,4BAA4B,EAAE,GAAG,SAAS,CAAC;IAC9D,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAElD,IAAa,QAAQ,IAAI,MAAM,CAW9B;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,4BAA4B,CAAC,CAAC,CAAC,GACvC,CAAC;CAGL"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { hashArray } from '@finos/legend-shared';
17
- import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../../DSLDataSpace_ModelUtils.js';
17
+ import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../../../graph/DSLDataSpace_HashUtils.js';
18
18
  import { V1_PackageableElement, } from '@finos/legend-graph';
19
19
  export class V1_DataSpaceSupportInfo {
20
20
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLDataSpace_DataSpace.js","sourceRoot":"","sources":["../../../../../../../../src/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,sDAAsD,CAAC;AACjG,OAAO,EACL,qBAAqB,GAKtB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAgB,uBAAuB;CAE5C;AAED,MAAM,OAAO,wBACX,SAAQ,uBAAuB;IAG/B,OAAO,CAAU;IAEjB,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,wBAAwB;YAClD,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,4BAA4B;IACvC,IAAI,CAAU;IACd,WAAW,CAAsB;IACjC,OAAO,CAAgC;IACvC,cAAc,CAAgC;IAE9C,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,4BAA4B;YACtD,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,OAAO,CAAC,IAAI;YACjB,IAAI,CAAC,cAAc,CAAC,IAAI;SACzB,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,YAAa,SAAQ,qBAAqB;IACrD,WAAW,GAAuB,EAAE,CAAC;IACrC,YAAY,GAAqB,EAAE,CAAC;IACpC,iBAAiB,CAAkC;IACnD,uBAAuB,CAAU;IACjC,gBAAgB,CAA8C;IAC9D,WAAW,CAAsB;IACjC,WAAW,CAAuC;IAElD,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,UAAU;YACpC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC;YAC3B,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC;YAC5B,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,uBAAuB;YAC5B,SAAS,CAAC,CAAC,IAAI,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACvE,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,WAAW,IAAI,EAAE;SACvB,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAwC;QAExC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
@@ -13,7 +13,7 @@
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 '../../../../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
16
+ import type { DataSpace } from '../../../../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
17
17
  import type { PackageableElementImplicitReference, V1_GraphBuilderContext } from '@finos/legend-graph';
18
18
  export declare const V1_resolveDataSpace: (path: string, context: V1_GraphBuilderContext) => PackageableElementImplicitReference<DataSpace>;
19
19
  //# sourceMappingURL=V1_DSLDataSpace_GraphBuilderHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLDataSpace_GraphBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sGAAsG,CAAC;AACtI,OAAO,KAAK,EACV,mCAAmC,EACnC,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,mBAAmB,SACxB,MAAM,WACH,sBAAsB,KAC9B,oCAAoC,SAAS,CAG7C,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLDataSpace_GraphBuilderHelper.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,mEAAmE,CAAC;AAOjG,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,IAAY,EACZ,OAA+B,EACiB,EAAE,CAClD,OAAO,CAAC,yCAAyC,CAAC,IAAI,EAAE,CAAC,KAAa,EAAE,EAAE,CACxE,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CACnC,CAAC"}
@@ -13,8 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { V1_DataSpace } from '../../model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
16
+ import { type PlainObject } from '@finos/legend-shared';
17
+ import { type V1_DataSpaceSupportInfo, V1_DataSpace } from '../../model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
17
18
  export declare const V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE = "dataSpace";
18
19
  export declare const V1_DATA_SPACE_SUPPORT_EMAIL_TYPE = "email";
20
+ export declare const V1_deserializeSupportInfo: (json: PlainObject<V1_DataSpaceSupportInfo> | undefined) => V1_DataSpaceSupportInfo | undefined;
19
21
  export declare const V1_dataSpaceModelSchema: import("serializr").ModelSchema<V1_DataSpace>;
20
22
  //# sourceMappingURL=V1_DSLDataSpace_ProtocolHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkBH,OAAO,EACL,KAAK,WAAW,EAOjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,uBAAuB,EAC5B,YAAY,EAGb,MAAM,wEAAwE,CAAC;AAEhF,eAAO,MAAM,mCAAmC,cAAc,CAAC;AAC/D,eAAO,MAAM,gCAAgC,UAAU,CAAC;AA+BxD,eAAO,MAAM,yBAAyB,SAC9B,YAAY,uBAAuB,CAAC,GAAG,SAAS,KACrD,uBAAuB,GAAG,SAa5B,CAAC;AAEF,eAAO,MAAM,uBAAuB,+CA8DlC,CAAC"}
@@ -38,7 +38,7 @@ const V1_serializeSupportInfo = (protocol) => {
38
38
  }
39
39
  throw new UnsupportedOperationError(`Can't serialize support info`, protocol);
40
40
  };
41
- const V1_deserializeSupportInfo = (json) => {
41
+ export const V1_deserializeSupportInfo = (json) => {
42
42
  if (!json) {
43
43
  return undefined;
44
44
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLDataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,IAAI,GACL,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,8CAA8C,GAC/C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,cAAc,EACd,yBAAyB,EACzB,wBAAwB,EACxB,gBAAgB,EAChB,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,wEAAwE,CAAC;AAEhF,MAAM,CAAC,MAAM,mCAAmC,GAAG,WAAW,CAAC;AAC/D,MAAM,CAAC,MAAM,gCAAgC,GAAG,OAAO,CAAC;AAExD,MAAM,uCAAuC,GAAG,iBAAiB,CAC/D,4BAA4B,EAC5B;IACE,cAAc,EAAE,gBAAgB,CAC9B,8CAA8C,CAC/C;IACD,WAAW,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;IAClC,OAAO,EAAE,gBAAgB,CAAC,8CAA8C,CAAC;IACzE,IAAI,EAAE,SAAS,EAAE;CAClB,CACF,CAAC;AAEF,MAAM,wBAAwB,GAAG,iBAAiB,CAAC,wBAAwB,EAAE;IAC3E,KAAK,EAAE,wBAAwB,CAAC,gCAAgC,CAAC;IACjE,OAAO,EAAE,SAAS,EAAE;CACrB,CAAC,CAAC;AAEH,MAAM,uBAAuB,GAAG,CAC9B,QAA6C,EACO,EAAE;IACtD,IAAI,CAAC,QAAQ,EAAE;QACb,OAAO,IAAI,CAAC;KACb;IACD,IAAI,QAAQ,YAAY,wB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B,WAAW,EAAE,MAAM,CACjB,CAAC,MAAM,EAAE,EAAE,CACT,cAAc,CACZ,MAAM,EACN,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,sBAAsB,EAAE,KAAK,CAAC,EACnD;QACE,WAAW,EAAE,IAAI;QACjB,gCAAgC,EAAE,IAAI;KACvC,CACF,EACH,CAAC,MAAM,EAAE,EAAE,CACT,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,sBAAsB,EAAE,CAAC,CAAC,EAAE;QACtE,WAAW,EAAE,KAAK;KACnB,CAAC,CACL;IACD,WAAW,EAAE,MAAM,CACjB,CAAC,GAAG,EAAE,EAAE,CAAC,uBAAuB,CAAC,GAAG,CAAC,EACrC,CAAC,GAAG,EAAE,EAAE,CAAC,yBAAyB,CAAC,GAAG,CAAC,CACxC;IACD,YAAY,EAAE,MAAM,CAClB,CAAC,MAAM,EAAE,EAAE,CACT,cAAc,CACZ,MAAM,EACN,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,oBAAoB,EAAE,KAAK,CAAC,EACjD;QACE,WAAW,EAAE,IAAI;QACjB,gCAAgC,EAAE,IAAI;KACvC,CACF,EACH,CAAC,MAAM,EAAE,EAAE,CACT,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,oBAAoB,EAAE,CAAC,CAAC,EAAE;QACpE,WAAW,EAAE,KAAK;KACnB,CAAC,CACL;CACF,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v4.0.4
1
+ /** @license @finos/legend-extension-dsl-data-space v6.0.0
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,4 +14,4 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- @import'@finos/legend-extension-dsl-diagram/lib/index.css';.data-space__viewer{display:flex;flex-direction:column;height:100%;width:100%;background:var(--color-dark-grey-80)}.data-space__viewer__header{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:2rem;height:13rem}.data-space__viewer__path{display:flex;align-items:center;justify-content:center;height:3.4rem;background:var(--color-blue-150)}.data-space__viewer__path__label{display:flex;align-items:center;justify-content:center;height:100%;font-family:"Roboto Mono",monospace;font-size:1.6rem;padding:0 1rem;user-select:none;color:var(--color-light-grey-0)}.data-space__viewer__path__link{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-left:.1rem solid var(--color-dark-shade-230)}.data-space__viewer__path__link svg{font-size:1.6rem;color:var(--color-light-grey-0)}.data-space__viewer__description{cursor:default;user-select:none;padding:1rem;margin-top:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__content{display:flex;align-items:center;justify-content:center;height:calc(100% - 13rem);padding:0 2rem 2rem}.data-space__viewer__body{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.data-space__viewer__activity-bar{width:5rem;background:var(--color-dark-grey-100);height:100%;overflow-x:hidden;overflow-y:hidden}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden}.data-space__viewer__activity-bar__item{display:flex;align-items:center;justify-content:center;height:5rem;width:5rem;color:var(--color-dark-grey-400);cursor:pointer}.data-space__viewer__activity-bar__item svg{font-size:2rem}.data-space__viewer__activity-bar__item:hover{color:var(--color-light-grey-250);cursor:pointer}.data-space__viewer__activity-bar__item--active{color:var(--color-light-grey-250)}.data-space__viewer__main-panel{height:100%;width:calc(100% - 5rem);border:.1rem solid var(--color-dark-grey-100);overflow:auto}.data-space__viewer__main-panel__content{height:100%;width:100%}.data-space__viewer__diagrams{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagrams__header{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__diagrams__footer{display:flex;align-items:center;height:2rem;background:var(--color-dark-grey-250);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagrams__footer__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space__viewer__diagrams__footer__icon svg{font-size:1.2rem}.data-space__viewer__diagrams__footer__text{margin-left:.5rem;font-size:1.2rem;font-weight:500}.data-space__viewer__diagrams__diagram-selector{width:100%}.data-space__viewer__diagrams__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagrams__dropdown{width:100%}.data-space__viewer__diagrams__dropdown__container{padding:.3rem}.data-space__viewer__diagrams__dropdown__option{display:flex;align-items:center}.data-space__viewer__diagrams__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution{padding:2rem}.data-space__viewer__execution__context-icon{color:var(--color-light-grey-200)}.data-space__viewer__execution__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__execution__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space__viewer__execution__entry__content__dropdown{width:100%}.data-space__viewer__execution__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution__entry__content__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution__description{margin-top:.5rem;margin-bottom:.5rem;cursor:default;user-select:none;padding:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__execution__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__execution__mapping{margin-bottom:.5rem}.data-space__viewer__tags{padding:2rem}.data-space__viewer__tags__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__tags__section__title{display:flex;align-items:center;font-weight:500;color:var(--color-dark-grey-500);margin-bottom:1rem;line-height:2rem;cursor:default}.data-space__viewer__tags__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__tags__tagged-value__tag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__tags__tagged-value__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 15rem);border-radius:0 .2rem .2rem 0;padding:0 1rem;line-height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-400)}.data-space__viewer__tags__steoreotype{display:flex;align-items:center;height:100%;border-radius:.2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__tags__section__placeholder{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;color:var(--color-dark-grey-300);font-weight:500;border:.2rem dashed var(--color-dark-grey-200)}.data-space__viewer__support-info{padding:2rem}.data-space__viewer__support-email__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__support-email__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__support-email__entry__icon svg{font-size:1.6rem;color:var(--color-light-grey-200)}.data-space__viewer__support-email__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.query-setup__landing-page__option--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-setup__data-space{width:calc(100% - 10rem);height:calc(100% - 10rem)}.query-setup__data-space__header{background:var(--color-yellow-100)}.query-setup__data-space__input-group{padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.query-setup__data-space__use-snapshot-btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:0 .2rem .2rem 0;background:var(--color-dark-grey-300)}.query-setup__data-space__use-snapshot-btn svg{color:var(--color-light-grey-50)}.query-setup__data-space__use-snapshot-btn--active{background:var(--color-blue-100)}.query-setup__data-space .query-setup__wizard__selector{width:100%}.query-setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-setup__data-space__option__gav{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-setup__data-space__view{height:calc(100% - 3.8rem);width:100%}.query-setup__data-space__view--failed{display:flex;align-items:center;height:2.8rem}.query-setup__data-space__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.query-setup__data-space__view--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}:root{--color-data-space: var(--color-blue-50)}.icon--data-space{color:var(--color-data-space)}/*# sourceMappingURL=index.css.map */
17
+ @import'@finos/legend-extension-dsl-diagram/lib/index.css';.data-space__viewer{display:flex;flex-direction:column;height:100%;width:100%;background:var(--color-dark-grey-80)}.data-space__viewer__header{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:2rem;height:13rem}.data-space__viewer__path{display:flex;align-items:center;justify-content:center;height:3.4rem;background:var(--color-blue-150)}.data-space__viewer__path__label{display:flex;align-items:center;justify-content:center;height:100%;font-family:"Roboto Mono",monospace;font-size:1.6rem;padding:0 1rem;user-select:none;color:var(--color-light-grey-0)}.data-space__viewer__path__link{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-left:.1rem solid var(--color-dark-shade-230)}.data-space__viewer__path__link svg{font-size:1.6rem;color:var(--color-light-grey-0)}.data-space__viewer__description{cursor:default;user-select:none;padding:1rem;margin-top:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__content{display:flex;align-items:center;justify-content:center;height:calc(100% - 13rem);padding:0 2rem 2rem}.data-space__viewer__body{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.data-space__viewer__activity-bar{width:5rem;background:var(--color-dark-grey-100);height:100%;overflow-x:hidden;overflow-y:hidden}.data-space__viewer__activity-bar__items{height:100%;overflow-y:auto;overflow-x:hidden}.data-space__viewer__activity-bar__item{display:flex;align-items:center;justify-content:center;height:5rem;width:5rem;color:var(--color-dark-grey-400);cursor:pointer}.data-space__viewer__activity-bar__item svg{font-size:2rem}.data-space__viewer__activity-bar__item:hover{color:var(--color-light-grey-250);cursor:pointer}.data-space__viewer__activity-bar__item--active{color:var(--color-light-grey-250)}.data-space__viewer__main-panel{height:100%;width:calc(100% - 5rem);border:.1rem solid var(--color-dark-grey-100);overflow:auto}.data-space__viewer__main-panel__content{height:100%;width:100%}.data-space__viewer__diagrams{display:flex;flex-direction:column;height:100%;width:100%}.data-space__viewer__diagrams__header{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__diagrams__footer{display:flex;align-items:center;height:2rem;background:var(--color-dark-grey-250);color:var(--color-light-grey-400);padding:0 .5rem;user-select:none;cursor:default}.data-space__viewer__diagrams__footer__icon{display:flex;align-items:center;justify-content:center;height:100%}.data-space__viewer__diagrams__footer__icon svg{font-size:1.2rem}.data-space__viewer__diagrams__footer__text{margin-left:.5rem;font-size:1.2rem;font-weight:500}.data-space__viewer__diagrams__diagram-selector{width:100%}.data-space__viewer__diagrams__content{height:calc(100% - 5.4rem);width:100%}.data-space__viewer__diagrams__dropdown{width:100%}.data-space__viewer__diagrams__dropdown__container{padding:.3rem}.data-space__viewer__execution{padding:2rem}.data-space__viewer__execution__context-icon{color:var(--color-light-grey-200)}.data-space__viewer__execution__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__execution__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__execution__entry__icon svg{font-size:1.6rem}.data-space__viewer__execution__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.data-space__viewer__execution__entry__content__dropdown{width:100%}.data-space__viewer__execution__entry__content__dropdown__container{padding:.3rem}.data-space__viewer__execution__entry__content__dropdown__option{display:flex;align-items:center}.data-space__viewer__execution__entry__content__dropdown__option__tag{display:flex;align-items:center;background:var(--color-blue-200);height:1.8rem;padding:0 .5rem;margin-left:.5rem;border-radius:.2rem;font-size:1.2rem;color:var(--color-light-grey-100)}.data-space__viewer__execution__entry__content__text{font-family:"Roboto Mono",monospace}.data-space__viewer__execution__description{margin-top:.5rem;margin-bottom:.5rem;cursor:default;user-select:none;padding:1rem;height:5rem;width:100%;background:var(--color-dark-grey-100);overflow:auto;line-height:1.6rem;color:var(--color-dark-grey-500);font-family:Roboto,sans-serif;font-size:1.2rem}.data-space__viewer__execution__description--empty{display:flex;align-items:center;justify-content:center;font-weight:500;color:var(--color-dark-grey-300)}.data-space__viewer__execution__mapping{margin-bottom:.5rem}.data-space__viewer__tags{padding:2rem}.data-space__viewer__tags__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__tags__section__title{display:flex;align-items:center;font-weight:500;color:var(--color-dark-grey-500);margin-bottom:1rem;line-height:2rem;cursor:default}.data-space__viewer__tags__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__tags__tagged-value__tag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:15rem;border-radius:.2rem 0 0 .2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__tags__tagged-value__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 15rem);border-radius:0 .2rem .2rem 0;padding:0 1rem;line-height:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-grey-400)}.data-space__viewer__tags__steoreotype{display:flex;align-items:center;height:100%;border-radius:.2rem;padding:0 1rem;line-height:2.8rem;background:var(--color-purple-400);color:var(--color-light-grey-400);font-weight:500}.data-space__viewer__tags__section__placeholder{display:flex;align-items:center;justify-content:center;height:4rem;width:100%;color:var(--color-dark-grey-300);font-weight:500;border:.2rem dashed var(--color-dark-grey-200)}.data-space__viewer__support-info{padding:2rem}.data-space__viewer__support-email__entry{display:flex;align-items:center;height:3.4rem;width:100%}.data-space__viewer__support-email__entry__icon{display:flex;align-items:center;justify-content:center;height:3.4rem;width:3.4rem;border-radius:.2rem 0 0 .2rem;background:var(--color-dark-grey-100)}.data-space__viewer__support-email__entry__icon svg{font-size:1.6rem;color:var(--color-light-grey-200)}.data-space__viewer__support-email__entry__content{display:flex;align-items:center;height:3.4rem;width:calc(100% - 3.4rem);border-radius:0 .2rem .2rem 0;border:.1rem solid var(--color-dark-grey-100);color:var(--color-light-grey-400);padding:0 1rem;font-family:"Roboto Mono",monospace;background:var(--color-dark-grey-100);border-left:.1rem solid var(--color-dark-grey-50);user-select:none}.query-setup__landing-page__option--data-space:hover{background:var(--color-yellow-100)}.query-setup__landing-page__icon--data-space{font-size:1.3rem}.query-setup__data-space{width:calc(100% - 10rem);height:calc(100% - 10rem)}.query-setup__data-space__header{background:var(--color-yellow-100)}.query-setup__data-space__input-group{padding:.5rem;width:100%;height:3.8rem;background:var(--color-dark-grey-200)}.query-setup__data-space__use-snapshot-btn{display:flex;align-items:center;justify-content:center;height:2.8rem;width:2.8rem;border-radius:0 .2rem .2rem 0;background:var(--color-dark-grey-300)}.query-setup__data-space__use-snapshot-btn svg{color:var(--color-light-grey-50)}.query-setup__data-space__use-snapshot-btn--active{background:var(--color-blue-100)}.query-setup__data-space .query-setup__wizard__selector{width:100%}.query-setup__data-space__option{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;display:inline-flex}.query-setup__data-space__option__gav{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-setup__data-space__view{height:calc(100% - 3.8rem);width:100%}.query-setup__data-space__view--failed{display:flex;align-items:center;height:2.8rem}.query-setup__data-space__view--failed__icon{display:flex;align-items:center;justify-content:center;height:100%}.query-setup__data-space__view--failed__text{margin-left:.5rem;color:var(--color-dark-grey-300);font-weight:700;cursor:default;user-select:none;text-align:center;line-height:2.8rem}:root{--color-data-space: var(--color-blue-50)}.icon--data-space{color:var(--color-data-space)}/*# sourceMappingURL=index.css.map */
package/lib/index.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,2DCER,oBACE,aACA,sBACA,YACA,WACA,qCAEA,4BCDA,aACA,mBACA,uBDEE,sBACA,aACA,aAGF,0BCTA,aACA,mBACA,uBDUE,cACA,iCAEA,iCCfF,aACA,mBACA,uBDgBI,YACA,oCACA,iBACA,eACA,iBACA,gCAGF,gCC1BF,aACA,mBACA,uBD2BI,cACA,aACA,oDAEA,oCACE,iBACA,gCAKN,iCACE,eACA,iBACA,aACA,gBACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,wCCtDF,aACA,mBACA,uBDuDI,gBACA,iCAIJ,6BC9DA,aACA,mBACA,uBD+DE,0BACA,oBAGF,0BCrEA,aACA,mBACA,uBDsEE,WACA,YAGF,kCACE,WACA,sCACA,YACA,kBACA,kBAEA,yCACE,YACA,gBACA,kBAGF,wCCzFF,aACA,mBACA,uBD0FI,YACA,WACA,iCACA,eAGF,4CACE,eAGF,8CACE,kCACA,eAGF,gDACE,kCAIJ,gCACE,YACA,wBACA,8CACA,cAEA,yCACE,YACA,WAIJ,8BACE,aACA,sBACA,YACA,WAEA,sCC5HF,aACA,mBD8HI,cACA,WAGF,sCCnIF,aACA,mBDqII,YACA,sCACA,kCACA,gBACA,iBACA,eAEA,4CCnJJ,aACA,mBACA,uBDoJM,YAEA,gDACE,iBAIJ,4CACE,kBACA,iBACA,gBAIJ,gDACE,WAGF,uCACE,2BACA,WAGF,wCACE,WAEA,mDACE,cAGF,gDC9KJ,aACA,mBDiLI,qDClLJ,aACA,mBDoLM,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAKN,+BACE,aAEA,6CACE,kCAGF,sCCvMF,aACA,mBDyMI,cACA,WAEA,4CCnNJ,aACA,mBACA,uBDoNM,cACA,aACA,8BACA,sCAEA,gDACE,iBAIJ,+CC1NJ,aACA,mBD4NM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,sCACA,kDACA,iBAEA,yDACE,WAEA,oEACE,cAGF,iEC9OR,aACA,mBDiPQ,sEClPR,aACA,mBDoPU,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAIJ,qDACE,oCAKN,4CACE,iBACA,oBACA,eACA,iBACA,aACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,mDC1RJ,aACA,mBACA,uBD2RM,gBACA,iCAIJ,wCACE,oBAIJ,0BACE,aAEA,mCACE,eACA,oBAGF,0CCzSF,aACA,mBD2SI,gBACA,iCACA,mBACA,iBACA,eAGF,0CCnTF,aACA,mBDqTI,cACA,eACA,WAGF,6CCjTF,mBACA,uBACA,gBACA,sBACA,gBDgTI,YACA,YACA,8BACA,eACA,mBACA,mCACA,kCACA,gBAGF,+CC9TF,mBACA,uBACA,gBACA,sBACA,gBD6TI,YACA,yBACA,8BACA,eACA,mBACA,sCACA,kCAGF,uCCpVF,aACA,mBDsVI,YACA,oBACA,eACA,mBACA,mCACA,kCACA,gBAGF,gDCtWF,aACA,mBACA,uBDuWI,YACA,WACA,iCACA,gBACA,+CAIJ,kCACE,aAIA,0CChXF,aACA,mBDkXI,cACA,WAEA,gDC5XJ,aACA,mBACA,uBD6XM,cACA,aACA,8BACA,sCAEA,oDACE,iBACA,kCAIJ,mDCpYJ,aACA,mBDsYM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,oCACA,sCACA,kDACA,iBE5ZR,qDACE,mCAGF,6CACE,iBAGF,yBACE,yBACA,0BAEA,iCACE,mCAGF,sCACE,cACA,WACA,cACA,sCAGF,2CDjBA,aACA,mBACA,uBCkBE,cACA,aACA,8BACA,sCAEA,+CACE,iCAGF,mDACE,iCAIJ,wDACE,WAGF,iCDtBA,mBACA,uBACA,gBACA,sBACA,gBCqBE,oBAGF,sCACE,iBACA,iCACA,kBACA,mBAGF,+BACE,2BACA,WAEA,uCDjDF,aACA,mBCmDI,cAEA,6CD5DJ,aACA,mBACA,uBC6DM,YAGF,6CACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBC7ER,MACE,yCAGF,kBACE","file":"index.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../style/_deps.scss","../style/_data-space-viewer.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_data-space-query-plugin.scss","../style/index.scss"],"names":[],"mappings":"AAgBQ,2DCER,oBACE,aACA,sBACA,YACA,WACA,qCAEA,4BCDA,aACA,mBACA,uBDEE,sBACA,aACA,aAGF,0BCTA,aACA,mBACA,uBDUE,cACA,iCAEA,iCCfF,aACA,mBACA,uBDgBI,YACA,oCACA,iBACA,eACA,iBACA,gCAGF,gCC1BF,aACA,mBACA,uBD2BI,cACA,aACA,oDAEA,oCACE,iBACA,gCAKN,iCACE,eACA,iBACA,aACA,gBACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,wCCtDF,aACA,mBACA,uBDuDI,gBACA,iCAIJ,6BC9DA,aACA,mBACA,uBD+DE,0BACA,oBAGF,0BCrEA,aACA,mBACA,uBDsEE,WACA,YAGF,kCACE,WACA,sCACA,YACA,kBACA,kBAEA,yCACE,YACA,gBACA,kBAGF,wCCzFF,aACA,mBACA,uBD0FI,YACA,WACA,iCACA,eAGF,4CACE,eAGF,8CACE,kCACA,eAGF,gDACE,kCAIJ,gCACE,YACA,wBACA,8CACA,cAEA,yCACE,YACA,WAIJ,8BACE,aACA,sBACA,YACA,WAEA,sCC5HF,aACA,mBD8HI,cACA,WAGF,sCCnIF,aACA,mBDqII,YACA,sCACA,kCACA,gBACA,iBACA,eAEA,4CCnJJ,aACA,mBACA,uBDoJM,YAEA,gDACE,iBAIJ,4CACE,kBACA,iBACA,gBAIJ,gDACE,WAGF,uCACE,2BACA,WAGF,wCACE,WAEA,mDACE,cAKN,+BACE,aAEA,6CACE,kCAGF,sCCvLF,aACA,mBDyLI,cACA,WAEA,4CCnMJ,aACA,mBACA,uBDoMM,cACA,aACA,8BACA,sCAEA,gDACE,iBAIJ,+CC1MJ,aACA,mBD4MM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,sCACA,kDACA,iBAEA,yDACE,WAEA,oEACE,cAGF,iEC9NR,aACA,mBDiOQ,sEClOR,aACA,mBDoOU,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAIJ,qDACE,oCAKN,4CACE,iBACA,oBACA,eACA,iBACA,aACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,mDC1QJ,aACA,mBACA,uBD2QM,gBACA,iCAIJ,wCACE,oBAIJ,0BACE,aAEA,mCACE,eACA,oBAGF,0CCzRF,aACA,mBD2RI,gBACA,iCACA,mBACA,iBACA,eAGF,0CCnSF,aACA,mBDqSI,cACA,eACA,WAGF,6CCjSF,mBACA,uBACA,gBACA,sBACA,gBDgSI,YACA,YACA,8BACA,eACA,mBACA,mCACA,kCACA,gBAGF,+CC9SF,mBACA,uBACA,gBACA,sBACA,gBD6SI,YACA,yBACA,8BACA,eACA,mBACA,sCACA,kCAGF,uCCpUF,aACA,mBDsUI,YACA,oBACA,eACA,mBACA,mCACA,kCACA,gBAGF,gDCtVF,aACA,mBACA,uBDuVI,YACA,WACA,iCACA,gBACA,+CAIJ,kCACE,aAIA,0CChWF,aACA,mBDkWI,cACA,WAEA,gDC5WJ,aACA,mBACA,uBD6WM,cACA,aACA,8BACA,sCAEA,oDACE,iBACA,kCAIJ,mDCpXJ,aACA,mBDsXM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,oCACA,sCACA,kDACA,iBE5YR,qDACE,mCAGF,6CACE,iBAGF,yBACE,yBACA,0BAEA,iCACE,mCAGF,sCACE,cACA,WACA,cACA,sCAGF,2CDjBA,aACA,mBACA,uBCkBE,cACA,aACA,8BACA,sCAEA,+CACE,iCAGF,mDACE,iCAIJ,wDACE,WAGF,iCDtBA,mBACA,uBACA,gBACA,sBACA,gBCqBE,oBAGF,sCACE,iBACA,iCACA,kBACA,mBAGF,+BACE,2BACA,WAEA,uCDjDF,aACA,mBCmDI,cAEA,6CD5DJ,aACA,mBACA,uBC6DM,YAGF,6CACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBC7ER,MACE,yCAGF,kBACE","file":"index.css"}
package/lib/index.d.ts CHANGED
@@ -14,10 +14,12 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export * from './DSLDataSpace_Extension.js';
17
- export { DSLDataSpace_LegendStudioPlugin } from './components/studio/DSLDataSpace_LegendStudioPlugin.js';
18
- export { DSLDataSpace_LegendQueryPlugin } from './components/query/DSLDataSpace_LegendQueryPlugin.js';
17
+ export { DSLDataSpace_LegendStudioApplicationPlugin } from './components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js';
18
+ export { DSLDataSpace_LegendQueryApplicationPlugin } from './components/query/DSLDataSpace_LegendQueryApplicationPlugin.js';
19
19
  export { DataSpaceViewer } from './components/DataSpaceViewer.js';
20
- export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
20
+ export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
21
21
  export { DataSpaceViewerState } from './stores/DataSpaceViewerState.js';
22
22
  export * from './graphManager/DSLDataSpace_GraphManagerHelper.js';
23
+ export { getDSLDataSpaceGraphManagerExtension } from './graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js';
24
+ export { DataSpaceAnalysisResult } from './graphManager/action/analytics/DataSpaceAnalysis.js';
23
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAC;AAEtG,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,qEAAqE,CAAC;AAE7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,mDAAmD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,0CAA0C,EAAE,MAAM,mEAAmE,CAAC;AAC/H,OAAO,EAAE,yCAAyC,EAAE,MAAM,iEAAiE,CAAC;AAE5H,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,0EAA0E,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,mDAAmD,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,wEAAwE,CAAC;AAC9H,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC"}
package/lib/index.js CHANGED
@@ -14,10 +14,12 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export * from './DSLDataSpace_Extension.js';
17
- export { DSLDataSpace_LegendStudioPlugin } from './components/studio/DSLDataSpace_LegendStudioPlugin.js';
18
- export { DSLDataSpace_LegendQueryPlugin } from './components/query/DSLDataSpace_LegendQueryPlugin.js';
17
+ export { DSLDataSpace_LegendStudioApplicationPlugin } from './components/studio/DSLDataSpace_LegendStudioApplicationPlugin.js';
18
+ export { DSLDataSpace_LegendQueryApplicationPlugin } from './components/query/DSLDataSpace_LegendQueryApplicationPlugin.js';
19
19
  export { DataSpaceViewer } from './components/DataSpaceViewer.js';
20
- export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
20
+ export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, extractDataSpaceTaxonomyNodes, } from './graphManager/protocol/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
21
21
  export { DataSpaceViewerState } from './stores/DataSpaceViewerState.js';
22
22
  export * from './graphManager/DSLDataSpace_GraphManagerHelper.js';
23
+ export { getDSLDataSpaceGraphManagerExtension } from './graphManager/protocol/pure/DSLDataSpace_PureGraphManagerExtension.js';
24
+ export { DataSpaceAnalysisResult } from './graphManager/action/analytics/DataSpaceAnalysis.js';
23
25
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAC;AAEtG,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,qEAAqE,CAAC;AAE7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,mDAAmD,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,0CAA0C,EAAE,MAAM,mEAAmE,CAAC;AAC/H,OAAO,EAAE,yCAAyC,EAAE,MAAM,iEAAiE,CAAC;AAE5H,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EACL,kCAAkC,EAClC,6BAA6B,GAC9B,MAAM,0EAA0E,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,cAAc,mDAAmD,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,wEAAwE,CAAC;AAC9H,OAAO,EAAE,uBAAuB,EAAE,MAAM,sDAAsD,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "4.0.4",
3
+ "version": "6.0.0",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,31 +44,32 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@finos/legend-application": "workspace:*",
47
+ "@finos/legend-application-query": "workspace:*",
48
+ "@finos/legend-application-studio": "workspace:*",
47
49
  "@finos/legend-art": "workspace:*",
48
50
  "@finos/legend-extension-dsl-diagram": "workspace:*",
49
51
  "@finos/legend-graph": "workspace:*",
50
- "@finos/legend-model-storage": "workspace:*",
51
- "@finos/legend-query": "workspace:*",
52
52
  "@finos/legend-server-depot": "workspace:*",
53
53
  "@finos/legend-shared": "workspace:*",
54
- "@finos/legend-studio": "workspace:*",
54
+ "@finos/legend-storage": "workspace:*",
55
55
  "@types/react": "18.0.15",
56
56
  "mobx": "6.6.1",
57
57
  "mobx-react-lite": "3.4.0",
58
58
  "react": "18.2.0",
59
59
  "react-dom": "18.2.0",
60
60
  "react-resize-detector": "7.1.2",
61
+ "react-router": "5.3.3",
61
62
  "serializr": "2.0.5"
62
63
  },
63
64
  "devDependencies": {
64
65
  "@finos/legend-dev-utils": "workspace:*",
65
- "@jest/globals": "28.1.2",
66
+ "@jest/globals": "28.1.3",
66
67
  "cross-env": "7.0.3",
67
- "eslint": "8.19.0",
68
- "jest": "28.1.2",
68
+ "eslint": "8.20.0",
69
+ "jest": "28.1.3",
69
70
  "npm-run-all": "4.1.5",
70
71
  "rimraf": "3.0.2",
71
- "sass": "1.53.0",
72
+ "sass": "1.54.0",
72
73
  "typescript": "4.7.4"
73
74
  },
74
75
  "peerDependencies": {
@@ -78,11 +79,11 @@
78
79
  "directory": "build/publishContent"
79
80
  },
80
81
  "extensions": {
81
- "graphPreset": "@finos/legend-graph-preset-dsl-data-space",
82
- "pureProtocolProcessorPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-protocol-processor",
83
- "pureGraphManagerPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-graph-manager",
84
- "pureGraphPlugin": "@finos/legend-graph-plugin-dsl-data-space-pure-graph",
85
- "studioPlugin": "@finos/legend-studio-plugin-dsl-data-space",
86
- "queryPlugin": "@finos/legend-query-plugin-dsl-data-space"
82
+ "graphManagerPreset": "@finos/legend-graph-manager-preset-dsl-data-space",
83
+ "pureProtocolProcessorPlugin": "@finos/legend-pure-protocol-processor-plugin-dsl-data-space",
84
+ "pureGraphManagerPlugin": "@finos/legend-pure-graph-manager-plugin-dsl-data-space",
85
+ "pureGraphPlugin": "@finos/legend-pure-graph-plugin-dsl-data-space",
86
+ "applicationStudioPlugin": "@finos/legend-application-studio-plugin-dsl-data-space",
87
+ "queryApplicationPlugin": "@finos/legend-application-query-plugin-dsl-data-space"
87
88
  }
88
89
  }
@@ -13,9 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type ClassView, type DiagramRenderer, Diagram } from '@finos/legend-extension-dsl-diagram';
17
- import type { GraphManagerState, PackageableRuntime } from '@finos/legend-graph';
18
- import type { DataSpace, DataSpaceExecutionContext } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
16
+ import { type ClassView, type DiagramRenderer, type Diagram } from '@finos/legend-extension-dsl-diagram';
17
+ import type { PackageableRuntime } from '@finos/legend-graph';
18
+ import type { DataSpaceAnalysisResult, DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/DataSpaceAnalysis.js';
19
19
  export declare enum DATA_SPACE_VIEWER_ACTIVITY_MODE {
20
20
  MODELS_OVERVIEW = "MODELS_OVERVIEW",
21
21
  EXECUTION = "EXECUTION",
@@ -26,32 +26,28 @@ export declare enum DATA_SPACE_VIEWER_ACTIVITY_MODE {
26
26
  SUPPORT = "SUPPORT"
27
27
  }
28
28
  export declare class DataSpaceViewerState {
29
- graphManagerState: GraphManagerState;
30
29
  groupId: string;
31
30
  artifactId: string;
32
31
  versionId: string;
33
- dataSpace: DataSpace;
32
+ dataSpaceAnalysisResult: DataSpaceAnalysisResult;
34
33
  _renderer?: DiagramRenderer | undefined;
35
34
  currentDiagram?: Diagram | undefined;
36
35
  currentActivity: DATA_SPACE_VIEWER_ACTIVITY_MODE;
37
- currentExecutionContext: DataSpaceExecutionContext;
36
+ currentExecutionContext: DataSpaceExecutionContextAnalysisResult;
38
37
  currentRuntime: PackageableRuntime;
39
38
  viewProject?: ((groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void) | undefined;
40
39
  onDiagramClassDoubleClick?: ((classView: ClassView) => void) | undefined;
41
- constructor(graphManagerState: GraphManagerState, groupId: string, artifactId: string, versionId: string, dataSpace: DataSpace, options?: {
40
+ constructor(groupId: string, artifactId: string, versionId: string, dataSpaceAnalysisResult: DataSpaceAnalysisResult, options?: {
42
41
  viewProject?: (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void;
43
42
  onDiagramClassDoubleClick?: (classView: ClassView) => void;
44
43
  });
45
44
  get renderer(): DiagramRenderer;
46
45
  get isDiagramRendererInitialized(): boolean;
47
- get featuredDiagrams(): Diagram[];
48
- get diagrams(): Diagram[];
49
- get runtimes(): PackageableRuntime[];
50
46
  get diagramCursorClass(): string;
51
47
  setRenderer(val: DiagramRenderer): void;
52
48
  setCurrentDiagram(val: Diagram): void;
53
49
  setCurrentActivity(val: DATA_SPACE_VIEWER_ACTIVITY_MODE): void;
54
- setCurrentExecutionContext(val: DataSpaceExecutionContext): void;
50
+ setCurrentExecutionContext(val: DataSpaceExecutionContextAnalysisResult): void;
55
51
  setCurrentRuntime(val: PackageableRuntime): void;
56
52
  setupRenderer(): void;
57
53
  }