@finos/legend-extension-dsl-data-space 7.0.0 → 8.0.0
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/components/{DSL_DataSpace_DataSpaceViewer.d.ts → DataSpaceViewer.d.ts} +2 -2
- package/lib/components/DataSpaceViewer.d.ts.map +1 -0
- package/lib/components/{DSL_DataSpace_DataSpaceViewer.js → DataSpaceViewer.js} +3 -4
- package/lib/components/DataSpaceViewer.js.map +1 -0
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js +6 -6
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/query/{DSL_DataSpace_DataSpaceQueryBuilder.d.ts → DataSpaceQueryBuilder.d.ts} +2 -2
- package/lib/components/query/DataSpaceQueryBuilder.d.ts.map +1 -0
- package/lib/components/query/{DSL_DataSpace_DataSpaceQueryBuilder.js → DataSpaceQueryBuilder.js} +1 -1
- package/lib/components/query/DataSpaceQueryBuilder.js.map +1 -0
- package/lib/components/query/{DSL_DataSpace_DataSpaceQueryCreator.d.ts → DataSpaceQueryCreator.d.ts} +1 -1
- package/lib/components/query/DataSpaceQueryCreator.d.ts.map +1 -0
- package/lib/components/query/{DSL_DataSpace_DataSpaceQueryCreator.js → DataSpaceQueryCreator.js} +4 -5
- package/lib/components/query/DataSpaceQueryCreator.js.map +1 -0
- package/lib/components/query/{DSL_DataSpace_DataSpaceQuerySetup.d.ts → DataSpaceQuerySetup.d.ts} +2 -2
- package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -0
- package/lib/components/query/{DSL_DataSpace_DataSpaceQuerySetup.js → DataSpaceQuerySetup.js} +2 -2
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -0
- package/lib/graphManager/action/analytics/{DSL_DataSpace_DataSpaceAnalysis.d.ts → DataSpaceAnalysis.d.ts} +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -0
- package/lib/graphManager/action/analytics/{DSL_DataSpace_DataSpaceAnalysis.js → DataSpaceAnalysis.js} +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -0
- package/lib/graphManager/action/analytics/{DSL_DataSpace_DataSpaceAnalysisHelper.d.ts → DataSpaceAnalysisHelper.d.ts} +2 -2
- package/lib/graphManager/action/analytics/DataSpaceAnalysisHelper.d.ts.map +1 -0
- package/lib/graphManager/action/analytics/{DSL_DataSpace_DataSpaceAnalysisHelper.js → DataSpaceAnalysisHelper.js} +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysisHelper.js.map +1 -0
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts +2 -2
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js +1 -1
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +2 -2
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/{V1_DSL_DataSpace_DataSpaceAnalysis.d.ts → V1_DataSpaceAnalysis.d.ts} +2 -2
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/{V1_DSL_DataSpace_DataSpaceAnalysis.js → V1_DataSpaceAnalysis.js} +2 -2
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +5 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/lib/package.json +2 -4
- package/lib/stores/{DSL_DataSpace_DataSpaceViewerState.d.ts → DataSpaceViewerState.d.ts} +2 -2
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -0
- package/lib/stores/{DSL_DataSpace_DataSpaceViewerState.js → DataSpaceViewerState.js} +1 -1
- package/lib/stores/DataSpaceViewerState.js.map +1 -0
- package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.d.ts.map +1 -1
- package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.js +1 -2
- package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.js.map +1 -1
- package/lib/stores/query/{DSL_DataSpace_DataSpaceInfo.d.ts → DataSpaceInfo.d.ts} +1 -1
- package/lib/stores/query/DataSpaceInfo.d.ts.map +1 -0
- package/lib/stores/query/{DSL_DataSpace_DataSpaceInfo.js → DataSpaceInfo.js} +1 -1
- package/lib/stores/query/DataSpaceInfo.js.map +1 -0
- package/lib/stores/query/{DSL_DataSpace_DataSpaceQueryBuilderState.d.ts → DataSpaceQueryBuilderState.d.ts} +2 -2
- package/lib/stores/query/DataSpaceQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/query/{DSL_DataSpace_DataSpaceQueryBuilderState.js → DataSpaceQueryBuilderState.js} +3 -3
- package/lib/stores/query/DataSpaceQueryBuilderState.js.map +1 -0
- package/lib/stores/query/{DSL_DataSpace_DataSpaceQueryCreatorStore.d.ts → DataSpaceQueryCreatorStore.d.ts} +1 -1
- package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts.map +1 -0
- package/lib/stores/query/{DSL_DataSpace_DataSpaceQueryCreatorStore.js → DataSpaceQueryCreatorStore.js} +6 -6
- package/lib/stores/query/DataSpaceQueryCreatorStore.js.map +1 -0
- package/lib/stores/query/{DSL_DataSpace_DataSpaceQuerySetupState.d.ts → DataSpaceQuerySetupState.d.ts} +3 -3
- package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -0
- package/lib/stores/query/{DSL_DataSpace_DataSpaceQuerySetupState.js → DataSpaceQuerySetupState.js} +8 -8
- package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -0
- package/package.json +13 -15
- package/src/components/{DSL_DataSpace_DataSpaceViewer.tsx → DataSpaceViewer.tsx} +3 -3
- package/src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx +8 -10
- package/src/components/query/{DSL_DataSpace_DataSpaceQueryBuilder.tsx → DataSpaceQueryBuilder.tsx} +2 -2
- package/src/components/query/{DSL_DataSpace_DataSpaceQueryCreator.tsx → DataSpaceQueryCreator.tsx} +3 -4
- package/src/components/query/{DSL_DataSpace_DataSpaceQuerySetup.tsx → DataSpaceQuerySetup.tsx} +3 -3
- package/src/graphManager/action/analytics/{DSL_DataSpace_DataSpaceAnalysis.ts → DataSpaceAnalysis.ts} +0 -0
- package/src/graphManager/action/analytics/{DSL_DataSpace_DataSpaceAnalysisHelper.ts → DataSpaceAnalysisHelper.ts} +1 -1
- package/src/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts +2 -2
- package/src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +2 -2
- package/src/graphManager/protocol/pure/v1/engine/analytics/{V1_DSL_DataSpace_DataSpaceAnalysis.ts → V1_DataSpaceAnalysis.ts} +2 -2
- package/src/index.ts +5 -5
- package/src/stores/{DSL_DataSpace_DataSpaceViewerState.ts → DataSpaceViewerState.ts} +1 -1
- package/src/stores/query/DSL_DataSpace_LegendQueryRouter.ts +4 -2
- package/src/stores/query/{DSL_DataSpace_DataSpaceInfo.ts → DataSpaceInfo.ts} +0 -0
- package/src/stores/query/{DSL_DataSpace_DataSpaceQueryBuilderState.ts → DataSpaceQueryBuilderState.ts} +2 -5
- package/src/stores/query/{DSL_DataSpace_DataSpaceQueryCreatorStore.ts → DataSpaceQueryCreatorStore.ts} +6 -6
- package/src/stores/query/{DSL_DataSpace_DataSpaceQuerySetupState.ts → DataSpaceQuerySetupState.ts} +8 -11
- package/tsconfig.json +12 -12
- package/lib/components/DSL_DataSpace_DataSpaceViewer.d.ts.map +0 -1
- package/lib/components/DSL_DataSpace_DataSpaceViewer.js.map +0 -1
- package/lib/components/query/DSL_DataSpace_DataSpaceQueryBuilder.d.ts.map +0 -1
- package/lib/components/query/DSL_DataSpace_DataSpaceQueryBuilder.js.map +0 -1
- package/lib/components/query/DSL_DataSpace_DataSpaceQueryCreator.d.ts.map +0 -1
- package/lib/components/query/DSL_DataSpace_DataSpaceQueryCreator.js.map +0 -1
- package/lib/components/query/DSL_DataSpace_DataSpaceQuerySetup.d.ts.map +0 -1
- package/lib/components/query/DSL_DataSpace_DataSpaceQuerySetup.js.map +0 -1
- package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysis.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysis.js.map +0 -1
- package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/DSL_DataSpace_DataSpaceAnalysisHelper.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DSL_DataSpace_DataSpaceAnalysis.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DSL_DataSpace_DataSpaceAnalysis.js.map +0 -1
- package/lib/stores/DSL_DataSpace_DataSpaceViewerState.d.ts.map +0 -1
- package/lib/stores/DSL_DataSpace_DataSpaceViewerState.js.map +0 -1
- package/lib/stores/query/DSL_DataSpace_DataSpaceInfo.d.ts.map +0 -1
- package/lib/stores/query/DSL_DataSpace_DataSpaceInfo.js.map +0 -1
- package/lib/stores/query/DSL_DataSpace_DataSpaceQueryBuilderState.d.ts.map +0 -1
- package/lib/stores/query/DSL_DataSpace_DataSpaceQueryBuilderState.js.map +0 -1
- package/lib/stores/query/DSL_DataSpace_DataSpaceQueryCreatorStore.d.ts.map +0 -1
- package/lib/stores/query/DSL_DataSpace_DataSpaceQueryCreatorStore.js.map +0 -1
- package/lib/stores/query/DSL_DataSpace_DataSpaceQuerySetupState.d.ts.map +0 -1
- package/lib/stores/query/DSL_DataSpace_DataSpaceQuerySetupState.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerState.d.ts","sourceRoot":"","sources":["../../src/stores/DataSpaceViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,OAAO,EAEb,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAM9D,OAAO,KAAK,EACV,uBAAuB,EACvB,uCAAuC,EACxC,MAAM,uDAAuD,CAAC;AAE/D,oBAAY,+BAA+B;IACzC,eAAe,oBAAoB;IACnC,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED,qBAAa,oBAAoB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,SAAS,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACxC,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,eAAe,kCAAmD;IAClE,uBAAuB,EAAE,uCAAuC,CAAC;IACjE,cAAc,EAAE,kBAAkB,CAAC;IACnC,WAAW,CAAC,EACR,CAAC,CACC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GAAG,SAAS,KAC3B,IAAI,CAAC,GACV,SAAS,CAAC;IACd,yBAAyB,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;gBAGvE,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,CAAC,EAAE;QACR,WAAW,CAAC,EAAE,CACZ,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GAAG,SAAS,KAC3B,IAAI,CAAC;QACV,yBAAyB,CAAC,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;KAC5D;IA8BH,IAAI,QAAQ,IAAI,eAAe,CAK9B;IAED,IAAI,4BAA4B,IAAI,OAAO,CAE1C;IAMD,IAAI,kBAAkB,IAAI,MAAM,CAiB/B;IAED,WAAW,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAIvC,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIrC,kBAAkB,CAAC,GAAG,EAAE,+BAA+B,GAAG,IAAI;IAI9D,0BAA0B,CACxB,GAAG,EAAE,uCAAuC,GAC3C,IAAI;IAKP,iBAAiB,CAAC,GAAG,EAAE,kBAAkB,GAAG,IAAI;IAIhD,aAAa,IAAI,IAAI;CAKtB"}
|
|
@@ -112,4 +112,4 @@ export class DataSpaceViewerState {
|
|
|
112
112
|
this.renderer.onClassViewDoubleClick = (classView) => this.onDiagramClassDoubleClick?.(classView);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
//# sourceMappingURL=
|
|
115
|
+
//# sourceMappingURL=DataSpaceViewerState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceViewerState.js","sourceRoot":"","sources":["../../src/stores/DataSpace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C,SAAS,GAAG,GAAG,CAAC;IACvB,CAAC;IAED,iBAAiB,CAAC,GAAY;QAC5B,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,kBAAkB,CAAC,GAAoC;QACrD,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;IAC7B,CAAC;IAED,0BAA0B,CACxB,GAA4C;QAE5C,IAAI,CAAC,uBAAuB,GAAG,GAAG,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;IAC3C,CAAC;IAED,iBAAiB,CAAC,GAAuB;QACvC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC;IAC5B,CAAC;IAED,aAAa;QACX,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAClC,IAAI,CAAC,QAAQ,CAAC,sBAAsB,GAAG,CAAC,SAAoB,EAAQ,EAAE,CACpE,IAAI,CAAC,yBAAyB,EAAE,CAAC,SAAS,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendQueryRouter.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendQueryRouter.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAGhF,oBAAY,yCAAyC;IACnD,eAAe,kBAAkB;IACjC,iBAAiB,qBAAqB;CACvC;AAED,oBAAY,0CAA0C;IACpD,UAAU,UAAU;CACrB;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC5C,CAAC,yCAAyC,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACpE,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACtE,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;CACvD;AAED,MAAM,WAAW,+BAA+B;IAC9C,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC;CAClE;AAED,eAAO,MAAM,0CAA0C,QAA+O,CAAC;AAEvS,eAAO,MAAM,kCAAkC,YACpC,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,uBACA,MAAM,gBACb,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAmBC,CAAC"}
|
|
@@ -13,10 +13,9 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { generateExtensionUrlPattern } from '@finos/legend-application';
|
|
16
|
+
import { generateExtensionUrlPattern, generatePath, } from '@finos/legend-application';
|
|
17
17
|
import { LEGEND_QUERY_PATH_PARAM_TOKEN } from '@finos/legend-application-query';
|
|
18
18
|
import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
19
|
-
import { generatePath } from 'react-router';
|
|
20
19
|
export var DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN;
|
|
21
20
|
(function (DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN) {
|
|
22
21
|
DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN["DATA_SPACE_PATH"] = "dataSpacePath";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendQueryRouter.js","sourceRoot":"","sources":["../../../src/stores/query/DSL_DataSpace_LegendQueryRouter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendQueryRouter.js","source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AAI,SAAS,EAAE;IAC1E,CAAC,CAAC,EACN,EAAE,CAAC"}
|
|
@@ -28,4 +28,4 @@ export interface DataSpaceInfo {
|
|
|
28
28
|
defaultExecutionContext: string | undefined;
|
|
29
29
|
}
|
|
30
30
|
export declare const extractDataSpaceInfo: (storedEntity: StoredEntity, isSnapshot: boolean) => DataSpaceInfo;
|
|
31
|
-
//# sourceMappingURL=
|
|
31
|
+
//# sourceMappingURL=DataSpaceInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceInfo.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceInfo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,4BAA4B,CAAC;AAIpC,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,uBAAuB,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7C;AAED,eAAO,MAAM,oBAAoB,iBACjB,YAAY,cACd,OAAO,KAClB,aAgBD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceInfo.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceInfo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,sBAAsB,GAEvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAgBlE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,YAA0B,EAC1B,UAAmB,EACJ,EAAE,CAAC,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC,OAAO;IAC7B,UAAU,EAAE,YAAY,CAAC,UAAU;IACnC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,YAAY,CAAC,SAAS;IACvE,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,IAAI;IAC9B,IAAI,EAAE,yBAAyB,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC;IACzD,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC;QAChD,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK;QACnC,CAAC,CAAC,SAAS;IACb,yEAAyE;IACzE,+EAA+E;IAC/E,uBAAuB,EAAE,QAAQ,CAC/B,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CACpD;QACC,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB;QACrD,CAAC,CAAC,SAAS;CACd,CAAC,CAAC"}
|
|
@@ -19,7 +19,7 @@ import { type GraphManagerState, type Runtime, type Class } from '@finos/legend-
|
|
|
19
19
|
import { type DepotServerClient } from '@finos/legend-server-depot';
|
|
20
20
|
import { type GeneratorFn, ActionState } from '@finos/legend-shared';
|
|
21
21
|
import type { DataSpace, DataSpaceExecutionContext } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
|
22
|
-
import { type DataSpaceInfo } from './
|
|
22
|
+
import { type DataSpaceInfo } from './DataSpaceInfo.js';
|
|
23
23
|
export declare class DataSpaceQueryBuilderState extends QueryBuilderState {
|
|
24
24
|
readonly dataSpace: DataSpace;
|
|
25
25
|
readonly groupId: string;
|
|
@@ -49,4 +49,4 @@ export declare class DataSpaceQueryBuilderState extends QueryBuilderState {
|
|
|
49
49
|
*/
|
|
50
50
|
propagateExecutionContextChange(executionContext: DataSpaceExecutionContext): void;
|
|
51
51
|
}
|
|
52
|
-
//# sourceMappingURL=
|
|
52
|
+
//# sourceMappingURL=DataSpaceQueryBuilderState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilderState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,6BAA6B,EAGnC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EACL,KAAK,iBAAiB,EAGtB,KAAK,OAAO,EACZ,KAAK,KAAK,EACX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,KAAK,iBAAiB,EAEvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EAGZ,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,EACV,SAAS,EACT,yBAAyB,EAC1B,MAAM,2FAA2F,CAAC;AAEnG,OAAO,EAAE,KAAK,aAAa,EAAwB,MAAM,oBAAoB,CAAC;AAE9E,qBAAa,0BAA2B,SAAQ,iBAAiB;IAC/D,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,mBAAmB,cAAwB;IACpD,QAAQ,CAAC,iBAAiB,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IACzD,QAAQ,CAAC,wBAAwB,CAAC,EAC9B,CAAC,CAAC,GAAG,EAAE,yBAAyB,KAAK,IAAI,CAAC,GAC1C,SAAS,CAAC;IACd,QAAQ,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ap
|
|
|
19
19
|
import { DepotScope, SNAPSHOT_VERSION_ALIAS, } from '@finos/legend-server-depot';
|
|
20
20
|
import { ActionState, assertErrorThrown, getNullableFirstElement, } from '@finos/legend-shared';
|
|
21
21
|
import { action, flow, makeObservable, observable } from 'mobx';
|
|
22
|
-
import { renderDataSpaceQueryBuilderSetupPanelContent } from '../../components/query/
|
|
22
|
+
import { renderDataSpaceQueryBuilderSetupPanelContent } from '../../components/query/DataSpaceQueryBuilder.js';
|
|
23
23
|
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
|
|
24
|
-
import { extractDataSpaceInfo
|
|
24
|
+
import { extractDataSpaceInfo } from './DataSpaceInfo.js';
|
|
25
25
|
export class DataSpaceQueryBuilderState extends QueryBuilderState {
|
|
26
26
|
dataSpace;
|
|
27
27
|
groupId;
|
|
@@ -109,4 +109,4 @@ export class DataSpaceQueryBuilderState extends QueryBuilderState {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
//# sourceMappingURL=
|
|
112
|
+
//# sourceMappingURL=DataSpaceQueryBuilderState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,8BAA8B,EAC9B,8CAA8C,GAC/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAEL,2BAA2B,EAC3B,cAAc,GAGf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,sBAAsB,GAGvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;A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aAAa,CAAC,CAClD,CAAC;YACF,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAC;SACjC;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAC;YAChC,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC1C;IACH,CAAC;IAED;;;;;;OAMG;IACH,+BAA+B,CAC7B,gBAA2C;QAE3C,MAAM,OAAO,GAAG,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC;QAC/C,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QAC5B,IAAI,CAAC,aAAa,CAAC,IAAI,cAAc,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC;QAExE,MAAM,iBAAiB,GAAG,2BAA2B,CACnD,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,aAAa,CACrC,CAAC;QACF,kEAAkE;QAClE,4DAA4D;QAC5D,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;YAC1D,MAAM,gBAAgB,GAAG,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;YACpE,IAAI,gBAAgB,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;aACpC;SACF;IACH,CAAC;CACF"}
|
|
@@ -32,4 +32,4 @@ export declare class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
|
|
32
32
|
initializeQueryBuilderState(): Promise<QueryBuilderState>;
|
|
33
33
|
getExportConfiguration(): Promise<QueryExportConfiguration>;
|
|
34
34
|
}
|
|
35
|
-
//# sourceMappingURL=
|
|
35
|
+
//# sourceMappingURL=DataSpaceQueryCreatorStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceQueryCreatorStore.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQueryCreatorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,gBAAgB,EAKjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAChB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EACjC,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAepE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,eAAO,MAAM,+BAA+B,kBAC3B,MAAM,KACpB,gBAMF,CAAC;AAEF,qBAAa,0BAA2B,SAAQ,gBAAgB;IAC9D,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;gBAG5B,gBAAgB,EAAE,2BAA2B,EAC7C,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,YAAY,EAAE,MAAM,GAAG,SAAS;IAalC,cAAc,IAAI,qBAAqB;IAQjC,2BAA2B,IAAI,OAAO,CAAC,iBAAiB,CAAC;IA2HzD,sBAAsB,IAAI,OAAO,CAAC,wBAAwB,CAAC;CAgBlE"}
|
|
@@ -18,7 +18,7 @@ import { QueryEditorStore, } from '@finos/legend-application-query';
|
|
|
18
18
|
import { guaranteeNonNullable, guaranteeType, uuid, } from '@finos/legend-shared';
|
|
19
19
|
import { QUERY_PROFILE_PATH, QUERY_PROFILE_TAG_DATA_SPACE, } from '../../DSL_DataSpace_Const.js';
|
|
20
20
|
import { getDataSpace } from '../../graphManager/DSL_DataSpace_GraphManagerHelper.js';
|
|
21
|
-
import { DataSpaceQueryBuilderState } from './
|
|
21
|
+
import { DataSpaceQueryBuilderState } from './DataSpaceQueryBuilderState.js';
|
|
22
22
|
import { generateDataSpaceQueryCreatorRoute } from './DSL_DataSpace_LegendQueryRouter.js';
|
|
23
23
|
export const createQueryDataSpaceTaggedValue = (dataSpacePath) => {
|
|
24
24
|
const taggedValue = new QueryTaggedValue();
|
|
@@ -57,7 +57,7 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
|
|
57
57
|
const executionContext = guaranteeNonNullable(dataSpace.executionContexts.find((context) => context.name === this.executionContext), `Can't find execution context '${this.executionContext}'`);
|
|
58
58
|
const queryBuilderState = new DataSpaceQueryBuilderState(this.applicationStore, this.graphManagerState, this.depotServerClient, dataSpace, executionContext, this.groupId, this.artifactId, this.versionId, (dataSpaceInfo) => {
|
|
59
59
|
if (dataSpaceInfo.defaultExecutionContext) {
|
|
60
|
-
this.applicationStore.navigator.
|
|
60
|
+
this.applicationStore.navigator.reloadToLocation(generateDataSpaceQueryCreatorRoute(dataSpaceInfo.groupId, dataSpaceInfo.artifactId, dataSpaceInfo.versionId, dataSpaceInfo.path, dataSpaceInfo.defaultExecutionContext, undefined, undefined));
|
|
61
61
|
}
|
|
62
62
|
else {
|
|
63
63
|
this.applicationStore.notifyWarning(`Can't switch data space: default execution context not specified`);
|
|
@@ -65,20 +65,20 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
|
|
65
65
|
}, (ec) => {
|
|
66
66
|
// runtime should already be set
|
|
67
67
|
const runtimePointer = guaranteeType(queryBuilderState.runtimeValue, RuntimePointer);
|
|
68
|
-
this.applicationStore.navigator.
|
|
68
|
+
this.applicationStore.navigator.goToLocation(generateDataSpaceQueryCreatorRoute(this.groupId, this.artifactId, this.versionId, dataSpace.path, ec.name, runtimePointer.packageableRuntime.value ===
|
|
69
69
|
queryBuilderState.executionContext.defaultRuntime.value
|
|
70
70
|
? undefined
|
|
71
71
|
: runtimePointer.packageableRuntime.value.path, queryBuilderState.class?.path));
|
|
72
72
|
}, (runtimeValue) => {
|
|
73
73
|
const runtimePointer = guaranteeType(runtimeValue, RuntimePointer);
|
|
74
|
-
queryBuilderState.applicationStore.navigator.
|
|
74
|
+
queryBuilderState.applicationStore.navigator.goToLocation(generateDataSpaceQueryCreatorRoute(queryBuilderState.groupId, queryBuilderState.artifactId, queryBuilderState.versionId, queryBuilderState.dataSpace.path, queryBuilderState.executionContext.name, runtimePointer.packageableRuntime.value ===
|
|
75
75
|
queryBuilderState.executionContext.defaultRuntime.value
|
|
76
76
|
? undefined
|
|
77
77
|
: runtimePointer.packageableRuntime.value.path, queryBuilderState.class?.path));
|
|
78
78
|
}, (_class) => {
|
|
79
79
|
// runtime should already be set
|
|
80
80
|
const runtimePointer = guaranteeType(queryBuilderState.runtimeValue, RuntimePointer);
|
|
81
|
-
queryBuilderState.applicationStore.navigator.
|
|
81
|
+
queryBuilderState.applicationStore.navigator.goToLocation(generateDataSpaceQueryCreatorRoute(queryBuilderState.groupId, queryBuilderState.artifactId, queryBuilderState.versionId, queryBuilderState.dataSpace.path, queryBuilderState.executionContext.name, runtimePointer.packageableRuntime.value ===
|
|
82
82
|
queryBuilderState.executionContext.defaultRuntime.value
|
|
83
83
|
? undefined
|
|
84
84
|
: runtimePointer.packageableRuntime.value.path, _class.path));
|
|
@@ -110,4 +110,4 @@ export class DataSpaceQueryCreatorStore extends QueryEditorStore {
|
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
//# sourceMappingURL=
|
|
113
|
+
//# sourceMappingURL=DataSpaceQueryCreatorStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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AC;IAED,KAAK,CAAC,sBAAsB;QAC1B,OAAO;YACL,WAAW,EAAE,iBAAiB,0BAA0B,CACtD,IAAI,CAAC,aAAa,CACnB,IAAI,IAAI,CAAC,gBAAgB,GAAG;YAC7B,SAAS,EAAE,CAAC,KAAY,EAAQ,EAAE;gBAChC,KAAK,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC;gBAClB,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;gBAC7B,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;gBACnC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;gBACjC,KAAK,CAAC,YAAY,GAAG;oBACnB,+BAA+B,CAAC,IAAI,CAAC,aAAa,CAAC;iBACpD,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
import type { Class } from '@finos/legend-graph';
|
|
17
17
|
import { type QuerySetupStore, QuerySetupState } from '@finos/legend-application-query';
|
|
18
18
|
import { type GeneratorFn, ActionState } from '@finos/legend-shared';
|
|
19
|
-
import { DataSpaceViewerState } from '../
|
|
20
|
-
import { type DataSpaceInfo } from './
|
|
19
|
+
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
|
20
|
+
import { type DataSpaceInfo } from './DataSpaceInfo.js';
|
|
21
21
|
export declare class DataSpaceQuerySetupState extends QuerySetupState {
|
|
22
22
|
dataSpaces: DataSpaceInfo[];
|
|
23
23
|
loadDataSpacesState: ActionState;
|
|
@@ -33,4 +33,4 @@ export declare class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
33
33
|
loadDataSpace(dataSpace: DataSpaceInfo): GeneratorFn<void>;
|
|
34
34
|
proceedToCreateQuery(_class?: Class): GeneratorFn<void>;
|
|
35
35
|
}
|
|
36
|
-
//# sourceMappingURL=
|
|
36
|
+
//# sourceMappingURL=DataSpaceQuerySetupState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceQuerySetupState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EACL,KAAK,eAAe,EACpB,eAAe,EAEhB,MAAM,iCAAiC,CAAC;AAMzC,OAAO,EACL,KAAK,WAAW,EAEhB,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAI9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,EAAE,KAAK,aAAa,EAAwB,MAAM,oBAAoB,CAAC;AAQ9E,qBAAa,wBAAyB,SAAQ,eAAe;IAC3D,UAAU,EAAE,aAAa,EAAE,CAAM;IACjC,mBAAmB,cAAwB;IAC3C,kBAAkB,cAAwB;IAC1C,gBAAgB,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC7C,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACxD,aAAa,UAAS;gBAEV,UAAU,EAAE,eAAe;IAiBvC,mBAAmB,CAAC,GAAG,EAAE,aAAa,GAAG,SAAS,GAAG,IAAI;IAIzD,uBAAuB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;IAIpE,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAInC,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC;IA2BrD,aAAa,CAAC,SAAS,EAAE,aAAa,GAAG,WAAW,CAAC,IAAI,CAAC;IAqF1D,oBAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC;CAmBzD"}
|
package/lib/stores/query/{DSL_DataSpace_DataSpaceQuerySetupState.js → DataSpaceQuerySetupState.js}
RENAMED
|
@@ -17,13 +17,13 @@ import { QuerySetupState, EXTERNAL_APPLICATION_NAVIGATION__generateStudioProject
|
|
|
17
17
|
import { DepotScope, ProjectData, } from '@finos/legend-server-depot';
|
|
18
18
|
import { ActionState, assertErrorThrown, } from '@finos/legend-shared';
|
|
19
19
|
import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
|
20
|
-
import {
|
|
20
|
+
import { DSL_DataSpace_getGraphManagerExtension } from '../../graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
21
21
|
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
|
|
22
|
-
import { DataSpaceViewerState } from '../
|
|
22
|
+
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
|
23
23
|
import { generateDataSpaceQueryCreatorRoute } from './DSL_DataSpace_LegendQueryRouter.js';
|
|
24
|
-
import { extractDataSpaceInfo
|
|
24
|
+
import { extractDataSpaceInfo } from './DataSpaceInfo.js';
|
|
25
25
|
import { DEFAULT_TYPEAHEAD_SEARCH_LIMIT, DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH, } from '@finos/legend-application';
|
|
26
|
-
import { retrieveAnalyticsResultCache } from '../../graphManager/action/analytics/
|
|
26
|
+
import { retrieveAnalyticsResultCache } from '../../graphManager/action/analytics/DataSpaceAnalysisHelper.js';
|
|
27
27
|
export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
28
28
|
dataSpaces = [];
|
|
29
29
|
loadDataSpacesState = ActionState.create();
|
|
@@ -89,9 +89,9 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
89
89
|
const dependencyEntitiesIndex = (yield flowResult(this.setupStore.depotServerClient.getIndexedDependencyEntities(project, dataSpace.versionId)));
|
|
90
90
|
// analyze data space
|
|
91
91
|
this.loadDataSpaceState.setMessage(`Analyzing data space...`);
|
|
92
|
-
const analysisResult = (yield
|
|
92
|
+
const analysisResult = (yield DSL_DataSpace_getGraphManagerExtension(this.setupStore.graphManagerState.graphManager).analyzeDataSpace(dataSpace.path, entities, dependencyEntitiesIndex, () => retrieveAnalyticsResultCache(dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId, dataSpace.path, this.setupStore.depotServerClient)));
|
|
93
93
|
this.dataSpaceViewerState = new DataSpaceViewerState(dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId, analysisResult, {
|
|
94
|
-
viewProject: (groupId, artifactId, versionId, entityPath) => this.setupStore.applicationStore.navigator.
|
|
94
|
+
viewProject: (groupId, artifactId, versionId, entityPath) => this.setupStore.applicationStore.navigator.visitAddress(EXTERNAL_APPLICATION_NAVIGATION__generateStudioProjectViewUrl(this.setupStore.applicationStore.config.studioUrl, groupId, artifactId, versionId, entityPath)),
|
|
95
95
|
onDiagramClassDoubleClick: (classView) => {
|
|
96
96
|
this.proceedToCreateQuery(classView.class.value);
|
|
97
97
|
},
|
|
@@ -109,7 +109,7 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
109
109
|
}
|
|
110
110
|
*proceedToCreateQuery(_class) {
|
|
111
111
|
if (this.dataSpaceViewerState) {
|
|
112
|
-
this.setupStore.applicationStore.navigator.
|
|
112
|
+
this.setupStore.applicationStore.navigator.goToLocation(generateDataSpaceQueryCreatorRoute(this.dataSpaceViewerState.groupId, this.dataSpaceViewerState.artifactId, this.dataSpaceViewerState.versionId, this.dataSpaceViewerState.dataSpaceAnalysisResult.path, this.dataSpaceViewerState.currentExecutionContext.name, this.dataSpaceViewerState.currentRuntime ===
|
|
113
113
|
this.dataSpaceViewerState.currentExecutionContext.defaultRuntime
|
|
114
114
|
? undefined
|
|
115
115
|
: this.dataSpaceViewerState.currentRuntime.path, _class?.path));
|
|
@@ -117,4 +117,4 @@ export class DataSpaceQuerySetupState extends QuerySetupState {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
//# sourceMappingURL=
|
|
120
|
+
//# sourceMappingURL=DataSpaceQuerySetupState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpaceQuerySetupState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceQuerySetupState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAEL,eAAe,EACf,6DAA6D,GAC9D,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAEL,UAAU,EACV,WAAW,GACZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGL,WAAW,EACX,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,sCAAsC,EAAE,MAAM,6EAA6E,CAAC;AACrI,OAAO,EAAE,kCAAkC,EAAE,MAAM,+EAA+E,CAAC;AACnI,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAsB,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EACL,8BAA8B,EAC9B,8CAA8C,GAC/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,4BAA4B,EAAE,MAAM,gEAAgE,CAAC;AAG9G,MAAM,OAAO,wBAAyB,SAAQ,eAAe;IAC3D,UAAU,GAAoB,EAAE,CAAC;IACjC,mBAAmB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAC3C,kBAAkB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAC1C,gBAAgB,CAA6B;IAC7C,oBAAoB,CAAoC;IACxD,aAAa,GAAG,KAAK,CAAC;IAEtB,YAAY,UAA2B;QACrC,KAAK,CAAC,UAAU,CAAC,CAAC;QAElB,cAAc,CAAC,IAAI,EAAE;YACnB,UAAU,EAAE,UAAU;YACtB,gBAAgB,EAAE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AAC,UAAU,CAAC,gBAAgB,CAAC,SAAS,CAAC,YAAY,CACrD,kCAAkC,CAChC,IAAI,CAAC,oBAAoB,CAAC,OAAO,EACjC,IAAI,CAAC,oBAAoB,CAAC,UAAU,EACpC,IAAI,CAAC,oBAAoB,CAAC,SAAS,EACnC,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,IAAI,EACtD,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,IAAI,EACtD,IAAI,CAAC,oBAAoB,CAAC,cAAc;gBACtC,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,cAAc;gBAChE,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,EACjD,MAAM,EAAE,IAAI,CACb,CACF,CAAC;YACF,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;SAC1C;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -43,30 +43,28 @@
|
|
|
43
43
|
"test:watch": "jest --watch"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@finos/legend-application": "
|
|
47
|
-
"@finos/legend-application-query": "8.1.
|
|
48
|
-
"@finos/legend-application-studio": "18.0.
|
|
49
|
-
"@finos/legend-art": "
|
|
50
|
-
"@finos/legend-extension-dsl-diagram": "7.0.
|
|
51
|
-
"@finos/legend-graph": "
|
|
52
|
-
"@finos/legend-query-builder": "0.
|
|
53
|
-
"@finos/legend-server-depot": "4.1.
|
|
54
|
-
"@finos/legend-shared": "6.1.
|
|
55
|
-
"@finos/legend-storage": "3.0.
|
|
46
|
+
"@finos/legend-application": "9.0.0",
|
|
47
|
+
"@finos/legend-application-query": "8.1.2",
|
|
48
|
+
"@finos/legend-application-studio": "18.0.2",
|
|
49
|
+
"@finos/legend-art": "4.0.0",
|
|
50
|
+
"@finos/legend-extension-dsl-diagram": "7.0.2",
|
|
51
|
+
"@finos/legend-graph": "18.0.0",
|
|
52
|
+
"@finos/legend-query-builder": "0.2.0",
|
|
53
|
+
"@finos/legend-server-depot": "4.1.1",
|
|
54
|
+
"@finos/legend-shared": "6.1.4",
|
|
55
|
+
"@finos/legend-storage": "3.0.13",
|
|
56
56
|
"@types/react": "18.0.21",
|
|
57
57
|
"mobx": "6.6.2",
|
|
58
58
|
"mobx-react-lite": "3.4.0",
|
|
59
59
|
"react": "18.2.0",
|
|
60
60
|
"react-dom": "18.2.0",
|
|
61
|
-
"react-resize-detector": "7.1.2",
|
|
62
|
-
"react-router": "5.3.4",
|
|
63
61
|
"serializr": "2.0.5"
|
|
64
62
|
},
|
|
65
63
|
"devDependencies": {
|
|
66
|
-
"@finos/legend-dev-utils": "2.0.
|
|
64
|
+
"@finos/legend-dev-utils": "2.0.20",
|
|
67
65
|
"@jest/globals": "29.1.2",
|
|
68
66
|
"cross-env": "7.0.3",
|
|
69
|
-
"eslint": "8.
|
|
67
|
+
"eslint": "8.25.0",
|
|
70
68
|
"jest": "29.1.2",
|
|
71
69
|
"npm-run-all": "4.1.5",
|
|
72
70
|
"rimraf": "3.0.2",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
|
|
17
17
|
import { useRef, useEffect, forwardRef } from 'react';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
|
-
import { useResizeDetector } from 'react-resize-detector';
|
|
20
19
|
import {
|
|
21
20
|
BlankPanelContent,
|
|
22
21
|
ShapesIcon,
|
|
@@ -35,6 +34,7 @@ import {
|
|
|
35
34
|
LightBulbIcon,
|
|
36
35
|
InfoCircleIcon,
|
|
37
36
|
ExternalLinkIcon,
|
|
37
|
+
useResizeDetector,
|
|
38
38
|
} from '@finos/legend-art';
|
|
39
39
|
import {
|
|
40
40
|
type Diagram,
|
|
@@ -48,8 +48,8 @@ import {
|
|
|
48
48
|
import {
|
|
49
49
|
type DataSpaceViewerState,
|
|
50
50
|
DATA_SPACE_VIEWER_ACTIVITY_MODE,
|
|
51
|
-
} from '../stores/
|
|
52
|
-
import type { DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/
|
|
51
|
+
} from '../stores/DataSpaceViewerState.js';
|
|
52
|
+
import type { DataSpaceExecutionContextAnalysisResult } from '../graphManager/action/analytics/DataSpaceAnalysis.js';
|
|
53
53
|
import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
54
54
|
|
|
55
55
|
interface DataSpaceViewerActivityConfig {
|
|
@@ -30,19 +30,19 @@ import {
|
|
|
30
30
|
LEGEND_QUERY_APP_EVENT,
|
|
31
31
|
} from '@finos/legend-application-query';
|
|
32
32
|
import { SquareIcon } from '@finos/legend-art';
|
|
33
|
-
import { DataSpaceQuerySetupState } from '../../stores/query/
|
|
34
|
-
import { DataspaceQuerySetup } from './
|
|
33
|
+
import { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState.js';
|
|
34
|
+
import { DataspaceQuerySetup } from './DataSpaceQuerySetup.js';
|
|
35
35
|
import {
|
|
36
36
|
ActionAlertActionType,
|
|
37
37
|
ActionAlertType,
|
|
38
38
|
type ApplicationPageEntry,
|
|
39
39
|
} from '@finos/legend-application';
|
|
40
40
|
import { CREATE_QUERY_FROM_DATA_SPACE_ROUTE_PATTERN } from '../../stores/query/DSL_DataSpace_LegendQueryRouter.js';
|
|
41
|
-
import { DataSpaceQueryCreator } from './
|
|
41
|
+
import { DataSpaceQueryCreator } from './DataSpaceQueryCreator.js';
|
|
42
42
|
import {
|
|
43
43
|
createQueryDataSpaceTaggedValue,
|
|
44
44
|
DataSpaceQueryCreatorStore,
|
|
45
|
-
} from '../../stores/query/
|
|
45
|
+
} from '../../stores/query/DataSpaceQueryCreatorStore.js';
|
|
46
46
|
import {
|
|
47
47
|
Query,
|
|
48
48
|
extractElementNameFromPath,
|
|
@@ -52,8 +52,8 @@ import {
|
|
|
52
52
|
QUERY_PROFILE_PATH,
|
|
53
53
|
QUERY_PROFILE_TAG_DATA_SPACE,
|
|
54
54
|
} from '../../DSL_DataSpace_Const.js';
|
|
55
|
-
import { DataSpaceQueryBuilderState } from '../../stores/query/
|
|
56
|
-
import type { DataSpaceInfo } from '../../stores/query/
|
|
55
|
+
import { DataSpaceQueryBuilderState } from '../../stores/query/DataSpaceQueryBuilderState.js';
|
|
56
|
+
import type { DataSpaceInfo } from '../../stores/query/DataSpaceInfo.js';
|
|
57
57
|
import { getOwnDataSpace } from '../../graphManager/DSL_DataSpace_GraphManagerHelper.js';
|
|
58
58
|
import { assertErrorThrown, LogEvent, uuid } from '@finos/legend-shared';
|
|
59
59
|
import type { QueryBuilderState } from '@finos/legend-query-builder';
|
|
@@ -205,10 +205,8 @@ export class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryAppli
|
|
|
205
205
|
LegendQueryEventService.create(
|
|
206
206
|
editorStore.applicationStore.eventService,
|
|
207
207
|
).notify_QueryCreated({ queryId: newQuery.id });
|
|
208
|
-
editorStore.applicationStore.navigator.
|
|
209
|
-
|
|
210
|
-
generateExistingQueryEditorRoute(newQuery.id),
|
|
211
|
-
),
|
|
208
|
+
editorStore.applicationStore.navigator.reloadToLocation(
|
|
209
|
+
generateExistingQueryEditorRoute(newQuery.id),
|
|
212
210
|
);
|
|
213
211
|
} else {
|
|
214
212
|
await editorStore.graphManagerState.graphManager.updateQuery(
|
package/src/components/query/{DSL_DataSpace_DataSpaceQueryBuilder.tsx → DataSpaceQueryBuilder.tsx}
RENAMED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from '@finos/legend-art';
|
|
30
30
|
import { observer } from 'mobx-react-lite';
|
|
31
31
|
import { useApplicationStore } from '@finos/legend-application';
|
|
32
|
-
import type { DataSpaceQueryBuilderState } from '../../stores/query/
|
|
32
|
+
import type { DataSpaceQueryBuilderState } from '../../stores/query/DataSpaceQueryBuilderState.js';
|
|
33
33
|
import {
|
|
34
34
|
buildRuntimeValueOption,
|
|
35
35
|
getRuntimeOptionFormatter,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
PackageableElementExplicitReference,
|
|
43
43
|
RuntimePointer,
|
|
44
44
|
} from '@finos/legend-graph';
|
|
45
|
-
import type { DataSpaceInfo } from '../../stores/query/
|
|
45
|
+
import type { DataSpaceInfo } from '../../stores/query/DataSpaceInfo.js';
|
|
46
46
|
import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
47
47
|
import { useEffect, useMemo, useState } from 'react';
|
|
48
48
|
import { debounce, guaranteeType } from '@finos/legend-shared';
|
package/src/components/query/{DSL_DataSpace_DataSpaceQueryCreator.tsx → DataSpaceQueryCreator.tsx}
RENAMED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import { observer, useLocalObservable } from 'mobx-react-lite';
|
|
18
18
|
import { getQueryParameters } from '@finos/legend-shared';
|
|
19
|
-
import { useApplicationStore } from '@finos/legend-application';
|
|
19
|
+
import { useApplicationStore, useParams } from '@finos/legend-application';
|
|
20
20
|
import { useDepotServerClient } from '@finos/legend-server-depot';
|
|
21
21
|
import {
|
|
22
22
|
LEGEND_QUERY_PATH_PARAM_TOKEN,
|
|
@@ -24,8 +24,7 @@ import {
|
|
|
24
24
|
QueryEditorStoreContext,
|
|
25
25
|
useLegendQueryApplicationStore,
|
|
26
26
|
} from '@finos/legend-application-query';
|
|
27
|
-
import {
|
|
28
|
-
import { DataSpaceQueryCreatorStore } from '../../stores/query/DSL_DataSpace_DataSpaceQueryCreatorStore.js';
|
|
27
|
+
import { DataSpaceQueryCreatorStore } from '../../stores/query/DataSpaceQueryCreatorStore.js';
|
|
29
28
|
import {
|
|
30
29
|
type DataSpaceQueryCreatorPathParams,
|
|
31
30
|
type DataSpaceQueryEditorQueryParams,
|
|
@@ -83,7 +82,7 @@ export const DataSpaceQueryCreator = observer(() => {
|
|
|
83
82
|
params[DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN.EXECUTION_CONTEXT];
|
|
84
83
|
const runtimePath = params[LEGEND_QUERY_PATH_PARAM_TOKEN.RUNTIME_PATH];
|
|
85
84
|
const classPath = getQueryParameters<DataSpaceQueryEditorQueryParams>(
|
|
86
|
-
applicationStore.navigator.
|
|
85
|
+
applicationStore.navigator.getCurrentAddress(),
|
|
87
86
|
true,
|
|
88
87
|
)[DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH];
|
|
89
88
|
|
package/src/components/query/{DSL_DataSpace_DataSpaceQuerySetup.tsx → DataSpaceQuerySetup.tsx}
RENAMED
|
@@ -33,9 +33,9 @@ import { debounce } from '@finos/legend-shared';
|
|
|
33
33
|
import { flowResult } from 'mobx';
|
|
34
34
|
import { observer } from 'mobx-react-lite';
|
|
35
35
|
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
36
|
-
import type { DataSpaceQuerySetupState } from '../../stores/query/
|
|
37
|
-
import { DataSpaceViewer } from '../
|
|
38
|
-
import type { DataSpaceInfo } from '../../stores/query/
|
|
36
|
+
import type { DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupState.js';
|
|
37
|
+
import { DataSpaceViewer } from '../DataSpaceViewer.js';
|
|
38
|
+
import type { DataSpaceInfo } from '../../stores/query/DataSpaceInfo.js';
|
|
39
39
|
|
|
40
40
|
type DataSpaceOption = { label: string; value: DataSpaceInfo };
|
|
41
41
|
const buildDataSpaceOption = (value: DataSpaceInfo): DataSpaceOption => ({
|
|
File without changes
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import { getExpectedArtifactGenerationExtensionOutputPath } from '@finos/legend-graph';
|
|
18
18
|
import type { DepotServerClient } from '@finos/legend-server-depot';
|
|
19
19
|
import type { PlainObject } from '@finos/legend-shared';
|
|
20
|
-
import type { DataSpaceAnalysisResult } from './
|
|
20
|
+
import type { DataSpaceAnalysisResult } from './DataSpaceAnalysis.js';
|
|
21
21
|
|
|
22
22
|
const DATASPACE_ANALYTICS_FILE_NAME = 'AnalyticsResult.json';
|
|
23
23
|
const V1_DATASPACE_ANALYTICS_ARTIFACT_EXTENSION_KEY = 'dataSpace-analytics';
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from '@finos/legend-graph';
|
|
21
21
|
import type { Entity } from '@finos/legend-storage';
|
|
22
22
|
import { guaranteeNonNullable, type PlainObject } from '@finos/legend-shared';
|
|
23
|
-
import type { DataSpaceAnalysisResult } from '../../action/analytics/
|
|
23
|
+
import type { DataSpaceAnalysisResult } from '../../action/analytics/DataSpaceAnalysis.js';
|
|
24
24
|
|
|
25
25
|
export abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
|
|
26
26
|
abstract analyzeDataSpace(
|
|
@@ -31,7 +31,7 @@ export abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPu
|
|
|
31
31
|
): Promise<DataSpaceAnalysisResult>;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export const
|
|
34
|
+
export const DSL_DataSpace_getGraphManagerExtension = (
|
|
35
35
|
graphManager: AbstractPureGraphManager,
|
|
36
36
|
): DSL_DataSpace_PureGraphManagerExtension =>
|
|
37
37
|
guaranteeNonNullable(
|
|
@@ -49,9 +49,9 @@ import {
|
|
|
49
49
|
DataSpaceExecutionContextAnalysisResult,
|
|
50
50
|
DataSpaceStereotypeInfo,
|
|
51
51
|
DataSpaceTaggedValueInfo,
|
|
52
|
-
} from '../../../action/analytics/
|
|
52
|
+
} from '../../../action/analytics/DataSpaceAnalysis.js';
|
|
53
53
|
import { DSL_DataSpace_PureGraphManagerExtension } from '../DSL_DataSpace_PureGraphManagerExtension.js';
|
|
54
|
-
import { V1_DataSpaceAnalysisResult } from './engine/analytics/
|
|
54
|
+
import { V1_DataSpaceAnalysisResult } from './engine/analytics/V1_DataSpaceAnalysis.js';
|
|
55
55
|
|
|
56
56
|
const ANALYZE_DATA_SPACE_TRACE = 'analyze data space';
|
|
57
57
|
|
|
@@ -24,8 +24,8 @@ import {
|
|
|
24
24
|
primitive,
|
|
25
25
|
SKIP,
|
|
26
26
|
} from 'serializr';
|
|
27
|
-
import type { V1_DataSpaceSupportInfo } from '
|
|
28
|
-
import { V1_deserializeSupportInfo } from '
|
|
27
|
+
import type { V1_DataSpaceSupportInfo } from '../../model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js';
|
|
28
|
+
import { V1_deserializeSupportInfo } from '../../transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js';
|
|
29
29
|
|
|
30
30
|
class V1_DataSpaceTaggedValueInfo {
|
|
31
31
|
profile!: string;
|
package/src/index.ts
CHANGED
|
@@ -18,17 +18,17 @@ export * from './DSL_DataSpace_Extension.js';
|
|
|
18
18
|
export { DSL_DataSpace_LegendStudioApplicationPlugin } from './components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js';
|
|
19
19
|
export { DSL_DataSpace_LegendQueryApplicationPlugin } from './components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js';
|
|
20
20
|
|
|
21
|
-
export { DataSpaceViewer } from './components/
|
|
21
|
+
export { DataSpaceViewer } from './components/DataSpaceViewer.js';
|
|
22
22
|
|
|
23
23
|
export {
|
|
24
24
|
DATA_SPACE_ELEMENT_CLASSIFIER_PATH,
|
|
25
25
|
extractDataSpaceTaxonomyNodes,
|
|
26
26
|
} from './graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
|
|
27
27
|
|
|
28
|
-
export { DataSpaceViewerState } from './stores/
|
|
28
|
+
export { DataSpaceViewerState } from './stores/DataSpaceViewerState.js';
|
|
29
29
|
|
|
30
30
|
export * from './graphManager/DSL_DataSpace_GraphManagerHelper.js';
|
|
31
|
-
export {
|
|
32
|
-
export * from './graphManager/action/analytics/
|
|
31
|
+
export { DSL_DataSpace_getGraphManagerExtension } from './graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
|
32
|
+
export * from './graphManager/action/analytics/DataSpaceAnalysis.js';
|
|
33
33
|
|
|
34
|
-
export * from './graphManager/action/analytics/
|
|
34
|
+
export * from './graphManager/action/analytics/DataSpaceAnalysisHelper.js';
|
|
@@ -29,7 +29,7 @@ import { action, computed, makeObservable, observable } from 'mobx';
|
|
|
29
29
|
import type {
|
|
30
30
|
DataSpaceAnalysisResult,
|
|
31
31
|
DataSpaceExecutionContextAnalysisResult,
|
|
32
|
-
} from '../graphManager/action/analytics/
|
|
32
|
+
} from '../graphManager/action/analytics/DataSpaceAnalysis.js';
|
|
33
33
|
|
|
34
34
|
export enum DATA_SPACE_VIEWER_ACTIVITY_MODE {
|
|
35
35
|
MODELS_OVERVIEW = 'MODELS_OVERVIEW',
|
|
@@ -14,10 +14,12 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import {
|
|
18
|
+
generateExtensionUrlPattern,
|
|
19
|
+
generatePath,
|
|
20
|
+
} from '@finos/legend-application';
|
|
18
21
|
import { LEGEND_QUERY_PATH_PARAM_TOKEN } from '@finos/legend-application-query';
|
|
19
22
|
import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
20
|
-
import { generatePath } from 'react-router';
|
|
21
23
|
|
|
22
24
|
export enum DATA_SPACE_QUERY_CREATOR_PATH_PARAM_TOKEN {
|
|
23
25
|
DATA_SPACE_PATH = 'dataSpacePath',
|
|
File without changes
|