@finos/legend-extension-dsl-data-space 1.0.2 → 1.0.3
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/CHANGELOG.md +6 -0
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.d.ts +1 -2
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.d.ts.map +1 -1
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js +0 -3
- package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts +1 -2
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +1 -1
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js +0 -3
- package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.d.ts +1 -2
- package/lib/graph/DSLDataSpace_PureGraphPlugin.d.ts.map +1 -1
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js +0 -3
- package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts +1 -2
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts.map +1 -1
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +0 -3
- package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +1 -2
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +0 -3
- package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts +2 -0
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js +15 -1
- package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
- package/package.json +15 -15
- package/src/components/query/DSLDataSpace_LegendQueryPlugin.tsx +0 -5
- package/src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx +0 -5
- package/src/graph/DSLDataSpace_PureGraphPlugin.ts +1 -8
- package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +0 -5
- package/src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +0 -5
- package/src/stores/query/DataSpaceQuerySetupState.ts +31 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @finos/legend-extension-dsl-data-space
|
|
2
2
|
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#707](https://github.com/finos/legend-studio/pull/707) [`5d9912d9`](https://github.com/finos/legend-studio/commit/5d9912d9a2c883e23d8852325a25fe59ae7597b1) ([@akphi](https://github.com/akphi)) - Add information about the dataspace where a query is created from using query tagged value.
|
|
8
|
+
|
|
3
9
|
## 1.0.2
|
|
4
10
|
|
|
5
11
|
## 1.0.1
|
|
@@ -13,11 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type {
|
|
16
|
+
import type { QuerySetupOptionRendererConfiguration, QuerySetupRenderer } from '@finos/legend-query';
|
|
17
17
|
import { LegendQueryPlugin } from '@finos/legend-query';
|
|
18
18
|
export declare class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
|
|
19
19
|
constructor();
|
|
20
|
-
install(pluginManager: LegendQueryPluginManager): void;
|
|
21
20
|
getExtraQuerySetupOptionRendererConfigurations(): QuerySetupOptionRendererConfiguration[];
|
|
22
21
|
getExtraQuerySetupRenderers(): QuerySetupRenderer[];
|
|
23
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_LegendQueryPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSLDataSpace_LegendQueryPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendQueryPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSLDataSpace_LegendQueryPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,qCAAqC,EACrC,kBAAkB,EAGnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,qBAAa,8BAA+B,SAAQ,iBAAiB;;IAK1D,8CAA8C,IAAI,qCAAqC,EAAE;IA2BzF,2BAA2B,IAAI,kBAAkB,EAAE;CAU7D"}
|
|
@@ -23,9 +23,6 @@ export class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
|
|
|
23
23
|
constructor() {
|
|
24
24
|
super(packageJson.extensions.queryPlugin, packageJson.version);
|
|
25
25
|
}
|
|
26
|
-
install(pluginManager) {
|
|
27
|
-
pluginManager.registerQueryPlugin(this);
|
|
28
|
-
}
|
|
29
26
|
getExtraQuerySetupOptionRendererConfigurations() {
|
|
30
27
|
return [
|
|
31
28
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_LegendQueryPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSLDataSpace_LegendQueryPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendQueryPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSLDataSpace_LegendQueryPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAOhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,OAAO,8BAA+B,SAAQ,iBAAiB;IACnE;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACjE,CAAC;IAEQ,8CAA8C;QACrD,OAAO;YACL;gBACE,GAAG,EAAE,yBAAyB;gBAC9B,QAAQ,EAAE,CACR,UAA2B,EACE,EAAE;oBAC/B,MAAM,WAAW,GAAG,GAAS,EAAE,CAC7B,UAAU,CAAC,aAAa,CAAC,IAAI,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC;oBACrE,OAAO,CACL,kBACE,SAAS,EAAC,iFAAiF,EAC3F,OAAO,EAAE,WAAW,aAEpB,cAAK,SAAS,EAAC,yCAAyC,YACtD,KAAC,UAAU,IAAC,SAAS,EAAC,6CAA6C,WAAG,WAClE,EACN,cAAK,SAAS,EAAC,0CAA0C,qDAEnD,YACC,CACV,CAAC;gBACJ,CAAC;aACF;SACF,CAAC;IACJ,CAAC;IAEQ,2BAA2B;QAClC,OAAO;YACL,CAAC,eAAgC,EAA+B,EAAE;gBAChE,IAAI,eAAe,YAAY,wBAAwB,EAAE;oBACvD,OAAO,KAAC,mBAAmB,IAAC,eAAe,EAAE,eAAe,WAAI,CAAC;iBAClE;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -13,11 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type {
|
|
16
|
+
import type { NewElementFromStateCreator, ElementTypeGetter, ElementProjectExplorerDnDTypeGetter, ElementIconGetter, DSL_LegendStudioPlugin_Extension, ElementEditorStateCreator } from '@finos/legend-studio';
|
|
17
17
|
import { LegendStudioPlugin } from '@finos/legend-studio';
|
|
18
18
|
export declare class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin implements DSL_LegendStudioPlugin_Extension {
|
|
19
19
|
constructor();
|
|
20
|
-
install(pluginManager: LegendStudioPluginManager): void;
|
|
21
20
|
getExtraSupportedElementTypes(): string[];
|
|
22
21
|
getExtraElementTypeGetters(): ElementTypeGetter[];
|
|
23
22
|
getExtraElementIconGetters(): ElementIconGetter[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_LegendStudioPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendStudioPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,mCAAmC,EACnC,iBAAiB,EACjB,gCAAgC,EAEhC,yBAAyB,EAG1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAa9B,qBAAa,+BACX,SAAQ,kBACR,YAAW,gCAAgC;;IAM3C,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,mCAAmC,IAAI,0BAA0B,EAAE;IA2BnE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,4CAA4C,IAAI,mCAAmC,EAAE;IAWrF,iCAAiC,IAAI,MAAM,EAAE;CAG9C"}
|
|
@@ -25,9 +25,6 @@ export class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin {
|
|
|
25
25
|
constructor() {
|
|
26
26
|
super(packageJson.extensions.studioPlugin, packageJson.version);
|
|
27
27
|
}
|
|
28
|
-
install(pluginManager) {
|
|
29
|
-
pluginManager.registerStudioPlugin(this);
|
|
30
|
-
}
|
|
31
28
|
getExtraSupportedElementTypes() {
|
|
32
29
|
return [DATA_SPACE_ELEMENT_TYPE];
|
|
33
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAYhD,OAAO,EACL,6BAA6B,EAC7B,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EACL,SAAS,EACT,yBAAyB,GAC1B,MAAM,4EAA4E,CAAC;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,uBAAuB,GAAG,YAAY,CAAC;AAC7C,MAAM,4CAA4C,GAChD,6BAA6B,CAAC;AAEhC,MAAM,OAAO,+BACX,SAAQ,kBAAkB;IAG1B;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,YAAY,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,6BAA6B;QAC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AClB;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,kCAAkC;QAChC,OAAO;YACL,CACE,WAAwB,EACxB,OAA2B,EACK,EAAE;gBAClC,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,IAAI,6BAA6B,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;iBAChE;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,4CAA4C;QAC1C,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,4CAA4C,CAAC;iBACrD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iCAAiC;QAC/B,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACxD,CAAC;CACF"}
|
|
@@ -14,11 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { Clazz } from '@finos/legend-shared';
|
|
17
|
-
import type {
|
|
17
|
+
import type { PackageableElement } from '@finos/legend-graph';
|
|
18
18
|
import { PureGraphPlugin } from '@finos/legend-graph';
|
|
19
19
|
export declare class DSLDataSpace_PureGraphPlugin extends PureGraphPlugin {
|
|
20
20
|
constructor();
|
|
21
|
-
install(pluginManager: GraphPluginManager): void;
|
|
22
21
|
getExtraPureGraphExtensionClasses(): Clazz<PackageableElement>[];
|
|
23
22
|
}
|
|
24
23
|
//# sourceMappingURL=DSLDataSpace_PureGraphPlugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureGraphPlugin.d.ts","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphPlugin.d.ts","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,qBAAa,4BAA6B,SAAQ,eAAe;;IAKtD,iCAAiC,IAAI,KAAK,CAAC,kBAAkB,CAAC,EAAE;CAG1E"}
|
|
@@ -20,9 +20,6 @@ export class DSLDataSpace_PureGraphPlugin extends PureGraphPlugin {
|
|
|
20
20
|
constructor() {
|
|
21
21
|
super(packageJson.extensions.pureGraphPlugin, packageJson.version);
|
|
22
22
|
}
|
|
23
|
-
install(pluginManager) {
|
|
24
|
-
pluginManager.registerPureGraphPlugin(this);
|
|
25
|
-
}
|
|
26
23
|
getExtraPureGraphExtensionClasses() {
|
|
27
24
|
return [DataSpace];
|
|
28
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yEAAyE,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSLDataSpace_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yEAAyE,CAAC;AAGpG,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,OAAO,4BAA6B,SAAQ,eAAe;IAC/D;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAEQ,iCAAiC;QACxC,OAAO,CAAC,SAAS,CAAC,CAAC;IACrB,CAAC;CACF"}
|
|
@@ -13,11 +13,10 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type {
|
|
16
|
+
import type { PureGrammarElementLabeler } from '@finos/legend-graph';
|
|
17
17
|
import { PureGraphManagerPlugin } from '@finos/legend-graph';
|
|
18
18
|
export declare class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin {
|
|
19
19
|
constructor();
|
|
20
|
-
install(pluginManager: GraphPluginManager): void;
|
|
21
20
|
getExtraPureGrammarParserNames(): string[];
|
|
22
21
|
getExtraPureGrammarKeywords(): string[];
|
|
23
22
|
getExtraPureGrammarElementLabelers(): PureGrammarElementLabeler[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAEV,yBAAyB,EAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAK7D,qBAAa,mCAAoC,SAAQ,sBAAsB;;IAKpE,8BAA8B,IAAI,MAAM,EAAE;IAI1C,2BAA2B,IAAI,MAAM,EAAE;IAIvC,kCAAkC,IAAI,yBAAyB,EAAE;CAU3E"}
|
|
@@ -22,9 +22,6 @@ export class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin
|
|
|
22
22
|
constructor() {
|
|
23
23
|
super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
|
|
24
24
|
}
|
|
25
|
-
install(pluginManager) {
|
|
26
|
-
pluginManager.registerPureGraphManagerPlugin(this);
|
|
27
|
-
}
|
|
28
25
|
getExtraPureGrammarParserNames() {
|
|
29
26
|
return [PURE_GRAMMAR_DATA_SPACE_PARSER_NAME];
|
|
30
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yEAAyE,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yEAAyE,CAAC;AAKpG,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,mCAAmC,GAAG,WAAW,CAAC;AACxD,MAAM,0CAA0C,GAAG,WAAW,CAAC;AAE/D,MAAM,OAAO,mCAAoC,SAAQ,sBAAsB;IAC7E;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,sBAAsB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEQ,8BAA8B;QACrC,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAC/C,CAAC;IAEQ,2BAA2B;QAClC,OAAO,CAAC,0CAA0C,CAAC,CAAC;IACtD,CAAC;IAEQ,kCAAkC;QACzC,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,SAAS,EAAE;oBAChC,OAAO,0CAA0C,CAAC;iBACnD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
package/lib/index.css
CHANGED
|
@@ -16,13 +16,12 @@
|
|
|
16
16
|
import { V1_DataSpace } from './v1/model/packageableElements/dataSpace/V1_DataSpace';
|
|
17
17
|
import type { PlainObject } from '@finos/legend-shared';
|
|
18
18
|
import type { DataSpaceSupportInfo } from '../../metamodels/pure/model/packageableElements/dataSpace/DataSpace';
|
|
19
|
-
import type {
|
|
19
|
+
import type { Mapping, PackageableElementReference, PackageableRuntime, PureModel, V1_ElementProtocolClassifierPathGetter, V1_ElementProtocolDeserializer, V1_ElementProtocolSerializer, V1_ElementTransformer, V1_PackageableElement, V1_PureModelContextData } from '@finos/legend-graph';
|
|
20
20
|
import { PureProtocolProcessorPlugin, V1_ElementBuilder } from '@finos/legend-graph';
|
|
21
21
|
import { Diagram } from '@finos/legend-extension-dsl-diagram';
|
|
22
22
|
export declare const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = "meta::pure::metamodel::dataSpace::DataSpace";
|
|
23
23
|
export declare class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
|
|
24
24
|
constructor();
|
|
25
|
-
install(pluginManager: GraphPluginManager): void;
|
|
26
25
|
V1_getExtraElementBuilders(): V1_ElementBuilder<V1_PackageableElement>[];
|
|
27
26
|
V1_getExtraSystemModels(): PlainObject<V1_PureModelContextData>[];
|
|
28
27
|
V1_getExtraElementClassifierPathGetters(): V1_ElementProtocolClassifierPathGetter[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,uDAAuD,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAexD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qEAAqE,CAAC;AAMhH,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,uDAAuD,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAexD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qEAAqE,CAAC;AAMhH,OAAO,KAAK,EACV,OAAO,EAEP,2BAA2B,EAC3B,kBAAkB,EAClB,SAAS,EACT,sCAAsC,EACtC,8BAA8B,EAC9B,4BAA4B,EAC5B,qBAAqB,EAGrB,qBAAqB,EACrB,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAQL,2BAA2B,EAC3B,iBAAiB,EAGlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,OAAO,EAER,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQ9E,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IA6GxE,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;CA+DnE;AAED,qBAAa,iCAAiC;IAC5C,IAAI,EAAG,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,2BAA2B,CAAC,OAAO,CAAC,CAAC;IAC/C,cAAc,EAAG,2BAA2B,CAAC,kBAAkB,CAAC,CAAC;CAClE;AAED;;;GAGG;AACH,qBAAa,iBAAiB;IAC5B,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAM;IACT,WAAW,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAM;IAC1E,IAAI,EAAG,MAAM,CAAC;IACd,OAAO,EAAG,MAAM,CAAC;IACjB,UAAU,EAAG,MAAM,CAAC;IACpB,SAAS,EAAG,MAAM,CAAC;IACnB,iBAAiB,EAAE,iCAAiC,EAAE,CAAM;IAC5D,uBAAuB,EAAG,iCAAiC,CAAC;IAC5D,gBAAgB,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAAE,CAAM;IAC9D,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAChD;AAED,eAAO,MAAM,oBAAoB,SACzB,YAAY,YAAY,CAAC,SACxB,SAAS,KACf,iBAkGF,CAAC;AAEF,eAAO,MAAM,6BAA6B,SAClC,YAAY,YAAY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
|
|
@@ -28,9 +28,6 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
28
28
|
constructor() {
|
|
29
29
|
super(packageJson.extensions.pureProtocolProcessorPlugin, packageJson.version);
|
|
30
30
|
}
|
|
31
|
-
install(pluginManager) {
|
|
32
|
-
pluginManager.registerPureProtocolProcessorPlugin(this);
|
|
33
|
-
}
|
|
34
31
|
V1_getExtraElementBuilders() {
|
|
35
32
|
return [
|
|
36
33
|
new V1_ElementBuilder({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EACL,IAAI,EACJ,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,uBAAuB,EACvB,mCAAmC,GACpC,MAAM,iEAAiE,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AAErF,OAAO,EACL,SAAS,EACT,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,qEAAqE,CAAC;
|
|
1
|
+
{"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,uDAAuD,CAAC;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|
|
15
15
|
*/
|
|
16
16
|
import type { Class } from '@finos/legend-graph';
|
|
17
|
+
import { QueryTaggedValue } from '@finos/legend-graph';
|
|
17
18
|
import type { Entity } from '@finos/legend-model-storage';
|
|
18
19
|
import type { QuerySetupStore } from '@finos/legend-query';
|
|
19
20
|
import { QuerySetupState } from '@finos/legend-query';
|
|
@@ -31,6 +32,7 @@ export declare type LightDataSpace = Entity & {
|
|
|
31
32
|
versionId: string;
|
|
32
33
|
};
|
|
33
34
|
};
|
|
35
|
+
export declare const createQueryDataSpaceTaggedValue: (dataSpacePath: string, groupId: string, artifactId: string, versionId: string) => QueryTaggedValue;
|
|
34
36
|
export declare class DataSpaceQuerySetupState extends QuerySetupState {
|
|
35
37
|
dataSpaces: LightDataSpace[];
|
|
36
38
|
loadDataSpacesState: ActionState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetupState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAEL,eAAe,EAEhB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceQuerySetupState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MA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C,EAAE,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC;CAuCzD"}
|
|
@@ -13,12 +13,23 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { QueryTaggedValue } from '@finos/legend-graph';
|
|
16
17
|
import { CreateQueryInfoState, QuerySetupState, generateCreateQueryRoute, } from '@finos/legend-query';
|
|
17
|
-
import { DepotScope, ProjectData, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
|
|
18
|
+
import { generateGAVCoordinates, DepotScope, ProjectData, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
|
|
18
19
|
import { ActionState, assertErrorThrown, guaranteeNonNullable, } from '@finos/legend-shared';
|
|
19
20
|
import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
|
20
21
|
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, getResolvedDataSpace, } from '../../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
|
|
21
22
|
import { DataSpaceViewerState } from '../DataSpaceViewerState';
|
|
23
|
+
const QUERY_PROFILE_PATH = 'meta::pure::profiles::query';
|
|
24
|
+
const QUERY_PROFILE_TAG_DATA_SPACE = 'dataSpace';
|
|
25
|
+
const DATA_SPACE_ID_DELIMITER = '@';
|
|
26
|
+
export const createQueryDataSpaceTaggedValue = (dataSpacePath, groupId, artifactId, versionId) => {
|
|
27
|
+
const taggedValue = new QueryTaggedValue();
|
|
28
|
+
taggedValue.profile = QUERY_PROFILE_PATH;
|
|
29
|
+
taggedValue.tag = QUERY_PROFILE_TAG_DATA_SPACE;
|
|
30
|
+
taggedValue.value = `${generateGAVCoordinates(groupId, artifactId, versionId)}${DATA_SPACE_ID_DELIMITER}${dataSpacePath}`;
|
|
31
|
+
return taggedValue;
|
|
32
|
+
};
|
|
22
33
|
export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
23
34
|
dataSpaces = [];
|
|
24
35
|
loadDataSpacesState = ActionState.create();
|
|
@@ -119,6 +130,9 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
119
130
|
if (this.dataSpaceViewerState) {
|
|
120
131
|
const projectData = ProjectData.serialization.fromJson((yield flowResult(this.queryStore.depotServerClient.getProject(this.dataSpaceViewerState.dataSpace.groupId, this.dataSpaceViewerState.dataSpace.artifactId))));
|
|
121
132
|
const queryInfoState = new CreateQueryInfoState(this.queryStore, projectData, this.dataSpaceViewerState.dataSpace.versionId, this.dataSpaceViewerState.currentExecutionContext.mapping.value, this.dataSpaceViewerState.currentRuntime);
|
|
133
|
+
queryInfoState.taggedValues = [
|
|
134
|
+
createQueryDataSpaceTaggedValue(this.dataSpaceViewerState.dataSpace.path, this.dataSpaceViewerState.dataSpaceGroupId, this.dataSpaceViewerState.dataSpaceArtifactId, this.dataSpaceViewerState.dataSpaceVersionId),
|
|
135
|
+
];
|
|
122
136
|
queryInfoState.class = _class;
|
|
123
137
|
this.queryStore.setQueryInfoState(queryInfoState);
|
|
124
138
|
this.queryStore.applicationStore.navigator.goTo(generateCreateQueryRoute(this.dataSpaceViewerState.dataSpace.groupId, this.dataSpaceViewerState.dataSpace.artifactId, this.dataSpaceViewerState.dataSpace.versionId, this.dataSpaceViewerState.currentExecutionContext.mapping.value.path, this.dataSpaceViewerState.currentRuntime.path));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,wBAAwB,GACzB,MA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AAS,CAAC,SAAS,EAC7C,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EACpE,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,CAC9C,CACF,CAAC;YACF,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;SAC1C;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
"test:watch": "jest --watch"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@finos/legend-application": "0.
|
|
42
|
-
"@finos/legend-art": "0.
|
|
43
|
-
"@finos/legend-extension-dsl-diagram": "1.0.
|
|
44
|
-
"@finos/legend-graph": "0.
|
|
45
|
-
"@finos/legend-model-storage": "0.0.
|
|
46
|
-
"@finos/legend-query": "0.
|
|
47
|
-
"@finos/legend-server-depot": "0.0.
|
|
48
|
-
"@finos/legend-shared": "0.0
|
|
49
|
-
"@finos/legend-studio": "2.0
|
|
50
|
-
"@types/react": "17.0.
|
|
41
|
+
"@finos/legend-application": "1.0.0",
|
|
42
|
+
"@finos/legend-art": "0.2.0",
|
|
43
|
+
"@finos/legend-extension-dsl-diagram": "1.0.3",
|
|
44
|
+
"@finos/legend-graph": "0.3.0",
|
|
45
|
+
"@finos/legend-model-storage": "0.0.10",
|
|
46
|
+
"@finos/legend-query": "0.2.0",
|
|
47
|
+
"@finos/legend-server-depot": "0.0.13",
|
|
48
|
+
"@finos/legend-shared": "1.0.0",
|
|
49
|
+
"@finos/legend-studio": "2.1.0",
|
|
50
|
+
"@types/react": "17.0.37",
|
|
51
51
|
"@types/react-router-dom": "5.3.2",
|
|
52
|
-
"mobx": "6.3.
|
|
52
|
+
"mobx": "6.3.8",
|
|
53
53
|
"mobx-react-lite": "3.2.2",
|
|
54
54
|
"monaco-editor": "0.30.1",
|
|
55
55
|
"react": "17.0.2",
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
"serializr": "2.0.5"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@finos/legend-dev-utils": "0.
|
|
63
|
+
"@finos/legend-dev-utils": "0.3.0",
|
|
64
64
|
"cross-env": "7.0.3",
|
|
65
65
|
"eslint": "8.3.0",
|
|
66
|
-
"jest": "27.3
|
|
66
|
+
"jest": "27.4.3",
|
|
67
67
|
"npm-run-all": "4.1.5",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"sass": "1.
|
|
69
|
+
"sass": "1.44.0",
|
|
70
70
|
"typescript": "4.5.2"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../../package.json';
|
|
18
18
|
import type {
|
|
19
|
-
LegendQueryPluginManager,
|
|
20
19
|
QuerySetupOptionRendererConfiguration,
|
|
21
20
|
QuerySetupRenderer,
|
|
22
21
|
QuerySetupState,
|
|
@@ -32,10 +31,6 @@ export class DSLDataSpace_LegendQueryPlugin extends LegendQueryPlugin {
|
|
|
32
31
|
super(packageJson.extensions.queryPlugin, packageJson.version);
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
install(pluginManager: LegendQueryPluginManager): void {
|
|
36
|
-
pluginManager.registerQueryPlugin(this);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
34
|
override getExtraQuerySetupOptionRendererConfigurations(): QuerySetupOptionRendererConfiguration[] {
|
|
40
35
|
return [
|
|
41
36
|
{
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
|
|
17
17
|
import packageJson from '../../../package.json';
|
|
18
18
|
import type {
|
|
19
|
-
LegendStudioPluginManager,
|
|
20
19
|
NewElementFromStateCreator,
|
|
21
20
|
ElementTypeGetter,
|
|
22
21
|
ElementProjectExplorerDnDTypeGetter,
|
|
@@ -51,10 +50,6 @@ export class DSLDataSpace_LegendStudioPlugin
|
|
|
51
50
|
super(packageJson.extensions.studioPlugin, packageJson.version);
|
|
52
51
|
}
|
|
53
52
|
|
|
54
|
-
install(pluginManager: LegendStudioPluginManager): void {
|
|
55
|
-
pluginManager.registerStudioPlugin(this);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
53
|
getExtraSupportedElementTypes(): string[] {
|
|
59
54
|
return [DATA_SPACE_ELEMENT_TYPE];
|
|
60
55
|
}
|
|
@@ -17,10 +17,7 @@
|
|
|
17
17
|
import packageJson from '../../package.json';
|
|
18
18
|
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DataSpace';
|
|
19
19
|
import type { Clazz } from '@finos/legend-shared';
|
|
20
|
-
import type {
|
|
21
|
-
GraphPluginManager,
|
|
22
|
-
PackageableElement,
|
|
23
|
-
} from '@finos/legend-graph';
|
|
20
|
+
import type { PackageableElement } from '@finos/legend-graph';
|
|
24
21
|
import { PureGraphPlugin } from '@finos/legend-graph';
|
|
25
22
|
|
|
26
23
|
export class DSLDataSpace_PureGraphPlugin extends PureGraphPlugin {
|
|
@@ -28,10 +25,6 @@ export class DSLDataSpace_PureGraphPlugin extends PureGraphPlugin {
|
|
|
28
25
|
super(packageJson.extensions.pureGraphPlugin, packageJson.version);
|
|
29
26
|
}
|
|
30
27
|
|
|
31
|
-
install(pluginManager: GraphPluginManager): void {
|
|
32
|
-
pluginManager.registerPureGraphPlugin(this);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
28
|
override getExtraPureGraphExtensionClasses(): Clazz<PackageableElement>[] {
|
|
36
29
|
return [DataSpace];
|
|
37
30
|
}
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
import packageJson from '../../package.json';
|
|
18
18
|
import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DataSpace';
|
|
19
19
|
import type {
|
|
20
|
-
GraphPluginManager,
|
|
21
20
|
PackageableElement,
|
|
22
21
|
PureGrammarElementLabeler,
|
|
23
22
|
} from '@finos/legend-graph';
|
|
@@ -31,10 +30,6 @@ export class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin
|
|
|
31
30
|
super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
|
|
32
31
|
}
|
|
33
32
|
|
|
34
|
-
install(pluginManager: GraphPluginManager): void {
|
|
35
|
-
pluginManager.registerPureGraphManagerPlugin(this);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
33
|
override getExtraPureGrammarParserNames(): string[] {
|
|
39
34
|
return [PURE_GRAMMAR_DATA_SPACE_PARSER_NAME];
|
|
40
35
|
}
|
|
@@ -43,7 +43,6 @@ import {
|
|
|
43
43
|
DataSpaceSupportEmail,
|
|
44
44
|
} from '../../metamodels/pure/model/packageableElements/dataSpace/DataSpace';
|
|
45
45
|
import type {
|
|
46
|
-
GraphPluginManager,
|
|
47
46
|
Mapping,
|
|
48
47
|
PackageableElement,
|
|
49
48
|
PackageableElementReference,
|
|
@@ -88,10 +87,6 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
|
|
|
88
87
|
);
|
|
89
88
|
}
|
|
90
89
|
|
|
91
|
-
install(pluginManager: GraphPluginManager): void {
|
|
92
|
-
pluginManager.registerPureProtocolProcessorPlugin(this);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
90
|
override V1_getExtraElementBuilders(): V1_ElementBuilder<V1_PackageableElement>[] {
|
|
96
91
|
return [
|
|
97
92
|
new V1_ElementBuilder<V1_DataSpace>({
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import type { ClassView } from '@finos/legend-extension-dsl-diagram';
|
|
18
18
|
import type { Class } from '@finos/legend-graph';
|
|
19
|
+
import { QueryTaggedValue } from '@finos/legend-graph';
|
|
19
20
|
import type { Entity } from '@finos/legend-model-storage';
|
|
20
21
|
import type { QuerySetupStore } from '@finos/legend-query';
|
|
21
22
|
import {
|
|
@@ -25,6 +26,7 @@ import {
|
|
|
25
26
|
} from '@finos/legend-query';
|
|
26
27
|
import type { StoredEntity } from '@finos/legend-server-depot';
|
|
27
28
|
import {
|
|
29
|
+
generateGAVCoordinates,
|
|
28
30
|
DepotScope,
|
|
29
31
|
ProjectData,
|
|
30
32
|
SNAPSHOT_VERSION_ALIAS,
|
|
@@ -54,6 +56,27 @@ export type LightDataSpace = Entity & {
|
|
|
54
56
|
};
|
|
55
57
|
};
|
|
56
58
|
|
|
59
|
+
const QUERY_PROFILE_PATH = 'meta::pure::profiles::query';
|
|
60
|
+
const QUERY_PROFILE_TAG_DATA_SPACE = 'dataSpace';
|
|
61
|
+
const DATA_SPACE_ID_DELIMITER = '@';
|
|
62
|
+
|
|
63
|
+
export const createQueryDataSpaceTaggedValue = (
|
|
64
|
+
dataSpacePath: string,
|
|
65
|
+
groupId: string,
|
|
66
|
+
artifactId: string,
|
|
67
|
+
versionId: string,
|
|
68
|
+
): QueryTaggedValue => {
|
|
69
|
+
const taggedValue = new QueryTaggedValue();
|
|
70
|
+
taggedValue.profile = QUERY_PROFILE_PATH;
|
|
71
|
+
taggedValue.tag = QUERY_PROFILE_TAG_DATA_SPACE;
|
|
72
|
+
taggedValue.value = `${generateGAVCoordinates(
|
|
73
|
+
groupId,
|
|
74
|
+
artifactId,
|
|
75
|
+
versionId,
|
|
76
|
+
)}${DATA_SPACE_ID_DELIMITER}${dataSpacePath}`;
|
|
77
|
+
return taggedValue;
|
|
78
|
+
};
|
|
79
|
+
|
|
57
80
|
export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
58
81
|
dataSpaces: LightDataSpace[] = [];
|
|
59
82
|
loadDataSpacesState = ActionState.create();
|
|
@@ -218,6 +241,14 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
218
241
|
this.dataSpaceViewerState.currentExecutionContext.mapping.value,
|
|
219
242
|
this.dataSpaceViewerState.currentRuntime,
|
|
220
243
|
);
|
|
244
|
+
queryInfoState.taggedValues = [
|
|
245
|
+
createQueryDataSpaceTaggedValue(
|
|
246
|
+
this.dataSpaceViewerState.dataSpace.path,
|
|
247
|
+
this.dataSpaceViewerState.dataSpaceGroupId,
|
|
248
|
+
this.dataSpaceViewerState.dataSpaceArtifactId,
|
|
249
|
+
this.dataSpaceViewerState.dataSpaceVersionId,
|
|
250
|
+
),
|
|
251
|
+
];
|
|
221
252
|
queryInfoState.class = _class;
|
|
222
253
|
this.queryStore.setQueryInfoState(queryInfoState);
|
|
223
254
|
this.queryStore.applicationStore.navigator.goTo(
|