@finos/legend-extension-dsl-data-space 9.0.47 → 9.1.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/DSL_DataSpace_Const.d.ts +1 -0
- package/lib/DSL_DataSpace_Const.d.ts.map +1 -1
- package/lib/DSL_DataSpace_Const.js +2 -1
- package/lib/DSL_DataSpace_Const.js.map +1 -1
- package/lib/{stores/query/DSL_DataSpace_LegendQueryRouter.d.ts → application/query/DSL_DataSpace_LegendQueryNavigation.d.ts} +12 -11
- package/lib/application/query/DSL_DataSpace_LegendQueryNavigation.d.ts.map +1 -0
- package/lib/{stores/query/DSL_DataSpace_LegendQueryRouter.js → application/query/DSL_DataSpace_LegendQueryNavigation.js} +13 -12
- package/lib/application/query/DSL_DataSpace_LegendQueryNavigation.js.map +1 -0
- package/lib/{components → application}/studio/DSL_DataSpace_CodeSnippets.d.ts +1 -1
- package/lib/application/studio/DSL_DataSpace_CodeSnippets.d.ts.map +1 -0
- package/lib/{components → application}/studio/DSL_DataSpace_CodeSnippets.js +4 -0
- package/lib/application/studio/DSL_DataSpace_CodeSnippets.js.map +1 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioDocumentation.js.map +1 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.d.ts +28 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.d.ts.map +1 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.js +30 -0
- package/lib/application/studio/DSL_DataSpace_LegendStudioNavigation.js.map +1 -0
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +2 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/DataSpaceViewer.d.ts.map +1 -1
- package/lib/components/DataSpaceViewer.js +135 -45
- package/lib/components/DataSpaceViewer.js.map +1 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js +3 -3
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilder.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilder.js +6 -4
- package/lib/components/query/DataSpaceQueryBuilder.js.map +1 -1
- package/lib/components/query/DataSpaceQueryCreator.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQueryCreator.js +8 -9
- package/lib/components/query/DataSpaceQueryCreator.js.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +2 -1
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts +5 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js +41 -2
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/studio/DataSpacePreview.d.ts +20 -0
- package/lib/components/studio/DataSpacePreview.d.ts.map +1 -0
- package/lib/components/studio/DataSpacePreview.js +52 -0
- package/lib/components/studio/DataSpacePreview.js.map +1 -0
- package/lib/components/studio/DataSpacePreviewAction.d.ts +26 -0
- package/lib/components/studio/DataSpacePreviewAction.d.ts.map +1 -0
- package/lib/components/studio/DataSpacePreviewAction.js +46 -0
- package/lib/components/studio/DataSpacePreviewAction.js.map +1 -0
- package/lib/graph/DSL_DataSpace_HashUtils.d.ts +2 -0
- package/lib/graph/DSL_DataSpace_HashUtils.d.ts.map +1 -1
- package/lib/graph/DSL_DataSpace_HashUtils.js +2 -0
- package/lib/graph/DSL_DataSpace_HashUtils.js.map +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts +5 -3
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts.map +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js +6 -4
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts +10 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js +18 -0
- package/lib/graphManager/action/analytics/DataSpaceAnalysis.js.map +1 -1
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.d.ts +57 -0
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.d.ts.map +1 -0
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.js +209 -0
- package/lib/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.js.map +1 -0
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js +13 -1
- package/lib/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js.map +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 +28 -4
- package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +24 -0
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +79 -3
- package/lib/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts +3 -2
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js +6 -4
- package/lib/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js +7 -17
- package/lib/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +4 -4
- package/lib/stores/DataSpaceViewerState.d.ts +13 -8
- package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
- package/lib/stores/DataSpaceViewerState.js +11 -6
- package/lib/stores/DataSpaceViewerState.js.map +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.js +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.js.map +1 -1
- package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts +1 -0
- package/lib/stores/query/DataSpaceQueryCreatorStore.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQueryCreatorStore.js +10 -2
- package/lib/stores/query/DataSpaceQueryCreatorStore.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.js +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.js.map +1 -1
- package/lib/stores/studio/DataSpacePreviewState.d.ts +30 -0
- package/lib/stores/studio/DataSpacePreviewState.d.ts.map +1 -0
- package/lib/stores/studio/DataSpacePreviewState.js +85 -0
- package/lib/stores/studio/DataSpacePreviewState.js.map +1 -0
- package/lib/stores/studio/DataSpacePreviewStore.d.ts +34 -0
- package/lib/stores/studio/DataSpacePreviewStore.d.ts.map +1 -0
- package/lib/stores/studio/DataSpacePreviewStore.js +98 -0
- package/lib/stores/studio/DataSpacePreviewStore.js.map +1 -0
- package/package.json +15 -15
- package/src/DSL_DataSpace_Const.ts +2 -1
- package/src/{stores/query/DSL_DataSpace_LegendQueryRouter.ts → application/query/DSL_DataSpace_LegendQueryNavigation.ts} +17 -18
- package/src/{components → application}/studio/DSL_DataSpace_CodeSnippets.ts +4 -0
- package/src/application/studio/DSL_DataSpace_LegendStudioNavigation.ts +53 -0
- package/src/components/DataSpaceViewer.tsx +552 -109
- package/src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx +5 -4
- package/src/components/query/DataSpaceQueryBuilder.tsx +6 -4
- package/src/components/query/DataSpaceQueryCreator.tsx +12 -23
- package/src/components/query/DataSpaceQuerySetup.tsx +2 -1
- package/src/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.tsx +52 -2
- package/src/components/studio/DataSpacePreview.tsx +129 -0
- package/src/components/studio/DataSpacePreviewAction.tsx +127 -0
- package/src/graph/DSL_DataSpace_HashUtils.ts +2 -0
- package/src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts +15 -4
- package/src/graphManager/action/analytics/DataSpaceAnalysis.ts +31 -0
- package/src/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.ts +313 -0
- package/src/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts +25 -0
- package/src/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +66 -3
- package/src/graphManager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +110 -1
- package/src/graphManager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts +6 -4
- package/src/graphManager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts +13 -53
- package/src/stores/DataSpaceViewerState.ts +25 -14
- package/src/stores/query/DataSpaceAdvancedSearchState.ts +1 -1
- package/src/stores/query/DataSpaceQueryCreatorStore.ts +13 -1
- package/src/stores/query/DataSpaceQuerySetupStore.ts +1 -1
- package/src/stores/studio/DataSpacePreviewState.ts +150 -0
- package/src/stores/studio/DataSpacePreviewStore.ts +172 -0
- package/tsconfig.json +10 -5
- package/tsconfig.package.json +1 -2
- package/lib/components/studio/DSL_DataSpace_CodeSnippets.d.ts.map +0 -1
- package/lib/components/studio/DSL_DataSpace_CodeSnippets.js.map +0 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioDocumentation.js.map +0 -1
- package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.d.ts.map +0 -1
- package/lib/stores/query/DSL_DataSpace_LegendQueryRouter.js.map +0 -1
- /package/lib/{components → application}/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts +0 -0
- /package/lib/{components → application}/studio/DSL_DataSpace_LegendStudioDocumentation.js +0 -0
- /package/src/{components → application}/studio/DSL_DataSpace_LegendStudioDocumentation.ts +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { useApplicationStore } from '@finos/legend-application';
|
|
18
|
+
import { MenuContentItem, BlankPanelContent, TimesCircleIcon, PanelLoadingIndicator, Dialog, TimesIcon, Modal, ModalHeader, ModalTitle, ModalHeaderActions, } from '@finos/legend-art';
|
|
19
|
+
import { flowResult } from 'mobx';
|
|
20
|
+
import { observer } from 'mobx-react-lite';
|
|
21
|
+
import { DataSpaceViewer } from '../DataSpaceViewer.js';
|
|
22
|
+
import { useEditorStore } from '@finos/legend-application-studio';
|
|
23
|
+
import { DataSpacePreviewState } from '../../stores/studio/DataSpacePreviewState.js';
|
|
24
|
+
export const DataSpacePreviewAction = observer((props) => {
|
|
25
|
+
const { dataSpace } = props;
|
|
26
|
+
const editorStore = useEditorStore();
|
|
27
|
+
const applicationStore = useApplicationStore();
|
|
28
|
+
const dataSpacePreviewState = DataSpacePreviewState.retrieveState(editorStore);
|
|
29
|
+
const previewDataSpace = () => {
|
|
30
|
+
flowResult(dataSpacePreviewState.previewDataSpace(dataSpace)).catch(applicationStore.alertUnhandledError);
|
|
31
|
+
};
|
|
32
|
+
return (_jsx(MenuContentItem, { onClick: previewDataSpace, children: "Preview" }));
|
|
33
|
+
});
|
|
34
|
+
export const DataSpacePreviewDialog = observer(() => {
|
|
35
|
+
const editorStore = useEditorStore();
|
|
36
|
+
const dataSpacePreviewState = DataSpacePreviewState.retrieveState(editorStore);
|
|
37
|
+
const onClose = () => {
|
|
38
|
+
dataSpacePreviewState.setDataSpace(undefined);
|
|
39
|
+
};
|
|
40
|
+
return (_jsx(Dialog, { open: Boolean(dataSpacePreviewState.dataSpace), onClose: onClose, classes: {
|
|
41
|
+
root: 'editor-modal__root-container',
|
|
42
|
+
container: 'editor-modal__container',
|
|
43
|
+
paper: 'editor-modal__content data-space-preview__dialog__container__content',
|
|
44
|
+
}, children: _jsxs(Modal, { darkMode: true, className: "editor-modal data-space-preview__dialog", children: [_jsxs(ModalHeader, { className: "data-space-preview__dialog__header", children: [_jsx(ModalTitle, { title: "Preview Data Space" }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", title: "Close", onClick: onClose, children: _jsx(TimesIcon, {}) }) })] }), _jsxs("div", { className: "data-space-preview__dialog__content", children: [_jsx(PanelLoadingIndicator, { isLoading: dataSpacePreviewState.loadDataSpaceState.isInProgress }), dataSpacePreviewState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: dataSpacePreviewState.dataSpaceViewerState })), !dataSpacePreviewState.dataSpaceViewerState && (_jsxs(_Fragment, { children: [dataSpacePreviewState.loadDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: dataSpacePreviewState.loadDataSpaceState.message })), dataSpacePreviewState.loadDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "data-space-preview__dialog__content--failed", children: [_jsx("div", { className: "data-space-preview__dialog__content--failed__icon", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { className: "data-space-preview__dialog__content--failed__text", children: "Can't load data space" })] }) }))] }))] })] }) }));
|
|
45
|
+
});
|
|
46
|
+
//# sourceMappingURL=DataSpacePreviewAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataSpacePreviewAction.js","sourceRoot":"","sources":["../../../src/components/studio/DataSpacePreviewAction.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,SAAS,EACT,KAAK,EACL,WAAW,EACX,UAAU,EACV,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAi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PLE_TDS_QUERY_COLUMN = "DATA_SPACE_SAMPLE_TDS_QUERY_COLUMN",
|
|
19
21
|
DATA_SPACE_SUPPORT_EMAIL = "DATA_SPACE_SUPPORT_EMAIL"
|
|
20
22
|
}
|
|
21
23
|
//# sourceMappingURL=DSL_DataSpace_HashUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_HashUtils.d.ts","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,yBAAyB;IACnC,UAAU,eAAe;IACzB,4BAA4B,iCAAiC;IAC7D,wBAAwB,6BAA6B;CACtD"}
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_HashUtils.d.ts","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,yBAAyB;IACnC,UAAU,eAAe;IACzB,4BAA4B,iCAAiC;IAC7D,2BAA2B,gCAAgC;IAC3D,kCAAkC,uCAAuC;IACzE,wBAAwB,6BAA6B;CACtD"}
|
|
@@ -17,6 +17,8 @@ export var DATA_SPACE_HASH_STRUCTURE;
|
|
|
17
17
|
(function (DATA_SPACE_HASH_STRUCTURE) {
|
|
18
18
|
DATA_SPACE_HASH_STRUCTURE["DATA_SPACE"] = "DATA_SPACE";
|
|
19
19
|
DATA_SPACE_HASH_STRUCTURE["DATA_SPACE_EXECUTION_CONTEXT"] = "DATA_SPACE_EXECUTION_CONTEXT";
|
|
20
|
+
DATA_SPACE_HASH_STRUCTURE["DATA_SPACE_SAMPLE_TDS_QUERY"] = "DATA_SPACE_SAMPLE_TDS_QUERY";
|
|
21
|
+
DATA_SPACE_HASH_STRUCTURE["DATA_SPACE_SAMPLE_TDS_QUERY_COLUMN"] = "DATA_SPACE_SAMPLE_TDS_QUERY_COLUMN";
|
|
20
22
|
DATA_SPACE_HASH_STRUCTURE["DATA_SPACE_SUPPORT_EMAIL"] = "DATA_SPACE_SUPPORT_EMAIL";
|
|
21
23
|
})(DATA_SPACE_HASH_STRUCTURE = DATA_SPACE_HASH_STRUCTURE || (DATA_SPACE_HASH_STRUCTURE = {}));
|
|
22
24
|
//# sourceMappingURL=DSL_DataSpace_HashUtils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_HashUtils.js","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_HashUtils.js","sourceRoot":"","sources":["../../src/graph/DSL_DataSpace_HashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACnC,sDAAyB,CAAA;IACzB,0FAA6D,CAAA;IAC7D,wFAA2D,CAAA;IAC3D,sGAAyE,CAAA;IACzE,kFAAqD,CAAA;AACvD,CAAC,EANW,yBAAyB,GAAzB,yBAAyB,KAAzB,yBAAyB,QAMpC"}
|
package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
|
17
|
-
import { PackageableElement, type PackageableElementReference, type Mapping, type PackageableRuntime, type PackageableElementVisitor } from '@finos/legend-graph';
|
|
17
|
+
import { PackageableElement, type PackageableElementReference, type Mapping, type PackageableRuntime, type PackageableElementVisitor, type Class, type Enumeration, type Association } from '@finos/legend-graph';
|
|
18
18
|
import type { Diagram } from '@finos/legend-extension-dsl-diagram';
|
|
19
19
|
export declare abstract class DataSpaceSupportInfo implements Hashable {
|
|
20
20
|
abstract get hashCode(): string;
|
|
@@ -30,12 +30,14 @@ export declare class DataSpaceExecutionContext implements Hashable {
|
|
|
30
30
|
defaultRuntime: PackageableElementReference<PackageableRuntime>;
|
|
31
31
|
get hashCode(): string;
|
|
32
32
|
}
|
|
33
|
+
export type DataSpaceElement = Class | Enumeration | Association;
|
|
33
34
|
export declare class DataSpace extends PackageableElement implements Hashable {
|
|
35
|
+
title?: string | undefined;
|
|
36
|
+
description?: string | undefined;
|
|
34
37
|
executionContexts: DataSpaceExecutionContext[];
|
|
35
38
|
defaultExecutionContext: DataSpaceExecutionContext;
|
|
36
39
|
featuredDiagrams?: PackageableElementReference<Diagram>[] | undefined;
|
|
37
|
-
|
|
38
|
-
description?: string | undefined;
|
|
40
|
+
elements?: PackageableElementReference<DataSpaceElement>[] | undefined;
|
|
39
41
|
supportInfo?: DataSpaceSupportInfo | undefined;
|
|
40
42
|
protected get _elementHashCode(): string;
|
|
41
43
|
accept_PackageableElementVisitor<T>(visitor: PackageableElementVisitor<T>): T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_DataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,KAAK,2BAA2B,EAChC,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_DataSpace.d.ts","sourceRoot":"","sources":["../../../../../../../src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,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,CAAC,CAAC,EAChC,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,GACpC,CAAC;CAGL"}
|
package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js
CHANGED
|
@@ -43,22 +43,24 @@ export class DataSpaceExecutionContext {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
export class DataSpace extends PackageableElement {
|
|
46
|
+
title;
|
|
47
|
+
description;
|
|
46
48
|
executionContexts = [];
|
|
47
49
|
defaultExecutionContext;
|
|
48
50
|
featuredDiagrams;
|
|
49
|
-
|
|
50
|
-
description;
|
|
51
|
+
elements;
|
|
51
52
|
supportInfo;
|
|
52
53
|
get _elementHashCode() {
|
|
53
54
|
return hashArray([
|
|
54
55
|
DATA_SPACE_HASH_STRUCTURE.DATA_SPACE,
|
|
55
56
|
hashArray(this.stereotypes.map((stereotype) => stereotype.pointerHashCode)),
|
|
56
57
|
hashArray(this.taggedValues),
|
|
58
|
+
this.title ?? '',
|
|
59
|
+
this.description ?? '',
|
|
57
60
|
hashArray(this.executionContexts),
|
|
58
61
|
this.defaultExecutionContext.name,
|
|
59
62
|
hashArray((this.featuredDiagrams ?? []).map((diagram) => diagram.valueForSerialization ?? '')),
|
|
60
|
-
this.
|
|
61
|
-
this.description ?? '',
|
|
63
|
+
hashArray((this.elements ?? []).map((element) => element.valueForSerialization ?? '')),
|
|
62
64
|
this.supportInfo ?? '',
|
|
63
65
|
]);
|
|
64
66
|
}
|
package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_DataSpace.js","sourceRoot":"","sources":["../../../../../../../src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,kBAAkB,
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_DataSpace.js","sourceRoot":"","sources":["../../../../../../../src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,kBAAkB,GAQnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAGtF,MAAM,OAAgB,oBAAoB;CAEzC;AAED,MAAM,OAAO,qBACX,SAAQ,oBAAoB;IAG5B,OAAO,CAAU;IAEjB,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,wBAAwB;YAClD,IAAI,CAAC,OAAO;SACb,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,yBAAyB;IACpC,IAAI,CAAU;IACd,WAAW,CAAsB;IACjC,OAAO,CAAwC;IAC/C,cAAc,CAAmD;IAEjE,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,4BAA4B;YACtD,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,IAAI,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE;YACxC,IAAI,CAAC,cAAc,CAAC,qBAAqB,IAAI,EAAE;SAChD,CAAC,CAAC;IACL,CAAC;CACF;AAID,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAC/C,KAAK,CAAsB;IAC3B,WAAW,CAAsB;IACjC,iBAAiB,GAAgC,EAAE,CAAC;IACpD,uBAAuB,CAA6B;IACpD,gBAAgB,CAAsD;IACtE,QAAQ,CAA+D;IACvE,WAAW,CAAoC;IAE/C,IAAuB,gBAAgB;QACrC,OAAO,SAAS,CAAC;YACf,yBAAyB,CAAC,UAAU;YACpC,SAAS,CACP,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC,CACjE;YACD,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC;YAC5B,IAAI,CAAC,KAAK,IAAI,EAAE;YAChB,IAAI,CAAC,WAAW,IAAI,EAAE;YACtB,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,uBAAuB,CAAC,IAAI;YACjC,SAAS,CACP,CAAC,IAAI,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,GAAG,CAC/B,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE,CACjD,CACF;YACD,SAAS,CACP,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CACvB,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,qBAAqB,IAAI,EAAE,CACjD,CACF;YACD,IAAI,CAAC,WAAW,IAAI,EAAE;SACvB,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import type { Diagram } from '@finos/legend-extension-dsl-diagram';
|
|
17
17
|
import type { Mapping, PackageableRuntime, PureModel } from '@finos/legend-graph';
|
|
18
18
|
import type { DataSpaceSupportInfo } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
|
19
|
+
import { type HACKY__DataSpaceUsageShowcase } from './HACKY__DataSpaceUsageShowcase.js';
|
|
19
20
|
export declare class DataSpaceExecutionContextAnalysisResult {
|
|
20
21
|
name: string;
|
|
21
22
|
description?: string | undefined;
|
|
@@ -34,6 +35,13 @@ export declare class DataSpaceStereotypeInfo {
|
|
|
34
35
|
profile: string;
|
|
35
36
|
value: string;
|
|
36
37
|
}
|
|
38
|
+
export declare class DataSpaceDocumentationEntry {
|
|
39
|
+
readonly uuid: string;
|
|
40
|
+
readonly elementPath: string;
|
|
41
|
+
readonly subElementText?: string | undefined;
|
|
42
|
+
readonly doc: string;
|
|
43
|
+
constructor(elementPath: string, subElementText: string | undefined, documentation: string);
|
|
44
|
+
}
|
|
37
45
|
export declare class DataSpaceAnalysisResult {
|
|
38
46
|
name: string;
|
|
39
47
|
package: string;
|
|
@@ -47,5 +55,7 @@ export declare class DataSpaceAnalysisResult {
|
|
|
47
55
|
executionContextsIndex: Map<string, DataSpaceExecutionContextAnalysisResult>;
|
|
48
56
|
defaultExecutionContext: DataSpaceExecutionContextAnalysisResult;
|
|
49
57
|
featuredDiagrams: Diagram[];
|
|
58
|
+
elementDocs: DataSpaceDocumentationEntry[];
|
|
59
|
+
HACKY__usageShowcases: HACKY__DataSpaceUsageShowcase[];
|
|
50
60
|
}
|
|
51
61
|
//# sourceMappingURL=DataSpaceAnalysis.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceAnalysis.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,KAAK,EACV,OAAO,EACP,kBAAkB,EAClB,SAAS,EACV,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8FAA8F,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceAnalysis.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,KAAK,EACV,OAAO,EACP,kBAAkB,EAClB,SAAS,EACV,MAAM,qBAAq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AC;IAE/C,KAAK,EAAG,SAAS,CAAC;IAElB,sBAAsB,EAAG,GAAG,CAAC,MAAM,EAAE,uCAAuC,CAAC,CAAC;IAC9E,uBAAuB,EAAG,uCAAuC,CAAC;IAElE,gBAAgB,EAAE,OAAO,EAAE,CAAM;IAEjC,WAAW,EAAE,2BAA2B,EAAE,CAAM;IAEhD,qBAAqB,EAAE,6BAA6B,EAAE,CAIpD;CACH"}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { uuid } from '@finos/legend-shared';
|
|
17
|
+
import { HACKY__SHOWCASE1, HACKY__SHOWCASE2, HACKY__SHOWCASE3, } from './HACKY__DataSpaceUsageShowcase.js';
|
|
17
18
|
export class DataSpaceExecutionContextAnalysisResult {
|
|
18
19
|
name;
|
|
19
20
|
description;
|
|
@@ -32,6 +33,17 @@ export class DataSpaceStereotypeInfo {
|
|
|
32
33
|
profile;
|
|
33
34
|
value;
|
|
34
35
|
}
|
|
36
|
+
export class DataSpaceDocumentationEntry {
|
|
37
|
+
uuid = uuid();
|
|
38
|
+
elementPath;
|
|
39
|
+
subElementText;
|
|
40
|
+
doc;
|
|
41
|
+
constructor(elementPath, subElementText, documentation) {
|
|
42
|
+
this.elementPath = elementPath;
|
|
43
|
+
this.subElementText = subElementText;
|
|
44
|
+
this.doc = documentation;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
35
47
|
export class DataSpaceAnalysisResult {
|
|
36
48
|
name;
|
|
37
49
|
package;
|
|
@@ -45,5 +57,11 @@ export class DataSpaceAnalysisResult {
|
|
|
45
57
|
executionContextsIndex;
|
|
46
58
|
defaultExecutionContext;
|
|
47
59
|
featuredDiagrams = [];
|
|
60
|
+
elementDocs = [];
|
|
61
|
+
HACKY__usageShowcases = [
|
|
62
|
+
HACKY__SHOWCASE1,
|
|
63
|
+
HACKY__SHOWCASE2,
|
|
64
|
+
HACKY__SHOWCASE3,
|
|
65
|
+
];
|
|
48
66
|
}
|
|
49
67
|
//# sourceMappingURL=DataSpaceAnalysis.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceAnalysis.js","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/DataSpaceAnalysis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAE5C,OAAO,EACL,gBAAgB,EAEhB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,oCAAoC,CAAC;AAE5C,MAAM,OAAO,uCAAuC;IAClD,IAAI,CAAU;IACd,WAAW,CAAsB;IACjC,OAAO,CAAW;IAClB,cAAc,CAAsB;IACpC,kBAAkB,CAAwB;CAC3C;AAED,MAAM,OAAO,wBAAwB;IAC1B,KAAK,GAAG,IAAI,EAAE,CAAC;IAExB,OAAO,CAAU;IACjB,GAAG,CAAU;IACb,KAAK,CAAU;CAChB;AAED,MAAM,OAAO,uBAAuB;IACzB,KAAK,GAAG,IAAI,EAAE,CAAC;IAExB,OAAO,CAAU;IACjB,KAAK,CAAU;CAChB;AAED,MAAM,OAAO,2BAA2B;IAC7B,IAAI,GAAG,IAAI,EAAE,CAAC;IACd,WAAW,CAAS;IACpB,cAAc,CAAsB;IACpC,GAAG,CAAS;IAErB,YACE,WAAmB,EACnB,cAAkC,EAClC,aAAqB;QAErB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,GAAG,GAAG,aAAa,CAAC;IAC3B,CAAC;CACF;AAED,MAAM,OAAO,uBAAuB;IAClC,IAAI,CAAU;IACd,OAAO,CAAU;IACjB,IAAI,CAAU;IACd,YAAY,GAA+B,EAAE,CAAC;IAC9C,WAAW,GAA8B,EAAE,CAAC;IAC5C,KAAK,CAAsB;IAC3B,WAAW,CAAsB;IACjC,WAAW,CAAoC;IAE/C,KAAK,CAAa;IAElB,sBAAsB,CAAwD;IAC9E,uBAAuB,CAA2C;IAElE,gBAAgB,GAAc,EAAE,CAAC;IAEjC,WAAW,GAAkC,EAAE,CAAC;IAEhD,qBAAqB,GAAoC;QACvD,gBAAgB;QAChB,gBAAgB;QAChB,gBAAgB;KACjB,CAAC;CACH"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export declare abstract class HACKY__DataSpaceUsageShowcaseSampleOutput {
|
|
17
|
+
}
|
|
18
|
+
export declare abstract class HACKY__DataSpaceUsageShowcaseOutputDescription {
|
|
19
|
+
readonly sampleOutput: HACKY__DataSpaceUsageShowcaseSampleOutput;
|
|
20
|
+
constructor(sampleOutput: HACKY__DataSpaceUsageShowcaseSampleOutput);
|
|
21
|
+
}
|
|
22
|
+
type SampleData = boolean | string | number | undefined;
|
|
23
|
+
export declare class HACKY__DataSpaceUsageShowcaseTDSSampleOutput extends HACKY__DataSpaceUsageShowcaseSampleOutput {
|
|
24
|
+
readonly headers: string[];
|
|
25
|
+
readonly rows: SampleData[][];
|
|
26
|
+
constructor(headers: string[], rows: SampleData[][]);
|
|
27
|
+
}
|
|
28
|
+
declare class HACKY__DataSpaceUsageShowcaseTDSColumnInfo {
|
|
29
|
+
readonly uuid: string;
|
|
30
|
+
readonly name: string;
|
|
31
|
+
readonly description?: string | undefined;
|
|
32
|
+
readonly sampleValues: SampleData[];
|
|
33
|
+
constructor(name: string, description: string | undefined, sampleValues: SampleData[]);
|
|
34
|
+
}
|
|
35
|
+
export declare class HACKY__DataSpaceUsageShowcaseTDSOutputDescription extends HACKY__DataSpaceUsageShowcaseOutputDescription {
|
|
36
|
+
readonly columns: HACKY__DataSpaceUsageShowcaseTDSColumnInfo[];
|
|
37
|
+
constructor(columns: HACKY__DataSpaceUsageShowcaseTDSColumnInfo[]);
|
|
38
|
+
}
|
|
39
|
+
export declare class HACKY__DataSpaceUsageShowcase {
|
|
40
|
+
readonly uuid: string;
|
|
41
|
+
readonly title: string;
|
|
42
|
+
readonly description?: string | undefined;
|
|
43
|
+
readonly query: string;
|
|
44
|
+
readonly outputDescription: HACKY__DataSpaceUsageShowcaseOutputDescription;
|
|
45
|
+
showQuery: boolean;
|
|
46
|
+
showOutputDescription: boolean;
|
|
47
|
+
showSampleOutput: boolean;
|
|
48
|
+
constructor(title: string, description: string | undefined, query: string, outputDescription: HACKY__DataSpaceUsageShowcaseOutputDescription);
|
|
49
|
+
setShowQuery(val: boolean): void;
|
|
50
|
+
setShowOutputDescription(val: boolean): void;
|
|
51
|
+
setShowSampleOutput(val: boolean): void;
|
|
52
|
+
}
|
|
53
|
+
export declare const HACKY__SHOWCASE1: HACKY__DataSpaceUsageShowcase;
|
|
54
|
+
export declare const HACKY__SHOWCASE2: HACKY__DataSpaceUsageShowcase;
|
|
55
|
+
export declare const HACKY__SHOWCASE3: HACKY__DataSpaceUsageShowcase;
|
|
56
|
+
export {};
|
|
57
|
+
//# sourceMappingURL=HACKY__DataSpaceUsageShowcase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K,EAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,iBAAiB,EAAG,8CAA8C,CAAC;IAE5E,SAAS,UAAS;IAClB,qBAAqB,UAAQ;IAC7B,gBAAgB,UAAS;gBAGvB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,KAAK,EAAE,MAAM,EACb,iBAAiB,EAAE,8CAA8C;IAiBnE,YAAY,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIhC,wBAAwB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI5C,mBAAmB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;CAGxC;AAED,eAAO,MAAM,gBAAgB,+BA6D5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,+BAkE5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,+BA2C5B,CAAC"}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { Randomizer, uuid } from '@finos/legend-shared';
|
|
17
|
+
import { action, makeObservable, observable } from 'mobx';
|
|
18
|
+
export class HACKY__DataSpaceUsageShowcaseSampleOutput {
|
|
19
|
+
}
|
|
20
|
+
export class HACKY__DataSpaceUsageShowcaseOutputDescription {
|
|
21
|
+
sampleOutput;
|
|
22
|
+
constructor(sampleOutput) {
|
|
23
|
+
this.sampleOutput = sampleOutput;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class HACKY__DataSpaceUsageShowcaseTDSSampleOutput extends HACKY__DataSpaceUsageShowcaseSampleOutput {
|
|
27
|
+
headers = [];
|
|
28
|
+
rows = [];
|
|
29
|
+
constructor(headers, rows) {
|
|
30
|
+
super();
|
|
31
|
+
this.headers = headers;
|
|
32
|
+
this.rows = rows;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
class HACKY__DataSpaceUsageShowcaseTDSColumnInfo {
|
|
36
|
+
uuid = uuid();
|
|
37
|
+
name;
|
|
38
|
+
description;
|
|
39
|
+
sampleValues = [];
|
|
40
|
+
constructor(name, description, sampleValues) {
|
|
41
|
+
this.name = name;
|
|
42
|
+
this.description = description;
|
|
43
|
+
this.sampleValues = sampleValues;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
const generateTDSSampleOutput = (columns, rowCount = 10) => {
|
|
47
|
+
const randomizer = new Randomizer();
|
|
48
|
+
const data = [];
|
|
49
|
+
for (let i = 0; i < rowCount; ++i) {
|
|
50
|
+
const rowData = [];
|
|
51
|
+
columns.forEach((column) => {
|
|
52
|
+
if (column.sampleValues.length) {
|
|
53
|
+
rowData.push(randomizer.getRandomItemInCollection(column.sampleValues));
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
rowData.push(undefined);
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
data.push(rowData);
|
|
60
|
+
}
|
|
61
|
+
return data;
|
|
62
|
+
};
|
|
63
|
+
export class HACKY__DataSpaceUsageShowcaseTDSOutputDescription extends HACKY__DataSpaceUsageShowcaseOutputDescription {
|
|
64
|
+
columns = [];
|
|
65
|
+
constructor(columns) {
|
|
66
|
+
super(new HACKY__DataSpaceUsageShowcaseTDSSampleOutput(columns.map((col) => col.name), generateTDSSampleOutput(columns)));
|
|
67
|
+
this.columns = columns;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export class HACKY__DataSpaceUsageShowcase {
|
|
71
|
+
uuid = uuid();
|
|
72
|
+
title;
|
|
73
|
+
description;
|
|
74
|
+
query;
|
|
75
|
+
outputDescription;
|
|
76
|
+
showQuery = false;
|
|
77
|
+
showOutputDescription = true;
|
|
78
|
+
showSampleOutput = false;
|
|
79
|
+
constructor(title, description, query, outputDescription) {
|
|
80
|
+
makeObservable(this, {
|
|
81
|
+
showQuery: observable,
|
|
82
|
+
showOutputDescription: observable,
|
|
83
|
+
showSampleOutput: observable,
|
|
84
|
+
setShowQuery: action,
|
|
85
|
+
setShowOutputDescription: action,
|
|
86
|
+
setShowSampleOutput: action,
|
|
87
|
+
});
|
|
88
|
+
this.title = title;
|
|
89
|
+
this.description = description;
|
|
90
|
+
this.query = query;
|
|
91
|
+
this.outputDescription = outputDescription;
|
|
92
|
+
}
|
|
93
|
+
setShowQuery(val) {
|
|
94
|
+
this.showQuery = val;
|
|
95
|
+
}
|
|
96
|
+
setShowOutputDescription(val) {
|
|
97
|
+
this.showOutputDescription = val;
|
|
98
|
+
}
|
|
99
|
+
setShowSampleOutput(val) {
|
|
100
|
+
this.showSampleOutput = val;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
export const HACKY__SHOWCASE1 = new HACKY__DataSpaceUsageShowcase('Getting all COVID cases info', `## Illa figens scelerum operum tonitribus cumque ego
|
|
104
|
+
|
|
105
|
+
Lorem markdownum meritis quoque narravere ea fallere caelumque enim magnoque! Et
|
|
106
|
+
animam trabeati Iuppiter quos ossa erat coniuge tu secrevit glaebas viam vulgus,
|
|
107
|
+
adsere eripitur saepe; eadem.
|
|
108
|
+
|
|
109
|
+
## Genualia quae
|
|
110
|
+
|
|
111
|
+
Troezenius sceptri respondere curasque et quidem epulae oculos inornatos letique
|
|
112
|
+
servaverat armi facta. Ille sentirent! Excipit Echecli [vos
|
|
113
|
+
optatis](http://ante.io/quid.aspx): quo stipite dixit in supremis nec fatetur
|
|
114
|
+
sentit; illa ultor. Multa abest terras facundis utque, omnique silvamque nam
|
|
115
|
+
quamvis iners.
|
|
116
|
+
|
|
117
|
+
real_basic = exbibyte - isoText / zebibyteLogicNorthbridge -
|
|
118
|
+
ripcordingHeatCard;
|
|
119
|
+
ppl(ppgaNosql(grayscaleFile(vpnBsod, file, balancing)), pop_cross_error(97 +
|
|
120
|
+
cmos_mac), w);
|
|
121
|
+
rich.fileClientTablet = impact.method_pharming(xml, w_external +
|
|
122
|
+
softwareGpsDirect);
|
|
123
|
+
search = -1;
|
|
124
|
+
|
|
125
|
+
## Trabes cepit mortalia`, `|domain::COVIDData.all()->project(
|
|
126
|
+
[
|
|
127
|
+
x|$x.cases,
|
|
128
|
+
x|$x.caseType,
|
|
129
|
+
x|$x.fips,
|
|
130
|
+
x|$x.date
|
|
131
|
+
],
|
|
132
|
+
[
|
|
133
|
+
'Cases',
|
|
134
|
+
'Case Type',
|
|
135
|
+
'Fips',
|
|
136
|
+
'Date'
|
|
137
|
+
]
|
|
138
|
+
)`, new HACKY__DataSpaceUsageShowcaseTDSOutputDescription([
|
|
139
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('Cases', 'The number of cases', [123, 1416, 12453, 6234]),
|
|
140
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('Case Type', 'Type of the reported case: e.g. Active, Confirmed', ['Active', 'Confirmed']),
|
|
141
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('FIPS', 'The FIPS code', [1, 3, 5, 6, 7]),
|
|
142
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('Date', 'The date of case report', ['2020-10-10', '2023-10-15', '2022-03-03']),
|
|
143
|
+
]));
|
|
144
|
+
export const HACKY__SHOWCASE2 = new HACKY__DataSpaceUsageShowcase('Getting COVID cases info for New York (FIPS: 20)', `## Citharam laudibus et mensas Numitorque eademque
|
|
145
|
+
|
|
146
|
+
Lorem markdownum ferventia euntem adsensit tenetque fateri dirum intrasse
|
|
147
|
+
[Naupliades](http://promisistis.net/): quod. Aequali somni vulnera frontem tamen
|
|
148
|
+
circumdata quidem coniunctior rerum omnis reddite teneri Maiaque manebat
|
|
149
|
+
corpora, Acmon caputque demptos.
|
|
150
|
+
|
|
151
|
+
## E tepidisque
|
|
152
|
+
|
|
153
|
+
Fetus Sperchios, dumque bono spissus media ora desilit ingenti, lupo forsitan
|
|
154
|
+
*se*. Extra et una **iuventus pronus** crinis nodum lucis casus quae pronus et.
|
|
155
|
+
|
|
156
|
+
> **Latos fuit** bracchia contendere thalamos inmiti securibus Aeginam campus
|
|
157
|
+
> maestaeque urbis, sic nobis quae colebat, manu. Nec fecit descendat dare
|
|
158
|
+
> minus; a umbras iam inpetus **neci**. Quid talia, et pulsis, easdem, clamore,
|
|
159
|
+
> putetis. AI inultam loqui **antiquo Liberfemineae** damna; nostra riget
|
|
160
|
+
> liberat rogatus nisi recentibus. Putria turbineo terram virilem, est quoque
|
|
161
|
+
> *esse Sabina* qui profatur rauca, hunc.
|
|
162
|
+
`, `|domain::COVIDData.all()->filter(
|
|
163
|
+
x|$x.demographics.fips == '20'
|
|
164
|
+
)->project(
|
|
165
|
+
[
|
|
166
|
+
x|$x.cases,
|
|
167
|
+
x|$x.caseType,
|
|
168
|
+
x|$x.fips,
|
|
169
|
+
x|$x.date,
|
|
170
|
+
x|$x.demographics.state
|
|
171
|
+
],
|
|
172
|
+
[
|
|
173
|
+
'Cases',
|
|
174
|
+
'Case Type',
|
|
175
|
+
'Fips',
|
|
176
|
+
'Date',
|
|
177
|
+
'Demographics/State'
|
|
178
|
+
]
|
|
179
|
+
)`, new HACKY__DataSpaceUsageShowcaseTDSOutputDescription([
|
|
180
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('Cases', 'The number of cases', [123, 1416, 12453, 6234]),
|
|
181
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('Case Type', 'Type of the reported case: e.g. Active, Confirmed', ['Active', 'Confirmed']),
|
|
182
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('FIPS', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ante in nibh mauris cursus mattis. Placerat vestibulum lectus mauris ultrices eros. Dignissim diam quis enim lobortis scelerisque. Quam id leo in vitae turpis. Lobortis feugiat vivamus at augue eget arcu dictum varius duis. Tellus mauris a diam maecenas sed enim ut sem viverra. Nec feugiat nisl pretium fusce id. A iaculis at erat pellentesque adipiscing commodo. Turpis massa tincidunt dui ut ornare lectus sit. Nascetur ridiculus mus mauris vitae ultricies leo integer malesuada. Nisi lacus sed viverra tellus in hac habitasse platea dictumst. Commodo viverra maecenas accumsan lacus vel facilisis volutpat.', [1, 3, 5, 6, 7]),
|
|
183
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('Date', 'The date of case report', ['2020-10-10', '2023-10-15', '2022-03-03']),
|
|
184
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('State', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Imperdiet proin fermentum leo vel orci porta. Et tortor consequat id porta nibh venenatis cras. Ut etiam sit amet nisl purus in mollis. Iaculis eu non diam phasellus vestibulum lorem sed risus. Nisl vel pretium lectus quam id leo in vitae. Tellus molestie nunc non blandit massa enim nec dui. Lorem donec massa sapien faucibus et molestie ac. Pharetra convallis posuere morbi leo urna molestie at. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque elit ullamcorper. Non blandit massa enim nec dui nunc mattis. Scelerisque eleifend donec pretium vulputate sapien. In cursus turpis massa tincidunt dui ut ornare lectus sit. Turpis in eu mi bibendum neque. Congue mauris rhoncus aenean vel elit scelerisque mauris pellentesque pulvinar. Elit ullamcorper dignissim cras tincidunt lobortis feugiat. Pellentesque dignissim enim sit amet. Morbi tristique senectus et netus et malesuada fames ac. At tellus at urna condimentum mattis pellentesque id', ['New York', 'Minesota', 'New Jersey', 'California']),
|
|
185
|
+
]));
|
|
186
|
+
export const HACKY__SHOWCASE3 = new HACKY__DataSpaceUsageShowcase('Getting COVID cases for today', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', `|domain::COVIDData.all()->filter(
|
|
187
|
+
x|$x.date ==
|
|
188
|
+
meta::pure::functions::date::today()
|
|
189
|
+
)->project(
|
|
190
|
+
[
|
|
191
|
+
x|$x.cases,
|
|
192
|
+
x|$x.caseType,
|
|
193
|
+
x|$x.date,
|
|
194
|
+
x|$x.demographics.state
|
|
195
|
+
],
|
|
196
|
+
[
|
|
197
|
+
'Cases',
|
|
198
|
+
'Case Type',
|
|
199
|
+
'Date',
|
|
200
|
+
'Fips',
|
|
201
|
+
'Demographics/State'
|
|
202
|
+
]
|
|
203
|
+
)`, new HACKY__DataSpaceUsageShowcaseTDSOutputDescription([
|
|
204
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('Cases', 'The number of cases', [123, 1416, 12453, 6234]),
|
|
205
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('Case Type', 'Type of the reported case: e.g. Active, Confirmed', ['Active', 'Confirmed']),
|
|
206
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('Date', 'The date of case report', ['2020-10-10', '2023-10-15', '2022-03-03']),
|
|
207
|
+
new HACKY__DataSpaceUsageShowcaseTDSColumnInfo('State', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Imperdiet proin fermentum leo vel orci porta. Et tortor consequat id porta nibh venenatis cras. Ut etiam sit amet nisl purus in mollis. Iaculis eu non diam phasellus vestibulum lorem sed risus. Nisl vel pretium lectus quam id leo in vitae. Tellus molestie nunc non blandit massa enim nec dui. Lorem donec massa sapien faucibus et molestie ac. Pharetra convallis posuere morbi leo urna molestie at. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque elit ullamcorper. Non blandit massa enim nec dui nunc mattis. Scelerisque eleifend donec pretium vulputate sapien. In cursus turpis massa tincidunt dui ut ornare lectus sit. Turpis in eu mi bibendum neque. Congue mauris rhoncus aenean vel elit scelerisque mauris pellentesque pulvinar. Elit ullamcorper dignissim cras tincidunt lobortis feugiat. Pellentesque dignissim enim sit amet. Morbi tristique senectus et netus et malesuada fames ac. At tellus at urna condimentum mattis pellentesque id', ['New York', 'Minesota', 'New Jersey', 'California']),
|
|
208
|
+
]));
|
|
209
|
+
//# sourceMappingURL=HACKY__DataSpaceUsageShowcase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HACKY__DataSpaceUsageShowcase.js","sourceRoot":"","sources":["../../../../src/graphManager/action/analytics/HACKY__DataSpaceUsageShowcase.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,MAAM,OAAgB,yCAAyC;CAAG;AAElE,MAAM,OAAgB,8CAA8C;IACzD,YAAY,CAA6C;IAElE,YAAY,YAAuD;QACjE,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;CACF;AAID,MAAM,OAAO,4CAA6C,SAAQ,yCAAyC;IAChG,OAAO,GAAa,EAAE,CAAC;IACvB,IAAI,GAAmB,EAAE,CAAC;IAEnC,YAAY,OAAiB,EAAE,IAAoB;QACjD,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CA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E,EACF,IAAI,iDAAiD,CAAC;IACpD,IAAI,0CAA0C,CAC5C,OAAO,EACP,qBAAqB,EACrB,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,CACzB;IACD,IAAI,0CAA0C,CAC5C,WAAW,EACX,mDAAmD,EACnD,CAAC,QAAQ,EAAE,WAAW,CAAC,CACxB;IACD,IAAI,0CAA0C,CAC5C,MAAM,EACN,yBAAyB,EACzB,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,CAC3C;IACD,IAAI,0CAA0C,CAC5C,OAAO,EACP,2jCAA2jC,EAC3jC,CAAC,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,CAAC,CACrD;CACF,CAAC,CACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,wEAAwE,CAAC;AAChF,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAY9B,OAAO,EAEL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAS5B,2BAA2B,EAC3B,iBAAiB,
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,wEAAwE,CAAC;AAChF,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAY9B,OAAO,EAEL,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAS5B,2BAA2B,EAC3B,iBAAiB,EAMlB,MAAM,qBAAqB,CAAC;AAM7B,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,qBAAa,yCAA0C,SAAQ,2BAA2B;;IAQ/E,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IAmHxE,uBAAuB,IAAI,WAAW,CAAC,uBAAuB,CAAC,EAAE;IAIjE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;CAmEnE;AAED,eAAO,MAAM,6BAA6B,SAClC,YAAY,YAAY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
|
|
@@ -21,7 +21,7 @@ import { deserialize, serialize } from 'serializr';
|
|
|
21
21
|
import { V1_dataSpaceModelSchema, V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE, } from './v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js';
|
|
22
22
|
import { getOwnDataSpace } from '../../DSL_DataSpace_GraphManagerHelper.js';
|
|
23
23
|
import { DataSpace, DataSpaceExecutionContext, DataSpaceSupportEmail, } from '../../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
|
24
|
-
import { V1_taggedValueSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_buildFullPath, } from '@finos/legend-graph';
|
|
24
|
+
import { V1_taggedValueSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_buildFullPath, Class, Enumeration, Association, } from '@finos/legend-graph';
|
|
25
25
|
import { V1_DSL_Diagram_PackageableElementPointerType, getDiagram, } from '@finos/legend-extension-dsl-diagram';
|
|
26
26
|
export const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = 'meta::pure::metamodel::dataSpace::DataSpace';
|
|
27
27
|
export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
|
|
@@ -66,6 +66,17 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
|
|
|
66
66
|
if (elementProtocol.featuredDiagrams) {
|
|
67
67
|
element.featuredDiagrams = elementProtocol.featuredDiagrams.map((pointer) => PackageableElementExplicitReference.create(getDiagram(pointer.path, context.graph)));
|
|
68
68
|
}
|
|
69
|
+
if (elementProtocol.elements) {
|
|
70
|
+
element.elements = elementProtocol.elements.map((pointer) => {
|
|
71
|
+
const el = context.graph.getElement(pointer.path);
|
|
72
|
+
if (el instanceof Class ||
|
|
73
|
+
el instanceof Enumeration ||
|
|
74
|
+
el instanceof Association) {
|
|
75
|
+
return PackageableElementExplicitReference.create(el);
|
|
76
|
+
}
|
|
77
|
+
throw new UnsupportedOperationError(`Can't find data space element (only allow class, enumartion, association) '${pointer.path}'`);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
69
80
|
if (elementProtocol.supportInfo) {
|
|
70
81
|
if (elementProtocol.supportInfo instanceof V1_DataSpaceSupportEmail) {
|
|
71
82
|
const supportEmail = new DataSpaceSupportEmail();
|
|
@@ -134,6 +145,7 @@ export class DSL_DataSpace_PureProtocolProcessorPlugin extends PureProtocolProce
|
|
|
134
145
|
protocol.title = metamodel.title;
|
|
135
146
|
protocol.description = metamodel.description;
|
|
136
147
|
protocol.featuredDiagrams = metamodel.featuredDiagrams?.map((diagramPath) => new V1_PackageableElementPointer(V1_DSL_Diagram_PackageableElementPointerType, diagramPath.valueForSerialization ?? ''));
|
|
148
|
+
protocol.elements = metamodel.elements?.map((elPath) => new V1_PackageableElementPointer(PackageableElementPointerType.CLASS, elPath.valueForSerialization ?? ''));
|
|
137
149
|
if (metamodel.supportInfo) {
|
|
138
150
|
if (metamodel.supportInfo instanceof DataSpaceSupportEmail) {
|
|
139
151
|
const supportEmail = new V1_DataSpaceSupportEmail();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,wEAAwE,CAAC;AAChF,OAAO,EAEL,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,uBAAuB,EACvB,mCAAmC,GACpC,MAAM,qEAAqE,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EACL,SAAS,EACT,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,8FAA8F,CAAC;AACtG,OAAO,EAWL,oBAAoB,EACpB,mCAAmC,EACnC,4BAA4B,EAC5B,6BAA6B,EAC7B,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/graphManager/protocol/pure/DSL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AAI,GAAG,EAAU,CAAC;IACxC,IAAI,IAAI,CAAC,KAAK,KAAK,mCAAmC,EAAE;QACtD,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;YACpC,MAAM,YAAY,GAChB,IAAI,CAAC,YACN,CAAC,GAAG,CAAC,CAAC,eAAe,EAAE,EAAE,CACxB,WAAW,CAAC,oBAAoB,EAAE,eAAe,CAAC,CACnD,CAAC;YACF,YAAY;iBACT,MAAM,CACL,CAAC,WAAW,EAAE,EAAE,CACd,WAAW,CAAC,GAAG,CAAC,OAAO,KAAK,uBAAuB;gBACnD,WAAW,CAAC,GAAG,CAAC,KAAK,KAAK,kBAAkB,CAC/C;iBACA,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE;gBACvB,WAAW,CAAC,KAAK;qBACd,KAAK,CAAC,kCAAkC,CAAC;qBACzC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;qBAC5B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;qBACjC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;YAClD,CAAC,CAAC,CAAC;SACN;KACF;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
|
package/lib/graphManager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"V1_DSL_DataSpace_PureGraphManagerExtension.d.ts","sourceRoot":"","sources":["../../../../../src/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,
|
|
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,EAKxB,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,CAAC;AAUxG,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;CAgOtC"}
|