@finos/legend-extension-dsl-data-space 9.0.2 → 9.0.4

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.
Files changed (33) hide show
  1. package/lib/components/DataSpaceViewer.d.ts +1 -0
  2. package/lib/components/DataSpaceViewer.d.ts.map +1 -1
  3. package/lib/components/query/DataSpaceAdvancedSearchModal.d.ts +1 -0
  4. package/lib/components/query/DataSpaceAdvancedSearchModal.d.ts.map +1 -1
  5. package/lib/components/query/DataSpaceAdvancedSearchModal.js +2 -2
  6. package/lib/components/query/DataSpaceAdvancedSearchModal.js.map +1 -1
  7. package/lib/components/query/DataSpaceQueryCreator.d.ts +1 -0
  8. package/lib/components/query/DataSpaceQueryCreator.d.ts.map +1 -1
  9. package/lib/components/query/DataSpaceQuerySetup.d.ts +1 -0
  10. package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
  11. package/lib/graphManager/action/analytics/DataSpaceAnalysisHelper.d.ts +2 -2
  12. package/lib/graphManager/action/analytics/DataSpaceAnalysisHelper.d.ts.map +1 -1
  13. package/lib/graphManager/action/analytics/DataSpaceAnalysisHelper.js +1 -1
  14. package/lib/graphManager/action/analytics/DataSpaceAnalysisHelper.js.map +1 -1
  15. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts +2 -2
  16. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
  17. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js +1 -1
  18. package/lib/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
  19. package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts +2 -2
  20. package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
  21. package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +14 -8
  22. package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
  23. package/lib/index.css +1 -1
  24. package/lib/package.json +2 -2
  25. package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts.map +1 -1
  26. package/lib/stores/query/DataSpaceAdvancedSearchState.js +2 -9
  27. package/lib/stores/query/DataSpaceAdvancedSearchState.js.map +1 -1
  28. package/package.json +11 -11
  29. package/src/components/query/DataSpaceAdvancedSearchModal.tsx +14 -7
  30. package/src/graphManager/action/analytics/DataSpaceAnalysisHelper.ts +6 -5
  31. package/src/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts +7 -3
  32. package/src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +16 -10
  33. package/src/stores/query/DataSpaceAdvancedSearchState.ts +10 -24
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import { type DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
17
18
  export declare const DataSpaceViewer: ((props: {
18
19
  dataSpaceViewerState: DataSpaceViewerState;
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AAya3C,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAuLvD,CAAC"}
1
+ {"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,mCAAmC,CAAC;AAya3C,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAuLvD,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import type { DataSpaceAdvancedSearchState } from '../../stores/query/DataSpaceAdvancedSearchState.js';
17
18
  export declare const DataSpaceAdvancedSearchModal: ((props: {
18
19
  searchState: DataSpaceAdvancedSearchState;
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceAdvancedSearchModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuBH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAQvG,eAAO,MAAM,4BAA4B,WAC/B;IACN,WAAW,EAAE,4BAA4B,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;;CAsMF,CAAC"}
1
+ {"version":3,"file":"DataSpaceAdvancedSearchModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA2BH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAQvG,eAAO,MAAM,4BAA4B,WAC/B;IACN,WAAW,EAAE,4BAA4B,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;;CAyMF,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
15
15
  * limitations under the License.
16
16
  */
17
17
  import { useApplicationStore } from '@finos/legend-application';
18
- import { BoltIcon, clsx, BlankPanelContent, TimesCircleIcon, PanelLoadingIndicator, CustomSelectorInput, SearchIcon, Dialog, TimesIcon, ArrowRightIcon, } from '@finos/legend-art';
18
+ import { BoltIcon, clsx, BlankPanelContent, TimesCircleIcon, PanelLoadingIndicator, CustomSelectorInput, SearchIcon, Dialog, TimesIcon, ArrowRightIcon, Modal, ModalHeader, ModalTitle, ModalHeaderActions, } from '@finos/legend-art';
19
19
  import { generateGAVCoordinates } from '@finos/legend-storage';
20
20
  import { debounce } from '@finos/legend-shared';
21
21
  import { flowResult } from 'mobx';
@@ -75,7 +75,7 @@ export const DataSpaceAdvancedSearchModal = observer((props) => {
75
75
  paper: 'editor-modal__content data-space-advanced-search__dialog__container__content',
76
76
  }, TransitionProps: {
77
77
  onEnter: handleEnter,
78
- }, children: _jsxs("div", { className: "modal modal--dark editor-modal data-space-advanced-search__dialog", children: [_jsxs("div", { className: "data-space-advanced-search__dialog__header modal__header", children: [_jsx("div", { className: "modal__title", children: "Search for data space" }), _jsx("div", { className: "modal__header__actions", children: _jsx("button", { className: "modal__header__action", title: "Close", onClick: onClose, children: _jsx(TimesIcon, {}) }) })] }), _jsxs("div", { className: "data-space-advanced-search__dialog__content", children: [_jsxs("div", { className: "data-space-advanced-search__dialog__input", children: [_jsx("div", { className: "data-space-advanced-search__dialog__input__icon", children: _jsx(SearchIcon, {}) }), _jsx(CustomSelectorInput, { ref: dataSpaceSearchRef, className: "data-space-advanced-search__dialog__input__selector", options: dataSpaceOptions, isLoading: searchState.loadDataSpacesState.isInProgress, onInputChange: onSearchTextChange, inputValue: searchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space by name...", isClearable: true, escapeClearsValue: true, darkMode: true, formatOptionLabel: formatDataSpaceOptionLabel }), _jsx("button", { className: clsx('data-space-advanced-search__dialog__input__use-snapshot-btn', {
78
+ }, children: _jsxs(Modal, { darkMode: true, className: "editor-modal data-space-advanced-search__dialog", children: [_jsxs(ModalHeader, { className: "data-space-advanced-search__dialog__header", children: [_jsx(ModalTitle, { title: "Search for data space " }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", title: "Close", onClick: onClose, children: _jsx(TimesIcon, {}) }) })] }), _jsxs("div", { className: "data-space-advanced-search__dialog__content", children: [_jsxs("div", { className: "data-space-advanced-search__dialog__input", children: [_jsx("div", { className: "data-space-advanced-search__dialog__input__icon", children: _jsx(SearchIcon, {}) }), _jsx(CustomSelectorInput, { ref: dataSpaceSearchRef, className: "data-space-advanced-search__dialog__input__selector", options: dataSpaceOptions, isLoading: searchState.loadDataSpacesState.isInProgress, onInputChange: onSearchTextChange, inputValue: searchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space by name...", isClearable: true, escapeClearsValue: true, darkMode: true, formatOptionLabel: formatDataSpaceOptionLabel }), _jsx("button", { className: clsx('data-space-advanced-search__dialog__input__use-snapshot-btn', {
79
79
  'data-space-advanced-search__dialog__input__use-snapshot-btn--active': searchState.toGetSnapShot,
80
80
  }), tabIndex: -1, title: `[${searchState.toGetSnapShot ? 'on' : 'off'}] Toggle show data spaces from snapshot releases instead of latest releases`, onClick: toggleGetSnapshot, children: _jsx(BoltIcon, {}) }), _jsx("button", { className: "data-space-advanced-search__dialog__input__proceed-btn", tabIndex: -1, title: "Proceed to create query", onClick: proceedToCreateQuery, children: _jsx(ArrowRightIcon, {}) })] }), _jsxs("div", { className: "data-space-advanced-search__dialog__view", children: [_jsx(PanelLoadingIndicator, { isLoading: searchState.loadDataSpaceState.isInProgress }), searchState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: searchState.dataSpaceViewerState })), !searchState.dataSpaceViewerState && (_jsxs(_Fragment, { children: [searchState.loadDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: searchState.loadDataSpaceState.message })), searchState.loadDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "data-space-advanced-search__dialog__view--failed", children: [_jsx("div", { className: "data-space-advanced-search__dialog__view--failed__icon", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { className: "data-space-advanced-search__dialog__view--failed__text", children: "Can't load data space" })] }) }))] }))] })] })] }) }));
81
81
  });
@@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a,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KACrC,6EAA6E,EAC7E,OAAO,EAAE,iBAAiB,YAE1B,KAAC,QAAQ,KAAG,GACL,EACT,iBACE,SAAS,EAAC,wDAAwD,EAClE,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,yBAAyB,EAC/B,OAAO,EAAE,oBAAoB,YAE7B,KAAC,cAAc,KAAG,GACX,IACL,EACN,eAAK,SAAS,EAAC,0CAA0C,aACvD,KAAC,qBAAqB,IACpB,SAAS,EAAE,WAAW,CAAC,kBAAkB,CAAC,YAAY,GACtD,EACD,WAAW,CAAC,oBAAoB,IAAI,CACnC,KAAC,eAAe,IACd,oBAAoB,EAAE,WAAW,CAAC,oBAAoB,GACtD,CACH,EACA,CAAC,WAAW,CAAC,oBAAoB,IAAI,CACpC,8BACG,WAAW,CAAC,kBAAkB,CAAC,YAAY,IAAI,CAC9C,KAAC,iBAAiB,cACf,WAAW,CAAC,kBAAkB,CAAC,OAAO,GACrB,CACrB,EACA,WAAW,CAAC,kBAAkB,CAAC,SAAS,IAAI,CAC3C,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,kDAAkD,aAC/D,cAAK,SAAS,EAAC,wDAAwD,YACrE,KAAC,eAAe,KAAG,GACf,EACN,cAAK,SAAS,EAAC,wDAAwD,sCAEjE,IACF,GACY,CACrB,IACA,CACJ,IACG,IACF,IACF,GACC,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DataSpaceAdvancedSearchModal.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,MAAM,EACN,SAAS,EACT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oBAAoB,YAE7B,KAAC,cAAc,KAAG,GACX,IACL,EACN,eAAK,SAAS,EAAC,0CAA0C,aACvD,KAAC,qBAAqB,IACpB,SAAS,EAAE,WAAW,CAAC,kBAAkB,CAAC,YAAY,GACtD,EACD,WAAW,CAAC,oBAAoB,IAAI,CACnC,KAAC,eAAe,IACd,oBAAoB,EAAE,WAAW,CAAC,oBAAoB,GACtD,CACH,EACA,CAAC,WAAW,CAAC,oBAAoB,IAAI,CACpC,8BACG,WAAW,CAAC,kBAAkB,CAAC,YAAY,IAAI,CAC9C,KAAC,iBAAiB,cACf,WAAW,CAAC,kBAAkB,CAAC,OAAO,GACrB,CACrB,EACA,WAAW,CAAC,kBAAkB,CAAC,SAAS,IAAI,CAC3C,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,kDAAkD,aAC/D,cAAK,SAAS,EAAC,wDAAwD,YACrE,KAAC,eAAe,KAAG,GACf,EACN,cAAK,SAAS,EAAC,wDAAwD,sCAEjE,IACF,GACY,CACrB,IACA,CACJ,IACG,IACF,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  export declare const DataSpaceQueryCreator: (() => JSX.Element) & {
17
18
  displayName: string;
18
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryCreator.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryCreator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4DH,eAAO,MAAM,qBAAqB;;CAyBhC,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryCreator.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryCreator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA4DH,eAAO,MAAM,qBAAqB;;CAyBhC,CAAC"}
@@ -13,6 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="react" resolution-mode="require"/>
16
17
  import { type DataSpaceQuerySetupState } from '../../stores/query/DataSpaceQuerySetupStore.js';
17
18
  export declare const DataSpaceQuerySetup: (() => JSX.Element) & {
18
19
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoBH,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,gDAAgD,CAAC;AAuBxD,eAAO,MAAM,mBAAmB;;CAI9B,CAAC;AA+GH,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}
1
+ {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAoBH,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,gDAAgD,CAAC;AAuBxD,eAAO,MAAM,mBAAmB;;CAI9B,CAAC;AA+GH,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,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 { DepotServerClient } from '@finos/legend-server-depot';
16
+ import type { DepotServerClient, ProjectData } from '@finos/legend-server-depot';
17
17
  import type { PlainObject } from '@finos/legend-shared';
18
18
  import type { DataSpaceAnalysisResult } from './DataSpaceAnalysis.js';
19
- export declare const retrieveAnalyticsResultCache: (groupId: string, artifactId: string, versionId: string, dataSpacePath: string, depotServerClient: DepotServerClient) => Promise<PlainObject<DataSpaceAnalysisResult>>;
19
+ export declare const retrieveAnalyticsResultCache: (project: ProjectData, versionId: string, dataSpacePath: string, depotServerClient: DepotServerClient) => Promise<PlainObject<DataSpaceAnalysisResult>>;
20
20
  //# sourceMappingURL=DataSpaceAnalysisHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceAnalysisHelper.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/DataSpaceAnalysisHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAKtE,eAAO,MAAM,4BAA4B,YAC9B,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,qBACF,iBAAiB,KACnC,QAAQ,YAAY,uBAAuB,CAAC,CAY5C,CAAC"}
1
+ {"version":3,"file":"DataSpaceAnalysisHelper.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/DataSpaceAnalysisHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,iBAAiB,EACjB,WAAW,EACZ,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,WAAW,aACT,MAAM,iBACF,MAAM,qBACF,iBAAiB,KACnC,QAAQ,YAAY,uBAAuB,CAAC,CAW5C,CAAC"}
@@ -16,5 +16,5 @@
16
16
  import { getExpectedArtifactGenerationExtensionOutputPath } from '@finos/legend-graph';
17
17
  const DATASPACE_ANALYTICS_FILE_NAME = 'AnalyticsResult.json';
18
18
  const V1_DATASPACE_ANALYTICS_ARTIFACT_EXTENSION_KEY = 'dataSpace-analytics';
19
- export const retrieveAnalyticsResultCache = async (groupId, artifactId, versionId, dataSpacePath, depotServerClient) => JSON.parse(await depotServerClient.getGenerationContentByPath(groupId, artifactId, versionId, getExpectedArtifactGenerationExtensionOutputPath(dataSpacePath, V1_DATASPACE_ANALYTICS_ARTIFACT_EXTENSION_KEY, DATASPACE_ANALYTICS_FILE_NAME)));
19
+ 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)));
20
20
  //# sourceMappingURL=DataSpaceAnalysisHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceAnalysisHelper.js","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/DataSpaceAnalysisHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gDAAgD,EAAE,MAAM,qBAAqB,CAAC;AAKvF,MAAM,6BAA6B,GAAG,sBAAsB,CAAC;AAC7D,MAAM,6CAA6C,GAAG,qBAAqB,CAAC;AAE5E,MAAM,CAAC,MAAM,4BAA4B,GAAG,KAAK,EAC/C,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,iBAAoC,EACW,EAAE,CACjD,IAAI,CAAC,KAAK,CACR,MAAM,iBAAiB,CAAC,0BAA0B,CAChD,OAAO,EACP,UAAU,EACV,SAAS,EACT,gDAAgD,CAC9C,aAAa,EACb,6CAA6C,EAC7C,6BAA6B,CAC9B,CACF,CACF,CAAC"}
