@finos/legend-extension-dsl-data-space 10.3.81 → 10.3.83

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/lib/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.d.ts.map +1 -1
  2. package/lib/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.js +32 -23
  3. package/lib/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.js.map +1 -1
  4. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.d.ts +3 -1
  5. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
  6. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.js +2 -0
  7. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.js.map +1 -1
  8. package/lib/graph-manager/action/analytics/DataSpaceAnalysisHelper.d.ts +5 -2
  9. package/lib/graph-manager/action/analytics/DataSpaceAnalysisHelper.d.ts.map +1 -1
  10. package/lib/graph-manager/action/analytics/DataSpaceAnalysisHelper.js +39 -1
  11. package/lib/graph-manager/action/analytics/DataSpaceAnalysisHelper.js.map +1 -1
  12. package/lib/graph-manager/index.d.ts +1 -0
  13. package/lib/graph-manager/index.d.ts.map +1 -1
  14. package/lib/graph-manager/index.js +1 -0
  15. package/lib/graph-manager/index.js.map +1 -1
  16. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts +3 -1
  17. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
  18. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
  19. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts +3 -2
  20. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
  21. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
  22. package/lib/index.css +2 -2
  23. package/lib/index.css.map +1 -1
  24. package/lib/package.json +1 -1
  25. package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts +9 -6
  26. package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts.map +1 -1
  27. package/lib/stores/query-builder/DataSpaceQueryBuilderState.js +41 -9
  28. package/lib/stores/query-builder/DataSpaceQueryBuilderState.js.map +1 -1
  29. package/package.json +9 -9
  30. package/src/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx +49 -40
  31. package/src/graph-manager/action/analytics/DataSpaceAnalysis.ts +4 -0
  32. package/src/graph-manager/action/analytics/DataSpaceAnalysisHelper.ts +70 -3
  33. package/src/graph-manager/index.ts +2 -0
  34. package/src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts +7 -0
  35. package/src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +1 -1
  36. package/src/stores/query-builder/DataSpaceQueryBuilderState.ts +71 -31
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkBH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,0DAA0D,CAAC;AAiN3G,eAAO,MAAM,oDAAoD,sBAC5C,0BAA0B,KAC5C,KAAK,CAAC,SAIR,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiBH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,0DAA0D,CAAC;AA2N3G,eAAO,MAAM,oDAAoD,sBAC5C,0BAA0B,KAC5C,KAAK,CAAC,SAIR,CAAC"}
@@ -16,41 +16,42 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
16
16
  */
17
17
  import { PanelHeader, BasePopover, ClickAwayListener, ShareIcon, TagIcon, } from '@finos/legend-art';
18
18
  import { observer } from 'mobx-react-lite';
19
- import { useRef } from 'react';
19
+ import { useEffect, useRef } from 'react';
20
20
  import { ActionAlertActionType, ActionAlertType, useApplicationStore, } from '@finos/legend-application';
21
21
  import { DocumentationLink } from '@finos/legend-lego/application';
22
22
  import { DSL_DATA_SPACE_LEGEND_QUERY_DOCUMENTATION_KEY } from '../../__lib__/query/DSL_DataSpace_LegendQueryDocumentation.js';
