@finos/legend-extension-dsl-data-space 10.0.13 → 10.0.15

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 CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v10.0.13
1
+ /** @license @finos/legend-extension-dsl-data-space v10.0.15
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",
3
- "version": "10.0.13",
3
+ "version": "10.0.15",
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.1",
58
+ "@types/react": "18.2.2",
59
59
  "mobx": "6.9.0",
60
60
  "mobx-react-lite": "3.4.3",
61
61
  "react": "18.2.0",
@@ -15,7 +15,7 @@
15
15
  */
16
16
  import { type DataSpaceViewerState } from './DataSpaceViewerState.js';
17
17
  import { DataAccessState } from '@finos/legend-query-builder';
18
- import { type DataSpaceExecutableAnalysisResult } from '../graph-manager/index.js';
18
+ import { type DataSpaceExecutableAnalysisResult } from '../graph-manager/action/analytics/DataSpaceAnalysis.js';
19
19
  export declare class DataSpaceQuickStartState {
20
20
  readonly dataSpaceViewerState: DataSpaceViewerState;
21
21
  dataAccessStateIndex: Map<DataSpaceExecutableAnalysisResult, DataAccessState>;
@@ -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,EACL,KAAK,iCAAiC,EAEvC,MAAM,2BAA2B,CAAC;AAMnC,qBAAa,wBAAwB;IACnC,QAAQ,CAAC,oBAAoB,EAAE,oBAAoB,CAAC;IAEpD,oBAAoB,0DAGhB;gBAEQ,oBAAoB,EAAE,oBAAoB;CAsDvD"}
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;CAwCvD"}
@@ -16,7 +16,7 @@
16
16
  import { makeObservable, observable } from 'mobx';
17
17
  import {} from './DataSpaceViewerState.js';
18
18
  import { DataAccessState } from '@finos/legend-query-builder';
19
- import { DataSpaceServiceExecutableInfo, } from '../graph-manager/index.js';
19
+ import { DataSpaceServiceExecutableInfo, } from '../graph-manager/action/analytics/DataSpaceAnalysis.js';
20
20
  export class DataSpaceQuickStartState {
21
21
  dataSpaceViewerState;
22
22
  dataAccessStateIndex = new Map();
@@ -35,8 +35,10 @@ export class DataSpaceQuickStartState {
35
35
  const runtime = executable.info.runtime;
36
36
  dataAccessState = new DataAccessState(this.dataSpaceViewerState.applicationStore, this.dataSpaceViewerState.graphManagerState, {
37
37
  initialDatasets: executable.datasets,
38
- surveyDatasets: async () => this.dataSpaceViewerState.graphManagerState.graphManager.surveyDatasets(mapping, runtime, await this.dataSpaceViewerState.graphManagerState.graphManager.pureCodeToLambda(query), this.dataSpaceViewerState.retrieveGraphData()),
39
- checkDatasetEntitlements: async (datasets) => this.dataSpaceViewerState.graphManagerState.graphManager.checkDatasetEntitlements(datasets, mapping, runtime, await this.dataSpaceViewerState.graphManagerState.graphManager.pureCodeToLambda(query), this.dataSpaceViewerState.retrieveGraphData()),
38
+ mapping,
39
+ runtime,
40
+ graphData: this.dataSpaceViewerState.retrieveGraphData(),
41
+ getQuery: () => this.dataSpaceViewerState.graphManagerState.graphManager.pureCodeToLambda(query),
40
42
  });
41
43
  }
42
44
  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,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AAMnC,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,KAAK,GAAG,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC;gBAC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,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,EAAE;QACP,iBAAiB,EAAE,MAAM,SAAS,CAAC;QACnC,cAAc,EAAE,CAAC,mBAAmB,EAAE,MAAM,KAAK,IAAI,CAAC;QACtD,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;QAChD,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;QAC7D,UAAU,EAAE,CAAC,MAAM,EAAE,KAAK,KAAK,IAAI,CAAC;QACpC,gBAAgB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;QAChD,YAAY,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;KACzE;IAmDH,IAAI,UAAU,IAAI,OAAO,CAQxB;IAED,kBAAkB,CAAC,GAAG,EAAE,+BAA+B,GAAG,IAAI;IAI9D,0BAA0B,CACxB,GAAG,EAAE,uCAAuC,GAC3C,IAAI;IAgBP,iBAAiB,CAAC,GAAG,EAAE,kBAAkB,GAAG,IAAI;IAIhD,sBAAsB,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI;IAKlD,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,KAAK,UAAQ,GAAG,IAAI;CA2BtD"}
@@ -75,8 +75,10 @@ export class DataSpaceViewerState {
75
75
  this.currentRuntime = this.currentExecutionContext.defaultRuntime;
76
76
  this.currentDataAccessState = new DataAccessState(this.applicationStore, this.graphManagerState, {
77
77
  initialDatasets: this.currentExecutionContext.datasets,
78
- surveyDatasets: async () => this.graphManagerState.graphManager.surveyDatasets(this.currentExecutionContext.mapping.path, this.currentExecutionContext.defaultRuntime.path, undefined, this.retrieveGraphData()),
79
- checkDatasetEntitlements: async (datasets) => this.graphManagerState.graphManager.checkDatasetEntitlements(datasets, this.currentExecutionContext.mapping.path, this.currentExecutionContext.defaultRuntime.path, undefined, this.retrieveGraphData()),
78
+ mapping: this.currentExecutionContext.mapping.path,
79
+ runtime: this.currentExecutionContext.defaultRuntime.path,
80
+ getQuery: async () => undefined,
81
+ graphData: this.retrieveGraphData(),
80
82
  });
81
83
  this.modelsDocumentationState = new DataSpaceViewerModelsDocumentationState(this);
82
84
  this.diagramViewerState = new DataSpaceViewerDiagramViewerState(this);
@@ -94,8 +96,10 @@ export class DataSpaceViewerState {
94
96
  this.currentRuntime = val.defaultRuntime;
95
97
  this.currentDataAccessState = new DataAccessState(this.applicationStore, this.graphManagerState, {
96
98
  initialDatasets: val.datasets,
97
- surveyDatasets: async () => this.graphManagerState.graphManager.surveyDatasets(val.mapping.path, val.defaultRuntime.path, undefined, this.retrieveGraphData()),
98
- checkDatasetEntitlements: async (datasets) => this.graphManagerState.graphManager.checkDatasetEntitlements(datasets, val.mapping.path, val.defaultRuntime.path, undefined, this.retrieveGraphData()),
99
+ mapping: val.mapping.path,
100
+ runtime: val.defaultRuntime.path,
101
+ getQuery: async () => undefined,
102
+ graphData: this.retrieveGraphData(),
99
103
  });
100
104
  }
101
105
  setCurrentRuntime(val) {
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,yBAAyB,GAG1B,MAAM,2BAA2B,CAAC;AASnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAKpE,OAAO,EACL,iCAAiC,EACjC,gDAAgD,GACjD,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,uCAAuC,EAAE,MAAM,wCAAwC,CAAC;AACjG,OAAO,EAA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Q,CAAC,gBAAgB,CAAC,EAAE;oBAC5D,IAAI,CAAC,WAAW,CAAC,2BAA2B,CAAC;wBAC3C,MAAM,EAAE,IAAI;qBACb,CAAC,CAAC;iBACJ;gBACD,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;gBAC1C,IAAI,CAAC,YAAY,EAAE,CAAC,IAAI,CAAC,CAAC;gBAC1B,IAAI,CAAC,WAAW,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;aACjD;iBAAM;gBACL,IAAI,CAAC,kBAAkB,CAAC,+BAA+B,CAAC,WAAW,CAAC,CAAC;gBACrE,IAAI,CAAC,WAAW,CAAC,wBAAwB,CAAC,EAAE,CAAC,CAAC;aAC/C;SACF;IACH,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.13",
3
+ "version": "10.0.15",
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.9",
48
- "@finos/legend-application-query": "13.0.2",
49
- "@finos/legend-application-studio": "25.0.1",
50
- "@finos/legend-art": "7.0.10",
51
- "@finos/legend-extension-dsl-diagram": "8.0.13",
52
- "@finos/legend-graph": "28.1.5",
53
- "@finos/legend-lego": "1.0.1",
54
- "@finos/legend-query-builder": "3.2.2",
47
+ "@finos/legend-application": "15.0.10",
48
+ "@finos/legend-application-query": "13.0.4",
49
+ "@finos/legend-application-studio": "25.0.3",
50
+ "@finos/legend-art": "7.0.11",
51
+ "@finos/legend-extension-dsl-diagram": "8.0.15",
52
+ "@finos/legend-graph": "28.1.6",
53
+ "@finos/legend-lego": "1.0.3",
54
+ "@finos/legend-query-builder": "3.2.4",
55
55
  "@finos/legend-server-depot": "6.0.5",
56
56
  "@finos/legend-shared": "10.0.4",
57
57
  "@finos/legend-storage": "3.0.54",
58
- "@types/react": "18.2.1",
58
+ "@types/react": "18.2.2",
59
59
  "mobx": "6.9.0",
60
60
  "mobx-react-lite": "3.4.3",
61
61
  "react": "18.2.0",
@@ -18,13 +18,9 @@ import { makeObservable, observable } from 'mobx';
18
18
  import { type DataSpaceViewerState } from './DataSpaceViewerState.js';
19
19
  import { DataAccessState } from '@finos/legend-query-builder';
20
20
  import {
21
- type DataSpaceExecutableAnalysisResult,
22
21
  DataSpaceServiceExecutableInfo,
23
- } from '../graph-manager/index.js';
24
- import type {
25
- DatasetEntitlementReport,
26
- DatasetSpecification,
27
- } from '@finos/legend-graph';
22
+ type DataSpaceExecutableAnalysisResult,
23
+ } from '../graph-manager/action/analytics/DataSpaceAnalysis.js';
28
24
 
29
25
  export class DataSpaceQuickStartState {
30
26
  readonly dataSpaceViewerState: DataSpaceViewerState;
@@ -57,26 +53,12 @@ export class DataSpaceQuickStartState {
57
53
  this.dataSpaceViewerState.graphManagerState,
58
54
  {
59
55
  initialDatasets: executable.datasets,
60
- surveyDatasets: async (): Promise<DatasetSpecification[]> =>
61
- this.dataSpaceViewerState.graphManagerState.graphManager.surveyDatasets(
62
- mapping,
63
- runtime,
64
- await this.dataSpaceViewerState.graphManagerState.graphManager.pureCodeToLambda(
65
- query,
66
- ),
67
- this.dataSpaceViewerState.retrieveGraphData(),
68
- ),
69
- checkDatasetEntitlements: async (
70
- datasets: DatasetSpecification[],
71
- ): Promise<DatasetEntitlementReport[]> =>
72
- this.dataSpaceViewerState.graphManagerState.graphManager.checkDatasetEntitlements(
73
- datasets,
74
- mapping,
75
- runtime,
76
- await this.dataSpaceViewerState.graphManagerState.graphManager.pureCodeToLambda(
77
- query,
78
- ),
79
- this.dataSpaceViewerState.retrieveGraphData(),
56
+ mapping,
57
+ runtime,
58
+ graphData: this.dataSpaceViewerState.retrieveGraphData(),
59
+ getQuery: () =>
60
+ this.dataSpaceViewerState.graphManagerState.graphManager.pureCodeToLambda(
61
+ query,
80
62
  ),
81
63
  },
82
64
  );
@@ -22,8 +22,6 @@ import {
22
22
  import type {
23
23
  BasicGraphManagerState,
24
24
  Class,
25
- DatasetEntitlementReport,
26
- DatasetSpecification,
27
25
  GraphData,
28
26
  PackageableRuntime,
29
27
  } from '@finos/legend-graph';
@@ -130,23 +128,10 @@ export class DataSpaceViewerState {
130
128
  this.graphManagerState,
131
129
  {
132
130
  initialDatasets: this.currentExecutionContext.datasets,
133
- surveyDatasets: async (): Promise<DatasetSpecification[]> =>
134
- this.graphManagerState.graphManager.surveyDatasets(
135
- this.currentExecutionContext.mapping.path,
136
- this.currentExecutionContext.defaultRuntime.path,
137
- undefined,
138
- this.retrieveGraphData(),
139
- ),
140
- checkDatasetEntitlements: async (
141
- datasets: DatasetSpecification[],
142
- ): Promise<DatasetEntitlementReport[]> =>
143
- this.graphManagerState.graphManager.checkDatasetEntitlements(
144
- datasets,
145
- this.currentExecutionContext.mapping.path,
146
- this.currentExecutionContext.defaultRuntime.path,
147
- undefined,
148
- this.retrieveGraphData(),
149
- ),
131
+ mapping: this.currentExecutionContext.mapping.path,
132
+ runtime: this.currentExecutionContext.defaultRuntime.path,
133
+ getQuery: async () => undefined,
134
+ graphData: this.retrieveGraphData(),
150
135
  },
151
136
  );
152
137
 
@@ -181,23 +166,10 @@ export class DataSpaceViewerState {
181
166
  this.graphManagerState,
182
167
  {
183
168
  initialDatasets: val.datasets,
184
- surveyDatasets: async (): Promise<DatasetSpecification[]> =>
185
- this.graphManagerState.graphManager.surveyDatasets(
186
- val.mapping.path,
187
- val.defaultRuntime.path,
188
- undefined,
189
- this.retrieveGraphData(),
190
- ),
191
- checkDatasetEntitlements: async (
192
- datasets: DatasetSpecification[],
193
- ): Promise<DatasetEntitlementReport[]> =>
194
- this.graphManagerState.graphManager.checkDatasetEntitlements(
195
- datasets,
196
- val.mapping.path,
197
- val.defaultRuntime.path,
198
- undefined,
199
- this.retrieveGraphData(),
200
- ),
169
+ mapping: val.mapping.path,
170
+ runtime: val.defaultRuntime.path,
171
+ getQuery: async () => undefined,
172
+ graphData: this.retrieveGraphData(),
201
173
  },
202
174
  );
203
175
  }