@finos/legend-extension-dsl-data-space-studio 0.1.89 → 0.1.90

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,CAkDd,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,CAqDd,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: async () => {
28
+ setupQueryBuilderState: () => {
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, false, undefined, async (dataSpaceInfo) => {
32
+ const queryBuilderState = new DataSpaceQueryBuilderState(editorStore.applicationStore, editorStore.graphManagerState, QueryBuilderAdvancedWorkflowState.INSTANCE, QueryBuilderActionConfig.INSTANCE, dataSpace, dataSpace.defaultExecutionContext, undefined, (dataSpaceInfo) => {
33
33
  queryBuilderState.dataSpace = guaranteeType(queryBuilderState.graphManagerState.graph.getElement(dataSpaceInfo.path), DataSpace);
34
34
  queryBuilderState.setExecutionContext(queryBuilderState.dataSpace.defaultExecutionContext);
35
- await queryBuilderState.propagateExecutionContextChange();
35
+ queryBuilderState.propagateExecutionContextChange(queryBuilderState.dataSpace.defaultExecutionContext);
36
36
  }, undefined, undefined, undefined, undefined, editorStore.applicationStore.config.options.queryBuilderConfig, sourceInfo);
37
37
  queryBuilderState.setExecutionContext(dataSpace.defaultExecutionContext);
38
- await queryBuilderState.propagateExecutionContextChange();
38
+ queryBuilderState.propagateExecutionContextChange(dataSpace.defaultExecutionContext);
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.89
1
+ /** @license @finos/legend-extension-dsl-data-space-studio v0.1.90
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.89",
3
+ "version": "0.1.90",
4
4
  "description": "Legend extension for Data Space DSL - Studio",
5
5
  "keywords": [
6
6
  "legend",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space-studio",
3
- "version": "0.1.89",
3
+ "version": "0.1.90",
4
4
  "description": "Legend extension for Data Space DSL - Studio",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,12 +43,12 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@finos/legend-application": "16.0.8",
46
- "@finos/legend-application-studio": "28.18.51",
46
+ "@finos/legend-application-studio": "28.18.52",
47
47
  "@finos/legend-art": "7.1.66",
48
- "@finos/legend-code-editor": "2.0.12",
49
- "@finos/legend-extension-dsl-data-space": "10.4.2",
50
- "@finos/legend-graph": "31.10.46",
51
- "@finos/legend-query-builder": "4.15.11",
48
+ "@finos/legend-code-editor": "2.0.13",
49
+ "@finos/legend-extension-dsl-data-space": "10.4.3",
50
+ "@finos/legend-graph": "31.10.47",
51
+ "@finos/legend-query-builder": "4.15.12",
52
52
  "@finos/legend-server-depot": "6.0.66",
53
53
  "@finos/legend-server-sdlc": "5.3.35",
54
54
  "@finos/legend-shared": "10.0.59",
@@ -39,7 +39,7 @@ export const queryDataSpace = async (
39
39
  const embeddedQueryBuilderState = editorStore.embeddedQueryBuilderState;
40
40
  await flowResult(
41
41
  embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration({
42
- setupQueryBuilderState: async () => {
42
+ setupQueryBuilderState: () => {
43
43
  const sourceInfo = Object.assign(
44
44
  {},
45
45
  editorStore.editorMode.getSourceInfo(),
@@ -54,9 +54,8 @@ export const queryDataSpace = async (
54
54
  QueryBuilderActionConfig.INSTANCE,
55
55
  dataSpace,
56
56
  dataSpace.defaultExecutionContext,
57
- false,
58
57
  undefined,
59
- async (dataSpaceInfo: DataSpaceInfo) => {
58
+ (dataSpaceInfo: DataSpaceInfo) => {
60
59
  queryBuilderState.dataSpace = guaranteeType(
61
60
  queryBuilderState.graphManagerState.graph.getElement(
62
61
  dataSpaceInfo.path,
@@ -66,7 +65,9 @@ export const queryDataSpace = async (
66
65
  queryBuilderState.setExecutionContext(
67
66
  queryBuilderState.dataSpace.defaultExecutionContext,
68
67
  );
69
- await queryBuilderState.propagateExecutionContextChange();
68
+ queryBuilderState.propagateExecutionContextChange(
69
+ queryBuilderState.dataSpace.defaultExecutionContext,
70
+ );
70
71
  },
71
72
  undefined,
72
73
  undefined,
@@ -78,7 +79,9 @@ export const queryDataSpace = async (
78
79
  queryBuilderState.setExecutionContext(
79
80
  dataSpace.defaultExecutionContext,
80
81
  );
81
- await queryBuilderState.propagateExecutionContextChange();
82
+ queryBuilderState.propagateExecutionContextChange(
83
+ dataSpace.defaultExecutionContext,
84
+ );
82
85
  return queryBuilderState;
83
86
  },
84
87
  actionConfigs: [],