@finos/legend-extension-dsl-data-space 2.0.3 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/DSLDataSpace_Extension.d.ts +0 -2
- package/lib/DSLDataSpace_Extension.d.ts.map +1 -1
- package/lib/DSLDataSpace_Extension.js +8 -9
- package/lib/DSLDataSpace_Extension.js.map +1 -1
- package/lib/components/DataSpaceViewer.d.ts +2 -2
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +2 -2
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js +2 -2
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.d.ts +2 -2
- package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +9 -9
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.d.ts +4 -14
- package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.d.ts.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.js +8 -6
- package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.js.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js +7 -7
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts.map +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js +1 -1
- package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +2 -2
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts +1 -1
- package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +6 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +6 -6
- package/lib/index.js.map +1 -1
- package/lib/models/DSLDataSpace_ModelUtils.js +1 -1
- package/lib/models/DSLDataSpace_ModelUtils.js.map +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts +1 -3
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +1 -1
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js +1 -3
- package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +1 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +2 -2
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +7 -7
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -1
- package/lib/package.json +13 -12
- package/lib/stores/DataSpaceViewerState.d.ts +1 -1
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +1 -1
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js +2 -2
- package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
- package/package.json +23 -22
- package/src/DSLDataSpace_Extension.ts +8 -11
- package/src/components/DataSpaceViewer.tsx +3 -3
- package/src/components/query/DSLDataSpace_LegendQueryPlugin.tsx +2 -2
- package/src/components/query/DataSpaceQuerySetup.tsx +10 -10
- package/src/components/studio/DSLDataSpace_LegendStudioDocumentation.ts +13 -6
- package/src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx +11 -10
- package/src/graph/DSLDataSpace_PureGraphPlugin.ts +1 -1
- package/src/graphManager/DSLDataSpace_GraphManagerHelper.ts +1 -1
- package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +2 -2
- package/src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts +1 -1
- package/src/index.ts +6 -6
- package/src/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts +1 -5
- package/src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +7 -7
- package/src/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts +1 -1
- package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts +2 -2
- package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +1 -1
- package/src/stores/DataSpaceViewerState.ts +1 -1
- package/src/stores/query/DataSpaceQuerySetupState.ts +2 -2
- package/tsconfig.json +3 -8
- package/tsconfig.package.json +1 -4
|
@@ -14,20 +14,27 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
+
import type { LegendApplicationDocumentationEntryConfig } from '@finos/legend-application';
|
|
18
|
+
|
|
17
19
|
export enum DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY {
|
|
18
|
-
GRAMMAR_PARSER = 'dsl-
|
|
19
|
-
|
|
20
|
+
GRAMMAR_PARSER = 'dsl-dataspace.grammar.parser',
|
|
21
|
+
GRAMMAR_ELEMENT_DATA_SPACE = 'dsl-dataspace.grammar.element.data-space',
|
|
20
22
|
}
|
|
21
23
|
|
|
22
|
-
export const DSL_DATA_SPACE_DOCUMENTATION_ENTRIES
|
|
24
|
+
export const DSL_DATA_SPACE_DOCUMENTATION_ENTRIES: Record<
|
|
25
|
+
string,
|
|
26
|
+
LegendApplicationDocumentationEntryConfig
|
|
27
|
+
> = {
|
|
23
28
|
[DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER]: {
|
|
29
|
+
title: `What is DataSpace DSL about?`,
|
|
24
30
|
markdownText: {
|
|
25
|
-
value:
|
|
31
|
+
value: `\`DataSpace DSL\` (corresponding to header \`###DataSpace\` section in \`Pure\`) concerns with providing information and documentation about the taxonomy of data models`,
|
|
26
32
|
},
|
|
27
33
|
},
|
|
28
|
-
[DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.
|
|
34
|
+
[DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_ELEMENT_DATA_SPACE]: {
|
|
35
|
+
title: `What is a data-space element?`,
|
|
29
36
|
markdownText: {
|
|
30
|
-
value: `A
|
|
37
|
+
value: `A \`Data-space\` element specifies a grouping of model diagrams, execution context (mapping, runtime), test data, and so on to help communicate about the _meaning_, _usage_, and relationships of data models and to help users quickly explore and understand the models`,
|
|
31
38
|
},
|
|
32
39
|
},
|
|
33
40
|
};
|
|
@@ -38,7 +38,7 @@ import type { PackageableElement } from '@finos/legend-graph';
|
|
|
38
38
|
import {
|
|
39
39
|
DataSpace,
|
|
40
40
|
DataSpaceExecutionContext,
|
|
41
|
-
} from '../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
41
|
+
} from '../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
42
42
|
import { LATEST_VERSION_ALIAS } from '@finos/legend-server-depot';
|
|
43
43
|
import {
|
|
44
44
|
collectKeyedDocumnetationEntriesFromConfig,
|
|
@@ -48,12 +48,12 @@ import {
|
|
|
48
48
|
import {
|
|
49
49
|
DSL_DATA_SPACE_DOCUMENTATION_ENTRIES,
|
|
50
50
|
DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY,
|
|
51
|
-
} from './DSLDataSpace_LegendStudioDocumentation';
|
|
51
|
+
} from './DSLDataSpace_LegendStudioDocumentation.js';
|
|
52
52
|
import {
|
|
53
53
|
PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL,
|
|
54
54
|
PURE_GRAMMAR_DATA_SPACE_PARSER_NAME,
|
|
55
|
-
} from '../../graphManager/DSLDataSpace_PureGraphManagerPlugin';
|
|
56
|
-
import { SIMPLE_DATA_SPACE_SNIPPET } from './DSLDataSpace_CodeSnippets';
|
|
55
|
+
} from '../../graphManager/DSLDataSpace_PureGraphManagerPlugin.js';
|
|
56
|
+
import { SIMPLE_DATA_SPACE_SNIPPET } from './DSLDataSpace_CodeSnippets.js';
|
|
57
57
|
|
|
58
58
|
const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
|
|
59
59
|
const DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE =
|
|
@@ -168,8 +168,8 @@ export class DSLDataSpace_LegendStudioPlugin
|
|
|
168
168
|
): LegendApplicationDocumentationEntry | undefined => {
|
|
169
169
|
if (parserKeyword === PURE_GRAMMAR_DATA_SPACE_PARSER_NAME) {
|
|
170
170
|
if (elementKeyword === PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL) {
|
|
171
|
-
return editorStore.applicationStore.
|
|
172
|
-
DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.
|
|
171
|
+
return editorStore.applicationStore.documentationService.getDocEntry(
|
|
172
|
+
DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_ELEMENT_DATA_SPACE,
|
|
173
173
|
);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
@@ -185,7 +185,7 @@ export class DSLDataSpace_LegendStudioPlugin
|
|
|
185
185
|
parserKeyword: string,
|
|
186
186
|
): LegendApplicationDocumentationEntry | undefined => {
|
|
187
187
|
if (parserKeyword === PURE_GRAMMAR_DATA_SPACE_PARSER_NAME) {
|
|
188
|
-
return editorStore.applicationStore.
|
|
188
|
+
return editorStore.applicationStore.documentationService.getDocEntry(
|
|
189
189
|
DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER,
|
|
190
190
|
);
|
|
191
191
|
}
|
|
@@ -200,9 +200,10 @@ export class DSLDataSpace_LegendStudioPlugin
|
|
|
200
200
|
{
|
|
201
201
|
text: PURE_GRAMMAR_DATA_SPACE_PARSER_NAME,
|
|
202
202
|
description: `(dsl)`,
|
|
203
|
-
documentation:
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
documentation:
|
|
204
|
+
editorStore.applicationStore.documentationService.getDocEntry(
|
|
205
|
+
DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER,
|
|
206
|
+
),
|
|
206
207
|
insertText: PURE_GRAMMAR_DATA_SPACE_PARSER_NAME,
|
|
207
208
|
},
|
|
208
209
|
],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../package.json';
|
|
18
|
-
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
18
|
+
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
19
19
|
import type { Clazz } from '@finos/legend-shared';
|
|
20
20
|
import { type PackageableElement, PureGraphPlugin } from '@finos/legend-graph';
|
|
21
21
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import type { BasicModel, PureModel } from '@finos/legend-graph';
|
|
18
18
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
19
|
-
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
19
|
+
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
20
20
|
|
|
21
21
|
export const getDataSpace = (path: string, graph: PureModel): DataSpace =>
|
|
22
22
|
graph.getExtensionElement(path, DataSpace, `Can't find data space '${path}'`);
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../package.json';
|
|
18
|
-
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
18
|
+
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
19
19
|
import {
|
|
20
20
|
PureGraphManagerPlugin,
|
|
21
21
|
type ObserverContext,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
type PackageableElement,
|
|
24
24
|
type PureGrammarElementLabeler,
|
|
25
25
|
} from '@finos/legend-graph';
|
|
26
|
-
import { observe_DataSpace } from './action/changeDetection/DSLDataSpace_ObserverHelper';
|
|
26
|
+
import { observe_DataSpace } from './action/changeDetection/DSLDataSpace_ObserverHelper.js';
|
|
27
27
|
|
|
28
28
|
export const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = 'DataSpace';
|
|
29
29
|
export const PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL = 'DataSpace';
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
skipObserved,
|
|
22
22
|
} from '@finos/legend-graph';
|
|
23
23
|
import { makeObservable, override } from 'mobx';
|
|
24
|
-
import type { DataSpace } from '../../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
24
|
+
import type { DataSpace } from '../../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
25
25
|
|
|
26
26
|
export const observe_DataSpace = skipObserved(
|
|
27
27
|
(metamodel: DataSpace): DataSpace => {
|
package/src/index.ts
CHANGED
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
export * from './DSLDataSpace_Extension';
|
|
18
|
-
export { DSLDataSpace_LegendStudioPlugin } from './components/studio/DSLDataSpace_LegendStudioPlugin';
|
|
19
|
-
export { DSLDataSpace_LegendQueryPlugin } from './components/query/DSLDataSpace_LegendQueryPlugin';
|
|
17
|
+
export * from './DSLDataSpace_Extension.js';
|
|
18
|
+
export { DSLDataSpace_LegendStudioPlugin } from './components/studio/DSLDataSpace_LegendStudioPlugin.js';
|
|
19
|
+
export { DSLDataSpace_LegendQueryPlugin } from './components/query/DSLDataSpace_LegendQueryPlugin.js';
|
|
20
20
|
|
|
21
|
-
export { DataSpaceViewer } from './components/DataSpaceViewer';
|
|
21
|
+
export { DataSpaceViewer } from './components/DataSpaceViewer.js';
|
|
22
22
|
|
|
23
23
|
export {
|
|
24
24
|
DATA_SPACE_ELEMENT_CLASSIFIER_PATH,
|
|
25
25
|
extractDataSpaceTaxonomyNodes,
|
|
26
26
|
getResolvedDataSpace,
|
|
27
|
-
} from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
|
|
27
|
+
} from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
|
|
28
28
|
|
|
29
|
-
export { DataSpaceViewerState } from './stores/DataSpaceViewerState';
|
|
29
|
+
export { DataSpaceViewerState } from './stores/DataSpaceViewerState.js';
|
package/src/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts
CHANGED
|
@@ -18,10 +18,8 @@ import { hashArray, type Hashable } from '@finos/legend-shared';
|
|
|
18
18
|
import {
|
|
19
19
|
PackageableElement,
|
|
20
20
|
type PackageableElementVisitor,
|
|
21
|
-
type StereotypeReference,
|
|
22
|
-
type TaggedValue,
|
|
23
21
|
} from '@finos/legend-graph';
|
|
24
|
-
import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSLDataSpace_ModelUtils';
|
|
22
|
+
import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSLDataSpace_ModelUtils.js';
|
|
25
23
|
|
|
26
24
|
export abstract class DataSpaceSupportInfo implements Hashable {
|
|
27
25
|
abstract get hashCode(): string;
|
|
@@ -59,8 +57,6 @@ export class DataSpaceExecutionContext implements Hashable {
|
|
|
59
57
|
}
|
|
60
58
|
|
|
61
59
|
export class DataSpace extends PackageableElement implements Hashable {
|
|
62
|
-
stereotypes: StereotypeReference[] = [];
|
|
63
|
-
taggedValues: TaggedValue[] = [];
|
|
64
60
|
groupId!: string;
|
|
65
61
|
artifactId!: string;
|
|
66
62
|
versionId!: string;
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
V1_DataSpace,
|
|
21
21
|
V1_DataSpaceExecutionContext,
|
|
22
22
|
V1_DataSpaceSupportEmail,
|
|
23
|
-
} from './v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace';
|
|
23
|
+
} from './v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
|
|
24
24
|
import {
|
|
25
25
|
type PlainObject,
|
|
26
26
|
uuid,
|
|
@@ -34,14 +34,14 @@ import { deserialize, serialize } from 'serializr';
|
|
|
34
34
|
import {
|
|
35
35
|
V1_dataSpaceModelSchema,
|
|
36
36
|
V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE,
|
|
37
|
-
} from './v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper';
|
|
38
|
-
import { getOwnDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper';
|
|
37
|
+
} from './v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js';
|
|
38
|
+
import { getOwnDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper.js';
|
|
39
39
|
import {
|
|
40
40
|
type DataSpaceSupportInfo,
|
|
41
41
|
DataSpace,
|
|
42
42
|
DataSpaceExecutionContext,
|
|
43
43
|
DataSpaceSupportEmail,
|
|
44
|
-
} from '../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
44
|
+
} from '../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
45
45
|
import {
|
|
46
46
|
type Mapping,
|
|
47
47
|
type PackageableElement,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
V1_taggedValueSchema,
|
|
61
61
|
PackageableElementExplicitReference,
|
|
62
62
|
V1_PackageableElementPointer,
|
|
63
|
-
|
|
63
|
+
PackageableElementPointerType,
|
|
64
64
|
V1_buildTaggedValue,
|
|
65
65
|
V1_transformStereotype,
|
|
66
66
|
V1_transformTaggedValue,
|
|
@@ -263,11 +263,11 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
263
263
|
contextProtocol.name = execContext.name;
|
|
264
264
|
contextProtocol.description = execContext.description;
|
|
265
265
|
contextProtocol.mapping = new V1_PackageableElementPointer(
|
|
266
|
-
|
|
266
|
+
PackageableElementPointerType.MAPPING,
|
|
267
267
|
execContext.mapping,
|
|
268
268
|
);
|
|
269
269
|
contextProtocol.defaultRuntime = new V1_PackageableElementPointer(
|
|
270
|
-
|
|
270
|
+
PackageableElementPointerType.RUNTIME,
|
|
271
271
|
execContext.defaultRuntime,
|
|
272
272
|
);
|
|
273
273
|
return contextProtocol;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { hashArray, type Hashable } from '@finos/legend-shared';
|
|
18
|
-
import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../../DSLDataSpace_ModelUtils';
|
|
18
|
+
import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../../DSLDataSpace_ModelUtils.js';
|
|
19
19
|
import {
|
|
20
20
|
V1_PackageableElement,
|
|
21
21
|
type V1_PackageableElementPointer,
|
package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { getDataSpace } from '../../../../../../graphManager/DSLDataSpace_GraphManagerHelper';
|
|
18
|
-
import type { DataSpace } from '../../../../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
|
|
17
|
+
import { getDataSpace } from '../../../../../../graphManager/DSLDataSpace_GraphManagerHelper.js';
|
|
18
|
+
import type { DataSpace } from '../../../../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
|
|
19
19
|
import type {
|
|
20
20
|
PackageableElementImplicitReference,
|
|
21
21
|
V1_GraphBuilderContext,
|
package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts
CHANGED
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
V1_DataSpace,
|
|
44
44
|
V1_DataSpaceExecutionContext,
|
|
45
45
|
V1_DataSpaceSupportEmail,
|
|
46
|
-
} from '../../model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace';
|
|
46
|
+
} from '../../model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
|
|
47
47
|
|
|
48
48
|
export const V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE = 'dataSpace';
|
|
49
49
|
export const V1_DATA_SPACE_SUPPORT_EMAIL_TYPE = 'email';
|
|
@@ -30,7 +30,7 @@ import { action, computed, makeObservable, observable } from 'mobx';
|
|
|
30
30
|
import type {
|
|
31
31
|
ResolvedDataSpace,
|
|
32
32
|
ResolvedDataSpaceExecutionContext,
|
|
33
|
-
} from '../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
|
|
33
|
+
} from '../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
|
|
34
34
|
|
|
35
35
|
export enum DATA_SPACE_VIEWER_ACTIVITY_MODE {
|
|
36
36
|
MODELS_OVERVIEW = 'MODELS_OVERVIEW',
|
|
@@ -41,8 +41,8 @@ import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
|
|
41
41
|
import {
|
|
42
42
|
DATA_SPACE_ELEMENT_CLASSIFIER_PATH,
|
|
43
43
|
getResolvedDataSpace,
|
|
44
|
-
} from '../../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
|
|
45
|
-
import { DataSpaceViewerState } from '../DataSpaceViewerState';
|
|
44
|
+
} from '../../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
|
|
45
|
+
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
|
46
46
|
|
|
47
47
|
export type LightDataSpace = Entity & {
|
|
48
48
|
groupId: string;
|
package/tsconfig.json
CHANGED
|
@@ -12,14 +12,11 @@
|
|
|
12
12
|
"declarationMap": true,
|
|
13
13
|
"sourceMap": true,
|
|
14
14
|
"target": "esnext",
|
|
15
|
-
"module": "
|
|
15
|
+
"module": "nodenext",
|
|
16
16
|
"skipLibCheck": true,
|
|
17
|
-
"moduleResolution": "node",
|
|
18
17
|
"resolveJsonModule": true,
|
|
19
18
|
"isolatedModules": true,
|
|
20
19
|
"importsNotUsedAsValues": "error",
|
|
21
|
-
"esModuleInterop": true,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
20
|
"strict": true,
|
|
24
21
|
"noImplicitOverride": true,
|
|
25
22
|
"noUncheckedIndexedAccess": true,
|
|
@@ -64,9 +61,7 @@
|
|
|
64
61
|
"src/**/*.json"
|
|
65
62
|
],
|
|
66
63
|
"exclude": [
|
|
67
|
-
"src/**/__tests__
|
|
68
|
-
"src/**/
|
|
69
|
-
"src/**/__mocks__/**/*.ts",
|
|
70
|
-
"src/**/__mocks__/**/*.tsx"
|
|
64
|
+
"src/**/__tests__/**/*.*",
|
|
65
|
+
"src/**/__mocks__/**/*.*"
|
|
71
66
|
]
|
|
72
67
|
}
|
package/tsconfig.package.json
CHANGED
|
@@ -12,14 +12,11 @@
|
|
|
12
12
|
"declarationMap": true,
|
|
13
13
|
"sourceMap": true,
|
|
14
14
|
"target": "esnext",
|
|
15
|
-
"module": "
|
|
15
|
+
"module": "nodenext",
|
|
16
16
|
"skipLibCheck": true,
|
|
17
|
-
"moduleResolution": "node",
|
|
18
17
|
"resolveJsonModule": true,
|
|
19
18
|
"isolatedModules": true,
|
|
20
19
|
"importsNotUsedAsValues": "error",
|
|
21
|
-
"esModuleInterop": true,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
20
|
"strict": true,
|
|
24
21
|
"noImplicitOverride": true,
|
|
25
22
|
"noUncheckedIndexedAccess": true,
|