@finos/legend-extension-dsl-data-space-studio 0.1.86 → 0.1.87
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/DataSpaceQueryAction.d.ts.map +1 -1
- package/lib/components/DataSpaceQueryAction.js +4 -4
- package/lib/components/DataSpaceQueryAction.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +7 -7
- package/src/components/DataSpaceQueryAction.tsx +5 -8
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryAction.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceQueryAction.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAUzE,eAAO,MAAM,cAAc,cACd,SAAS,eACP,WAAW,KACvB,OAAO,CAAC,IAAI,
|
1
|
+
{"version":3,"file":"DataSpaceQueryAction.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceQueryAction.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,KAAK,WAAW,EAEjB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAUzE,eAAO,MAAM,cAAc,cACd,SAAS,eACP,WAAW,KACvB,OAAO,CAAC,IAAI,CAkDd,CAAC;AAEF,eAAO,MAAM,oBAAoB,WACvB;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE;;CAUjC,CAAC"}
|
@@ -25,17 +25,17 @@ import { QueryBuilderActionConfig, QueryBuilderAdvancedWorkflowState, } from '@f
|
|
25
25
|
export const queryDataSpace = async (dataSpace, editorStore) => {
|
26
26
|
const embeddedQueryBuilderState = editorStore.embeddedQueryBuilderState;
|
27
27
|
await flowResult(embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration({
|
28
|
-
setupQueryBuilderState: () => {
|
28
|
+
setupQueryBuilderState: async () => {
|
29
29
|
const sourceInfo = Object.assign({}, editorStore.editorMode.getSourceInfo(), {
|
30
30
|
dataSpace: dataSpace.path,
|
31
31
|
});
|
32
|
-
const queryBuilderState = new DataSpaceQueryBuilderState(editorStore.applicationStore, editorStore.graphManagerState, QueryBuilderAdvancedWorkflowState.INSTANCE, QueryBuilderActionConfig.INSTANCE, dataSpace, dataSpace.defaultExecutionContext, undefined, (dataSpaceInfo) => {
|
32
|
+
const queryBuilderState = new DataSpaceQueryBuilderState(editorStore.applicationStore, editorStore.graphManagerState, QueryBuilderAdvancedWorkflowState.INSTANCE, QueryBuilderActionConfig.INSTANCE, dataSpace, dataSpace.defaultExecutionContext, false, undefined, async (dataSpaceInfo) => {
|
33
33
|
queryBuilderState.dataSpace = guaranteeType(queryBuilderState.graphManagerState.graph.getElement(dataSpaceInfo.path), DataSpace);
|
34
34
|
queryBuilderState.setExecutionContext(queryBuilderState.dataSpace.defaultExecutionContext);
|
35
|
-
queryBuilderState.propagateExecutionContextChange(
|
35
|
+
await queryBuilderState.propagateExecutionContextChange();
|
36
36
|
}, undefined, undefined, undefined, undefined, editorStore.applicationStore.config.options.queryBuilderConfig, sourceInfo);
|
37
37
|
queryBuilderState.setExecutionContext(dataSpace.defaultExecutionContext);
|
38
|
-
queryBuilderState.propagateExecutionContextChange(
|
38
|
+
await queryBuilderState.propagateExecutionContextChange();
|
39
39
|
return queryBuilderState;
|
40
40
|
},
|
41
41
|
actionConfigs: [],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryAction.js","sourceRoot":"","sources":["../../src/components/DataSpaceQueryAction.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,cAAc,GACf,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACzE,OAAO,EACL,0BAA0B,GAE3B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,wBAAwB,EACxB,iCAAiC,GAClC,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,EACjC,SAAoB,EACpB,WAAwB,EACT,EAAE;IACjB,MAAM,yBAAyB,GAAG,WAAW,CAAC,yBAAyB,CAAC;IACxE,MAAM,UAAU,CACd,yBAAyB,CAAC,oCAAoC,CAAC;QAC7D,sBAAsB,EAAE,
|
1
|
+
{"version":3,"file":"DataSpaceQueryAction.js","sourceRoot":"","sources":["../../src/components/DataSpaceQueryAction.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,cAAc,GACf,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACzE,OAAO,EACL,0BAA0B,GAE3B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,wBAAwB,EACxB,iCAAiC,GAClC,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,EACjC,SAAoB,EACpB,WAAwB,EACT,EAAE;IACjB,MAAM,yBAAyB,GAAG,WAAW,CAAC,yBAAyB,CAAC;IACxE,MAAM,UAAU,CACd,yBAAyB,CAAC,oCAAoC,CAAC;QAC7D,sBAAsB,EAAE,KAAK,I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AAE,CAAC;IACrC,MAAM,UAAU,GAAG,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CACjE,KAAK,IAAI,EAAE;QACT,MAAM,cAAc,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IAC/C,CAAC,CACF,CAAC;IACF,OAAO,KAAC,eAAe,IAAC,OAAO,EAAE,UAAU,yBAA4B,CAAC;AAC1E,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space-studio",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.87",
|
4
4
|
"description": "Legend extension for Data Space DSL - Studio",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -43,13 +43,13 @@
|
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
45
|
"@finos/legend-application": "16.0.6",
|
46
|
-
"@finos/legend-application-studio": "28.18.
|
46
|
+
"@finos/legend-application-studio": "28.18.49",
|
47
47
|
"@finos/legend-art": "7.1.64",
|
48
|
-
"@finos/legend-code-editor": "2.0.
|
49
|
-
"@finos/legend-extension-dsl-data-space": "10.
|
50
|
-
"@finos/legend-graph": "31.10.
|
51
|
-
"@finos/legend-query-builder": "4.15.
|
52
|
-
"@finos/legend-server-depot": "6.0.
|
48
|
+
"@finos/legend-code-editor": "2.0.10",
|
49
|
+
"@finos/legend-extension-dsl-data-space": "10.4.0",
|
50
|
+
"@finos/legend-graph": "31.10.44",
|
51
|
+
"@finos/legend-query-builder": "4.15.9",
|
52
|
+
"@finos/legend-server-depot": "6.0.65",
|
53
53
|
"@finos/legend-server-sdlc": "5.3.34",
|
54
54
|
"@finos/legend-shared": "10.0.58",
|
55
55
|
"@types/react": "18.3.11",
|
@@ -39,7 +39,7 @@ export const queryDataSpace = async (
|
|
39
39
|
const embeddedQueryBuilderState = editorStore.embeddedQueryBuilderState;
|
40
40
|
await flowResult(
|
41
41
|
embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration({
|
42
|
-
setupQueryBuilderState: () => {
|
42
|
+
setupQueryBuilderState: async () => {
|
43
43
|
const sourceInfo = Object.assign(
|
44
44
|
{},
|
45
45
|
editorStore.editorMode.getSourceInfo(),
|
@@ -54,8 +54,9 @@ export const queryDataSpace = async (
|
|
54
54
|
QueryBuilderActionConfig.INSTANCE,
|
55
55
|
dataSpace,
|
56
56
|
dataSpace.defaultExecutionContext,
|
57
|
+
false,
|
57
58
|
undefined,
|
58
|
-
(dataSpaceInfo: DataSpaceInfo) => {
|
59
|
+
async (dataSpaceInfo: DataSpaceInfo) => {
|
59
60
|
queryBuilderState.dataSpace = guaranteeType(
|
60
61
|
queryBuilderState.graphManagerState.graph.getElement(
|
61
62
|
dataSpaceInfo.path,
|
@@ -65,9 +66,7 @@ export const queryDataSpace = async (
|
|
65
66
|
queryBuilderState.setExecutionContext(
|
66
67
|
queryBuilderState.dataSpace.defaultExecutionContext,
|
67
68
|
);
|
68
|
-
queryBuilderState.propagateExecutionContextChange(
|
69
|
-
queryBuilderState.dataSpace.defaultExecutionContext,
|
70
|
-
);
|
69
|
+
await queryBuilderState.propagateExecutionContextChange();
|
71
70
|
},
|
72
71
|
undefined,
|
73
72
|
undefined,
|
@@ -79,9 +78,7 @@ export const queryDataSpace = async (
|
|
79
78
|
queryBuilderState.setExecutionContext(
|
80
79
|
dataSpace.defaultExecutionContext,
|
81
80
|
);
|
82
|
-
queryBuilderState.propagateExecutionContextChange(
|
83
|
-
dataSpace.defaultExecutionContext,
|
84
|
-
);
|
81
|
+
await queryBuilderState.propagateExecutionContextChange();
|
85
82
|
return queryBuilderState;
|
86
83
|
},
|
87
84
|
actionConfigs: [],
|