23
- import { getExecutionContextFromDataspaceExecutable, getQueryFromDataspaceExecutable, } from '../../graph-manager/DSL_DataSpace_GraphManagerHelper.js';
23
+ import { flowResult } from 'mobx';
24
24
  const DataSpaceTemplateQueryDialog = observer((props) => {
25
25
  const { triggerElement, queryBuilderState, templateQueries } = props;
26
26
  const applicationStore = useApplicationStore();
27
27
  const handleClose = () => {
28
28
  queryBuilderState.setTemplateQueryDialogOpen(false);
29
29
  };
30
- const loadTemplateQuery = (template) => {
31
- const executionContext = getExecutionContextFromDataspaceExecutable(queryBuilderState.dataSpace, template);
32
- if (!executionContext) {
33
- applicationStore.notificationService.notifyError('Unable find an executionContext of this template query within current dataspace');
30
+ const loadTemplateQuery = async (template) => {
31
+ let query;
32
+ if (template.info) {
33
+ query =
34
+ await queryBuilderState.graphManagerState.graphManager.pureCodeToLambda(template.info.query);
34
35
  }
35
- const query = getQueryFromDataspaceExecutable(template, queryBuilderState.graphManagerState);
36
36
  if (!query) {
37
37
  applicationStore.notificationService.notifyError('Unable get a query from this template query');
38
38
  }
39
- if (query &&
40
- executionContext &&
41
- executionContext.hashCode !==
42
- queryBuilderState.executionContext.hashCode) {
43
- queryBuilderState.setExecutionContext(executionContext);
44
- queryBuilderState.propagateExecutionContextChange(executionContext);
45
- queryBuilderState.initializeWithQuery(query);
46
- queryBuilderState.onExecutionContextChange?.(executionContext);
47
- }
48
- else if (query) {
49
- queryBuilderState.initializeWithQuery(query);
39
+ else {
40
+ const executionContext = queryBuilderState.dataSpace.executionContexts.filter((ex) => ex.name === template.info?.executionContextKey)[0];
41
+ if (executionContext &&
42
+ executionContext.name !== queryBuilderState.executionContext.name) {
43
+ queryBuilderState.setExecutionContext(executionContext);
44
+ queryBuilderState.propagateExecutionContextChange(executionContext);
45
+ queryBuilderState.initializeWithQuery(query);
46
+ queryBuilderState.onExecutionContextChange?.(executionContext);
47
+ }
48
+ else {
49
+ queryBuilderState.initializeWithQuery(query);
50
+ }
50
51
  }
51
52
  handleClose();
52
53
  };
53
- const loadQuery = (template) => {
54
+ const loadQuery = async (template) => {
54
55
  if (queryBuilderState.changeDetectionState.hasChanged) {
55
56
  applicationStore.alertService.setActionAlertInfo({
56
57
  message: 'Unsaved changes will be lost if you continue. Do you still want to proceed?',
@@ -59,7 +60,9 @@ const DataSpaceTemplateQueryDialog = observer((props) => {
59
60
  {
60
61
  label: 'Proceed',
61
62
  type: ActionAlertActionType.PROCEED_WITH_CAUTION,
62
- handler: () => loadTemplateQuery(template),
63
+ handler: () => {
64
+ flowResult(loadTemplateQuery(template));
65
+ },
63
66
  },
64
67
  {
65
68
  label: 'Abort',
@@ -70,7 +73,7 @@ const DataSpaceTemplateQueryDialog = observer((props) => {
70
73
  });
71
74
  }
72
75
  else {
73
- loadTemplateQuery(template);
76
+ flowResult(loadTemplateQuery(template));
74
77
  }
75
78
  };
76
79
  const visitTemplateQuery = (template) => {
@@ -88,15 +91,21 @@ const DataSpaceTemplateQueryDialog = observer((props) => {
88
91
  }, transformOrigin: {
89
92
  vertical: 'top',
90
93
  horizontal: 'center',
91
- }, children: _jsxs("div", { className: "query-builder__data-space__template-query-panel", children: [_jsxs("div", { className: "query-builder__data-space__template-query-panel__header", children: ["Curated Template Queries", _jsx(DocumentationLink, { documentationKey: DSL_DATA_SPACE_LEGEND_QUERY_DOCUMENTATION_KEY.CURATED_TEMPLATE_QUERY })] }), templateQueries.map((query) => (_jsxs("div", { className: "query-builder__data-space__template-query-panel__query", children: [_jsx(TagIcon, { className: "query-builder__data-space__template-query-panel__query__icon" }), _jsx("button", { className: "query-builder__data-space__template-query-panel__query__entry", title: "click to load template query", onClick: () => loadQuery(query), children: _jsxs("div", { className: "query-builder__data-space__template-query-panel__query__entry__content", children: [_jsx("div", { className: "query-builder__data-space__template-query-panel__query__entry__content__title", children: query.title }), query.description && (_jsx("div", { className: "query-builder__data-space__template-query-panel__query__entry__content__description", children: query.description }))] }) }), _jsxs("button", { className: "query-builder__data-space__template-query-panel__query__share", title: "Visit...", disabled: !queryBuilderState.dataSpaceRepo.canVisitTemplateQuery, onClick: () => visitTemplateQuery(query), children: [_jsx(ShareIcon, {}), _jsx("div", { className: "query-builder__data-space__template-query-panel__query__share__label", children: "Visit" })] })] }, query.title)))] }) }) }) }));
94
+ }, children: _jsxs("div", { className: "query-builder__data-space__template-query-panel", children: [_jsxs("div", { className: "query-builder__data-space__template-query-panel__header", children: ["Curated Template Queries", _jsx(DocumentationLink, { documentationKey: DSL_DATA_SPACE_LEGEND_QUERY_DOCUMENTATION_KEY.CURATED_TEMPLATE_QUERY })] }), templateQueries.map((query) => (_jsxs("div", { className: "query-builder__data-space__template-query-panel__query", children: [_jsx(TagIcon, { className: "query-builder__data-space__template-query-panel__query__icon" }), _jsx("button", { className: "query-builder__data-space__template-query-panel__query__entry", title: "click to load template query", onClick: () => {
95
+ flowResult(loadQuery(query));
96
+ }, children: _jsxs("div", { className: "query-builder__data-space__template-query-panel__query__entry__content", children: [_jsx("div", { className: "query-builder__data-space__template-query-panel__query__entry__content__title", children: query.title }), query.description && (_jsx("div", { className: "query-builder__data-space__template-query-panel__query__entry__content__description", children: query.description }))] }) }), _jsxs("button", { className: "query-builder__data-space__template-query-panel__query__share", title: "Visit...", disabled: !queryBuilderState.dataSpaceRepo.canVisitTemplateQuery, onClick: () => visitTemplateQuery(query), children: [_jsx(ShareIcon, {}), _jsx("div", { className: "query-builder__data-space__template-query-panel__query__share__label", children: "Visit" })] })] }, query.title)))] }) }) }) }));
92
97
  });