1
+ {"version":3,"file":"DataSpaceAnalysisHelper.js","sourceRoot":"","sources":["../../../../src/graphManager/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,OAAoB,EACpB,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"}
@@ -15,10 +15,10 @@
15
15
  */
16
16
  import { type AbstractPureGraphManager, AbstractPureGraphManagerExtension } from '@finos/legend-graph';
17
17
  import type { Entity } from '@finos/legend-storage';
18
- import { type PlainObject } from '@finos/legend-shared';
18
+ import { type ActionState, type PlainObject } from '@finos/legend-shared';
19
19
  import type { DataSpaceAnalysisResult } from '../../action/analytics/DataSpaceAnalysis.js';
20
20
  export declare abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
21
- abstract analyzeDataSpace(dataSpacePath: string, entities: Entity[], dependencyEntitiesIndex: Map<string, Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>): Promise<DataSpaceAnalysisResult>;
21
+ abstract analyzeDataSpace(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult>;
22
22
  }
23
23
  export declare const DSL_DataSpace_getGraphManagerExtension: (graphManager: AbstractPureGraphManager) => DSL_DataSpace_PureGraphManagerExtension;
24
24
  //# sourceMappingURL=DSL_DataSpace_PureGraphManagerExtension.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,iCAAiC,EAClC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAwB,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAE3F,8BAAsB,uCAAwC,SAAQ,iCAAiC;IACrG,QAAQ,CAAC,gBAAgB,CACvB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAC9C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,GACnE,OAAO,CAAC,uBAAuB,CAAC;CACpC;AAED,eAAO,MAAM,sCAAsC,iBACnC,wBAAwB,KACrC,uCAO2C,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,iCAAiC,EAClC,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;CACpC;AAED,eAAO,MAAM,sCAAsC,iBACnC,wBAAwB,KACrC,uCAO2C,CAAC"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { AbstractPureGraphManagerExtension, } from '@finos/legend-graph';
17
- import { guaranteeNonNullable } from '@finos/legend-shared';
17
+ import { guaranteeNonNullable, } from '@finos/legend-shared';
18
18
  export class DSL_DataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
19
19
  }
