@finos/legend-extension-dsl-data-space 10.0.21 → 10.0.23

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 (42) hide show
  1. package/lib/graph/DSL_DataSpace_HashUtils.d.ts +2 -1
  2. package/lib/graph/DSL_DataSpace_HashUtils.d.ts.map +1 -1
  3. package/lib/graph/DSL_DataSpace_HashUtils.js +1 -0
  4. package/lib/graph/DSL_DataSpace_HashUtils.js.map +1 -1
  5. package/lib/graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.d.ts +23 -0
  6. package/lib/graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.d.ts.map +1 -0
  7. package/lib/graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.js +32 -0
  8. package/lib/graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.js.map +1 -0
  9. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts +8 -2
  10. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
  11. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js +78 -15
  12. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js.map +1 -1
  13. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.d.ts +21 -0
  14. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.d.ts.map +1 -0
  15. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js +28 -0
  16. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js.map +1 -0
  17. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts +4 -0
  18. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts.map +1 -1
  19. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js +12 -3
  20. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js.map +1 -1
  21. package/lib/index.css +1 -1
  22. package/lib/package.json +2 -2
  23. package/lib/stores/query/DataSpaceQueryBuilderState.d.ts +2 -2
  24. package/lib/stores/query/DataSpaceQueryBuilderState.js +2 -2
  25. package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts +2 -1
  26. package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts.map +1 -1
  27. package/lib/stores/query/DataSpaceQueryCreatorStore.js +4 -1
  28. package/lib/stores/query/DataSpaceQueryCreatorStore.js.map +1 -1
  29. package/lib/stores/query/DataSpaceQuerySetupStore.d.ts +2 -2
  30. package/lib/stores/query/DataSpaceQuerySetupStore.d.ts.map +1 -1
  31. package/lib/stores/query/DataSpaceQuerySetupStore.js +2 -2
  32. package/lib/stores/query/DataSpaceQuerySetupStore.js.map +1 -1
  33. package/package.json +14 -14
  34. package/src/graph/DSL_DataSpace_HashUtils.ts +1 -0
  35. package/src/graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.ts +44 -0
  36. package/src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts +134 -26
  37. package/src/graph-manager/protocol/pure/v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.ts +30 -0
  38. package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts +26 -4
  39. package/src/stores/query/DataSpaceQueryBuilderState.ts +2 -2
  40. package/src/stores/query/DataSpaceQueryCreatorStore.ts +6 -2
  41. package/src/stores/query/DataSpaceQuerySetupStore.ts +3 -3
  42. package/tsconfig.json +2 -0
@@ -20,6 +20,7 @@ export declare enum DATA_SPACE_HASH_STRUCTURE {
20
20
  DATA_SPACE_EXECUTABLE = "DATA_SPACE_EXECUTABLE",
21
21
  DATA_SPACE_DIAGRAM = "DATA_SPACE_DIAGRAM",
22
22
  DATA_SPACE_SUPPORT_COMBINED_INFO = "DATA_SPACE_SUPPORT_COMBINED_INFO",
23
- DATA_SPACE_SUPPORT_EMAIL = "DATA_SPACE_SUPPORT_EMAIL"
23
+ DATA_SPACE_SUPPORT_EMAIL = "DATA_SPACE_SUPPORT_EMAIL",
24
+ MAPPING_INCLUDE_DATASPACE = "MAPPING_INCLUDE_DATASPACE"
24
25
  }
25
26
  //# sourceMappingURL=DSL_DataSpace_HashUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_HashUtils.d.ts","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,yBAAyB;IACnC,UAAU,eAAe;IACzB,4BAA4B,iCAAiC;IAC7D,0BAA0B,+BAA+B;IACzD,qBAAqB,0BAA0B;IAC/C,kBAAkB,uBAAuB;IACzC,gCAAgC,qCAAqC;IACrE,wBAAwB,6BAA6B;CACtD"}
1
+ {"version":3,"file":"DSL_DataSpace_HashUtils.d.ts","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,yBAAyB;IACnC,UAAU,eAAe;IACzB,4BAA4B,iCAAiC;IAC7D,0BAA0B,+BAA+B;IACzD,qBAAqB,0BAA0B;IAC/C,kBAAkB,uBAAuB;IACzC,gCAAgC,qCAAqC;IACrE,wBAAwB,6BAA6B;IACrD,yBAAyB,8BAA8B;CACxD"}
@@ -22,5 +22,6 @@ export var DATA_SPACE_HASH_STRUCTURE;
22
22
  DATA_SPACE_HASH_STRUCTURE["DATA_SPACE_DIAGRAM"] = "DATA_SPACE_DIAGRAM";
23
23
  DATA_SPACE_HASH_STRUCTURE["DATA_SPACE_SUPPORT_COMBINED_INFO"] = "DATA_SPACE_SUPPORT_COMBINED_INFO";
24
24
  DATA_SPACE_HASH_STRUCTURE["DATA_SPACE_SUPPORT_EMAIL"] = "DATA_SPACE_SUPPORT_EMAIL";
25
+ DATA_SPACE_HASH_STRUCTURE["MAPPING_INCLUDE_DATASPACE"] = "MAPPING_INCLUDE_DATASPACE";
25
26
  })(DATA_SPACE_HASH_STRUCTURE = DATA_SPACE_HASH_STRUCTURE || (DATA_SPACE_HASH_STRUCTURE = {}));
26
27
  //# sourceMappingURL=DSL_DataSpace_HashUtils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_HashUtils.js","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,yBAQX;AARD,WAAY,yBAAyB;IACnC,sDAAyB,CAAA;IACzB,0FAA6D,CAAA;IAC7D,sFAAyD,CAAA;IACzD,4EAA+C,CAAA;IAC/C,sEAAyC,CAAA;IACzC,kGAAqE,CAAA;IACrE,kFAAqD,CAAA;AACvD,CAAC,EARW,yBAAyB,GAAzB,yBAAyB,KAAzB,yBAAyB,QAQpC"}