93
98
  const DataSpaceQueryBuilderTemplateQueryPanel = observer((props) => {
94
99
  const { queryBuilderState } = props;
100
+ const applicationStore = useApplicationStore();
95
101
  const templateQueryButtonRef = useRef(null);
96
- const templateQueries = queryBuilderState.dataSpace.executables;
97
102
  const showTemplateQueries = () => {
98
103
  queryBuilderState.setTemplateQueryDialogOpen(true);
99
104
  };
105
+ const templateQueries = queryBuilderState.displayedTemplateQueries;
106
+ useEffect(() => {
107
+ flowResult(queryBuilderState.intialize()).catch(applicationStore.alertUnhandledError);
108
+ }, [queryBuilderState, applicationStore.alertUnhandledError]);
100
109
  return (_jsx(_Fragment, { children: !templateQueries || templateQueries.length === 0 ? (_jsx(PanelHeader, { className: "query-builder__data-space__template-query", children: _jsx("button", { className: "query-builder__data-space__template-query__btn", ref: templateQueryButtonRef, onClick: showTemplateQueries, disabled: true, children: "Templates ( 0 )" }) })) : (_jsxs(PanelHeader, { className: "query-builder__data-space__template-query", children: [_jsxs("button", { className: "query-builder__data-space__template-query__btn", ref: templateQueryButtonRef, onClick: showTemplateQueries, children: ["Templates ( ", templateQueries.length, " )"] }), queryBuilderState.isTemplateQueryDialogOpen && (_jsx(DataSpaceTemplateQueryDialog, { triggerElement: templateQueryButtonRef.current, queryBuilderState: queryBuilderState, templateQueries: templateQueries }))] })) }));
101
110
  });
102
111
  export const renderDataSpaceQueryBuilderTemplateQueryPanelContent = (queryBuilderState) => (_jsx(DataSpaceQueryBuilderTemplateQueryPanel, { queryBuilderState: queryBuilderState }));
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,O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CAAuC,IACtC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,6CAA6C,EAAE,MAAM,+DAA+D,CAAC;AAC9H,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlC,MAAM,4BAA4B,GAAG,QAAQ,CAC3C,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IACrE,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,WAAW,GAAG,GAAS,EAAE;QAC7B,iBAAiB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;IACtD,CAAC,CAAC;IAEF,MAAM,iBAAiB,GAAG,KAAK,EAC7B,QAA2C,EAC5B,EAAE;QACjB,IAAI,KAAK,CAAC;QACV,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK;gBACH,MAAM,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,gBAAgB,CACrE,QAAQ,CAAC,IAAI,CAAC,KAAK,CACpB,CAAC;QACN,CAAC;QACD,IAAI,CAAC,K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CACL,4BACG,CAAC,eAAe,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAClD,KAAC,WAAW,IAAC,SAAS,EAAC,2CAA2C,YAChE,iBACE,SAAS,EAAC,gDAAgD,EAC1D,GAAG,EAAE,sBAAsB,EAC3B,OAAO,EAAE,mBAAmB,EAC5B,QAAQ,EAAE,IAAI,gCAGP,GACG,CACf,CAAC,CAAC,CAAC,CACF,MAAC,WAAW,IAAC,SAAS,EAAC,2CAA2C,aAChE,kBACE,SAAS,EAAC,gDAAgD,EAC1D,GAAG,EAAE,sBAAsB,EAC3B,OAAO,EAAE,mBAAmB,6BAEf,eAAe,CAAC,MAAM,UAC5B,EACR,iBAAiB,CAAC,yBAAyB,IAAI,CAC9C,KAAC,4BAA4B,IAC3B,cAAc,EAAE,sBAAsB,CAAC,OAAO,EAC9C,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,GAChC,CACH,IACW,CACf,GACA,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oDAAoD,GAAG,CAClE,iBAA6C,EAC5B,EAAE,CAAC,CACpB,KAAC,uCAAuC,IACtC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { Multiplicity, Mapping, PackageableRuntime, PureModel, DatasetSpecification, MappingModelCoverageAnalysisResult } from '@finos/legend-graph';
16
+ import type { Multiplicity, Mapping, PackageableRuntime, PureModel, DatasetSpecification, MappingModelCoverageAnalysisResult, FunctionAnalysisInfo } from '@finos/legend-graph';
17
17
  import type { DataSpaceSupportInfo } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
18
18
  import type { Diagram } from '@finos/legend-extension-dsl-diagram/graph';