20
20
  export const DSL_DataSpace_getGraphManagerExtension = (graphManager) => guaranteeNonNullable(graphManager.extensions.find((extension) => extension instanceof DSL_DataSpace_PureGraphManagerExtension), `Can't find DSL Data Space Pure graph manager extension`);
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,oBAAoB,EAAoB,MAAM,sBAAsB,CAAC;AAG9E,MAAM,OAAgB,uCAAwC,SAAQ,iCAAiC;CAOtG;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,CACd,CAAC"}
1
+ {"version":3,"file":"DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,iCAAiC,GAClC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,oBAAoB,GAGrB,MAAM,sBAAsB,CAAC;AAG9B,MAAM,OAAgB,uCAAwC,SAAQ,iCAAiC;CAOtG;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,CACd,CAAC"}
@@ -15,14 +15,14 @@
15
15
  */
16
16
  import { V1_PureGraphManager, type AbstractPureGraphManager } from '@finos/legend-graph';
17
17
  import type { Entity } from '@finos/legend-storage';
18
- import { type PlainObject } from '@finos/legend-shared';
18
+ import { ActionState, type PlainObject } from '@finos/legend-shared';
19
19
  import { DataSpaceAnalysisResult } from '../../../action/analytics/DataSpaceAnalysis.js';