1
+ {"version":3,"file":"DSL_DataSpace_HashUtils.js","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,yBASX;AATD,WAAY,yBAAyB;IACnC,sDAAyB,CAAA;IACzB,0FAA6D,CAAA;IAC7D,sFAAyD,CAAA;IACzD,4EAA+C,CAAA;IAC/C,sEAAyC,CAAA;IACzC,kGAAqE,CAAA;IACrE,kFAAqD,CAAA;IACrD,oFAAuD,CAAA;AACzD,CAAC,EATW,yBAAyB,GAAzB,yBAAyB,KAAzB,yBAAyB,QASpC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { type Mapping, MappingInclude, type PackageableElementReference } from '@finos/legend-graph';
17
+ import type { DataSpace } from '../dataSpace/DSL_DataSpace_DataSpace.js';
18
+ export declare class MappingIncludeDataSpace extends MappingInclude {
19
+ includedDataSpace: PackageableElementReference<DataSpace>;
20
+ constructor(_OWNER: Mapping, included: PackageableElementReference<Mapping>, includedDataSpace: PackageableElementReference<DataSpace>);
21
+ get hashCode(): string;
22
+ }
23
+ //# sourceMappingURL=DSL_DataSpace_MappingIncludeDataSpace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_MappingIncludeDataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../src/graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,OAAO,EACZ,cAAc,EACd,KAAK,2BAA2B,EACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGzE,qBAAa,uBAAwB,SAAQ,cAAc;IACzD,iBAAiB,EAAE,2BAA2B,CAAC,SAAS,CAAC,CAAC;gBAGxD,MAAM,EAAE,OAAO,EACf,QAAQ,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAC9C,iBAAiB,EAAE,2BAA2B,CAAC,SAAS,CAAC;IAM3D,IAAa,QAAQ,IAAI,MAAM,CAK9B;CACF"}
@@ -0,0 +1,32 @@
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 { hashArray } from '@finos/legend-shared';
17
+ import { MappingInclude, } from '@finos/legend-graph';
18
+ import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSL_DataSpace_HashUtils.js';
19
+ export class MappingIncludeDataSpace extends MappingInclude {
20
+ includedDataSpace;
21
+ constructor(_OWNER, included, includedDataSpace) {
22
+ super(_OWNER, included);
23
+ this.includedDataSpace = includedDataSpace;
24
+ }
25
+ get hashCode() {
26
+ return hashArray([
27
+ DATA_SPACE_HASH_STRUCTURE.MAPPING_INCLUDE_DATASPACE,
28
+ this.includedDataSpace.valueForSerialization ?? '',
29
+ ]);
30
+ }
31
+ }
32
+ //# sourceMappingURL=DSL_DataSpace_MappingIncludeDataSpace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_MappingIncludeDataSpace.js","sourceRoot":"","sources":["../../../../../../../src/graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAEL,cAAc,GAEf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAEtF,MAAM,OAAO,uBAAwB,SAAQ,cAAc;IACzD,iBAAiB,CAAyC;IAE1D,YACE,MAAe,EACf,QAA8C,EAC9C,iBAAyD;QAEzD,KAAK,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACxB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,yBAAyB;YACnD,IAAI,CAAC,iBAAiB,CAAC,qBAAqB,IAAI,EAAE;SACnD,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -15,9 +15,9 @@
15
15
  */
16
16
  import { V1_DataSpace } from './v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
17
17
  import { type PlainObject } from '@finos/legend-shared';
18
- import { type V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement, type V1_PureModelContextData, PureProtocolProcessorPlugin, V1_ElementBuilder } from '@finos/legend-graph';
18
+ import { type V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement, type V1_PureModelContextData, PureProtocolProcessorPlugin, V1_ElementBuilder, type DSL_Mapping_PureProtocolProcessorPlugin_Extension, type V1_MappingIncludeBuilder, type V1_MappingIncludeTransformer, type V1_MappingIncludeProtocolSerializer, type V1_MappingIncludeProtocolDeserializer, type V1_ExecutionInputCollector, type V1_MappingIncludeIdentifierBuilder } from '@finos/legend-graph';
19
19
  export declare const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = "meta::pure::metamodel::dataSpace::DataSpace";
20
- export declare class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
20
+ export declare class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin implements DSL_Mapping_PureProtocolProcessorPlugin_Extension {
21
21
  constructor();
22
22
  V1_getExtraElementBuilders(): V1_ElementBuilder<V1_PackageableElement>[];
23
23
  V1_getExtraSystemModels(): PlainObject<V1_PureModelContextData>[];
@@ -25,6 +25,12 @@ export declare class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProto
25
25
  V1_getExtraElementProtocolSerializers(): V1_ElementProtocolSerializer[];
26
26
  V1_getExtraElementProtocolDeserializers(): V1_ElementProtocolDeserializer[];
27
27
  V1_getExtraElementTransformers(): V1_ElementTransformer[];
28
+ V1_getExtraMappingIncludeBuilders(): V1_MappingIncludeBuilder[];
29
+ V1_getExtraMappingIncludeTransformers(): V1_MappingIncludeTransformer[];
30
+ V1_getExtraMappingIncludeProtocolSerializers(): V1_MappingIncludeProtocolSerializer[];
31
+ V1_getExtraMappingIncludeProtocolDeserializers(): V1_MappingIncludeProtocolDeserializer[];
32
+ V1_getExtraMappingIncludeIdentifierBuilders(): V1_MappingIncludeIdentifierBuilder[];
33
+ V1_getExtraExecutionInputCollectors(): V1_ExecutionInputCollector[];
28
34
  }
29
35
  export declare const extractDataSpaceTaxonomyNodes: (json: PlainObject<V1_DataSpace>) => string[];
30
36
  //# sourceMappingURL=DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAOb,MAAM,wEAAwE,CAAC;AAChF,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAkB9B,OAAO,EAEL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAS5B,2BAA2B,EAC3B,iBAAiB,EAQlB,MAAM,qBAAqB,CAAC;AAG7B,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,qBAAa,yCAA0C,SAAQ,2BAA2B;;IAQ/E,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IA8JxE,uBAAuB,IAAI,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAIjE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;CA6FnE;AAED,eAAO,MAAM,6BAA6B,SAClC,YAAY,YAAY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAOb,MAAM,wEAAwE,CAAC;AAChF,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAsB9B,OAAO,EAGL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAS5B,2BAA2B,EAC3B,iBAAiB,EAWjB,KAAK,iDAAiD,EACtD,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,EACxC,MAAM,qBAAqB,CAAC;AAK7B,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,qBAAa,yCACX,SAAQ,2BACR,YAAW,iDAAiD;;IASnD,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IA8JxE,uBAAuB,IAAI,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAIjE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;IA8FlE,iCAAiC,IAAI,wBAAwB,EAAE;IAwB/D,qCAAqC,IAAI,4BAA4B,EAAE;IAiBvE,4CAA4C,IAAI,mCAAmC,EAAE;IAarF,8CAA8C,IAAI,qCAAqC,EAAE;IAWzF,2CAA2C,IAAI,kCAAkC,EAAE;IAW1E,mCAAmC,IAAI,0BAA0B,EAAE;CAW7E;AAED,eAAO,MAAM,6BAA6B,SAClC,YAAY,YAAY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
@@ -18,11 +18,14 @@ import V1_SYSTEM_MODELS from './v1/V1_DSL_DataSpace_SystemModels.json';
18
18
  import { V1_DataSpace, V1_DataSpaceDiagram, V1_DataSpaceElementPointer, V1_DataSpaceExecutable, V1_DataSpaceExecutionContext, V1_DataSpaceSupportCombinedInfo, V1_DataSpaceSupportEmail, } from './v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
19
19
  import { guaranteeNonEmptyString, guaranteeNonNullable, UnsupportedOperationError, isNonNullable, assertType, } from '@finos/legend-shared';
20
20
  import { deserialize } from 'serializr';
21
- import { V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE, V1_deserializeDataSpace, V1_serializeDataSpace, } from './v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js';
21
+ import { V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE, V1_deserializeDataSpace, V1_MAPPING_INCLUDE_DATASPACE_TYPE, V1_serializeDataSpace, V1_serializeMappingInclude, V1_deserializeMappingInclude, } from './v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js';
22
+ import { V1_resolveDataSpace } from './v1/transformation/pureGraph/V1_DSL_DataSpace_GraphBuilderHelper.js';
22
23
  import { getOwnDataSpace } from '../../DSL_DataSpace_GraphManagerHelper.js';
23
24
  import { DataSpace, DataSpaceExecutable, DataSpaceExecutionContext, DataSpaceSupportCombinedInfo, DataSpaceSupportEmail, DataSpaceDiagram, DataSpaceElementPointer, } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
24
- import { V1_taggedValueSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_buildFullPath, Class, Enumeration, Association, Package, } from '@finos/legend-graph';
25
+ import { V1_taggedValueModelSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_buildFullPath, Class, Enumeration, Association, Package, } from '@finos/legend-graph';
25
26
  import { V1_resolveDiagram } from '@finos/legend-extension-dsl-diagram/graph';
27
+ import { V1_MappingIncludeDataSpace } from './v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js';
28
+ import { MappingIncludeDataSpace } from '../../../graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.js';
26
29
  export const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = 'meta::pure::metamodel::dataSpace::DataSpace';
27
30
  export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
28
31
  constructor() {
@@ -37,6 +40,18 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
37
40
  assertType(elementProtocol, V1_DataSpace);
38
41
  const element = new DataSpace(elementProtocol.name);
39
42
  const path = V1_buildFullPath(elementProtocol.package, elementProtocol.name);
43
+ element.executionContexts = guaranteeNonNullable(elementProtocol.executionContexts, `Data space 'executionContexts' field is missing`).map((contextProtocol) => {
44
+ const execContext = new DataSpaceExecutionContext();
45
+ execContext.name = guaranteeNonEmptyString(contextProtocol.name, `Data space execution context 'name' field is missing or empty`);
46
+ execContext.title = contextProtocol.title;
47
+ execContext.description = contextProtocol.description;
48
+ execContext.mapping = PackageableElementExplicitReference.create(context.graph.getMapping(contextProtocol.mapping.path));
49
+ execContext.defaultRuntime =
50
+ PackageableElementExplicitReference.create(context.graph.getRuntime(contextProtocol.defaultRuntime.path));
51
+ return execContext;
52
+ });
53
+ element.defaultExecutionContext = guaranteeNonNullable(element.executionContexts.find((execContext) => execContext.name ===
54
+ guaranteeNonEmptyString(elementProtocol.defaultExecutionContext, `Data space 'defaultExecutionContext' field is missing or empty`)), `Can't find default execution context '${elementProtocol.defaultExecutionContext}'`);
40
55
  context.currentSubGraph.setOwnElementInExtension(path, element, DataSpace);
41
56
  return element;
42
57
  },
@@ -50,18 +65,6 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
50
65
  element.taggedValues = elementProtocol.taggedValues
51
66
  .map((taggedValue) => V1_buildTaggedValue(taggedValue, context))
52
67
  .filter(isNonNullable);
53
- element.executionContexts = guaranteeNonNullable(elementProtocol.executionContexts, `Data space 'executionContexts' field is missing`).map((contextProtocol) => {
54
- const execContext = new DataSpaceExecutionContext();
55
- execContext.name = guaranteeNonEmptyString(contextProtocol.name, `Data space execution context 'name' field is missing or empty`);
56
- execContext.title = contextProtocol.title;
57
- execContext.description = contextProtocol.description;
58
- execContext.mapping = PackageableElementExplicitReference.create(context.graph.getMapping(contextProtocol.mapping.path));
59
- execContext.defaultRuntime =
60
- PackageableElementExplicitReference.create(context.graph.getRuntime(contextProtocol.defaultRuntime.path));
61
- return execContext;
62
- });
63
- element.defaultExecutionContext = guaranteeNonNullable(element.executionContexts.find((execContext) => execContext.name ===
64
- guaranteeNonEmptyString(elementProtocol.defaultExecutionContext, `Data space 'defaultExecutionContext' field is missing or empty`)), `Can't find default execution context '${elementProtocol.defaultExecutionContext}'`);
65
68
  element.title = elementProtocol.title;
66
69
  element.description = elementProtocol.description;
67
70
  if (elementProtocol.elements) {
@@ -227,6 +230,66 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
227
230
  },
228
231
  ];
