@finos/legend-extension-dsl-data-space 10.3.85 → 10.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +4 -3
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilder.d.ts.map +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilder.js +20 -6
- package/lib/components/query-builder/DataSpaceQueryBuilder.js.map +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.js +1 -1
- package/lib/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.js.map +1 -1
- package/lib/graph-manager/index.d.ts +1 -0
- package/lib/graph-manager/index.d.ts.map +1 -1
- package/lib/graph-manager/index.js +1 -0
- package/lib/graph-manager/index.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts +6 -2
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts +15 -3
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +185 -48
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts +5 -11
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js +19 -30
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js.map +1 -1
- package/package.json +7 -7
- package/src/components/DSL_DataSpace_LegendApplicationPlugin.tsx +6 -8
- package/src/components/query-builder/DataSpaceQueryBuilder.tsx +40 -9
- package/src/components/query-builder/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx +1 -1
- package/src/graph-manager/index.ts +4 -0
- package/src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts +19 -1
- package/src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +359 -79
- package/src/stores/query-builder/DataSpaceQueryBuilderState.ts +32 -40
@@ -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 {
|
16
|
+
import { type LegendApplicationSetup, type LegendApplicationPluginManager, type KeyedCommandConfigEntry, LegendApplicationPlugin } from '@finos/legend-application';
|
17
17
|
import type { CuratedTemplateQuerySpecification, LoadQueryFilterOption, QueryBuilderState, QueryBuilder_LegendApplicationPlugin_Extension, TemplateQueryPanelContentRenderer } from '@finos/legend-query-builder';
|
18
18
|
export declare class DSL_DataSpace_LegendApplicationPlugin extends LegendApplicationPlugin implements QueryBuilder_LegendApplicationPlugin_Extension {
|
19
19
|
static NAME: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAE5B,uBAAuB,EACxB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAEV,iCAAiC,EACjC,qBAAqB,EACrB,iBAAiB,EACjB,8CAA8C,EAC9C,iCAAiC,EAClC,MAAM,6BAA6B,CAAC;AAarC,qBAAa,qCACX,SAAQ,uBACR,YAAW,8CAA8C;IAEzD,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIE,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,yBAAyB,IAAI,sBAAsB,EAAE;IAQ9D,8BAA8B,IAAI,qBAAqB,EAAE;IAkDzD,2CAA2C,IAAI,CAC7C,iBAAiB,EAAE,iBAAiB,KACjC,MAAM,EAAE;IASb,yCAAyC,IAAI,iCAAiC,EAAE;IAahF,qCAAqC,IAAI,iCAAiC,EAAE;CAwD7E"}
|
@@ -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 {
|
16
|
+
import { collectKeyedCommandConfigEntriesFromConfig, LegendApplicationPlugin, } from '@finos/legend-application';
|
17
17
|
import packageJson from '../../package.json' with { type: 'json' };
|
18
18
|
import { DataSpaceQueryBuilderState } from '../stores/query-builder/DataSpaceQueryBuilderState.js';
|
19
19
|
import { DSL_DATA_SPACE_LEGEND_APPLICATION_COMMAND_CONFIG } from '../__lib__/DSL_DataSpace_LegendApplicationCommand.js';
|
20
|
+
import {} from '@finos/legend-graph';
|
20
21
|
import { configureDataGridComponent } from '@finos/legend-lego/data-grid';
|
21
22
|
import { DataSpaceExecutableTemplate } from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
22
23
|
import { filterByType } from '@finos/legend-shared';
|
@@ -119,14 +120,14 @@ export class DSL_DataSpace_LegendApplicationPlugin extends LegendApplicationPlug
|
|
119
120
|
}
|
120
121
|
return [];
|
121
122
|
},
|
122
|
-
loadCuratedTemplateQuery: (templateQuery, queryBuilderState) => {
|
123
|
+
loadCuratedTemplateQuery: async (templateQuery, queryBuilderState) => {
|
123
124
|
if (queryBuilderState instanceof DataSpaceQueryBuilderState) {
|
124
125
|
if (queryBuilderState.executionContext.name !==
|
125
126
|
templateQuery.executionContextKey) {
|
126
127
|
const executionContext = queryBuilderState.dataSpace.executionContexts.find((c) => c.name === templateQuery.executionContextKey);
|
127
128
|
if (executionContext) {
|
128
129
|
queryBuilderState.setExecutionContext(executionContext);
|
129
|
-
queryBuilderState.propagateExecutionContextChange(
|
130
|
+
await queryBuilderState.propagateExecutionContextChange();
|
130
131
|
queryBuilderState.initializeWithQuery(templateQuery.query);
|
131
132
|
queryBuilderState.onExecutionContextChange?.(executionContext);
|
132
133
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,0CAA0C,EAC1C,uBAAuB,GACxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AASnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,uDAAuD,CAAC;AACnG,OAAO,EAAE,gDAAgD,EAAE,MAAM,sDAAsD,CAAC;AACxH,OAAO,EAAiC,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,2BAA2B,EAAE,MAAM,wFAAwF,CAAC;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H,CAAC;gBACH,CAAC;aACF;SACF,CAAC;IACJ,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqBH,OAAO,EACL,KAAK,0BAA0B,EAGhC,MAAM,0DAA0D,CAAC;
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqBH,OAAO,EACL,KAAK,0BAA0B,EAGhC,MAAM,0DAA0D,CAAC;AAalE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAK1E,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,2FAA2F,CAAC;AAI3I,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,oBAAoB,UACxB,aAAa,KACnB,eAGD,CAAC;AACH,eAAO,MAAM,0BAA0B,WAC7B,eAAe,KACtB,KAAK,CAAC,SAiBR,CAAC;AAqBF,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,yBAAyB,CAAC;CAClC,CAAC;AACF,eAAO,MAAM,2BAA2B,UAC/B,yBAAyB,KAC/B,sBAGD,CAAC;AAmVH,eAAO,MAAM,4CAA4C,sBACpC,0BAA0B,KAC5C,KAAK,CAAC,SAIR,CAAC"}
|
@@ -34,6 +34,14 @@ export const buildDataSpaceOption = (value) => ({
|
|
34
34
|
export const formatDataSpaceOptionLabel = (option) => (_jsx("div", { className: "query-builder__setup__data-space__option", title: `${option.label} - ${option.value.path} - ${option.value.groupId && option.value.artifactId && option.value.versionId
|
35
35
|
? generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId)
|
36
36
|
: ''}`, children: _jsx("div", { className: "query-builder__setup__data-space__option__label", children: option.label }) }));
|
37
|
+
const resolveExecutionContextRuntimes = (queryBuilderState) => {
|
38
|
+
if (queryBuilderState.dataSpaceAnalysisResult) {
|
39
|
+
const executionContext = Array.from(queryBuilderState.dataSpaceAnalysisResult.executionContextsIndex.values()).find((e) => e.mapping.path ===
|
40
|
+
queryBuilderState.executionContext.mapping.value.path);
|
41
|
+
return guaranteeNonNullable(executionContext).compatibleRuntimes;
|
42
|
+
}
|
43
|
+
return getMappingCompatibleRuntimes(queryBuilderState.executionContext.mapping.value, queryBuilderState.graphManagerState.usableRuntimes);
|
44
|
+
};
|
37
45
|
export const buildExecutionContextOption = (value) => ({
|
38
46
|
label: value.name,
|
39
47
|
value,
|
@@ -78,7 +86,9 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
|
|
78
86
|
},
|
79
87
|
};
|
80
88
|
const onDataSpaceOptionChange = (option) => {
|
81
|
-
queryBuilderState
|
89
|
+
queryBuilderState
|
90
|
+
.onDataSpaceChange(option.value)
|
91
|
+
.catch(queryBuilderState.applicationStore.alertUnhandledError);
|
82
92
|
};
|
83
93
|
const openDataSpaceAdvancedSearch = () => {
|
84
94
|
if (repo.isAdvancedDataSpaceSearchEnabled && depotRepo) {
|
@@ -91,16 +101,20 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
|
|
91
101
|
.sort(compareLabelFn);
|
92
102
|
const showExecutionContextOptions = executionContextOptions.length > 1;
|
93
103
|
const selectedExecutionContextOption = buildExecutionContextOption(queryBuilderState.executionContext);
|
94
|
-
const onExecutionContextOptionChange = (option) => {
|
104
|
+
const onExecutionContextOptionChange = async (option) => {
|
95
105
|
if (option.value === queryBuilderState.executionContext) {
|
96
106
|
return;
|
97
107
|
}
|
108
|
+
const currentMapping = queryBuilderState.executionContext.mapping.value.path;
|
98
109
|
queryBuilderState.setExecutionContext(option.value);
|
99
|
-
queryBuilderState.propagateExecutionContextChange(option.value);
|
110
|
+
await queryBuilderState.propagateExecutionContextChange(currentMapping === option.value.mapping.value.path);
|
100
111
|
queryBuilderState.onExecutionContextChange?.(option.value);
|
101
112
|
};
|
113
|
+
const handleExecutionContextOptionChange = (option) => {
|
114
|
+
flowResult(onExecutionContextOptionChange(option));
|
115
|
+
};
|
102
116
|
// runtime
|
103
|
-
const runtimeOptions =
|
117
|
+
const runtimeOptions = resolveExecutionContextRuntimes(queryBuilderState)
|
104
118
|
.map((rt) => new RuntimePointer(PackageableElementExplicitReference.create(rt)))
|
105
119
|
.map(buildRuntimeValueOption)
|
106
120
|
.sort(compareLabelFn);
|
@@ -122,7 +136,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
|
|
122
136
|
.value.path,
|
123
137
|
});
|
124
138
|
// class
|
125
|
-
const classes = resolveUsableDataSpaceClasses(queryBuilderState.dataSpace, queryBuilderState.executionContext.mapping.value, queryBuilderState.graphManagerState);
|
139
|
+
const classes = resolveUsableDataSpaceClasses(queryBuilderState.dataSpace, queryBuilderState.executionContext.mapping.value, queryBuilderState.graphManagerState, queryBuilderState);
|
126
140
|
useEffect(() => {
|
127
141
|
flowResult(queryBuilderState.dataSpaceRepo.loadDataSpaces()).catch(applicationStore.alertUnhandledError);
|
128
142
|
}, [queryBuilderState, applicationStore]);
|
@@ -147,7 +161,7 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
|
|
147
161
|
}, children: _jsx(MoreVerticalIcon, { className: "query-builder__icon__more-options" }) })] }) }), _jsxs("div", { className: "query-builder__setup__config-group__content", children: [_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "data space", htmlFor: "query-builder__setup__data-space-selector", children: "Data Space" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__data-space-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", options: dataSpaceOptions, isLoading: queryBuilderState.dataSpaceRepo.loadDataSpacesState.isInProgress, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space...", escapeClearsValue: true, darkMode: !applicationStore.layoutService
|
148
162
|
.TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: formatDataSpaceOptionLabel }), depotRepo && (_jsxs(_Fragment, { children: [_jsx("button", { tabIndex: -1, className: "query-builder__setup__data-space-searcher__btn btn--dark", onClick: openDataSpaceAdvancedSearch, title: "Open advanced search for data space...", children: _jsx(SearchIcon, {}) }), depotRepo.advancedSearchState && (_jsx(DataSpaceAdvancedSearchModal, { searchState: depotRepo.advancedSearchState, onClose: () => depotRepo.hideAdvancedSearchPanel() }))] }))] }), Boolean(showExecutionContextOptions) && (_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "execution context", htmlFor: "query-builder__setup__context-selector", children: "Context" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__context-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose an execution context...", options: executionContextOptions, disabled: executionContextOptions.length < 1 ||
|
149
163
|
(executionContextOptions.length === 1 &&
|
150
|
-
Boolean(selectedExecutionContextOption)), onChange:
|
164
|
+
Boolean(selectedExecutionContextOption)), onChange: handleExecutionContextOptionChange, value: selectedExecutionContextOption, darkMode: !applicationStore.layoutService
|
151
165
|
.TEMPORARY__isLightColorThemeEnabled })] })), queryBuilderState.showRuntimeSelector && (_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("label", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", htmlFor: "query-builder__setup__runtime-selector", children: "Runtime" }), _jsx(CustomSelectorInput, { inputId: "query-builder__setup__runtime-selector", className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a runtime...", noMatchMessage: "No compatible runtime found for specified execution context", options: runtimeOptions, onChange: changeRuntime, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
|
152
166
|
.TEMPORARY__isLightColorThemeEnabled, filterOption: runtimeFilterOption, formatOptionLabel: getRuntimeOptionFormatter({
|
153
167
|
darkMode: !applicationStore.layoutService
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,UAAU,EACV,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/query-builder/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,UAAU,EACV,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBA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AC,gBAAgB,CAAC,aAAa;yCAC5B,mCAAmC;iCACzC,CAAC,GACF,IACE,CACP,EACD,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,iBAAiB,CAAC,aAAa,EAC9C,cAAc,EAAC,4DAA4D,GAC3E,GACE,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAC1D,iBAA6C,EAC5B,EAAE,CAAC,CACpB,KAAC,sCAAsC,IACrC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
|
@@ -41,7 +41,7 @@ const DataSpaceTemplateQueryDialog = observer((props) => {
|
|
41
41
|
if (executionContext &&
|
42
42
|
executionContext.name !== queryBuilderState.executionContext.name) {
|
43
43
|
queryBuilderState.setExecutionContext(executionContext);
|
44
|
-
queryBuilderState.propagateExecutionContextChange(
|
44
|
+
await queryBuilderState.propagateExecutionContextChange();
|
45
45
|
queryBuilderState.initializeWithQuery(query);
|
46
46
|
queryBuilderState.onExecutionContextChange?.(executionContext);
|
47
47
|
}
|
@@ -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,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,EAA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aceQueryBuilderTemplateQueryPanelContent.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,KAAK,EAAE,CAAC;YACX,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAC9C,6CAA6C,CAC9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AAC,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"}
|
@@ -27,4 +27,5 @@ export * from './protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
27
27
|
export * from '../stores/shared/DataSpaceInfo.js';
|
28
28
|
export * from '../stores/query-builder/DataSpaceQueryBuilderState.js';
|
29
29
|
export { observe_DataSpace } from '../graph-manager/action/changeDetection/DSL_DataSpace_ObserverHelper.js';
|
30
|
+
export { V1_DataSpaceExecutionContext, V1_DataSpace, } from '../graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
30
31
|
//# sourceMappingURL=index.d.ts.map
|
@@ -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,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"}
|
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;AAC5G,OAAO,EACL,4BAA4B,EAC5B,YAAY,GACb,MAAM,qGAAqG,CAAC"}
|
@@ -28,4 +28,5 @@ export * from './protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
28
28
|
export * from '../stores/shared/DataSpaceInfo.js';
|
29
29
|
export * from '../stores/query-builder/DataSpaceQueryBuilderState.js';
|
30
30
|
export { observe_DataSpace } from '../graph-manager/action/changeDetection/DSL_DataSpace_ObserverHelper.js';
|
31
|
+
export { V1_DataSpaceExecutionContext, V1_DataSpace, } from '../graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
31
32
|
//# sourceMappingURL=index.js.map
|
@@ -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,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"}
|
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;AAC5G,OAAO,EACL,4BAA4B,EAC5B,YAAY,GACb,MAAM,qGAAqG,CAAC"}
|
@@ -13,14 +13,18 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type AbstractPureGraphManager, type PureProtocolProcessorPlugin, AbstractPureGraphManagerExtension, type QueryInfo } from '@finos/legend-graph';
|
17
|
-
import type { Entity } from '@finos/legend-storage';
|
16
|
+
import { type AbstractPureGraphManager, type PureProtocolProcessorPlugin, AbstractPureGraphManagerExtension, type QueryInfo, type PureModel, type GraphManagerOperationReport } from '@finos/legend-graph';
|
17
|
+
import type { Entity, ProjectGAVCoordinates } 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
20
|
import type { V1_DataSpaceAnalysisResult } from './v1/engine/analytics/V1_DataSpaceAnalysis.js';
|
21
21
|
export declare abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
|
22
22
|
abstract analyzeDataSpace(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult>;
|
23
23
|
abstract retrieveDataSpaceAnalysisFromCache(cacheRetriever: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult | undefined>;
|
24
|
+
abstract analyzeDataSpaceCoverage(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, entitiesWithClassifierRetriever: () => Promise<[
|
25
|
+
PlainObject<Entity>[],
|
26
|
+
PlainObject<Entity>[]
|
27
|
+
]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState, graphReport?: GraphManagerOperationReport | undefined, pureGraph?: PureModel | undefined, executionContext?: string | undefined, mappingPath?: string | undefined, projectInfo?: ProjectGAVCoordinates, templateQueryId?: string): Promise<DataSpaceAnalysisResult>;
|
24
28
|
abstract addNewExecutableToDataSpaceEntity(dataSpaceEntity: Entity, currentQuery: QueryInfo, executable: {
|
25
29
|
id: string;
|
26
30
|
title: string;
|
@@ -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,KAAK,2BAA2B,EAChC,iCAAiC,EACjC,KAAK,SAAS,
|
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,EACd,KAAK,SAAS,EACd,KAAK,2BAA2B,EACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,M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iC,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,EAGL,iCAAiC,
|
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,GAIlC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,oBAAoB,GAGrB,MAAM,sBAAsB,CAAC;AAI9B,MAAM,OAAgB,uCAAwC,SAAQ,iCAAiC;CA6CtG;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,8 +13,8 @@
|
|
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, type PureProtocolProcessorPlugin, V1_PureGraphManager } from '@finos/legend-graph';
|
17
|
-
import type { Entity } from '@finos/legend-storage';
|
16
|
+
import { type QueryInfo, type AbstractPureGraphManager, type PureProtocolProcessorPlugin, type GraphManagerOperationReport, PureModel, V1_PureGraphManager } from '@finos/legend-graph';
|
17
|
+
import type { Entity, ProjectGAVCoordinates } 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';
|
@@ -32,8 +32,20 @@ export declare class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_Data
|
|
32
32
|
description?: string;
|
33
33
|
}): Promise<Entity>;
|
34
34
|
analyzeDataSpace(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult>;
|
35
|
+
retrieveExecutionContextFromTemplateQueryId(dataSpaceAnalysisResult: PlainObject<V1_DataSpaceAnalysisResult>, templateQueryId: string, plugins: PureProtocolProcessorPlugin[]): string | undefined;
|
36
|
+
analyzeDataSpaceCoverage(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, entitiesWithClassifierRetriever: () => Promise<[
|
37
|
+
PlainObject<Entity>[],
|
38
|
+
PlainObject<Entity>[]
|
39
|
+
]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState, graphReport?: GraphManagerOperationReport | undefined, pureGraph?: PureModel | undefined, executionContext?: string | undefined, mappingPath?: string | undefined, projectInfo?: ProjectGAVCoordinates, templateQueryId?: string): Promise<DataSpaceAnalysisResult>;
|
35
40
|
retrieveDataSpaceAnalysisFromCache(cacheRetriever: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult | undefined>;
|
36
41
|
private fetchDataSpaceAnalysisFromCache;
|
37
|
-
|
42
|
+
processFunctionForMinimalGraph(entitiesWithClassifierRetriever: () => Promise<[
|
43
|
+
PlainObject<Entity>[],
|
44
|
+
PlainObject<Entity>[]
|
45
|
+
]>, graph: PureModel, dataSpaceAnalysisResult: DataSpaceAnalysisResult, plugins: PureProtocolProcessorPlugin[]): Promise<void>;
|
46
|
+
buildDataSpaceAnalytics(analytics: PlainObject<V1_DataSpaceAnalysisResult>, plugins: PureProtocolProcessorPlugin[], graphReport?: GraphManagerOperationReport | undefined, pureGraph?: PureModel | undefined, executionContext?: string | undefined, mappingPath?: string | undefined, projectInfo?: ProjectGAVCoordinates, entitiesWithClassifierRetriever?: () => Promise<[
|
47
|
+
PlainObject<Entity>[],
|
48
|
+
PlainObject<Entity>[]
|
49
|
+
]>): Promise<DataSpaceAnalysisResult>;
|
38
50
|
}
|
39
51
|
//# sourceMappingURL=V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map
|
package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map
CHANGED
@@ -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,EAC7B,KAAK,2BAA2B,
|
1
|
+
{"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graph-manager/protocol/pure/v1/V1_DSL_Data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