20
20
  import { DSL_DataSpace_PureGraphManagerExtension } from '../DSL_DataSpace_PureGraphManagerExtension.js';
21
21
  export declare class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_PureGraphManagerExtension {
22
22
  graphManager: V1_PureGraphManager;
23
23
  constructor(graphManager: AbstractPureGraphManager);
24
24
  getSupportedProtocolVersion(): string;
25
- analyzeDataSpace(dataSpacePath: string, entities: Entity[], dependencyEntitiesIndex: Map<string, Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>): Promise<DataSpaceAnalysisResult>;
25
+ analyzeDataSpace(dataSpacePath: string, entitiesRetriever: () => Promise<Entity[]>, cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>, actionState?: ActionState): Promise<DataSpaceAnalysisResult>;
26
26
  private buildDataSpaceAnalytics;
27
27
  }
28
28
  //# sourceMappingURL=V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,mBAAmB,EAEnB,KAAK,wBAAwB,EAU9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EASL,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,uBAAuB,EAIxB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AAKxG,qBAAa,0CAA2C,SAAQ,uCAAuC;IAC7F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAI/B,gBAAgB,CACpB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,MAAM,EAAE,EAClB,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAC9C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC,GACnE,OAAO,CAAC,uBAAuB,CAAC;YA0CrB,uBAAuB;CAuKtC"}
1
+ {"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,mBAAmB,EAEnB,KAAK,wBAAwB,EAU9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,WAAW,EAQX,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,uBAAuB,EAIxB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AAKxG,qBAAa,0CAA2C,SAAQ,uCAAuC;IAC7F,YAAY,EAAE,mBAAmB,CAAC;gBAE9B,YAAY,EAAE,wBAAwB;IAKlD,2BAA2B,IAAI,MAAM;IAI/B,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;YAgDrB,uBAAuB;CAuKtC"}
@@ -30,10 +30,11 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
30
30
  getSupportedProtocolVersion() {
31
31
  return PureClientVersion.V1_0_0;
32
32
  }