229
232
  }
233
+ V1_getExtraMappingIncludeBuilders() {
234
+ return [
235
+ (protocol, parentMapping, context) => {
236
+ if (protocol instanceof V1_MappingIncludeDataSpace) {
237
+ const dataSpace = V1_resolveDataSpace(protocol.includedDataSpace, context);
238
+ const includedMapping = new MappingIncludeDataSpace(parentMapping, dataSpace.value.defaultExecutionContext.mapping, dataSpace);
239
+ return includedMapping;
240
+ }
241
+ return undefined;
242
+ },
243
+ ];
244
+ }
245
+ V1_getExtraMappingIncludeTransformers() {
246
+ return [
247
+ (metamodel, context) => {
248
+ if (metamodel instanceof MappingIncludeDataSpace) {
249
+ const mappingInclude = new V1_MappingIncludeDataSpace();
250
+ mappingInclude.includedDataSpace =
251
+ metamodel.includedDataSpace.valueForSerialization ?? '';
252
+ return mappingInclude;
253
+ }
254
+ return undefined;
255
+ },
256
+ ];
257
+ }
258
+ V1_getExtraMappingIncludeProtocolSerializers() {
259
+ return [
260
+ (protocol) => {
261
+ if (protocol instanceof V1_MappingIncludeDataSpace) {
262
+ return V1_serializeMappingInclude(protocol);
263
+ }
264
+ return undefined;
265
+ },
266
+ ];
267
+ }
268
+ V1_getExtraMappingIncludeProtocolDeserializers() {
269
+ return [
270
+ (json) => {
271
+ if (json._type === V1_MAPPING_INCLUDE_DATASPACE_TYPE) {
272
+ return V1_deserializeMappingInclude(json);
273
+ }
274
+ return undefined;
275
+ },
276
+ ];
277
+ }
278
+ V1_getExtraMappingIncludeIdentifierBuilders() {
279
+ return [
280
+ (protocol) => {
281
+ if (protocol instanceof V1_MappingIncludeDataSpace) {
282
+ return protocol.includedDataSpace;
283
+ }
284
+ return undefined;
285
+ },
286
+ ];
287
+ }
288
+ V1_getExtraExecutionInputCollectors() {
289
+ return [
290
+ (graph, protocolGraph) => protocolGraph.elements.filter((element) => element instanceof V1_DataSpace),
291
+ ];
292
+ }
230
293
  }