19
19
  export declare class DataSpaceExecutionContextAnalysisResult {
@@ -153,6 +153,8 @@ export declare class DataSpaceAnalysisResult {
153
153
  executables: DataSpaceExecutableAnalysisResult[];
154
154
  supportInfo?: DataSpaceSupportInfo | undefined;
155
155
  mappingToMappingCoverageResult?: Map<string, MappingModelCoverageAnalysisResult>;
156
+ functionInfos?: Map<string, FunctionAnalysisInfo>;
157
+ dependencyFunctionInfos?: Map<string, FunctionAnalysisInfo>;
156
158
  get displayName(): string;
157
159
  }
158
160
  //# sourceMappingURL=DataSpaceAnalysis.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceAnalysis.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/action/analytics/DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACP,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EACpB,kCAAkC,EACnC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8FAA8F,CAAC;AACzI,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AAEzE,qBAAa,uCAAuC;IAClD,IAAI,EAAG,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAG,OAAO,CAAC;IAClB,cAAc,EAAG,kBAAkB,CAAC;IACpC,kBAAkB,EAAG,kBAAkB,EAAE,CAAC;IAC1C,QAAQ,EAAE,oBAAoB,EAAE,CAAM;IACtC,eAAe,CAAC,EAAE,wCAAwC,CAAC;CAC5D;AAED,qBAAa,wCAAwC;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,qBAAa,wBAAwB;IACnC,QAAQ,CAAC,KAAK,SAAU;IAExB,OAAO,EAAG,MAAM,CAAC;IAC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,EAAG,MAAM,CAAC;IACjB,IAAI,EAAG,MAAM,CAAC;IAEd,YAAY,EAAE,wBAAwB,EAAE,CAAM;IAC9C,WAAW,EAAE,uBAAuB,EAAE,CAAM;IAE5C,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEjC,KAAK,EAAG,SAAS,CAAC;IAElB,sBAAsB,EAAG,GAAG,CAAC,MAAM,EAAE,uCAAuC,CAAC,CAAC;IAC9E,uBAAuB,EAAG,uCAAuC,CAAC;IAElE,WAAW,EAAE,qCAAqC,EAAE,CAAM;IAE1D,QAAQ,EAAE,8BAA8B,EAAE,CAAM;IAEhD,WAAW,EAAE,iCAAiC,EAAE,CAAM;IAEtD,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAE/C,8BAA8B,CAAC,EAAE,GAAG,CAClC,MAAM,EACN,kCAAkC,CACnC,CAAC;IAEF,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;IAClD,uBAAuB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;IAE5D,IAAI,WAAW,IAAI,MAAM,CAExB;CACF"}
@@ -162,6 +162,8 @@ export class DataSpaceAnalysisResult {
162
162
  executables = [];
163
163
  supportInfo;
164
164
  mappingToMappingCoverageResult;
165
+ functionInfos;
166
+ dependencyFunctionInfos;
165
167
  get displayName() {
166
168
  return this.title ?? prettyCONSTName(this.name);
167
169
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../src/graph-manager/action/analytics/DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAI7D,MAAM,OAAO,uCAAuC;IAClD,IAAI,CAAU;IACd,KAAK,CAAs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BAA6B,SAAQ,yBAAyB;IACzE,OAAO,GAAyC,EAAE,CAAC;CACpD;AAED,MAAM,OAAO,iCAAiC;IACnC,IAAI,GAAG,IAAI,EAAE,CAAC;IAEvB,KAAK,CAAU;IACf,WAAW,CAAsB;IACjC,UAAU,CAAU;IACpB,IAAI,CAAuC;IAC3C,MAAM,CAA6B;CACpC;AAED,MAAM,OAAO,uBAAuB;IAClC,IAAI,CAAU;IACd,OAAO,CAAU;IACjB,IAAI,CAAU;IAEd,YAAY,GAA+B,EAAE,CAAC;IAC9C,WAAW,GAA8B,EAAE,CAAC;IAE5C,KAAK,CAAsB;IAC3B,WAAW,CAAsB;IAEjC,KAAK,CAAa;IAElB,sBAAsB,CAAwD;IAC9E,uBAAuB,CAA2C;IAElE,WAAW,GAA4C,EAAE,CAAC;IAE1D,QAAQ,GAAqC,EAAE,CAAC;IAEhD,WAAW,GAAwC,EAAE,CAAC;IAEtD,WAAW,CAAoC;IAE/C,8BAA8B,CAG5B;IAEF,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,KAAK,IAAI,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;CACF"}
1
+ {"version":3,"file":"DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../src/graph-manager/action/analytics/DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAI7D,MAAM,OAAO,uCAAuC;IAClD,IAAI,CAAU;IACd,KAAK,CAAsB;IAC3B,WAAW,CAAsB;IACjC,OAAO,CAAW;IAClB,cAAc,CAAsB;IACpC,kBAAkB,CAAwB;IAC1C,QAAQ,GAA2B,EAAE,CAAC;IACtC,eAAe,CAA4C;CAC5D;AAED,MAAM,OAAO,wCAAwC;IACnD,SAAS,CAAU;IACnB,cAAc,CAAU;IACxB,cAAc,CAAU;CACzB;AAED,MAAM,OAAO,wBAAwB;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,IAAI,CAAU;IACd,OAAO,CAAU;IACjB,IAAI,CAAU;IAEd,YAAY,GAA+B,EAAE,CAAC;IAC9C,WAAW,GAA8B,EAAE,CAAC;IAE5C,KAAK,CAAsB;IAC3B,WAAW,CAAsB;IAEjC,KAAK,CAAa;IAElB,sBAAsB,CAAwD;IAC9E,uBAAuB,CAA2C;IAElE,WAAW,GAA4C,EAAE,CAAC;IAE1D,QAAQ,GAAqC,EAAE,CAAC;IAEhD,WAAW,GAAwC,EAAE,CAAC;IAEtD,WAAW,CAAoC;IAE/C,8BAA8B,CAG5B;IAEF,aAAa,CAAqC;IAClD,uBAAuB,CAAqC;IAE5D,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,KAAK,IAAI,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;CACF"}
@@ -13,8 +13,11 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ import { type GraphManagerState } from '@finos/legend-graph';
16
17
  import type { DepotServerClient, StoreProjectData } from '@finos/legend-server-depot';
17
- import type { PlainObject } from '@finos/legend-shared';
18
- import type { DataSpaceAnalysisResult } from './DataSpaceAnalysis.js';
18
+ import { type PlainObject } from '@finos/legend-shared';
19
+ import { type DataSpaceAnalysisResult, DataSpaceExecutableAnalysisResult } from './DataSpaceAnalysis.js';
20
+ import { type DataSpaceExecutable, type DataSpace } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
19
21
  export declare const retrieveAnalyticsResultCache: (project: StoreProjectData, versionId: string, dataSpacePath: string, depotServerClient: DepotServerClient) => Promise<PlainObject<DataSpaceAnalysisResult>>;
22
+ export declare const buildDataSpaceExecutableAnalysisResultFromExecutable: (dataspace: DataSpace, executables: DataSpaceExecutable[], graphManagerState: GraphManagerState) => Promise<DataSpaceExecutableAnalysisResult[]>;
20
23
  //# sourceMappingURL=DataSpaceAnalysisHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceAnalysisHelper.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/action/analytics/DataSpaceAnalysisHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAKtE,eAAO,MAAM,4BAA4B,YAC9B,gBAAgB,aACd,MAAM,iBACF,MAAM,qBACF,iBAAiB,KACnC,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAW5C,CAAC"}
1
+ {"version":3,"file":"DataSpaceAnalysisHelper.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/action/analytics/DataSpaceAnalysisHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,iBAAiB,EAIvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EACL,KAAK,uBAAuB,EAC5B,iCAAiC,EAIlC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EAGf,MAAM,8FAA8F,CAAC;AAMtG,eAAO,MAAM,4BAA4B,YAC9B,gBAAgB,aACd,MAAM,iBACF,MAAM,qBACF,iBAAiB,KACnC,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAW5C,CAAC;AAEJ,eAAO,MAAM,oDAAoD,cACpD,SAAS,eACP,mBAAmB,EAAE,qBACf,iBAAiB,KACnC,OAAO,CAAC,iCAAiC,EAAE,CA2CrB,CAAC"}
@@ -13,8 +13,46 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { getExpectedArtifactGenerationExtensionOutputPath } from '@finos/legend-graph';
16
+ import { ConcreteFunctionDefinition, getExpectedArtifactGenerationExtensionOutputPath, Service, } from '@finos/legend-graph';
17
+ import { isNonNullable } from '@finos/legend-shared';
18
+ import { DataSpaceExecutableAnalysisResult, DataSpaceFunctionPointerExecutableInfo, DataSpaceServiceExecutableInfo, DataSpaceTemplateExecutableInfo, } from './DataSpaceAnalysis.js';
19
+ import { DataSpaceExecutableTemplate, DataSpacePackageableElementExecutable, } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
20
+ import { getQueryFromDataspaceExecutable } from '../../DSL_DataSpace_GraphManagerHelper.js';
17
21
  const DATASPACE_ANALYTICS_FILE_NAME = 'AnalyticsResult.json';
18
22
  const V1_DATASPACE_ANALYTICS_ARTIFACT_EXTENSION_KEY = 'dataSpace-analytics';
19
23
  export const retrieveAnalyticsResultCache = async (project, versionId, dataSpacePath, depotServerClient) => JSON.parse(await depotServerClient.getGenerationContentByPath(project, versionId, getExpectedArtifactGenerationExtensionOutputPath(dataSpacePath, V1_DATASPACE_ANALYTICS_ARTIFACT_EXTENSION_KEY, DATASPACE_ANALYTICS_FILE_NAME)));
24
+ export const buildDataSpaceExecutableAnalysisResultFromExecutable = async (dataspace, executables, graphManagerState) => (await Promise.all(executables.map(async (executable) => {
25
+ const result = new DataSpaceExecutableAnalysisResult();
26
+ result.title = executable.title;
27
+ result.description = executable.description;
28
+ let info;
29
+ const query = getQueryFromDataspaceExecutable(executable, graphManagerState);
30
+ if (executable instanceof DataSpaceExecutableTemplate) {
31
+ info = new DataSpaceTemplateExecutableInfo();
32
+ if (executable.id) {
33
+ info.id = executable.id;
34
+ }
35
+ }
36
+ else if (executable instanceof DataSpacePackageableElementExecutable) {
37
+ if (executable.executable.value instanceof Service) {
38
+ info = new DataSpaceServiceExecutableInfo();
39
+ info.id = executable.id ?? executable.executable.value.path;
40
+ }
41
+ else if (executable.executable.value instanceof ConcreteFunctionDefinition) {
42
+ info = new DataSpaceFunctionPointerExecutableInfo();
43
+ info.id = executable.id ?? executable.executable.value.path;
44
+ }
45
+ }
46
+ if (info) {
47
+ info.executionContextKey =
48
+ executable.executionContextKey ??
49
+ dataspace.defaultExecutionContext.name;
50
+ if (query) {
51
+ info.query =
52
+ await graphManagerState.graphManager.lambdaToPureCode(query);
53
+ }
54
+ }
55
+ result.info = info;
56
+ return result;
57
+ }))).filter(isNonNullable);
20
58
  //# sourceMappingURL=DataSpaceAnalysisHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceAnalysisHelper.js","sourceRoot":"","sources":["../../../../src/graph-manager/action/analytics/DataSpaceAnalysisHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gDAAgD,EAAE,MAAM,qBAAqB,CAAC;AAQvF,MAAM,6BAA6B,GAAG,sBAAsB,CAAC;AAC7D,MAAM,6CAA6C,GAAG,qBAAqB,CAAC;AAE5E,MAAM,CAAC,MAAM,4BAA4B,GAAG,KAAK,EAC/C,OAAyB,EACzB,SAAiB,EACjB,aAAqB,EACrB,iBAAoC,EACW,EAAE,CACjD,IAAI,CAAC,KAAK,CACR,MAAM,iBAAiB,CAAC,0BAA0B,CAChD,OAAO,EACP,SAAS,EACT,gDAAgD,CAC9C,aAAa,EACb,6CAA6C,EAC7C,6BAA6B,CAC9B,CACF,CACF,CAAC"}
1
+ {"version":3,"file":"DataSpaceAnalysisHelper.js","sourceRoot":"","sources":["../../../../src/graph-manager/action/analytics/DataSpaceAnalysisHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,gDAAgD,EAChD,OAAO,GACR,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAAE,aAAa,EAAoB,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAEL,iCAAiC,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,EAC3D,CAAC;QACD,IAAI,UAAU,CAAC,UAAU,CAAC,KAAK,YAAY,OAAO,EAAE,CAAC;YACnD,IAAI,GAAG,IAAI,8BAA8B,EAAE,CAAC;YAC5C,IAAI,CAAC,EAAE,GAAG,UAAU,CAAC,EAAE,IAAI,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC;QAC9D,CAAC;aAAM,IACL,UAAU,CAAC,UAAU,CAAC,KAAK,YAAY,0BAA0B,EACjE,CAAC;YACD,IAAI,GAAG,IAAI,sCAAsC,EAAE,CAAC;YACpD,IAAI,CAAC,EAAE,GAAG,UAAU,CAAC,EAAE,IAAI,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC;QAC9D,CAAC;IACH,CAAC;IACD,IAAI,IAAI,EAAE,CAAC;QACT,IAAI,CAAC,mBAAmB;YACtB,UAAU,CAAC,mBAAmB;gBAC9B,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC;QACzC,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,CAAC,KAAK;gBACR,MAAM,iBAAiB,CAAC,YAAY,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IACD,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC,CACH,CACF,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC"}
@@ -17,6 +17,7 @@ export * from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_D
17
17
  export * from '../graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.js';
18
18
  export * from '../graph/DSL_DataSpace_MetaModelConst.js';
19
19
  export * from './DSL_DataSpace_GraphManagerPreset.js';
20
+ export { V1_DataSpaceAnalysisResult } from './protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js';
20
21
  export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, DATA_SPACE_ELEMENT_POINTER, extractDataSpaceTaxonomyNodes, } from './protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
21
22
  export * from './DSL_DataSpace_GraphManagerHelper.js';
22
23
  export { DSL_DataSpace_getGraphManagerExtension } from './protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/graph-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,cAAc,wFAAwF,CAAC;AACvG,cAAc,oGAAoG,CAAC;AACnH,cAAc,0CAA0C,CAAC;AAEzD,cAAc,uCAAuC,CAAC;AAEtD,OAAO,EACL,kCAAkC,EAClC,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,8DAA8D,CAAC;AAEtE,cAAc,uCAAuC,CAAC;AACtD,OAAO,EAAE,sCAAsC,EAAE,MAAM,4DAA4D,CAAC;AAEpH,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yEAAyE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/graph-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,cAAc,wFAAwF,CAAC;AACvG,cAAc,oGAAoG,CAAC;AACnH,cAAc,0CAA0C,CAAC;AAEzD,cAAc,uCAAuC,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6DAA6D,CAAC;AAEzG,OAAO,EACL,kCAAkC,EAClC,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,8DAA8D,CAAC;AAEtE,cAAc,uCAAuC,CAAC;AACtD,OAAO,EAAE,sCAAsC,EAAE,MAAM,4DAA4D,CAAC;AAEpH,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yEAAyE,CAAC"}
@@ -18,6 +18,7 @@ export * from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_D
18
18
  export * from '../graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.js';
19
19
  export * from '../graph/DSL_DataSpace_MetaModelConst.js';
20
20
  export * from './DSL_DataSpace_GraphManagerPreset.js';
21
+ export { V1_DataSpaceAnalysisResult } from './protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js';
21
22
  export { DATA_SPACE_ELEMENT_CLASSIFIER_PATH, DATA_SPACE_ELEMENT_POINTER, extractDataSpaceTaxonomyNodes, } from './protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
22
23
  export * from './DSL_DataSpace_GraphManagerHelper.js';
23
24
  export { DSL_DataSpace_getGraphManagerExtension } from './protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/graph-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,QAAQ;AACR,cAAc,wFAAwF,CAAC;AACvG,cAAc,oGAAoG,CAAC;AACnH,cAAc,0CAA0C,CAAC;AAEzD,cAAc,uCAAuC,CAAC;AAEtD,OAAO,EACL,kCAAkC,EAClC,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,8DAA8D,CAAC;AAEtE,cAAc,uCAAuC,CAAC;AACtD,OAAO,EAAE,sCAAsC,EAAE,MAAM,4DAA4D,CAAC;AAEpH,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yEAAyE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/graph-manager/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,QAAQ;AACR,cAAc,wFAAwF,CAAC;AACvG,cAAc,oGAAoG,CAAC;AACnH,cAAc,0CAA0C,CAAC;AAEzD,cAAc,uCAAuC,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6DAA6D,CAAC;AAEzG,OAAO,EACL,kCAAkC,EAClC,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,8DAA8D,CAAC;AAEtE,cAAc,uCAAuC,CAAC;AACtD,OAAO,EAAE,sCAAsC,EAAE,MAAM,4DAA4D,CAAC;AAEpH,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,4DAA4D,CAAC;AAC3E,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yEAAyE,CAAC"}
@@ -13,10 +13,11 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type AbstractPureGraphManager, AbstractPureGraphManagerExtension, type QueryInfo } from '@finos/legend-graph';
16
+ import { type AbstractPureGraphManager, type PureProtocolProcessorPlugin, AbstractPureGraphManagerExtension, type QueryInfo } from '@finos/legend-graph';
17
17
  import type { Entity } from '@finos/legend-storage';
18
18
  import { type ActionState, type PlainObject } from '@finos/legend-shared';
19
19
  import type { DataSpaceAnalysisResult } from '../../action/analytics/DataSpaceAnalysis.js';
20
+ import type { V1_DataSpaceAnalysisResult } from './v1/engine/analytics/V1_DataSpaceAnalysis.js';
20
21
  export declare abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
21
22
  abstract analyzeDataSpace(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult>;
22
23
  abstract retrieveDataSpaceAnalysisFromCache(cacheRetriever: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult | undefined>;
@@ -26,6 +27,7 @@ export declare abstract class DSL_DataSpace_PureGraphManagerExtension extends Ab
26
27
  description?: string;
27
28
  }): Promise<Entity>;
28
29
  abstract IsTemplateQueryIdValid(dataSpaceEntity: Entity, id: string): boolean;
30
+ abstract buildDataSpaceAnalytics(json: PlainObject<V1_DataSpaceAnalysisResult>, plugins: PureProtocolProcessorPlugin[]): Promise<DataSpaceAnalysisResult>;
29
31
  }
30
32
  export declare const DSL_DataSpace_getGraphManagerExtension: (graphManager: AbstractPureGraphManager) => DSL_DataSpace_PureGraphManagerExtension;
31
33
  //# sourceMappingURL=DSL_DataSpace_PureGraphManagerExtension.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,iCAAiC,EACjC,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAE3F,8BAAsB,uCAAwC,SAAQ,iCAAiC;IACrG,QAAQ,CAAC,gBAAgB,CACvB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC,EAC1C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACpE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,CAAC;IAEnC,QAAQ,CAAC,kCAAkC,CACzC,cAAc,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACnE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC;IAE/C,QAAQ,CAAC,iCAAiC,CACxC,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,SAAS,EACvB,UAAU,EAAE;QACV,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,GACA,OAAO,CAAC,MAAM,CAAC;IAElB,QAAQ,CAAC,sBAAsB,CAAC,eAAe,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO;CAC9E;AAED,eAAO,MAAM,sCAAsC,iBACnC,wBAAwB,KACrC,uCAOA,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,iCAAiC,EACjC,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAEhG,8BAAsB,uCAAwC,SAAQ,iCAAiC;IACrG,QAAQ,CAAC,gBAAgB,CACvB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC,EAC1C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACpE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,CAAC;IAEnC,QAAQ,CAAC,kCAAkC,CACzC,cAAc,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACnE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC;IAE/C,QAAQ,CAAC,iCAAiC,CACxC,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,SAAS,EACvB,UAAU,EAAE;QACV,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,GACA,OAAO,CAAC,MAAM,CAAC;IAElB,QAAQ,CAAC,sBAAsB,CAAC,eAAe,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO;IAE7E,QAAQ,CAAC,uBAAuB,CAC9B,IAAI,EAAE,WAAW,CAAC,0BAA0B,CAAC,EAC7C,OAAO,EAAE,2BAA2B,EAAE,GACrC,OAAO,CAAC,uBAAuB,CAAC;CACpC;AAED,eAAO,MAAM,sCAAsC,iBACnC,wBAAwB,KACrC,uCAOA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,iCAAiC,GAElC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,oBAAoB,GAGrB,MAAM,sBAAsB,CAAC;AAG9B,MAAM,OAAgB,uCAAwC,SAAQ,iCAAiC;CAwBtG;AAED,MAAM,CAAC,MAAM,sCAAsC,GAAG,CACpD,YAAsC,EACG,EAAE,CAC3C,oBAAoB,CAClB,YAAY,CAAC,UAAU,CAAC,IAAI,CAC1B,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,YAAY,uCAAuC,CAC/D,EACD,wDAAwD,CACzD,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,iCAAiC,GAElC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,oBAAoB,GAGrB,MAAM,sBAAsB,CAAC;AAI9B,MAAM,OAAgB,uCAAwC,SAAQ,iCAAiC;CA6BtG;AAED,MAAM,CAAC,MAAM,sCAAsC,GAAG,CACpD,YAAsC,EACG,EAAE,CAC3C,oBAAoB,CAClB,YAAY,CAAC,UAAU,CAAC,IAAI,CAC1B,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,YAAY,uCAAuC,CAC/D,EACD,wDAAwD,CACzD,CAAC"}
@@ -13,12 +13,13 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type QueryInfo, type AbstractPureGraphManager, V1_PureGraphManager } from '@finos/legend-graph';
16
+ import { type QueryInfo, type AbstractPureGraphManager, type PureProtocolProcessorPlugin, V1_PureGraphManager } from '@finos/legend-graph';
17
17
  import type { Entity } from '@finos/legend-storage';
