@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.
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 +39 -33
  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 +13 -21
  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 +1 -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 +3 -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 +51 -0
  46. package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -0
  47. package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +49 -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 +3 -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 +159 -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 +54 -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 +80 -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 +1 -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 +3 -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 +2 -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 +8 -12
  94. package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
  95. package/lib/stores/DataSpaceViewerState.js +11 -33
  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 +88 -0
  104. package/lib/stores/query/DataSpaceQueryEditorStore.js.map +1 -0
  105. package/lib/stores/query/DataSpaceQuerySetupState.d.ts +6 -5
  106. package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
  107. package/lib/stores/query/DataSpaceQuerySetupState.js +41 -46
  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 +142 -89
  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 +45 -34
  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 +3 -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 +65 -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 +3 -1
  127. package/src/graphManager/protocol/pure/v1/V1_DSLDataSpace_PureGraphManagerExtension.ts +265 -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 +119 -0
  130. package/src/{models/protocols → graphManager/protocol}/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts +3 -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 +2 -1
  133. package/src/index.ts +5 -3
  134. package/src/stores/DataSpaceViewerState.ts +24 -55
  135. package/src/stores/query/DSLDataSpace_LegendQueryRouter.ts +69 -0
  136. package/src/stores/query/DataSpaceQueryEditorStore.ts +143 -0
  137. package/src/stores/query/DataSpaceQuerySetupState.ts +74 -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,159 @@
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, V1_Class, } from '@finos/legend-graph';
18
+ import { ActionState, guaranteeNonEmptyString, guaranteeNonNullable, guaranteeType, isNonNullable, 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.title = analysisResult.title;
54
+ result.description = analysisResult.description;
55
+ result.taggedValues = analysisResult.taggedValues.map((taggedValue) => {
56
+ const info = new DataSpaceTaggedValueInfo();
57
+ info.profile = taggedValue.profile;
58
+ info.tag = taggedValue.value;
59
+ info.value = taggedValue.value;
60
+ return info;
61
+ });
62
+ result.stereotypes = analysisResult.stereotypes.map((stereotype) => {
63
+ const info = new DataSpaceStereotypeInfo();
64
+ info.profile = stereotype.profile;
65
+ info.value = stereotype.value;
66
+ return info;
67
+ });
68
+ if (analysisResult.supportInfo) {
69
+ if (analysisResult.supportInfo instanceof V1_DataSpaceSupportEmail) {
70
+ const supportEmail = new DataSpaceSupportEmail();
71
+ supportEmail.address = guaranteeNonEmptyString(analysisResult.supportInfo.address, `Data space support email 'address' field is missing or empty`);
72
+ result.supportInfo = supportEmail;
73
+ }
74
+ // NOTE: we will relax the check and not throw here for unknown support info type
75
+ }
76
+ // create an empty graph
77
+ const extensionElementClasses = this.graphManager.pluginManager
78
+ .getPureGraphPlugins()
79
+ .flatMap((plugin) => plugin.getExtraPureGraphExtensionClasses?.() ?? []);
80
+ const systemModel = new SystemModel(extensionElementClasses);
81
+ const coreModel = new CoreModel(extensionElementClasses);
82
+ await this.graphManager.buildSystem(coreModel, systemModel, ActionState.create(), {});
83
+ systemModel.initializeAutoImports();
84
+ const graph = new PureModel(coreModel, systemModel, this.graphManager.pluginManager.getPureGraphPlugins());
85
+ // Create dummy mappings and runtimes
86
+ // TODO?: these stubbed mappings and runtimes are not really useful that useful, so either we should
87
+ // simplify the model here or potentially refactor the backend analytics endpoint to return these as model
88
+ const mappingModels = uniq(analysisResult.executionContexts.map((context) => context.mapping)).map((path) => {
89
+ const mapping = new V1_Mapping();
90
+ const [packagePath, name] = resolvePackagePathAndElementName(path);
91
+ mapping.package = packagePath;
92
+ mapping.name = name;
93
+ return mapping;
94
+ });
95
+ const runtimeModels = uniq(analysisResult.executionContexts
96
+ .map((context) => context.defaultRuntime)
97
+ .concat(analysisResult.executionContexts.flatMap((val) => val.compatibleRuntimes))).map((path) => {
98
+ const runtime = new V1_PackageableRuntime();
99
+ const [packagePath, name] = resolvePackagePathAndElementName(path);
100
+ runtime.package = packagePath;
101
+ runtime.name = name;
102
+ runtime.runtimeValue = new V1_EngineRuntime();
103
+ return runtime;
104
+ });
105
+ // prepare the model context data
106
+ const graphEntities = analysisResult.model.elements
107
+ // NOTE: this is a temporary hack to fix a problem with data space analytics
108
+ // where the classes for properties are not properly surveyed
109
+ // We need to wait for the actual fix in backend to be merged and released
110
+ // See https://github.com/finos/legend-engine/pull/836
111
+ .concat(uniq(analysisResult.model.elements.flatMap((element) => {
112
+ if (element instanceof V1_Class) {
113
+ return element.derivedProperties
114
+ .map((prop) => prop.returnType)
115
+ .concat(element.properties.map((prop) => prop.type));
116
+ }
117
+ return [];
118
+ }))
119
+ // make sure to not include types already returned by the analysis
120
+ .filter((path) => !analysisResult.model.elements
121
+ .map((el) => el.path)
122
+ .includes(path))
123
+ .map((path) => {
124
+ const [pkgPath, name] = resolvePackagePathAndElementName(path);
125
+ if (!pkgPath) {
126
+ // exclude package-less elements (i.e. primitive types)
127
+ return undefined;
128
+ }
129
+ const _class = new V1_Class();
130
+ _class.name = name;
131
+ _class.package = pkgPath;
132
+ return _class;
133
+ })
134
+ .filter(isNonNullable))
135
+ .concat(mappingModels)
136
+ .concat(runtimeModels)
137
+ // NOTE: if an element could be found in the graph already it means it comes from system
138
+ // so we could rid of it
139
+ .filter((el) => !graph.getNullableElement(el.path, false))
140
+ .map((el) => this.graphManager.elementProtocolToEntity(el));
141
+ await this.graphManager.buildGraph(graph, graphEntities, ActionState.create());
142
+ // build execution context info
143
+ result.executionContextsIndex = new Map();
144
+ analysisResult.executionContexts.forEach((context) => {
145
+ const contextAnalysisResult = new DataSpaceExecutionContextAnalysisResult();
146
+ contextAnalysisResult.name = context.name;
147
+ contextAnalysisResult.description = context.description;
148
+ contextAnalysisResult.mapping = graph.getMapping(context.mapping);
149
+ contextAnalysisResult.defaultRuntime = graph.getRuntime(context.defaultRuntime);
150
+ contextAnalysisResult.compatibleRuntimes = context.compatibleRuntimes.map((runtime) => graph.getRuntime(runtime));
151
+ result.executionContextsIndex.set(contextAnalysisResult.name, contextAnalysisResult);
152
+ });
153
+ result.defaultExecutionContext = guaranteeNonNullable(result.executionContextsIndex.get(analysisResult.defaultExecutionContext));
154
+ // find featured diagrams
155
+ result.featuredDiagrams = analysisResult.featuredDiagrams.map((path) => getDiagram(path, graph));
156
+ return result;
157
+ }
158
+ }
159
+ //# sourceMappingURL=V1_DSLDataSpace_PureGraphManagerExtension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSLDataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol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,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,54 @@
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
+ title?: string | undefined;
45
+ description?: string | undefined;
46
+ supportInfo?: V1_DataSpaceSupportInfo | undefined;
47
+ model: V1_PureModelContextData;
48
+ executionContexts: V1_DataSpaceExecutionContextAnalysisResult[];
49
+ defaultExecutionContext: string;
50
+ featuredDiagrams: string[];
51
+ static readonly serialization: SerializationFactory<V1_DataSpaceAnalysisResult>;
52
+ }
53
+ export {};
54
+ //# 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,EAAkB,MAAM,sBAAsB,CAAC;AAS5E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kHAAkH,CAAC;AAGhK,cAAM,2BAA2B;IAC/B,OAAO,EAAG,MAAM,CAAC;IACjB,GAAG,EAAG,MAAM,CAAC;IACb,KAAK,EAAG,MAAM,CAAC;IAEf,MAAM,CAAC,QAAQ,CAAC,aAAa,oDAM3B;CACH;AAED,cAAM,0BAA0B;IAC9B,OAAO,EAAG,MAAM,CAAC;IACjB,KAAK,EAAG,MAAM,CAAC;IAEf,MAAM,CAAC,QAAQ,CAAC,aAAa,mDAK3B;CACH;AAED,cAAM,0CAA0C;IAC9C,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,MAAM,CAAC;IACjB,cAAc,EAAG,MAAM,CAAC;IACxB,kBAAkB,EAAG,MAAM,EAAE,CAAC;IAE9B,MAAM,CAAC,QAAQ,CAAC,aAAa,mEAQ3B;CACH;AAED,qBAAa,0BAA0B;IACrC,IAAI,EAAG,MAAM,CAAC;IACd,OAAO,EAAG,MAAM,CAAC;IACjB,IAAI,EAAG,MAAM,CAAC;IAEd,YAAY,EAAE,2BAA2B,EAAE,CAAM;IACjD,WAAW,EAAE,0BAA0B,EAAE,CAAM;IAE/C,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAElD,KAAK,EAAG,uBAAuB,CAAC;IAEhC,iBAAiB,EAAE,0CAA0C,EAAE,CAAM;IACrE,uBAAuB,EAAG,MAAM,CAAC;IAEjC,gBAAgB,EAAE,MAAM,EAAE,CAAM;IAEhC,MAAM,CAAC,QAAQ,CAAC,aAAa,mDAyB3B;CACH"}
@@ -0,0 +1,80 @@
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, 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
+ title;
59
+ description;
60
+ supportInfo;
61
+ model;
62
+ executionContexts = [];
63
+ defaultExecutionContext;
64
+ featuredDiagrams = [];
65
+ static serialization = new SerializationFactory(createModelSchema(V1_DataSpaceAnalysisResult, {
66
+ name: primitive(),
67
+ package: primitive(),
68
+ path: primitive(),
69
+ taggedValues: list(object(V1_DataSpaceTaggedValueInfo)),
70
+ stereotypes: list(object(V1_DataSpaceStereotypeInfo)),
71
+ title: optional(primitive()),
72
+ description: optional(primitive()),
73
+ supportInfo: optionalCustom(() => SKIP, (val) => V1_deserializeSupportInfo(val)),
74
+ model: object(V1_PureModelContextData),
75
+ executionContexts: list(object(V1_DataSpaceExecutionContextAnalysisResult)),
76
+ defaultExecutionContext: primitive(),
77
+ featuredDiagrams: list(primitive()),
78
+ }));
79
+ }
80
+ //# 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,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Ed,YAAY,GAAkC,EAAE,CAAC;IACjD,WAAW,GAAiC,EAAE,CAAC;IAE/C,KAAK,CAAsB;IAC3B,WAAW,CAAsB;IACjC,WAAW,CAAuC;IAElD,KAAK,CAA2B;IAEhC,iBAAiB,GAAiD,EAAE,CAAC;IACrE,uBAAuB,CAAU;IAEjC,gBAAgB,GAAa,EAAE,CAAC;IAEhC,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,0BAA0B,EAAE;QAC5C,IAAI,EAAE,SAAS,EAAE;QACjB,OAAO,EAAE,SAAS,EAAE;QACpB,IAAI,EAAE,SAAS,EAAE;QAEjB,YAAY,EAAE,IAAI,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC;QACvD,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC;QAErD,KAAK,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QAC5B,WAAW,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QAClC,WAAW,EAAE,cAAc,CACzB,GAAG,EAAE,CAAC,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"}
@@ -35,6 +35,7 @@ export declare class V1_DataSpace extends V1_PackageableElement implements Hasha
35
35
  executionContexts: V1_DataSpaceExecutionContext[];
