@finos/legend-extension-dsl-data-space 10.0.14 → 10.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.css +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/DataSpaceQuickStartState.d.ts.map +1 -1
- package/lib/stores/DataSpaceQuickStartState.js +10 -2
- package/lib/stores/DataSpaceQuickStartState.js.map +1 -1
- package/package.json +15 -15
- package/src/stores/DataSpaceQuickStartState.ts +10 -5
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.16",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@finos/legend-server-depot": "workspace:*",
|
|
56
56
|
"@finos/legend-shared": "workspace:*",
|
|
57
57
|
"@finos/legend-storage": "workspace:*",
|
|
58
|
-
"@types/react": "18.2.
|
|
58
|
+
"@types/react": "18.2.5",
|
|
59
59
|
"mobx": "6.9.0",
|
|
60
60
|
"mobx-react-lite": "3.4.3",
|
|
61
61
|
"react": "18.2.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@finos/legend-dev-utils": "workspace:*",
|
|
67
67
|
"@jest/globals": "29.5.0",
|
|
68
68
|
"cross-env": "7.0.3",
|
|
69
|
-
"eslint": "8.
|
|
69
|
+
"eslint": "8.40.0",
|
|
70
70
|
"jest": "29.5.0",
|
|
71
71
|
"npm-run-all": "4.1.5",
|
|
72
72
|
"rimraf": "5.0.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuickStartState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceQuickStartState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,wDAAwD,CAAC;AAEhE,qBAAa,wBAAwB;IACnC,QAAQ,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEpD,oBAAoB,0DAGhB;gBAEQ,oBAAoB,EAAE,oBAAoB;
|
|
1
|
+
{"version":3,"file":"DataSpaceQuickStartState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceQuickStartState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,wDAAwD,CAAC;AAEhE,qBAAa,wBAAwB;IACnC,QAAQ,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEpD,oBAAoB,0DAGhB;gBAEQ,oBAAoB,EAAE,oBAAoB;CA6CvD"}
|
|
@@ -30,7 +30,6 @@ export class DataSpaceQuickStartState {
|
|
|
30
30
|
if (executable.info instanceof DataSpaceServiceExecutableInfo &&
|
|
31
31
|
executable.info.mapping &&
|
|
32
32
|
executable.info.runtime) {
|
|
33
|
-
const query = executable.info.query;
|
|
34
33
|
const mapping = executable.info.mapping;
|
|
35
34
|
const runtime = executable.info.runtime;
|
|
36
35
|
dataAccessState = new DataAccessState(this.dataSpaceViewerState.applicationStore, this.dataSpaceViewerState.graphManagerState, {
|
|
@@ -38,7 +37,16 @@ export class DataSpaceQuickStartState {
|
|
|
38
37
|
mapping,
|
|
39
38
|
runtime,
|
|
40
39
|
graphData: this.dataSpaceViewerState.retrieveGraphData(),
|
|
41
|
-
|
|
40
|
+
// TODO: we need to find a way to unify this code logic with the check in query builder
|
|
41
|
+
// and avoid the need to send over (dummy) parameter values in order to make the survey datasets
|
|
42
|
+
// call
|
|
43
|
+
// We need to also cache the datasets survey result with query as scope in addition to the work done in
|
|
44
|
+
// https://github.com/finos/legend-engine/pull/1678
|
|
45
|
+
getQuery: async () => undefined,
|
|
46
|
+
// getQuery: () =>
|
|
47
|
+
// this.dataSpaceViewerState.graphManagerState.graphManager.pureCodeToLambda(
|
|
48
|
+
// query,
|
|
49
|
+
// ),
|
|
42
50
|
});
|
|
43
51
|
}
|
|
44
52
|
if (dataAccessState) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceQuickStartState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceQuickStartState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClD,OAAO,EAA6B,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EACL,8BAA8B,GAE/B,MAAM,wDAAwD,CAAC;AAEhE,MAAM,OAAO,wBAAwB;IAC1B,oBAAoB,CAAuB;IAEpD,oBAAoB,GAAG,IAAI,GAAG,EAG3B,CAAC;IAEJ,YAAY,oBAA0C;QACpD,cAAc,CAAC,IAAI,EAAE;YACnB,oBAAoB,EAAE,UAAU;SACjC,CAAC,CAAC;QAEH,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QACjD,oBAAoB,CAAC,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAC9D,CAAC,UAAU,EAAE,EAAE;YACb,IAAI,eAA4C,CAAC;YAEjD,IACE,UAAU,CAAC,IAAI,YAAY,8BAA8B;gBACzD,UAAU,CAAC,IAAI,CAAC,OAAO;gBACvB,UAAU,CAAC,IAAI,CAAC,OAAO,EACvB;gBACA,MAAM,
|
|
1
|
+
{"version":3,"file":"DataSpaceQuickStartState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,IAAI,EAAE,CAAC,SAAS;oBAC/B,kBAAkB;oBAClB,+EAA+E;oBAC/E,aAAa;oBACb,OAAO;iBACR,CACF,CAAC;aACH;YAED,IAAI,eAAe,EAAE;gBACnB,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;aAC5D;QACH,CAAC,CACF,CAAC;IACJ,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.
|
|
3
|
+
"version": "10.0.16",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"test:watch": "jest --watch"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@finos/legend-application": "15.0.
|
|
48
|
-
"@finos/legend-application-query": "13.0.
|
|
49
|
-
"@finos/legend-application-studio": "25.0.
|
|
50
|
-
"@finos/legend-art": "7.0.
|
|
51
|
-
"@finos/legend-extension-dsl-diagram": "8.0.
|
|
52
|
-
"@finos/legend-graph": "28.1.
|
|
53
|
-
"@finos/legend-lego": "1.0.
|
|
54
|
-
"@finos/legend-query-builder": "3.2.
|
|
55
|
-
"@finos/legend-server-depot": "6.0.
|
|
56
|
-
"@finos/legend-shared": "10.0.
|
|
57
|
-
"@finos/legend-storage": "3.0.
|
|
58
|
-
"@types/react": "18.2.
|
|
47
|
+
"@finos/legend-application": "15.0.11",
|
|
48
|
+
"@finos/legend-application-query": "13.0.5",
|
|
49
|
+
"@finos/legend-application-studio": "25.0.4",
|
|
50
|
+
"@finos/legend-art": "7.0.12",
|
|
51
|
+
"@finos/legend-extension-dsl-diagram": "8.0.16",
|
|
52
|
+
"@finos/legend-graph": "28.1.7",
|
|
53
|
+
"@finos/legend-lego": "1.0.4",
|
|
54
|
+
"@finos/legend-query-builder": "3.2.5",
|
|
55
|
+
"@finos/legend-server-depot": "6.0.6",
|
|
56
|
+
"@finos/legend-shared": "10.0.5",
|
|
57
|
+
"@finos/legend-storage": "3.0.55",
|
|
58
|
+
"@types/react": "18.2.5",
|
|
59
59
|
"mobx": "6.9.0",
|
|
60
60
|
"mobx-react-lite": "3.4.3",
|
|
61
61
|
"react": "18.2.0",
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"serializr": "3.0.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@finos/legend-dev-utils": "2.0.
|
|
66
|
+
"@finos/legend-dev-utils": "2.0.60",
|
|
67
67
|
"@jest/globals": "29.5.0",
|
|
68
68
|
"cross-env": "7.0.3",
|
|
69
|
-
"eslint": "8.
|
|
69
|
+
"eslint": "8.40.0",
|
|
70
70
|
"jest": "29.5.0",
|
|
71
71
|
"npm-run-all": "4.1.5",
|
|
72
72
|
"rimraf": "5.0.0",
|
|
@@ -45,7 +45,6 @@ export class DataSpaceQuickStartState {
|
|
|
45
45
|
executable.info.mapping &&
|
|
46
46
|
executable.info.runtime
|
|
47
47
|
) {
|
|
48
|
-
const query = executable.info.query;
|
|
49
48
|
const mapping = executable.info.mapping;
|
|
50
49
|
const runtime = executable.info.runtime;
|
|
51
50
|
dataAccessState = new DataAccessState(
|
|
@@ -56,10 +55,16 @@ export class DataSpaceQuickStartState {
|
|
|
56
55
|
mapping,
|
|
57
56
|
runtime,
|
|
58
57
|
graphData: this.dataSpaceViewerState.retrieveGraphData(),
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
// TODO: we need to find a way to unify this code logic with the check in query builder
|
|
59
|
+
// and avoid the need to send over (dummy) parameter values in order to make the survey datasets
|
|
60
|
+
// call
|
|
61
|
+
// We need to also cache the datasets survey result with query as scope in addition to the work done in
|
|
62
|
+
// https://github.com/finos/legend-engine/pull/1678
|
|
63
|
+
getQuery: async () => undefined,
|
|
64
|
+
// getQuery: () =>
|
|
65
|
+
// this.dataSpaceViewerState.graphManagerState.graphManager.pureCodeToLambda(
|
|
66
|
+
// query,
|
|
67
|
+
// ),
|
|
63
68
|
},
|
|
64
69
|
);
|
|
65
70
|
}
|