33
- async analyzeDataSpace(dataSpacePath, entities, dependencyEntitiesIndex, cacheRetriever) {
33
+ async analyzeDataSpace(dataSpacePath, entitiesRetriever, cacheRetriever, actionState) {
34
34
  let cachResult;
35
35
  if (cacheRetriever) {
36
36
  try {
37
+ actionState?.setMessage('Fetching data space analysis result from cache...');
37
38
  cachResult = await cacheRetriever();
38
39
  }
39
40
  catch (error) {
@@ -42,18 +43,23 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
42
43
  }
43
44
  }
44
45
  const engineClient = this.graphManager.engine.getEngineServerClient();
45
- const analysisResult = cachResult ??
46
- (await engineClient.postWithTracing(engineClient.getTraceData(ANALYZE_DATA_SPACE_TRACE), `${engineClient._pure()}/analytics/dataSpace/render`, {
46
+ let analysisResult;
47
+ if (cachResult) {
48
+ analysisResult = cachResult;
49
+ }
50
+ else {
51
+ actionState?.setMessage('Fetching project entities and dependencies...');
52
+ const entities = await entitiesRetriever();
53
+ actionState?.setMessage('Analyzing data space...');
54
+ analysisResult = await engineClient.postWithTracing(engineClient.getTraceData(ANALYZE_DATA_SPACE_TRACE), `${engineClient._pure()}/analytics/dataSpace/render`, {
47
55
  clientVersion: V1_PureGraphManager.TARGET_PROTOCOL_VERSION,
48
56
  dataSpace: dataSpacePath,
49
57
  model: {
50
58
  _type: V1_PureModelContextType.DATA,
51
- elements: Array.from(dependencyEntitiesIndex.values())
52
- .flat()
53
- .concat(entities)
54
- .map((entity) => entity.content),
59
+ elements: entities.map((entity) => entity.content),
55
60
  },
56
- }, {}, undefined, undefined, { enableCompression: true }));
61
+ }, {}, undefined, undefined, { enableCompression: true });
62
+ }
57
63
  return this.buildDataSpaceAnalytics(V1_DataSpaceAnalysisResult.serialization.fromJson(analysisResult));
58
64
  }
59
65
  async buildDataSpaceAnalytics(analysisResult) {
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.js","sourceRoot":"","sources":["../../../../../src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EAEjB,SAAS,EACT,WAAW,EACX,UAAU,EACV,gCAAgC,EAChC,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,QAAQ,EACR,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,QAAQ,EACR,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,iGAAiG,CAAC;AACxI,OAAO,EAAE,wBAAwB,EAAE,MAAM,6GAA6G,CAAC;AACvJ,OAAO,EACL,uBAAuB,EACvB,uCAAuC,EACvC,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,gDAAg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;YACxD,qBAAqB,CAAC,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAClE,qBAAqB,CAAC,cAAc,GAAG,KAAK,CAAC,UAAU,CACrD,OAAO,CAAC,cAAc,CACvB,CAAC;YACF,qBAAqB,CAAC,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC,GAAG,CACvE,CAAC,OAAO,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CACvC,CAAC;YACF,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAC/B,qBAAqB,CAAC,IAAI,EAC1B,qBAAqB,CACtB,CAAC;QACJ,CAAC,CAAC,CAAC;QACH,MAAM,CAAC,uBAAuB,GAAG,oBAAoB,CACnD,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAC1E,CAAC;QAEF,yBAAyB;QACzB,MAAM,CAAC,gBAAgB,GAAG,cAAc,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACrE,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CACxB,CAAC;QAEF,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v9.0.2
1
+ /** @license @finos/legend-extension-dsl-data-space v9.0.4
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "9.0.2",
3
+ "version": "9.0.4",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -53,7 +53,7 @@
53
53
  "@finos/legend-server-depot": "workspace:*",
54
54
  "@finos/legend-shared": "workspace:*",
55
55
  "@finos/legend-storage": "workspace:*",
56
- "@types/react": "18.0.23",
56
+ "@types/react": "18.0.24",
57
57
  "mobx": "6.6.2",
58
58
  "mobx-react-lite": "3.4.0",
59
59
  "react": "18.2.0",
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceAdvancedSearchState.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceAdvancedSearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAEpE,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,4BAA4B,CAAC;AACpC,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;AAC9E,OAAO,EAGL,KAAK,6BAA6B,EACnC,MAAM,2BAA2B,CAAC;AAInC,qBAAa,4BAA4B;IACvC,QAAQ,CAAC,gBAAgB,EAAE,6BAA6B,CAAC;IACzD,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,WAAW,EAAE,CACpB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GAAG,SAAS,KAC3B,IAAI,CAAC;IACV,QAAQ,CAAC,eAAe,EAAE,CACxB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GAAG,SAAS,KAC3B,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnB,UAAU,EAAE,aAAa,EAAE,CAAM;IACjC,QAAQ,CAAC,mBAAmB,cAAwB;IACpD,QAAQ,CAAC,kBAAkB,cAAwB;IACnD,gBA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V,eAAe,EAAE,CACf,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GAAG,SAAS,KAC3B,OAAO,CAAC,IAAI,CAAC,CAAC;KACpB,EACD,gBAAgB,CAAC,EAAE,aAAa,GAAG,SAAS,EAC5C,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS;IA0BrC,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;IA2D1D,oBAAoB,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC;CAkBzD"}
@@ -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 { DepotScope, ProjectData, } from '@finos/legend-server-depot';
16
+ import { DepotScope, ProjectData, retrieveProjectEntitiesWithDependencies, } from '@finos/legend-server-depot';
17
17
  import { ActionState, assertErrorThrown, } from '@finos/legend-shared';
18
18
  import { action, flow, flowResult, makeObservable, observable } from 'mobx';
19
19
  import { DSL_DataSpace_getGraphManagerExtension } from '../../graphManager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
@@ -93,15 +93,8 @@ export class DataSpaceAdvancedSearchState {
93
93
  // fetch project
94
94
  this.loadDataSpaceState.setMessage(`Fetching project...`);
95
95
  const project = ProjectData.serialization.fromJson((yield flowResult(this.depotServerClient.getProject(dataSpace.groupId, dataSpace.artifactId))));
96
- // fetch entities
97
- this.loadDataSpaceState.setMessage(`Fetching entities...`);
98
- const entities = (yield this.depotServerClient.getEntities(project, dataSpace.versionId));
99
- // fetch dependencies
100
- this.loadDataSpaceState.setMessage(`Fetching dependencies...`);
101
- const dependencyEntitiesIndex = (yield flowResult(this.depotServerClient.getIndexedDependencyEntities(project, dataSpace.versionId)));
102
96
  // analyze data space
103
- this.loadDataSpaceState.setMessage(`Analyzing data space...`);
104
- const analysisResult = (yield DSL_DataSpace_getGraphManagerExtension(this.graphManagerState.graphManager).analyzeDataSpace(dataSpace.path, entities, dependencyEntitiesIndex, () => retrieveAnalyticsResultCache(dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId, dataSpace.path, this.depotServerClient)));
97
+ const analysisResult = (yield DSL_DataSpace_getGraphManagerExtension(this.graphManagerState.graphManager).analyzeDataSpace(dataSpace.path, () => retrieveProjectEntitiesWithDependencies(project, dataSpace.versionId, this.depotServerClient), () => retrieveAnalyticsResultCache(project, dataSpace.versionId, dataSpace.path, this.depotServerClient), this.loadDataSpaceState));
105
98
  this.dataSpaceViewerState = new DataSpaceViewerState(this.applicationStore, dataSpace.groupId, dataSpace.artifactId, dataSpace.versionId, analysisResult, {
106
99
  viewProject: this.viewProject,
107
100
  viewSDLCProject: this.viewSDLCProject,
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceAdvancedSearchState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceAdvancedSearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAEL,UAAU,EACV,WAAW,GAEZ,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,4BAA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ChE,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,EACjD,MAAM,EAAE,IAAI,CACb,CACF,CAAC;SACH;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"DataSpaceAdvancedSearchState.js","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceAdvancedSearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAGL,UAAU,EACV,WAAW,EACX,uCAAuC,GACxC,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,GAE/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,4BAA4B,EAAE,MAAM,gEAAgE,CAAC;AAG9G,MAAM,OAAO,4BAA4B;IAC9B,gBAAgB,CAAgC;IAChD,iBAAiB,CAAoB;IACrC,iBAAiB,CAAoB;IACrC,WAAW,CAKV;IACD,eAAe,CAIL;IAEnB,UAAU,GAAoB,EAAE,CAAC;IACxB,mBAAmB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAC3C,kBAAkB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IACnD,gBAAgB,CAA6B;IAC7C,oBAAoB,CAAoC;IACxD,aAAa,GAAG,K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C,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;SACH;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "9.0.2",
3
+ "version": "9.0.4",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,17 +43,17 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "10.0.2",
47
- "@finos/legend-application-query": "9.0.2",
48
- "@finos/legend-application-studio": "20.0.0",
49
- "@finos/legend-art": "5.0.0",
50
- "@finos/legend-extension-dsl-diagram": "7.0.6",
51
- "@finos/legend-graph": "19.2.0",
52
- "@finos/legend-query-builder": "0.3.0",
53
- "@finos/legend-server-depot": "4.1.3",
46
+ "@finos/legend-application": "10.0.4",
47
+ "@finos/legend-application-query": "9.0.4",
48
+ "@finos/legend-application-studio": "20.0.2",
49
+ "@finos/legend-art": "5.0.2",
50
+ "@finos/legend-extension-dsl-diagram": "7.0.8",
51
+ "@finos/legend-graph": "19.2.1",
52
+ "@finos/legend-query-builder": "0.4.0",
53
+ "@finos/legend-server-depot": "4.1.4",
54
54
  "@finos/legend-shared": "6.2.0",
55
55
  "@finos/legend-storage": "3.0.15",
56
- "@types/react": "18.0.23",
56
+ "@types/react": "18.0.24",
57
57
  "mobx": "6.6.2",
58
58
  "mobx-react-lite": "3.4.0",
59
59
  "react": "18.2.0",
@@ -61,7 +61,7 @@
61
61
  "serializr": "3.0.1"
62
62
  },
63
63
  "devDependencies": {
64
- "@finos/legend-dev-utils": "2.0.22",
64
+ "@finos/legend-dev-utils": "2.0.23",
65
65
  "@jest/globals": "29.2.2",
66
66
  "cross-env": "7.0.3",
67
67
  "eslint": "8.26.0",
@@ -27,6 +27,10 @@ import {
27
27
  Dialog,
28
28
  TimesIcon,
29
29
  ArrowRightIcon,
30
+ Modal,
31
+ ModalHeader,
32
+ ModalTitle,
33
+ ModalHeaderActions,
30
34
  } from '@finos/legend-art';
31
35
  import { generateGAVCoordinates } from '@finos/legend-storage';
32
36
  import { debounce } from '@finos/legend-shared';
@@ -151,10 +155,13 @@ export const DataSpaceAdvancedSearchModal = observer(
151
155
  onEnter: handleEnter,
152
156
  }}
153
157
  >
154
- <div className="modal modal--dark editor-modal data-space-advanced-search__dialog">
155
- <div className="data-space-advanced-search__dialog__header modal__header">
156
- <div className="modal__title">Search for data space</div>
157
- <div className="modal__header__actions">
158
+ <Modal
159
+ darkMode={true}
160
+ className="editor-modal data-space-advanced-search__dialog"
161
+ >
162
+ <ModalHeader className="data-space-advanced-search__dialog__header">
163
+ <ModalTitle title="Search for data space " />
164
+ <ModalHeaderActions>
158
165
  <button
159
166
  className="modal__header__action"
160
167
  title="Close"
@@ -162,8 +169,8 @@ export const DataSpaceAdvancedSearchModal = observer(
162
169
  >
163
170
  <TimesIcon />
164
171
  </button>
165
- </div>
166
- </div>
172
+ </ModalHeaderActions>
173
+ </ModalHeader>
167
174
  <div className="data-space-advanced-search__dialog__content">
168
175
  <div className="data-space-advanced-search__dialog__input">
169
176
  <div className="data-space-advanced-search__dialog__input__icon">
@@ -241,7 +248,7 @@ export const DataSpaceAdvancedSearchModal = observer(
241
248
  )}
242
249
  </div>
243
250
  </div>
244
- </div>
251
+ </Modal>
245
252
  </Dialog>
246
253
  );
247
254
  },
@@ -15,7 +15,10 @@
15
15
  */
16
16
 
17
17
  import { getExpectedArtifactGenerationExtensionOutputPath } from '@finos/legend-graph';
18
- import type { DepotServerClient } from '@finos/legend-server-depot';
18
+ import type {
19
+ DepotServerClient,
20
+ ProjectData,
21
+ } from '@finos/legend-server-depot';
19
22
  import type { PlainObject } from '@finos/legend-shared';
20
23
  import type { DataSpaceAnalysisResult } from './DataSpaceAnalysis.js';
21
24
 
@@ -23,16 +26,14 @@ const DATASPACE_ANALYTICS_FILE_NAME = 'AnalyticsResult.json';
23
26
  const V1_DATASPACE_ANALYTICS_ARTIFACT_EXTENSION_KEY = 'dataSpace-analytics';
24
27
 
25
28
  export const retrieveAnalyticsResultCache = async (
26
- groupId: string,
27
- artifactId: string,
29
+ project: ProjectData,
28
30
  versionId: string,
29
31
  dataSpacePath: string,
30
32
  depotServerClient: DepotServerClient,
31
33
  ): Promise<PlainObject<DataSpaceAnalysisResult>> =>
32
34
  JSON.parse(
33
35
  await depotServerClient.getGenerationContentByPath(
34
- groupId,
35
- artifactId,
36
+ project,
36
37
  versionId,
37
38
  getExpectedArtifactGenerationExtensionOutputPath(
38
39
  dataSpacePath,
@@ -19,15 +19,19 @@ import {
19
19
  AbstractPureGraphManagerExtension,
20
20
  } from '@finos/legend-graph';
21
21
  import type { Entity } from '@finos/legend-storage';
22
- import { guaranteeNonNullable, type PlainObject } from '@finos/legend-shared';
22
+ import {
23
+ guaranteeNonNullable,
24
+ type ActionState,
25
+ type PlainObject,
26
+ } from '@finos/legend-shared';
23
27
  import type { DataSpaceAnalysisResult } from '../../action/analytics/DataSpaceAnalysis.js';
24
28
 
25
29
  export abstract class DSL_DataSpace_PureGraphManagerExtension extends AbstractPureGraphManagerExtension {
26
30
  abstract analyzeDataSpace(
27
31
  dataSpacePath: string,
28
- entities: Entity[],
29
- dependencyEntitiesIndex: Map<string, Entity[]>,
32
+ entitiesRetriever: () => Promise<Entity[]>,
30
33
  cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>,
34
+ actionState?: ActionState,
31
35
  ): Promise<DataSpaceAnalysisResult>;
32
36
  }
33
37
 
@@ -69,13 +69,16 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
69
69
 
70
70
  async analyzeDataSpace(
71
71
  dataSpacePath: string,
72
- entities: Entity[],
73
- dependencyEntitiesIndex: Map<string, Entity[]>,
72
+ entitiesRetriever: () => Promise<Entity[]>,
74
73
  cacheRetriever?: () => Promise<PlainObject<DataSpaceAnalysisResult>>,
74
+ actionState?: ActionState,
75
75
  ): Promise<DataSpaceAnalysisResult> {
76
76
  let cachResult: PlainObject<V1_DataSpaceAnalysisResult> | undefined;
77
77
  if (cacheRetriever) {
78
78
  try {
79
+ actionState?.setMessage(
80
+ 'Fetching data space analysis result from cache...',
81
+ );
79
82
  cachResult = await cacheRetriever();
80
83
  } catch (error) {
81
84
  assertErrorThrown(error);
@@ -86,9 +89,14 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
86
89
  }
87
90
  }
88
91
  const engineClient = this.graphManager.engine.getEngineServerClient();
89
- const analysisResult =
90
- cachResult ??
91
- (await engineClient.postWithTracing<
92
+ let analysisResult: PlainObject<V1_DataSpaceAnalysisResult>;
93
+ if (cachResult) {
94
+ analysisResult = cachResult;
95
+ } else {
96
+ actionState?.setMessage('Fetching project entities and dependencies...');
97
+ const entities = await entitiesRetriever();
98
+ actionState?.setMessage('Analyzing data space...');
99
+ analysisResult = await engineClient.postWithTracing<
92
100
  PlainObject<V1_DataSpaceAnalysisResult>
93
101
  >(
94
102
  engineClient.getTraceData(ANALYZE_DATA_SPACE_TRACE),
@@ -98,17 +106,15 @@ export class V1_DSL_DataSpace_PureGraphManagerExtension extends DSL_DataSpace_Pu
98
106
  dataSpace: dataSpacePath,
99
107
  model: {
100
108
  _type: V1_PureModelContextType.DATA,
101
- elements: Array.from(dependencyEntitiesIndex.values())
102
- .flat()
103
- .concat(entities)
104
- .map((entity) => entity.content),
109
+ elements: entities.map((entity) => entity.content),
105
110
  },
106
111
  },
107
112
  {},
108
113
  undefined,
109
114
  undefined,
110
115
  { enableCompression: true },
111
- ));
116
+ );
117
+ }
112
118
  return this.buildDataSpaceAnalytics(
113
119
  V1_DataSpaceAnalysisResult.serialization.fromJson(analysisResult),
114
120
  );
@@ -16,12 +16,12 @@
16
16
 
17
17
  import type { ClassView } from '@finos/legend-extension-dsl-diagram';
18
18
  import type { Class, GraphManagerState } from '@finos/legend-graph';
19
- import type { Entity } from '@finos/legend-storage';
20
19
  import {
21
20
  type StoredEntity,
21
+ type DepotServerClient,
22
22
  DepotScope,
23
23
  ProjectData,
24
- type DepotServerClient,
24
+ retrieveProjectEntitiesWithDependencies,
25
25
  } from '@finos/legend-server-depot';
26
26
  import {
27
27
  type GeneratorFn,
@@ -164,39 +164,25 @@ export class DataSpaceAdvancedSearchState {
164
164
  ),
165
165
  )) as PlainObject<ProjectData>,
166
166
  );
167
-
168
- // fetch entities
169
- this.loadDataSpaceState.setMessage(`Fetching entities...`);
170
- const entities = (yield this.depotServerClient.getEntities(
171
- project,
172
- dataSpace.versionId,
173
- )) as Entity[];
174
-
175
- // fetch dependencies
176
- this.loadDataSpaceState.setMessage(`Fetching dependencies...`);
177
- const dependencyEntitiesIndex = (yield flowResult(
178
- this.depotServerClient.getIndexedDependencyEntities(
179
- project,
180
- dataSpace.versionId,
181
- ),
182
- )) as Map<string, Entity[]>;
183
-
184
167
  // analyze data space
185
- this.loadDataSpaceState.setMessage(`Analyzing data space...`);
186
168
  const analysisResult = (yield DSL_DataSpace_getGraphManagerExtension(
187
169
  this.graphManagerState.graphManager,
188
170
  ).analyzeDataSpace(
189
171
  dataSpace.path,
190
- entities,
191
- dependencyEntitiesIndex,
172
+ () =>
173
+ retrieveProjectEntitiesWithDependencies(
174
+ project,
175
+ dataSpace.versionId,
176
+ this.depotServerClient,
177
+ ),
192
178
  () =>
193
179
  retrieveAnalyticsResultCache(
194
- dataSpace.groupId,
195
- dataSpace.artifactId,
180
+ project,
196
181
  dataSpace.versionId,
197
182
  dataSpace.path,
198
183
  this.depotServerClient,
199
184
  ),
185
+ this.loadDataSpaceState,
200
186
  )) as DataSpaceAnalysisResult;
201
187
  this.dataSpaceViewerState = new DataSpaceViewerState(
202
188
  this.applicationStore,