36
36
  defaultExecutionContext: string;
37
37
  featuredDiagrams?: V1_PackageableElementPointer[] | undefined;
38
+ title?: string | undefined;
38
39
  description?: string | undefined;
39
40
  supportInfo?: V1_DataSpaceSupportInfo | undefined;
40
41
  get hashCode(): string;
@@ -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,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAElD,IAAa,QAAQ,IAAI,MAAM,CAY9B;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
  }
@@ -48,6 +48,7 @@ export class V1_DataSpace extends V1_PackageableElement {
48
48
  executionContexts;
49
49
  defaultExecutionContext;
50
50
  featuredDiagrams;
51
+ title;
51
52
  description;
52
53
  supportInfo;
53
54
  get hashCode() {
@@ -58,6 +59,7 @@ export class V1_DataSpace extends V1_PackageableElement {
58
59
  hashArray(this.executionContexts),
59
60
  this.defaultExecutionContext,
60
61
  hashArray((this.featuredDiagrams ?? []).map((pointer) => pointer.path)),
62
+ this.title ?? '',
61
63
  this.description ?? '',
62
64
  this.supportInfo ?? '',
63
65
  ]);
@@ -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,wBAA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 -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,+CA+DlC,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
  }
@@ -76,5 +76,6 @@ export const V1_dataSpaceModelSchema = createModelSchema(V1_DataSpace, {
76
76
  }), (values) => deserializeArray(values, (v) => deserialize(V1_taggedValueSchema, v), {
77
77
  skipIfEmpty: false,
78
78
  })),
