@finos/legend-extension-dsl-data-space-studio 0.1.86 → 0.1.88

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,CAqDd,CAAC;AAEF,eAAO,MAAM,oBAAoB,WACvB;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE;;CAUjC,CAAC"}
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(queryBuilderState.dataSpace.defaultExecutionContext);
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(dataSpace.defaultExecutionContext);
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,0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oB,GAAG,QAAQ,CAC1C,CAAC,KAA+B,EAAE,EAAE;IAClC,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,WAAW,GAAG,cAAc,EAAE,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
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space-studio v0.1.86
1
+ /** @license @finos/legend-extension-dsl-data-space-studio v0.1.88
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-studio",
3
- "version": "0.1.86",
3
+ "version": "0.1.88",
4
4
  "description": "Legend extension for Data Space DSL - Studio",
5
5
  "keywords": [
6
6
  "legend",
@@ -52,7 +52,7 @@
52
52
  "@finos/legend-server-depot": "workspace:*",
53
53
  "@finos/legend-server-sdlc": "workspace:*",
54
54
  "@finos/legend-shared": "workspace:*",
55
- "@types/react": "18.3.11",
55
+ "@types/react": "18.3.12",
56
56
  "mobx": "6.13.5",
57
57
  "mobx-react-lite": "4.0.7",
58
58
  "react": "18.3.1"
@@ -61,11 +61,11 @@
61
61
  "@finos/legend-dev-utils": "workspace:*",
62
62
  "@jest/globals": "29.7.0",
63
63
  "cross-env": "7.0.3",
64
- "eslint": "9.12.0",
64
+ "eslint": "9.13.0",
65
65
  "jest": "29.7.0",
66
66
  "npm-run-all": "4.1.5",
67
67
  "rimraf": "6.0.1",
68
- "sass": "1.80.2",
68
+ "sass": "1.80.5",
69
69
  "typescript": "5.6.3"
70
70
  },
71
71
  "peerDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space-studio",
3
- "version": "0.1.86",
3
+ "version": "0.1.88",
4
4
  "description": "Legend extension for Data Space DSL - Studio",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,30 +42,30 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "16.0.6",
46
- "@finos/legend-application-studio": "28.18.48",
47
- "@finos/legend-art": "7.1.64",
48
- "@finos/legend-code-editor": "2.0.9",
49
- "@finos/legend-extension-dsl-data-space": "10.3.86",
50
- "@finos/legend-graph": "31.10.43",
51
- "@finos/legend-query-builder": "4.15.8",
52
- "@finos/legend-server-depot": "6.0.64",
53
- "@finos/legend-server-sdlc": "5.3.34",
54
- "@finos/legend-shared": "10.0.58",
55
- "@types/react": "18.3.11",
45
+ "@finos/legend-application": "16.0.7",
46
+ "@finos/legend-application-studio": "28.18.50",
47
+ "@finos/legend-art": "7.1.65",
48
+ "@finos/legend-code-editor": "2.0.11",
49
+ "@finos/legend-extension-dsl-data-space": "10.4.1",
50
+ "@finos/legend-graph": "31.10.45",
51
+ "@finos/legend-query-builder": "4.15.10",
52
+ "@finos/legend-server-depot": "6.0.66",
53
+ "@finos/legend-server-sdlc": "5.3.35",
54
+ "@finos/legend-shared": "10.0.59",
55
+ "@types/react": "18.3.12",
56
56
  "mobx": "6.13.5",
57
57
  "mobx-react-lite": "4.0.7",
58
58
  "react": "18.3.1"
59
59
  },
60
60
  "devDependencies": {
61
- "@finos/legend-dev-utils": "2.1.26",
61
+ "@finos/legend-dev-utils": "2.1.27",
62
62
  "@jest/globals": "29.7.0",
63
63
  "cross-env": "7.0.3",
64
- "eslint": "9.12.0",
64
+ "eslint": "9.13.0",
65
65
  "jest": "29.7.0",
66
66
  "npm-run-all": "4.1.5",
67
67
  "rimraf": "6.0.1",
68
- "sass": "1.80.2",
68
+ "sass": "1.80.5",
69
69
  "typescript": "5.6.3"
70
70
  },
71
71
  "peerDependencies": {
@@ -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: [],