18
18
  import { type PlainObject, ActionState } from '@finos/legend-shared';
19
19
  import { V1_DataSpace } from '../../../../graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
20
20
  import { DataSpaceAnalysisResult } from '../../../action/analytics/DataSpaceAnalysis.js';
21
21
  import { DSL_DataSpace_PureGraphManagerExtension } from '../DSL_DataSpace_PureGraphManagerExtension.js';
22
+ import { type V1_DataSpaceAnalysisResult } from './engine/analytics/V1_DataSpaceAnalysis.js';
22
23
  export declare class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_PureGraphManagerExtension {
23
24
  graphManager: V1_PureGraphManager;
24
25
  constructor(graphManager: AbstractPureGraphManager);
@@ -33,6 +34,6 @@ export declare class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_Data
33
34
  analyzeDataSpace(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult>;
34
35
  retrieveDataSpaceAnalysisFromCache(cacheRetriever: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult | undefined>;
35
36
  private fetchDataSpaceAnalysisFromCache;
36
- private buildDataSpaceAnalytics;
37
+ buildDataSpaceAnalytics(json: PlainObject<V1_DataSpaceAnalysisResult>, plugins: PureProtocolProcessorPlugin[]): Promise<DataSpaceAnalysisResult>;
37
38
  }
38
39
  //# sourceMappingURL=V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,wBAAwB,EAI7B,mBAAmB,EAgBpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EASZ,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EACL,YAAY,EAIb,MAAM,8GAA8G,CAAC;AACtH,OAAO,EACL,uBAAuB,EAoBxB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AAkBxG,qBAAa,0CAA2C,SAAQ,uCAAuC;IAC7F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAIrC,8BAA8B,CAAC,eAAe,EAAE,MAAM,GAAG,YAAY;IAUrE,sBAAsB,CAAC,eAAe,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO;IAS9D,iCAAiC,CACrC,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,SAAS,EACvB,UAAU,EAAE;QACV,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,GACA,OAAO,CAAC,MAAM,CAAC;IAiCZ,gBAAgB,CACpB,aAAa,EAAE,MAAM,EACrB,iBAAiB,EAAE,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC,EAC1C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACpE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,CAAC;IA0C7B,kCAAkC,CACtC,cAAc,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,EACnE,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC;YAajC,+BAA+B;YAoB/B,uBAAuB;CAwdtC"}
1
+ {"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAGhC,mBAAmB,EAgBpB,MAAM,qBAA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vC,uBAAuB,CAC3B,IAAI,EAAE,WAAW,CAAC,0BAA0B,CAAC,EAC7C,OAAO,EAAE,2BAA2B,EAAE,GACrC,OAAO,CAAC,uBAAuB,CAAC;CAqdpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAKL,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,UAAU,EACV,gCAAgC,EAChC,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,QAAQ,EACR,mBAAmB,EACnB,4BAA4B,EAC5B,mCAAmC,EACnC,gCAAgC,EAChC,kCAAkC,EAClC,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,QAAQ,EACR,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,4BAA4B,EAC5B,qBAAqB,GACtB,MAAM,iGAAiG,CAAC;AACzG,OAAO,EACL,YAAY,EACZ,+BAA+B,EAC/B,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,8GAA8G,CAAC;AACtH,OAAO,EACL,uBAAuB,EACvB,8BAA8B,EAC9B,qCAAqC,EACrC,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC5B,uCAAuC,EACvC,8BAA8B,EAC9B,uBAAuB,EACvB,wBAAwB,EACxB,gCAAgC,EAChC,mCAAmC,EACnC,sCAAsC,EACtC,gCAAgC,EAChC,sCAAsC,EACtC,4CAA4C,EAC5C,iDAAiD,EACjD,+BAA+B,EAC/B,sCAAsC,EACtC,wCAAwC,GACzC,MAAM,gDAAgD,CAAC;AACx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AM,YAAY,+BAA+B,EACpE,CAAC;gBACD,MAAM,SAAS,GAAG,IAAI,4BAA4B,EAAE,CAAC;gBACrD,SAAS,CAAC,OAAO,GAAG,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CACvD,CAAC,SAAS,EAAE,EAAE;oBACZ,MAAM,MAAM,GAAG,IAAI,kCAAkC,EAAE,CAAC;oBACxD,MAAM,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;oBAC7B,MAAM,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;oBAC7B,MAAM,CAAC,cAAc,GAAG,SAAS,CAAC,cAAc,CAAC;oBACjD,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,aAAa,CAAC;oBAC/C,IACE,SAAS,CAAC,aAAa,EAAE,QAAQ,CAC/B,uCAAuC,CACxC,EACD,CAAC;wBACD,MAAM,CAAC,aAAa,GAAG,SAAS,CAAC,aAAa;6BAC3C,SAAS,CACR,CAAC,EACD,SAAS,CAAC,aAAa,CAAC,OAAO,CAC7B,uCAAuC,CACxC,CACF;6BACA,IAAI,EAAE,CAAC;wBACV,MAAM,CAAC,YAAY,GAAG,SAAS,CAAC,aAAa;6BAC1C,SAAS,CACR,SAAS,CAAC,aAAa,CAAC,OAAO,CAC7B,uCAAuC,CACxC,GAAG,uCAAuC,CAAC,MAAM,CACnD;6BACA,IAAI,EAAE,CAAC;oBACZ,CAAC;oBACD,OAAO,MAAM,CAAC;gBAChB,CAAC,CACF,CAAC;gBACF,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC;YAChC,CAAC;YACD,OAAO,UAAU,CAAC;QACpB,CAAC,CACF,CAAC;QAEF,MAAM,CAAC,8BAA8B,GAAG,8BAA8B,CAAC;QAEvE,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
1
+ {"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_DataSp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