79
+ title: optional(primitive()),
79
80
  });
80
81
  //# sourceMappingURL=V1_DSLDataSpace_ProtocolHelper.js.map
@@ -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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B,EAAE,CAAC,CAAC,EAAE;QACpE,WAAW,EAAE,KAAK;KACnB,CAAC,CACL;IACD,KAAK,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;CAC7B,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v4.0.5
1
+ /** @license @finos/legend-extension-dsl-data-space v6.1.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__title{display:flex;align-items:center;justify-content:center;height:3.4rem;max-width:100%;background:var(--color-blue-150)}.data-space__viewer__title__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 3.4rem);font-family:"Roboto Mono",monospace;font-size:1.6rem;padding:0 1rem;user-select:none;color:var(--color-light-grey-0);line-height:3.4rem;text-align:left}.data-space__viewer__title__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__title__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__info{padding:2rem}.data-space__viewer__info__project-info__label{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-blue-100);color:var(--color-dark-grey-100);font-weight:500}.data-space__viewer__info__project-info__value{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-word;text-align:left;height:100%;width:calc(100% - 17.8rem);padding:0 1rem;background:var(--color-dark-grey-100);font-weight:500;color:var(--color-blue-50);font-family:"Roboto Mono",monospace}.data-space__viewer__info__project-info__link{display:flex;align-items:center;justify-content:center;height:100%;width:2.8rem;background:var(--color-dark-grey-100);color:var(--color-light-shade-100);border-radius:0 .2rem .2rem 0;border-left:.1rem solid var(--color-dark-shade-250)}.data-space__viewer__info__project-info__link svg{font-size:1.2rem}.data-space__viewer__info__section{cursor:default;margin:.5rem 0 3rem}.data-space__viewer__info__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__info__section__entry{display:flex;align-items:center;height:2.8rem;margin:.5rem 0;width:100%}.data-space__viewer__info__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__info__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__info__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__info__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__path{font-size:1.2rem;color:var(--color-dark-grey-400);margin-left:.5rem;line-height:1.4rem}.query-setup__data-space__option__gav{font-size:1.2rem;color:var(--color-blue-50);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,2BCTA,aACA,mBACA,uBDUE,cACA,eACA,iCAEA,qDCCF,uBACA,gBACA,sBACA,gBDDI,YACA,0BACA,oCACA,iBACA,eACA,iBACA,gCACA,mBACA,gBAGF,iCC9BF,aACA,mBACA,uBD+BI,cACA,aACA,oDAEA,qCACE,iBACA,gCAKN,iCACE,eACA,iBACA,aACA,gBACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,wCC1DF,aACA,mBACA,uBD2DI,gBACA,iCAIJ,6BClEA,aACA,mBACA,uBDmEE,0BACA,oBAGF,0BCzEA,aACA,mBACA,uBD0EE,WACA,YAGF,kCACE,WACA,sCACA,YACA,kBACA,kBAEA,yCACE,YACA,gBACA,kBAGF,wCC7FF,aACA,mBACA,uBD8FI,YACA,WACA,iCACA,eAGF,4CACE,eAGF,8CACE,kCACA,eAGF,gDACE,kCAIJ,gCACE,YACA,wBACA,8CACA,cAEA,yCACE,YACA,WAIJ,8BACE,aACA,sBACA,YACA,WAEA,sCChIF,aACA,mBDkII,cACA,WAGF,sCCvIF,aACA,mBDyII,YACA,sCACA,kCACA,gBACA,iBACA,eAEA,4CCvJJ,aACA,mBACA,uBDwJM,YAEA,gDACE,iBAIJ,4CACE,kBACA,iBACA,gBAIJ,gDACE,WAGF,uCACE,2BACA,WAGF,wCACE,WAEA,mDACE,cAKN,+BACE,aAEA,6CACE,kCAGF,sCC3LF,aACA,mBD6LI,cACA,WAEA,4CCvMJ,aACA,mBACA,uBDwMM,cACA,aACA,8BACA,sCAEA,gDACE,iBAIJ,+CC9MJ,aACA,mBDgNM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,sCACA,kDACA,iBAEA,yDACE,WAEA,oEACE,cAGF,iEClOR,aACA,mBDqOQ,sECtOR,aACA,mBDwOU,iCACA,cACA,gBACA,kBACA,oBACA,iBACA,kCAIJ,qDACE,oCAKN,4CACE,iBACA,oBACA,eACA,iBACA,aACA,YACA,WACA,sCACA,cACA,mBACA,iCACA,8BACA,iBAEA,mDC9QJ,aACA,mBACA,uBD+QM,gBACA,iCAIJ,wCACE,oBAIJ,0BACE,aAEA,+CC9QF,mBACA,uBACA,gBACA,sBACA,gBD6QI,YACA,YACA,8BACA,eACA,mBACA,iCACA,iCACA,gBAGF,+CC3RF,mBACA,uBACA,gBACA,sBACA,gBD0RI,YACA,2BACA,eACA,sCACA,gBACA,2BACA,oCAGF,8CCvTF,aACA,mBACA,uBDwTI,YACA,aACA,sCACA,mCACA,8BACA,oDAEA,kDACE,iBAIJ,mCACE,eACA,oBAGF,0CCrUF,aACA,mBDuUI,gBACA,iCACA,mBACA,iBACA,eAGF,0CC/UF,aACA,mBDiVI,cACA,eACA,WAGF,6CC7UF,mBACA,uBACA,gBACA,sBACA,gBD4UI,YACA,YACA,8BACA,eACA,mBACA,mCACA,kCACA,gBAGF,+CC1VF,mBACA,uBACA,gBACA,sBACA,gBDyVI,YACA,yBACA,8BACA,eACA,mBACA,sCACA,kCAGF,uCChXF,aACA,mBDkXI,YACA,oBACA,eACA,mBACA,mCACA,kCACA,gBAGF,gDClYF,aACA,mBACA,uBDmYI,YACA,WACA,iCACA,gBACA,+CAIJ,kCACE,aAIA,0CC5YF,aACA,mBD8YI,cACA,WAEA,gDCxZJ,aACA,mBACA,uBDyZM,cACA,aACA,8BACA,sCAEA,oDACE,iBACA,kCAIJ,mDChaJ,aACA,mBDkaM,cACA,0BACA,8BACA,8CACA,kCACA,eACA,oCACA,sCACA,kDACA,iBExbR,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,uCACE,iBACA,iCACA,kBACA,mBAGF,sCACE,iBACA,2BACA,kBACA,mBAGF,+BACE,2BACA,WAEA,uCDxDF,aACA,mBC0DI,cAEA,6CDnEJ,aACA,mBACA,uBCoEM,YAGF,6CACE,kBACA,iCACA,gBACA,eACA,iBACA,kBACA,mBCpFR,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"}