231
294
  export const extractDataSpaceTaxonomyNodes = (json) => {
232
295
  const ENTERPRISE_PROFILE_PATH = `meta::pure::profiles::enterprise`;
@@ -235,7 +298,7 @@ export const extractDataSpaceTaxonomyNodes = (json) => {
235
298
  const taxonomyNodes = new Set();
236
299
  if (json._type === V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE) {
237
300
  if (Array.isArray(json.taggedValues)) {
238
- const taggedValues = json.taggedValues.map((taggedValueJson) => deserialize(V1_taggedValueSchema, taggedValueJson));
301
+ const taggedValues = json.taggedValues.map((taggedValueJson) => deserialize(V1_taggedValueModelSchema, taggedValueJson));
239
302
  taggedValues
240
303
  .filter((taggedValue) => taggedValue.tag.profile === ENTERPRISE_PROFILE_PATH &&
241
304
  taggedValue.tag.value === TAXONOMY_NODES_TAG)
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,EACL,YAAY,EACZ,mBAAmB,EACnB,0BAA0B,EAC1B,sBAAsB,EACtB,4BAA4B,EAC5B,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,wEAAwE,CAAC;AAChF,OAAO,EAEL,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EACL,mCAAmC,EACnC,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,qEAAqE,CAAC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C,MAAM,kCAAkC,GAAG,GAAG,CAAC;IAE/C,MAAM,aAAa,GAAG,IAAI,GAAG,EAAU,CAAC;IACxC,IAAI,IAAI,CAAC,KAAK,KAAK,mCAAmC,EAAE;QACtD,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;YACpC,MAAM,YAAY,GAChB,IAAI,CAAC,YACN,CAAC,GAAG,CAAC,CAAC,eAAe,EAAE,EAAE,CACxB,WAAW,CAAC,oBAAoB,EAAE,eAAe,CAAC,CACnD,CAAC;YACF,YAAY;iBACT,MAAM,CACL,CAAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,GAAG,CAAC,OAAO,KAAK,uBAAuB;gBACnD,WAAW,CAAC,GAAG,CAAC,KAAK,KAAK,kBAAkB,CAC/C;iBACA,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE;gBACvB,WAAW,CAAC,KAAK;qBACd,KAAK,CAAC,kCAAkC,CAAC;qBACzC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;qBAC5B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;qBACjC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;YAClD,CAAC,CAAC,CAAC;SACN;KACF;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE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AW,CAAC,yBAAyB,EAAE,eAAe,CAAC,CACxD,CAAC;YACF,YAAY;iBACT,MAAM,CACL,CAAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,GAAG,CAAC,OAAO,KAAK,uBAAuB;gBACnD,WAAW,CAAC,GAAG,CAAC,KAAK,KAAK,kBAAkB,CAC/C;iBACA,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE;gBACvB,WAAW,CAAC,KAAK;qBACd,KAAK,CAAC,kCAAkC,CAAC;qBACzC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;qBAC5B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;qBACjC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;YAClD,CAAC,CAAC,CAAC;SACN;KACF;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { V1_MappingInclude } from '@finos/legend-graph';
17
+ export declare class V1_MappingIncludeDataSpace extends V1_MappingInclude {
18
+ includedDataSpace: string;
19
+ get hashCode(): string;
20
+ }
21
+ //# sourceMappingURL=V1_DSL_DataSpace_MappingIncludeDataSpace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSL_DataSpace_MappingIncludeDataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../../src/graph-manager/protocol/pure/v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,qBAAa,0BAA2B,SAAQ,iBAAiB;IAC/D,iBAAiB,EAAG,MAAM,CAAC;IAE3B,IAAa,QAAQ,IAAI,MAAM,CAK9B;CACF"}
@@ -0,0 +1,28 @@
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 { hashArray } from '@finos/legend-shared';
17
+ import { V1_MappingInclude } from '@finos/legend-graph';
18
+ import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../../../graph/DSL_DataSpace_HashUtils.js';
19
+ export class V1_MappingIncludeDataSpace extends V1_MappingInclude {
20
+ includedDataSpace;
21
+ get hashCode() {
22
+ return hashArray([
23
+ DATA_SPACE_HASH_STRUCTURE.MAPPING_INCLUDE_DATASPACE,
24
+ this.includedDataSpace,
25
+ ]);
26
+ }
27
+ }
28
+ //# sourceMappingURL=V1_DSL_DataSpace_MappingIncludeDataSpace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"V1_DSL_DataSpace_MappingIncludeDataSpace.js","sourceRoot":"","sources":["../../../../../../../../src/graph-manager/protocol/pure/v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAElG,MAAM,OAAO,0BAA2B,SAAQ,iBAAiB;IAC/D,iBAAiB,CAAU;IAE3B,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,yBAAyB;YACnD,IAAI,CAAC,iBAAiB;SACvB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -15,8 +15,12 @@
15
15
  */
16
16
  import { type PlainObject } from '@finos/legend-shared';
17
17
  import { type V1_DataSpaceSupportInfo, V1_DataSpace } from '../../model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
18
+ import { V1_MappingIncludeDataSpace } from '../../model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js';
18
19
  export declare const V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE = "dataSpace";
19
20
  export declare const V1_deserializeSupportInfo: (json: PlainObject<V1_DataSpaceSupportInfo> | undefined) => V1_DataSpaceSupportInfo | undefined;
20
21
  export declare const V1_serializeDataSpace: (protocol: V1_DataSpace) => PlainObject<V1_DataSpace>;
21
22
  export declare const V1_deserializeDataSpace: (json: PlainObject<V1_DataSpace>) => V1_DataSpace;
23
+ export declare const V1_MAPPING_INCLUDE_DATASPACE_TYPE = "mappingIncludeDataSpace";
24
+ export declare const V1_serializeMappingInclude: (protocol: V1_MappingIncludeDataSpace) => PlainObject<V1_MappingIncludeDataSpace>;
25
+ export declare const V1_deserializeMappingInclude: (json: PlainObject<V1_MappingIncludeDataSpace>) => V1_MappingIncludeDataSpace;
22
26
  //# sourceMappingURL=V1_DSL_DataSpace_ProtocolHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSL_DataSpace_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmBH,OAAO,EACL,KAAK,WAAW,EAQjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,uBAAuB,EAC5B,YAAY,EAOb,MAAM,yEAAyE,CAAC;AAEjF,eAAO,MAAM,mCAAmC,cAAc,CAAC;AAkD/D,eAAO,MAAM,yBAAyB,SAC9B,YAAY,uBAAuB,CAAC,GAAG,SAAS,KACrD,uBAAuB,GAAG,SAe5B,CAAC;AAmDF,eAAO,MAAM,qBAAqB,aACtB,YAAY,KACrB,YAAY,YAAY,CAAiD,CAAC;AAE7E,eAAO,MAAM,uBAAuB,SAC5B,YAAY,YAAY,CAAC,KAC9B,YA+BF,CAAC"}
1
+ {"version":3,"file":"V1_DSL_DataSpace_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmBH,OAAO,EACL,KAAK,WAAW,EAQjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,uBAAuB,EAC5B,YAAY,EAOb,MAAM,yEAAyE,CAAC;AACjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,qFAAqF,CAAC;AAEjI,eAAO,MAAM,mCAAmC,cAAc,CAAC;AAkD/D,eAAO,MAAM,yBAAyB,SAC9B,YAAY,uBAAuB,CAAC,GAAG,SAAS,KACrD,uBAAuB,GAAG,SAe5B,CAAC;AAmDF,eAAO,MAAM,qBAAqB,aACtB,YAAY,KACrB,YAAY,YAAY,CAAiD,CAAC;AAE7E,eAAO,MAAM,uBAAuB,SAC5B,YAAY,YAAY,CAAC,KAC9B,YA+BF,CAAC;AAGF,eAAO,MAAM,iCAAiC,4BAA4B,CAAC;AAU3E,eAAO,MAAM,0BAA0B,aAC3B,0BAA0B,KACnC,YAAY,0BAA0B,CACmB,CAAC;AAE7D,eAAO,MAAM,4BAA4B,SACjC,YAAY,0BAA0B,CAAC,KAC5C,0BACuD,CAAC"}
@@ -14,9 +14,10 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { createModelSchema, custom, deserialize, list, object, optional, primitive, serialize, SKIP, } from 'serializr';
17
- import { V1_stereotypePtrSchema, V1_taggedValueSchema, V1_packageableElementPointerModelSchema, V1_PackageableElementPointer, } from '@finos/legend-graph';
17
+ import { V1_stereotypePtrModelSchema, V1_taggedValueModelSchema, V1_packageableElementPointerModelSchema, V1_PackageableElementPointer, } from '@finos/legend-graph';
18
18
  import { UnsupportedOperationError, usingConstantValueSchema, usingModelSchema, optionalCustomListWithSchema, customListWithSchema, isString, isNonNullable, } from '@finos/legend-shared';
19
19
  import { V1_DataSpace, V1_DataSpaceExecutionContext, V1_DataSpaceSupportEmail, V1_DataSpaceSupportCombinedInfo, V1_DataSpaceExecutable, V1_DataSpaceDiagram, V1_DataSpaceElementPointer, } from '../../model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
20
+ import { V1_MappingIncludeDataSpace } from '../../model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js';
20
21
  export const V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE = 'dataSpace';
21
22
  const V1_DATA_SPACE_SUPPORT_EMAIL_TYPE = 'email';
22
23
  const V1_DATA_SPACE_SUPPORT_COMBINED_INFO_TYPE = 'combined';
@@ -91,11 +92,11 @@ const V1_dataSpaceModelSchema = createModelSchema(V1_DataSpace, {
91
92
  featuredDiagrams: optionalCustomListWithSchema(V1_packageableElementPointerModelSchema),
92
93
  name: primitive(),
93
94
  package: primitive(),
94
- stereotypes: customListWithSchema(V1_stereotypePtrSchema, {
95
+ stereotypes: customListWithSchema(V1_stereotypePtrModelSchema, {
95
96
  INTERNAL__forceReturnEmptyInTest: true,
96
97
  }),
97
98
  supportInfo: custom((val) => V1_serializeSupportInfo(val), (val) => V1_deserializeSupportInfo(val)),
98
- taggedValues: customListWithSchema(V1_taggedValueSchema, {
99
+ taggedValues: customListWithSchema(V1_taggedValueModelSchema, {
99
100
  INTERNAL__forceReturnEmptyInTest: true,
100
101
  }),
101
102
  title: optional(primitive()),
@@ -130,4 +131,12 @@ export const V1_deserializeDataSpace = (json) => {
130
131
  }
131
132
  return dataSpace;
132
133
  };
134
+ // Mapping Include
135
+ export const V1_MAPPING_INCLUDE_DATASPACE_TYPE = 'mappingIncludeDataSpace';
136
+ const V1_mappingIncludeDataSpaceModelSchema = createModelSchema(V1_MappingIncludeDataSpace, {
137
+ _type: usingConstantValueSchema(V1_MAPPING_INCLUDE_DATASPACE_TYPE),
138
+ includedDataSpace: primitive(),
139
+ });
140
+ export const V1_serializeMappingInclude = (protocol) => serialize(V1_mappingIncludeDataSpaceModelSchema, protocol);
141
+ export const V1_deserializeMappingInclude = (json) => deserialize(V1_mappingIncludeDataSpaceModelSchema, json);
133
142
  //# sourceMappingURL=V1_DSL_DataSpace_ProtocolHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSL_DataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_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,uCAAuC,EACvC,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,yBAAyB,EACzB,wBAAwB,EACxB,gBA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MAAM,uBAAuB,GAAG,CACrC,IAA+B,EACjB,EAAE;IAChB,MAAM,SAAS,GAAG,WAAW,CAAC,uBAAuB,EAAE,IAAI,CAAC,CAAC;IAC7D;;;;;OAKG;IACH,IAAI,IAAI,CAAC,gBAAgB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE;QACjE,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB;aACnC,GAAG,CAAC,CAAC,eAAe,EAAE,EAAE;YACvB,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE;gBAClC,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE,CAAC;gBAC1C,OAAO,CAAC,KAAK,GAAG,EAAE,CAAC;gBACnB,OAAO,CAAC,OAAO,GAAG,IAAI,4BAA4B,CAChD,SAAS,EACT,eAAe,CAAC,IAAI,CACrB,CAAC;gBACF,OAAO,OAAO,CAAC;aAChB;YACD,OAAO,SAAS,CAAC;QACnB,CAAC,CAAC;aACD,MAAM,CAAC,aAAa,CAAC,CAAC;QACzB,IAAI,QAAQ,CAAC,MAAM,EAAE;YACnB,SAAS,CAAC,QAAQ;gBAChB,SAAS,CAAC,QAAQ,KAAK,SAAS;oBAC9B,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC;oBACrC,CAAC,CAAC,QAAQ,CAAC;SAChB;KACF;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
1
+ {"version":3,"file":"V1_DSL_DataSpace_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_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,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B,CAC7D,0BAA0B,EAC1B;IACE,KAAK,EAAE,wBAAwB,CAAC,iCAAiC,CAAC;IAClE,iBAAiB,EAAE,SAAS,EAAE;CAC/B,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,QAAoC,EACK,EAAE,CAC3C,SAAS,CAAC,qCAAqC,EAAE,QAAQ,CAAC,CAAC;AAE7D,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAC1C,IAA6C,EACjB,EAAE,CAC9B,WAAW,CAAC,qCAAqC,EAAE,IAAI,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v10.0.21
1
+ /** @license @finos/legend-extension-dsl-data-space v10.0.23
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "10.0.21",
3
+ "version": "10.0.23",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -69,7 +69,7 @@
69
69
  "eslint": "8.40.0",
70
70
  "jest": "29.5.0",
71
71
  "npm-run-all": "4.1.5",
72
- "rimraf": "5.0.0",
72
+ "rimraf": "5.0.1",
73
73
  "sass": "1.62.1",
74
74
  "typescript": "5.0.4"
75
75
  },
@@ -51,8 +51,8 @@ export declare class DataSpaceQueryBuilderState extends QueryBuilderState {
51
51
  * Propagation after changing the execution context:
52
52
  * - The mapping will be updated to the mapping of the execution context
53
53
  * - The runtime will be updated to the default runtime of the execution context
54
- * - If no class is selected, try to select a compatible class
55
- * - If the chosen class is compatible with the new selected execution context mapping, do nothing, otherwise, try to select a compatible class
54
+ * - If no class is chosen, try to choose a compatible class
55
+ * - If the chosen class is compatible with the new selected execution context mapping, do nothing, otherwise, try to choose a compatible class
56
56
  */
57
57
  propagateExecutionContextChange(executionContext: DataSpaceExecutionContext): void;
58
58
  }
@@ -121,8 +121,8 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
121
121
  * Propagation after changing the execution context:
122
122
  * - The mapping will be updated to the mapping of the execution context
123
123
  * - The runtime will be updated to the default runtime of the execution context
124
- * - If no class is selected, try to select a compatible class
125
- * - If the chosen class is compatible with the new selected execution context mapping, do nothing, otherwise, try to select a compatible class
124
+ * - If no class is chosen, try to choose a compatible class
125
+ * - If the chosen class is compatible with the new selected execution context mapping, do nothing, otherwise, try to choose a compatible class
126
126
  */
127
127
  propagateExecutionContextChange(executionContext) {
128
128
  const mapping = executionContext.mapping.value;
@@ -30,9 +30,10 @@ export declare class DataSpaceQueryCreatorStore extends QueryEditorStore {
30
30
  readonly classPath: string | undefined;
31
31
  constructor(applicationStore: LegendQueryApplicationStore, depotServerClient: DepotServerClient, groupId: string, artifactId: string, versionId: string, dataSpacePath: string, executionContext: string, runtimePath: string | undefined, executionKey: string | undefined);
32
32
  getProjectInfo(): ProjectGAVCoordinates;
33
+ get label(): string | undefined;
33
34
  initializeQueryBuilderState(): Promise<QueryBuilderState>;
34
35
  getPersistConfiguration(lambda: RawLambda, options?: {
35
36
  update?: boolean | undefined;
36
- }): Promise<QueryPersistConfiguration>;
37
+ }): QueryPersistConfiguration;
37
38
  }
38
39
  //# sourceMappingURL=DataSpaceQueryCreatorStore.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryCreatorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,gBAAgB,EAKhB,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAChB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAGjC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,C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;IAgI/D,uBAAuB,CACrB,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;KAAE,GACzC,yBAAyB;CAqB7B"}
@@ -59,6 +59,9 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
59
59
  versionId: this.versionId,
60
60
  };
61
61
  }
62
+ get label() {
63
+ return `Create Query with DataSpace ${this.dataSpacePath}`;
64
+ }
62
65
  async initializeQueryBuilderState() {
63
66
  const dataSpace = getDataSpace(this.dataSpacePath, this.graphManagerState.graph);
64
67
  const executionContext = guaranteeNonNullable(dataSpace.executionContexts.find((context) => context.name === this.executionContext), `Can't find execution context '${this.executionContext}'`);
@@ -102,7 +105,7 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
102
105
  }
103
106
  return queryBuilderState;
104
107
  }
105
- async getPersistConfiguration(lambda, options) {
108
+ getPersistConfiguration(lambda, options) {
106
109
  return {
107
110
  defaultName: options?.update
108
111
  ? `${extractElementNameFromPath(this.dataSpacePath)}`
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryCreatorStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,EACd,mCAAmC,GAIpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAGhB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yDAAyD,CAAC;AACvF,OAAO,EAAE,0BAA0B,EAAE,MAAM,i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,uBAAuB,CAC3B,MAAiB,EACjB,OAA0C;QAE1C,OAAO;YACL,WAAW,EAAE,OAAO,EAAE,MAAM;gBAC1B,CAAC,CAAC,GAAG,0BAA0B,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE;gBACrD,CAAC,CAAC,iBAAiB,0BAA0B,CAAC,IAAI,CAAC,aAAa,CAAC,IAC7D,IAAI,CAAC,gBACP,GAAG;YACP,SAAS,EAAE,CAAC,KAAY,EAAQ,EAAE;gBAChC,KAAK,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC;gBAClB,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;gBAC7B,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;gBACnC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;gBACjC,KAAK,CAAC,YAAY,GAAG;oBACnB,+BAA+B,CAAC,IAAI,CAAC,aAAa,CAAC;oBACnD,2BAA2B,CACzB,oBAAoB,CAAC,IAAI,CAAC,iBAAiB,EAAE,KAAK,EAAE,IAAI,CAAC,CAC1D;iBACF,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DataSpaceQueryCreatorStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,EACd,mCAAmC,GAIpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAGhB,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,4BAA4B,GAC7B,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,YAAY,EA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AI,CAAC,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CACtD,CAAC;SACH;QAED,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IAED,uBAAuB,CACrB,MAAiB,EACjB,OAA0C;QAE1C,OAAO;YACL,WAAW,EAAE,OAAO,EAAE,MAAM;gBAC1B,CAAC,CAAC,GAAG,0BAA0B,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE;gBACrD,CAAC,CAAC,iBAAiB,0BAA0B,CAAC,IAAI,CAAC,aAAa,CAAC,IAC7D,IAAI,CAAC,gBACP,GAAG;YACP,SAAS,EAAE,CAAC,KAAY,EAAQ,EAAE;gBAChC,KAAK,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC;gBAClB,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;gBAC7B,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;gBACnC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;gBACjC,KAAK,CAAC,YAAY,GAAG;oBACnB,+BAA+B,CAAC,IAAI,CAAC,aAAa,CAAC;oBACnD,2BAA2B,CACzB,oBAAoB,CAAC,IAAI,CAAC,iBAAiB,EAAE,KAAK,EAAE,IAAI,CAAC,CAC1D;iBACF,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -41,11 +41,11 @@ export declare class DataSpaceQuerySetupState extends QueryBuilderState {
41
41
  }
42
42
  export declare class DataSpaceQuerySetupStore extends QueryEditorStore {
43
43
  get isViewProjectActionDisabled(): boolean;
44
- get isSaveActionDisabled(): boolean;
44
+ get label(): string | undefined;
45
45
  getProjectInfo(): ProjectGAVCoordinates;
46
46
  getPersistConfiguration(lambda: RawLambda, options?: {
47
47
  update?: boolean | undefined;
48
- }): Promise<QueryPersistConfiguration>;
48
+ }): QueryPersistConfiguration;
49
49
  initializeQueryBuilderState(): Promise<QueryBuilderState>;
50
50
  buildGraph(): GeneratorFn<void>;
51
51
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetupStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,gBAAgB,EAChB,KAAK,yBAAyB,EAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAGL,KAAK,6BAA6B,EACnC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EACL,WAAW,EAGX,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,KAAK,aAAa,EAAwB,MAAM,oBAAoB,CAAC;AAI9E,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF,qBAAa,wBAAyB,SAAQ,iBAAiB;IAC7D,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,mBAAmB,cAAwB;IACpD,QAAQ,CAAC,iBAAiB,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IACzD,QAAQ,CAAC,WAAW,EAAE,CACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GAAG,SAAS,KAC3B,IAAI,CAAC;IACV,QAAQ,CAAC,eAAe,EAAE,CACxB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GAAG,SAAS,KAC3B,OAAO,CAAC,IAAI,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IACjC,mBAAmB,UAAS;IAC5B,mBAAmB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;gBAG7D,gBAAgB,EAAE,6BAA6B,EAC/C,iBAAiB,EAAE,iBAAiB,EACpC,iBAAiB,EAAE,iBAAiB,EACpC,iBAAiB,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,EAC/C,WAAW,EAAE,CACX,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GAAG,SAAS,KAC3B,IAAI,EACT,eAAe,EAAE,CACf,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GAAG,SAAS,KAC3B,OAAO,CAAC,IAAI,CAAC;IAkBpB,IAAa,mBAAmB,IAAI,OAAO,CAE1C;IAED,IAAa,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAElD;IAED,uBAAuB,IAAI,IAAI;IAY/B,uBAAuB,IAAI,IAAI;IAI9B,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;CAsBvD;AAED,qBAAa,wBAAyB,SAAQ,gBAAgB;IAC5D,IAAa,2BAA2B,IAAI,OAAO,CAElD;IAED,IAAa,KAAK,IAAI,MAAM,GAAG,SAAS,CAEvC;IAED,cAAc,IAAI,qBAAqB;IAIvC,uBAAuB,CACrB,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;KAAE,GACzC,yBAAyB;IAItB,2BAA2B,IAAI,OAAO,CAAC,iBAAiB,CAAC;IAkCrD,UAAU,IAAI,WAAW,CAAC,IAAI,CAAC;CAG1C"}
@@ -85,8 +85,8 @@ export class DataSpaceQuerySetupStore extends QueryEditorStore {
85
85
  get isViewProjectActionDisabled() {
86
86
  return true;
87
87
  }
88
- get isSaveActionDisabled() {
89
- return true;
88
+ get label() {
89
+ return undefined;
90
90
  }
91
91
  getProjectInfo() {
92
92
  throw new UnsupportedOperationError();
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetupStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GAEjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,UAAU,GAGX,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,8BAA8B,EAC9B,8CAA8C,GAE/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,yBAAyB,GAE1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAsB,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,kCAAkC,EAAE,MAAM,gFAAgF,CAAC;AACpI,OAAO,EAAE,kCAAkC,EAAE,MAAM,4DAA4D,CAAC;AAChH,OAAO,EAAE,0CAA0C,EAAE,MAAM,+CAA+C,CAAC;AAC3G,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF,MAAM,OAAO,wBAAyB,SAAQ,iBAAiB;IACpD,iBAAiB,CAAoB;IACrC,mBAAmB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAC3C,iBAAiB,CAA+B;IAChD,WAAW,CAKV;IACD,eAAe,CAIL;IAEV,oCAAoC,GAAG,GAAoB,EAAE,CACpE,0CAA0C,CAAC,IAAI,CAAC,CAAC;IAEnD,UAAU,GAAoB,EAAE,CAAC;IACjC,mBAAmB,GAAG,KAAK,CAAC;IAC5B,mBAAmB,CAA4C;IAE/D,Y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AS,CACV,CACF,CAAC;aACH;iBAAM;gBACL,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACrD,kEAAkE,CACnE,CAAC;aACH;QACH,CAAC,EACD,wBAAwB,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAC/C,4BAA4B,CAC1B,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,CACvB,CACF,CAAC;QAEF,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IAEQ,CAAC,UAAU;QAClB,aAAa;IACf,CAAC;CACF"}
1
+ {"version":3,"file":"DataSpaceQuerySetupStore.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GAEjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,UAAU,GAGX,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,8BAA8B,EAC9B,8CAA8C,GAE/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,yBAAyB,GAE1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAsB,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,kCAAkC,EAAE,MAAM,gFAAgF,CAAC;AACpI,OAAO,EAAE,kCAAkC,EAAE,MAAM,4DAA4D,CAAC;AAChH,OAAO,EAAE,0CAA0C,EAAE,MAAM,+CAA+C,CAAC;AAC3G,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF,MAAM,OAAO,wBAAyB,SAAQ,iBAAiB;IACpD,iBAAiB,CAAoB;IAC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E,EAAE;YAC/B,IAAI,aAAa,CAAC,uBAAuB,EAAE;gBACzC,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,YAAY,CAC5D,kCAAkC,CAChC,aAAa,CAAC,OAAO,EACrB,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,SAAS,EACvB,aAAa,CAAC,IAAI,EAClB,aAAa,CAAC,uBAAuB,EACrC,SAAS,EACT,SAAS,CACV,CACF,CAAC;aACH;iBAAM;gBACL,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACrD,kEAAkE,CACnE,CAAC;aACH;QACH,CAAC,EACD,wBAAwB,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAC/C,4BAA4B,CAC1B,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,CACvB,CACF,CAAC;QAEF,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IAEQ,CAAC,UAAU;QAClB,aAAa;IACf,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "10.0.21",
3
+ "version": "10.0.23",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,17 +44,17 @@
44
44
  "test:watch": "jest --watch"
45
45
  },
46
46
  "dependencies": {
47
- "@finos/legend-application": "15.0.14",
48
- "@finos/legend-application-query": "13.0.10",
49
- "@finos/legend-application-studio": "26.0.1",
50
- "@finos/legend-art": "7.0.15",
51
- "@finos/legend-extension-dsl-diagram": "8.0.21",
52
- "@finos/legend-graph": "29.0.1",
53
- "@finos/legend-lego": "1.0.8",
54
- "@finos/legend-query-builder": "3.2.10",
55
- "@finos/legend-server-depot": "6.0.7",
56
- "@finos/legend-shared": "10.0.6",
57
- "@finos/legend-storage": "3.0.56",
47
+ "@finos/legend-application": "15.0.15",
48
+ "@finos/legend-application-query": "13.0.12",
49
+ "@finos/legend-application-studio": "26.0.3",
50
+ "@finos/legend-art": "7.0.16",
51
+ "@finos/legend-extension-dsl-diagram": "8.0.23",
52
+ "@finos/legend-graph": "29.0.3",
53
+ "@finos/legend-lego": "1.0.10",
54
+ "@finos/legend-query-builder": "4.0.0",
55
+ "@finos/legend-server-depot": "6.0.8",
56
+ "@finos/legend-shared": "10.0.7",
57
+ "@finos/legend-storage": "3.0.57",
58
58
  "@types/react": "18.2.6",
59
59
  "mobx": "6.9.0",
60
60
  "mobx-react-lite": "3.4.3",
@@ -63,13 +63,13 @@
63
63
  "serializr": "3.0.2"
64
64
  },
65
65
  "devDependencies": {
66
- "@finos/legend-dev-utils": "2.0.61",
66
+ "@finos/legend-dev-utils": "2.0.62",
67
67
  "@jest/globals": "29.5.0",
68
68
  "cross-env": "7.0.3",
69
69
  "eslint": "8.40.0",
70
70
  "jest": "29.5.0",
71
71
  "npm-run-all": "4.1.5",
72
- "rimraf": "5.0.0",
72
+ "rimraf": "5.0.1",
73
73
  "sass": "1.62.1",
74
74
  "typescript": "5.0.4"
75
75
  },
@@ -22,4 +22,5 @@ export enum DATA_SPACE_HASH_STRUCTURE {
22
22
  DATA_SPACE_DIAGRAM = 'DATA_SPACE_DIAGRAM',
23
23
  DATA_SPACE_SUPPORT_COMBINED_INFO = 'DATA_SPACE_SUPPORT_COMBINED_INFO',
24
24
  DATA_SPACE_SUPPORT_EMAIL = 'DATA_SPACE_SUPPORT_EMAIL',
25
+ MAPPING_INCLUDE_DATASPACE = 'MAPPING_INCLUDE_DATASPACE',
25
26
  }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import { hashArray } from '@finos/legend-shared';
18
+ import {
19
+ type Mapping,
20
+ MappingInclude,
21
+ type PackageableElementReference,
22
+ } from '@finos/legend-graph';
23
+ import type { DataSpace } from '../dataSpace/DSL_DataSpace_DataSpace.js';
24
+ import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSL_DataSpace_HashUtils.js';
25
+
26
+ export class MappingIncludeDataSpace extends MappingInclude {
27
+ includedDataSpace: PackageableElementReference<DataSpace>;
28
+
29
+ constructor(
30
+ _OWNER: Mapping,
31
+ included: PackageableElementReference<Mapping>,
32
+ includedDataSpace: PackageableElementReference<DataSpace>,
33
+ ) {
34
+ super(_OWNER, included);
35
+ this.includedDataSpace = includedDataSpace;
36
+ }
37
+
38
+ override get hashCode(): string {
39
+ return hashArray([
40
+ DATA_SPACE_HASH_STRUCTURE.MAPPING_INCLUDE_DATASPACE,
41
+ this.includedDataSpace.valueForSerialization ?? '',
42
+ ]);
43
+ }
44
+ }
@@ -37,8 +37,12 @@ import { deserialize } from 'serializr';
37
37
  import {
38
38
  V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE,
39
39
  V1_deserializeDataSpace,
40
+ V1_MAPPING_INCLUDE_DATASPACE_TYPE,
40
41
  V1_serializeDataSpace,
42
+ V1_serializeMappingInclude,
43
+ V1_deserializeMappingInclude,
41
44
  } from './v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js';
45
+ import { V1_resolveDataSpace } from './v1/transformation/pureGraph/V1_DSL_DataSpace_GraphBuilderHelper.js';
42
46
  import { getOwnDataSpace } from '../../DSL_DataSpace_GraphManagerHelper.js';
43
47
  import {
44
48
  DataSpace,
@@ -51,6 +55,7 @@ import {
51
55
  DataSpaceElementPointer,
52
56
  } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
53
57
  import {
58
+ type PureModel,
54
59
  type PackageableElement,
55
60
  type V1_ElementProtocolClassifierPathGetter,
56
61
  type V1_ElementProtocolDeserializer,
@@ -61,7 +66,7 @@ import {
61
66
  type V1_PackageableElement,
62
67
  type V1_PureModelContextData,
63
68
  type V1_TaggedValue,
64
- V1_taggedValueSchema,
69
+ V1_taggedValueModelSchema,
65
70
  PackageableElementExplicitReference,
66
71
  V1_PackageableElementPointer,
67
72
  PackageableElementPointerType,
@@ -75,15 +80,30 @@ import {
75
80
  Class,
76
81
  Enumeration,
77
82
  Association,
83
+ type Mapping,
84
+ type MappingInclude,
78
85
  type PackageableElementReference,
79
86
  Package,
87
+ type V1_MappingInclude,
88
+ type DSL_Mapping_PureProtocolProcessorPlugin_Extension,
89
+ type V1_MappingIncludeBuilder,
90
+ type V1_MappingIncludeTransformer,
91
+ type V1_MappingIncludeProtocolSerializer,
92
+ type V1_MappingIncludeProtocolDeserializer,
93
+ type V1_ExecutionInputCollector,
94
+ type V1_MappingIncludeIdentifierBuilder,
80
95
  } from '@finos/legend-graph';
81
96
  import { V1_resolveDiagram } from '@finos/legend-extension-dsl-diagram/graph';
97
+ import { V1_MappingIncludeDataSpace } from './v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js';
98
+ import { MappingIncludeDataSpace } from '../../../graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.js';
82
99
 
83
100
  export const DATA_SPACE_ELEMENT_CLASSIFIER_PATH =
84
101
  'meta::pure::metamodel::dataSpace::DataSpace';
85
102
 
86
- export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
103
+ export class DSL_DataSpace_PureProtocolProcessorPlugin
104
+ extends PureProtocolProcessorPlugin
105
+ implements DSL_Mapping_PureProtocolProcessorPlugin_Extension
106
+ {
87
107
  constructor() {
88
108
  super(
89
109
  packageJson.extensions.pureProtocolProcessorPlugin,
@@ -106,29 +126,6 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
106
126
  elementProtocol.package,
107
127
  elementProtocol.name,
108
128
  );
109
- context.currentSubGraph.setOwnElementInExtension(
110
- path,
111
- element,
112
- DataSpace,
113
- );
114
- return element;
115
- },
116
- secondPass: (
117
- elementProtocol: V1_PackageableElement,
118
- context: V1_GraphBuilderContext,
119
- ): void => {
120
- assertType(elementProtocol, V1_DataSpace);
121
- const path = V1_buildFullPath(
122
- elementProtocol.package,
123
- elementProtocol.name,
124
- );
125
- const element = getOwnDataSpace(path, context.currentSubGraph);
126
- element.stereotypes = elementProtocol.stereotypes
127
- .map((stereotype) => context.resolveStereotype(stereotype))
128
- .filter(isNonNullable);
129
- element.taggedValues = elementProtocol.taggedValues
130
- .map((taggedValue) => V1_buildTaggedValue(taggedValue, context))
131
- .filter(isNonNullable);
132
129
  element.executionContexts = guaranteeNonNullable(
133
130
  elementProtocol.executionContexts,
134
131
  `Data space 'executionContexts' field is missing`,
@@ -160,6 +157,29 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
160
157
  ),
161
158
  `Can't find default execution context '${elementProtocol.defaultExecutionContext}'`,
162
159
  );
160
+ context.currentSubGraph.setOwnElementInExtension(
161
+ path,
162
+ element,
163
+ DataSpace,
164
+ );
165
+ return element;
166
+ },
167
+ secondPass: (
168
+ elementProtocol: V1_PackageableElement,
169
+ context: V1_GraphBuilderContext,
170
+ ): void => {
171
+ assertType(elementProtocol, V1_DataSpace);
172
+ const path = V1_buildFullPath(
173
+ elementProtocol.package,
174
+ elementProtocol.name,
175
+ );
176
+ const element = getOwnDataSpace(path, context.currentSubGraph);
177
+ element.stereotypes = elementProtocol.stereotypes
178
+ .map((stereotype) => context.resolveStereotype(stereotype))
179
+ .filter(isNonNullable);
180
+ element.taggedValues = elementProtocol.taggedValues
181
+ .map((taggedValue) => V1_buildTaggedValue(taggedValue, context))
182
+ .filter(isNonNullable);
163
183
  element.title = elementProtocol.title;
164
184
  element.description = elementProtocol.description;
165
185
  if (elementProtocol.elements) {
@@ -385,6 +405,94 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
385
405
  },
386
406
  ];
387
407
  }
408
+
409
+ V1_getExtraMappingIncludeBuilders(): V1_MappingIncludeBuilder[] {
410
+ return [
411
+ (
412
+ protocol: V1_MappingInclude,
413
+ parentMapping: Mapping,
414
+ context: V1_GraphBuilderContext,
415
+ ): MappingInclude | undefined => {
416
+ if (protocol instanceof V1_MappingIncludeDataSpace) {
417
+ const dataSpace = V1_resolveDataSpace(
418
+ protocol.includedDataSpace,
419
+ context,
420
+ );
421
+ const includedMapping = new MappingIncludeDataSpace(
422
+ parentMapping,
423
+ dataSpace.value.defaultExecutionContext.mapping,
424
+ dataSpace,
425
+ );
426
+ return includedMapping;
427
+ }
428
+ return undefined;
429
+ },
430
+ ];
431
+ }
432
+
433
+ V1_getExtraMappingIncludeTransformers(): V1_MappingIncludeTransformer[] {
434
+ return [
435
+ (
436
+ metamodel: MappingInclude,
437
+ context: V1_GraphTransformerContext,
438
+ ): V1_MappingInclude | undefined => {
439
+ if (metamodel instanceof MappingIncludeDataSpace) {
440
+ const mappingInclude = new V1_MappingIncludeDataSpace();
441
+ mappingInclude.includedDataSpace =
442
+ metamodel.includedDataSpace.valueForSerialization ?? '';
443
+ return mappingInclude;
444
+ }
445
+ return undefined;
446
+ },
447
+ ];
448
+ }
449
+
450
+ V1_getExtraMappingIncludeProtocolSerializers(): V1_MappingIncludeProtocolSerializer[] {
451
+ return [
452
+ (
453
+ protocol: V1_MappingInclude,
454
+ ): PlainObject<V1_MappingInclude> | undefined => {
455
+ if (protocol instanceof V1_MappingIncludeDataSpace) {
456
+ return V1_serializeMappingInclude(protocol);
457
+ }
458
+ return undefined;
459
+ },
460
+ ];
461
+ }
462
+
463
+ V1_getExtraMappingIncludeProtocolDeserializers(): V1_MappingIncludeProtocolDeserializer[] {
464
+ return [
465
+ (json: PlainObject<V1_MappingInclude>): V1_MappingInclude | undefined => {
466
+ if (json._type === V1_MAPPING_INCLUDE_DATASPACE_TYPE) {
467
+ return V1_deserializeMappingInclude(json);
468
+ }
469
+ return undefined;
470
+ },
471
+ ];
472
+ }
473
+
474
+ V1_getExtraMappingIncludeIdentifierBuilders(): V1_MappingIncludeIdentifierBuilder[] {
475
+ return [
476
+ (protocol: V1_MappingInclude): string | undefined => {
477
+ if (protocol instanceof V1_MappingIncludeDataSpace) {
478
+ return protocol.includedDataSpace;
479
+ }
480
+ return undefined;
481
+ },
482
+ ];
483
+ }
484
+
485
+ override V1_getExtraExecutionInputCollectors(): V1_ExecutionInputCollector[] {
486
+ return [
487
+ (
488
+ graph: PureModel,
489
+ protocolGraph: V1_PureModelContextData,
490
+ ): V1_PackageableElement[] =>
491
+ protocolGraph.elements.filter(
492
+ (element) => element instanceof V1_DataSpace,
493
+ ),
494
+ ];
495
+ }
388
496
  }
389
497
 
390
498
  export const extractDataSpaceTaxonomyNodes = (
@@ -400,7 +508,7 @@ export const extractDataSpaceTaxonomyNodes = (
400
508
  const taggedValues = (
401
509
  json.taggedValues as PlainObject<V1_TaggedValue>[]
402
510
  ).map((taggedValueJson) =>
403
- deserialize(V1_taggedValueSchema, taggedValueJson),
511
+ deserialize(V1_taggedValueModelSchema, taggedValueJson),
404
512
  );
405
513
  taggedValues
406
514
  .filter(
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import { hashArray } from '@finos/legend-shared';
18
+ import { V1_MappingInclude } from '@finos/legend-graph';
19
+ import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../../../graph/DSL_DataSpace_HashUtils.js';
20
+
21
+ export class V1_MappingIncludeDataSpace extends V1_MappingInclude {
22
+ includedDataSpace!: string;
23
+
24
+ override get hashCode(): string {
25
+ return hashArray([
26
+ DATA_SPACE_HASH_STRUCTURE.MAPPING_INCLUDE_DATASPACE,
27
+ this.includedDataSpace,
28
+ ]);
29
+ }
30
+ }
@@ -26,8 +26,8 @@ import {
26
26
  SKIP,
27
27
  } from 'serializr';
28
28
  import {
29
- V1_stereotypePtrSchema,
30
- V1_taggedValueSchema,
29
+ V1_stereotypePtrModelSchema,
30
+ V1_taggedValueModelSchema,
31
31
  V1_packageableElementPointerModelSchema,
32
32
  V1_PackageableElementPointer,
33
33
  } from '@finos/legend-graph';
@@ -51,6 +51,7 @@ import {
51
51
  V1_DataSpaceDiagram,
52
52
  V1_DataSpaceElementPointer,
53
53
  } from '../../model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
54
+ import { V1_MappingIncludeDataSpace } from '../../model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.js';
54
55
 
55
56
  export const V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE = 'dataSpace';
56
57
  const V1_DATA_SPACE_SUPPORT_EMAIL_TYPE = 'email';
@@ -157,14 +158,14 @@ const V1_dataSpaceModelSchema = createModelSchema(V1_DataSpace, {
157
158
  ),
158
159
  name: primitive(),
159
160
  package: primitive(),
160
- stereotypes: customListWithSchema(V1_stereotypePtrSchema, {
161
+ stereotypes: customListWithSchema(V1_stereotypePtrModelSchema, {
161
162
  INTERNAL__forceReturnEmptyInTest: true,
162
163
  }),
163
164
  supportInfo: custom(
164
165
  (val) => V1_serializeSupportInfo(val),
165
166
  (val) => V1_deserializeSupportInfo(val),
166
167
  ),
167
- taggedValues: customListWithSchema(V1_taggedValueSchema, {
168
+ taggedValues: customListWithSchema(V1_taggedValueModelSchema, {
168
169
  INTERNAL__forceReturnEmptyInTest: true,
169
170
  }),
170
171
  title: optional(primitive()),
@@ -208,3 +209,24 @@ export const V1_deserializeDataSpace = (
208
209
  }
209
210
  return dataSpace;
210
211
  };
212
+
213
+ // Mapping Include
214
+ export const V1_MAPPING_INCLUDE_DATASPACE_TYPE = 'mappingIncludeDataSpace';
215
+
216
+ const V1_mappingIncludeDataSpaceModelSchema = createModelSchema(
217
+ V1_MappingIncludeDataSpace,
218
+ {
219
+ _type: usingConstantValueSchema(V1_MAPPING_INCLUDE_DATASPACE_TYPE),
220
+ includedDataSpace: primitive(),
221
+ },
222
+ );
223
+
224
+ export const V1_serializeMappingInclude = (
225
+ protocol: V1_MappingIncludeDataSpace,
226
+ ): PlainObject<V1_MappingIncludeDataSpace> =>
227
+ serialize(V1_mappingIncludeDataSpaceModelSchema, protocol);
228
+
229
+ export const V1_deserializeMappingInclude = (
230
+ json: PlainObject<V1_MappingIncludeDataSpace>,
231
+ ): V1_MappingIncludeDataSpace =>
232
+ deserialize(V1_mappingIncludeDataSpaceModelSchema, json);
@@ -211,8 +211,8 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
211
211
  * Propagation after changing the execution context:
212
212
  * - The mapping will be updated to the mapping of the execution context
213
213
  * - The runtime will be updated to the default runtime of the execution context
214
- * - If no class is selected, try to select a compatible class
215
- * - If the chosen class is compatible with the new selected execution context mapping, do nothing, otherwise, try to select a compatible class
214
+ * - If no class is chosen, try to choose a compatible class
215
+ * - If the chosen class is compatible with the new selected execution context mapping, do nothing, otherwise, try to choose a compatible class
216
216
  */
217
217
  propagateExecutionContextChange(
218
218
  executionContext: DataSpaceExecutionContext,
@@ -109,6 +109,10 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
109
109
  };
110
110
  }
111
111
 
112
+ override get label(): string | undefined {
113
+ return `Create Query with DataSpace ${this.dataSpacePath}`;
114
+ }
115
+
112
116
  async initializeQueryBuilderState(): Promise<QueryBuilderState> {
113
117
  const dataSpace = getDataSpace(
114
118
  this.dataSpacePath,
@@ -237,10 +241,10 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
237
241
  return queryBuilderState;
238
242
  }
239
243
 
240
- async getPersistConfiguration(
244
+ getPersistConfiguration(
241
245
  lambda: RawLambda,
242
246
  options?: { update?: boolean | undefined },
243
- ): Promise<QueryPersistConfiguration> {
247
+ ): QueryPersistConfiguration {
244
248
  return {
245
249
  defaultName: options?.update
246
250
  ? `${extractElementNameFromPath(this.dataSpacePath)}`
@@ -155,8 +155,8 @@ export class DataSpaceQuerySetupStore extends QueryEditorStore {
155
155
  return true;
156
156
  }
157
157
 
158
- override get isSaveActionDisabled(): boolean {
159
- return true;
158
+ override get label(): string | undefined {
159
+ return undefined;
160
160
  }
161
161
 
162
162
  getProjectInfo(): ProjectGAVCoordinates {
@@ -166,7 +166,7 @@ export class DataSpaceQuerySetupStore extends QueryEditorStore {
166
166
  getPersistConfiguration(
167
167
  lambda: RawLambda,
168
168
  options?: { update?: boolean | undefined },
169
- ): Promise<QueryPersistConfiguration> {
169
+ ): QueryPersistConfiguration {
170
170
  throw new UnsupportedOperationError();
171
171
  }
172
172
 
package/tsconfig.json CHANGED
@@ -44,6 +44,7 @@
44
44
  "./src/graph/DSL_DataSpace_MetaModelConst.ts",
45
45
  "./src/graph/DSL_DataSpace_PureGraphPlugin.ts",
46
46
  "./src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts",
47
+ "./src/graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.ts",
47
48
  "./src/graph-manager/DSL_DataSpace_GraphManagerHelper.ts",
48
49
  "./src/graph-manager/DSL_DataSpace_GraphManagerPreset.ts",
49
50
  "./src/graph-manager/DSL_DataSpace_PureGraphManagerPlugin.ts",
@@ -57,6 +58,7 @@
57
58
  "./src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts",
58
59
  "./src/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts",
59
60
  "./src/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts",
61
+ "./src/graph-manager/protocol/pure/v1/model/packageableElements/mapping/V1_DSL_DataSpace_MappingIncludeDataSpace.ts",
60
62
  "./src/graph-manager/protocol/pure/v1/transformation/pureGraph/V1_DSL_DataSpace_GraphBuilderHelper.ts",
61
63
  "./src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts",
62
64
  "./src/stores/DSL_DataSpace_LegendApplicationPlugin_Extension.ts",