@finos/legend-extension-dsl-data-space-studio 0.1.11 → 0.1.12

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;AAOzE,eAAO,MAAM,cAAc,cACd,SAAS,eACP,WAAW,KACvB,QAAQ,IAAI,CAsDd,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,QAAQ,IAAI,CAuDd,CAAC;AAEF,eAAO,MAAM,oBAAoB,WACvB;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE;;CAUjC,CAAC"}
@@ -21,7 +21,7 @@ import { flowResult } from 'mobx';
21
21
  import { guaranteeType } from '@finos/legend-shared';
22
22
  import { DataSpace } from '@finos/legend-extension-dsl-data-space/graph';
23
23
  import { DataSpaceQueryBuilderState, } from '@finos/legend-extension-dsl-data-space/application';
24
- import { QueryBuilderAdvancedWorkflowState } from '@finos/legend-query-builder';
24
+ import { QueryBuilderActionConfig, QueryBuilderAdvancedWorkflowState, } from '@finos/legend-query-builder';
25
25
  export const queryDataSpace = async (dataSpace, editorStore) => {
26
26
  const embeddedQueryBuilderState = editorStore.embeddedQueryBuilderState;
27
27
  await flowResult(embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration({
@@ -29,7 +29,7 @@ export const queryDataSpace = async (dataSpace, editorStore) => {
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, editorStore.depotServerClient, QueryBuilderAdvancedWorkflowState.INSTANCE, dataSpace, dataSpace.defaultExecutionContext, (dataSpaceInfo) => {
32
+ const queryBuilderState = new DataSpaceQueryBuilderState(editorStore.applicationStore, editorStore.graphManagerState, editorStore.depotServerClient, QueryBuilderAdvancedWorkflowState.INSTANCE, QueryBuilderActionConfig.INSTANCE, dataSpace, dataSpace.defaultExecutionContext, (dataSpaceInfo) => {
33
33
  queryBuilderState.dataSpace = guaranteeType(queryBuilderState.graphManagerState.graph.getElement(dataSpaceInfo.path), DataSpace);
34
34
  queryBuilderState.setExecutionContext(queryBuilderState.dataSpace.defaultExecutionContext);
35
35
  queryBuilderState.propagateExecutionContextChange(queryBuilderState.dataSpace.defaultExecutionContext);
@@ -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,EAAE,iCAAiC,EA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,oBAAoB,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.11
1
+ /** @license @finos/legend-extension-dsl-data-space-studio v0.1.12
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.11",
3
+ "version": "0.1.12",
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.11",
3
+ "version": "0.1.12",
4
4
  "description": "Legend extension for Data Space DSL - Studio",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,11 +42,11 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.76",
46
- "@finos/legend-application-studio": "28.16.23",
47
- "@finos/legend-art": "7.1.28",
48
- "@finos/legend-extension-dsl-data-space": "10.3.11",
49
- "@finos/legend-query-builder": "4.14.35",
45
+ "@finos/legend-application": "15.1.0",
46
+ "@finos/legend-application-studio": "28.16.24",
47
+ "@finos/legend-art": "7.1.29",
48
+ "@finos/legend-extension-dsl-data-space": "10.3.12",
49
+ "@finos/legend-query-builder": "4.14.36",
50
50
  "@finos/legend-server-depot": "6.0.40",
51
51
  "@finos/legend-server-sdlc": "5.3.11",
52
52
  "@finos/legend-shared": "10.0.35",
@@ -27,7 +27,10 @@ import {
27
27
  DataSpaceQueryBuilderState,
28
28
  type DataSpaceInfo,
29
29
  } from '@finos/legend-extension-dsl-data-space/application';
30
- import { QueryBuilderAdvancedWorkflowState } from '@finos/legend-query-builder';
30
+ import {
31
+ QueryBuilderActionConfig,
32
+ QueryBuilderAdvancedWorkflowState,
33
+ } from '@finos/legend-query-builder';
31
34
 
32
35
  export const queryDataSpace = async (
33
36
  dataSpace: DataSpace,
@@ -49,6 +52,7 @@ export const queryDataSpace = async (
49
52
  editorStore.graphManagerState,
50
53
  editorStore.depotServerClient,
51
54
  QueryBuilderAdvancedWorkflowState.INSTANCE,
55
+ QueryBuilderActionConfig.INSTANCE,
52
56
  dataSpace,
53
57
  dataSpace.defaultExecutionContext,
54
58
  (dataSpaceInfo: DataSpaceInfo) => {