@finos/legend-extension-dsl-data-space 10.2.3 → 10.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/{components → __lib__}/query/DSL_DataSpace_LegendQueryDocumentation.d.ts +1 -1
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryDocumentation.d.ts.map +1 -0
- package/lib/{components → __lib__}/query/DSL_DataSpace_LegendQueryDocumentation.js +4 -4
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryDocumentation.js.map +1 -0
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.d.ts +0 -12
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.d.ts.map +1 -1
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.js +0 -12
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.js.map +1 -1
- package/lib/__lib__/shared/DSL_DataSpace_LegendNavigation.d.ts +15 -0
- package/lib/__lib__/shared/DSL_DataSpace_LegendNavigation.d.ts.map +1 -0
- package/lib/__lib__/shared/DSL_DataSpace_LegendNavigation.js +32 -0
- package/lib/__lib__/shared/DSL_DataSpace_LegendNavigation.js.map +1 -0
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/index.d.ts +4 -2
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +4 -2
- package/lib/components/index.js.map +1 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js +3 -2
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilder.d.ts +2 -5
- package/lib/components/query/DataSpaceQueryBuilder.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilder.js +5 -24
- package/lib/components/query/DataSpaceQueryBuilder.js.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.d.ts +1 -1
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.js +2 -2
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.js.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/shared/DSL_DataSpace_Icon.d.ts.map +1 -0
- package/lib/components/shared/DSL_DataSpace_Icon.js.map +1 -0
- package/lib/graph-manager/index.d.ts +3 -0
- package/lib/graph-manager/index.d.ts.map +1 -1
- package/lib/graph-manager/index.js +4 -0
- package/lib/graph-manager/index.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -4
- package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts.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.js +1 -1
- package/lib/stores/query/DataSpaceQueryCreatorStore.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.d.ts +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.js +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.js.map +1 -1
- package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.js +1 -1
- package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.js.map +1 -1
- package/lib/stores/{query → query-builder}/DataSpaceQueryBuilderState.d.ts +2 -2
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/{query → query-builder}/DataSpaceQueryBuilderState.js +2 -2
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js.map +1 -0
- package/lib/stores/shared/DataSpaceInfo.d.ts.map +1 -0
- package/lib/stores/shared/DataSpaceInfo.js.map +1 -0
- package/package.json +6 -9
- package/src/{components → __lib__}/query/DSL_DataSpace_LegendQueryDocumentation.ts +1 -1
- package/src/__lib__/query/DSL_DataSpace_LegendQueryNavigation.ts +0 -34
- package/src/__lib__/shared/DSL_DataSpace_LegendNavigation.ts +57 -0
- package/src/components/DSL_DataSpace_LegendApplicationPlugin.tsx +1 -1
- package/src/components/index.ts +6 -2
- package/src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx +3 -3
- package/src/components/query/DataSpaceAdvancedSearchModal.tsx +1 -1
- package/src/components/query/DataSpaceQueryBuilder.tsx +7 -68
- package/src/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx +3 -3
- package/src/components/query/DataSpaceQuerySetup.tsx +1 -1
- package/src/graph-manager/index.ts +5 -0
- package/src/stores/query/DataSpaceAdvancedSearchState.ts +4 -1
- package/src/stores/query/DataSpaceQueryCreatorStore.ts +2 -2
- package/src/stores/query/DataSpaceQuerySetupStore.ts +4 -1
- package/src/stores/query/DataSpaceTemplateQueryCreatorStore.ts +2 -2
- package/src/stores/{query → query-builder}/DataSpaceQueryBuilderState.ts +5 -2
- package/tsconfig.json +5 -13
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.d.ts +0 -17
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.d.ts.map +0 -1
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.js +0 -54
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.js.map +0 -1
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts +0 -20
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.js +0 -21
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.js.map +0 -1
- package/lib/components/DSL_DataSpace_Icon.d.ts.map +0 -1
- package/lib/components/DSL_DataSpace_Icon.js.map +0 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryDocumentation.d.ts.map +0 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryDocumentation.js.map +0 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts +0 -39
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js +0 -207
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/studio/DataSpacePreviewAction.d.ts +0 -25
- package/lib/components/studio/DataSpacePreviewAction.d.ts.map +0 -1
- package/lib/components/studio/DataSpacePreviewAction.js +0 -53
- package/lib/components/studio/DataSpacePreviewAction.js.map +0 -1
- package/lib/components/studio/DataSpaceQueryAction.d.ts +0 -22
- package/lib/components/studio/DataSpaceQueryAction.d.ts.map +0 -1
- package/lib/components/studio/DataSpaceQueryAction.js +0 -29
- package/lib/components/studio/DataSpaceQueryAction.js.map +0 -1
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.d.ts +0 -19
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.d.ts.map +0 -1
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.js +0 -81
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.js.map +0 -1
- package/lib/components/studio/index.d.ts +0 -17
- package/lib/components/studio/index.d.ts.map +0 -1
- package/lib/components/studio/index.js +0 -17
- package/lib/components/studio/index.js.map +0 -1
- package/lib/stores/query/DataSpaceInfo.d.ts.map +0 -1
- package/lib/stores/query/DataSpaceInfo.js.map +0 -1
- package/lib/stores/query/DataSpaceQueryBuilderState.d.ts.map +0 -1
- package/lib/stores/query/DataSpaceQueryBuilderState.js.map +0 -1
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.d.ts +0 -61
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.d.ts.map +0 -1
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.js +0 -407
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.js.map +0 -1
- package/lib/stores/studio/DataSpacePreviewState.d.ts +0 -33
- package/lib/stores/studio/DataSpacePreviewState.d.ts.map +0 -1
- package/lib/stores/studio/DataSpacePreviewState.js +0 -117
- package/lib/stores/studio/DataSpacePreviewState.js.map +0 -1
- package/src/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.ts +0 -54
- package/src/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.ts +0 -20
- package/src/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.tsx +0 -297
- package/src/components/studio/DataSpacePreviewAction.tsx +0 -136
- package/src/components/studio/DataSpaceQueryAction.tsx +0 -34
- package/src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx +0 -292
- package/src/components/studio/index.ts +0 -17
- package/src/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.ts +0 -636
- package/src/stores/studio/DataSpacePreviewState.ts +0 -195
- /package/lib/components/{DSL_DataSpace_Icon.d.ts → shared/DSL_DataSpace_Icon.d.ts} +0 -0
- /package/lib/components/{DSL_DataSpace_Icon.js → shared/DSL_DataSpace_Icon.js} +0 -0
- /package/lib/stores/{query → shared}/DataSpaceInfo.d.ts +0 -0
- /package/lib/stores/{query → shared}/DataSpaceInfo.js +0 -0
- /package/src/components/{DSL_DataSpace_Icon.tsx → shared/DSL_DataSpace_Icon.tsx} +0 -0
- /package/src/stores/{query → shared}/DataSpaceInfo.ts +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DataSpaceInfo.js","sourceRoot":"","sources":["../../../src/stores/shared/DataSpaceInfo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,sBAAsB,GAEvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAgBlE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,YAA0B,EAC1B,UAAmB,EACJ,EAAE,CAAC,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC,OAAO;IAC7B,UAAU,EAAE,YAAY,CAAC,UAAU;IACnC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,YAAY,CAAC,SAAS;IACvE,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,IAAI;IAC9B,IAAI,EAAE,yBAAyB,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC;IACzD,KAAK,EAAE,QAAQ,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC;QAChD,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK;QACnC,CAAC,CAAC,SAAS;IACb,yEAAyE;IACzE,+EAA+E;IAC/E,uBAAuB,EAAE,QAAQ,CAC/B,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CACpD;QACC,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB;QACrD,CAAC,CAAC,SAAS;CACd,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
3
|
-
"version": "10.
|
3
|
+
"version": "10.3.0",
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -23,7 +23,6 @@
|
|
23
23
|
"exports": {
|
24
24
|
"./graph": "./lib/graph-manager/index.js",
|
25
25
|
"./application": "./lib/components/index.js",
|
26
|
-
"./application-studio": "./lib/components/studio/index.js",
|
27
26
|
"./application-query": "./lib/components/query/index.js",
|
28
27
|
"./lib/index.css": "./lib/index.css"
|
29
28
|
},
|
@@ -45,13 +44,12 @@
|
|
45
44
|
},
|
46
45
|
"dependencies": {
|
47
46
|
"@finos/legend-application": "15.0.74",
|
48
|
-
"@finos/legend-application-query": "13.4.
|
49
|
-
"@finos/legend-application-studio": "28.16.11",
|
47
|
+
"@finos/legend-application-query": "13.4.1",
|
50
48
|
"@finos/legend-art": "7.1.26",
|
51
|
-
"@finos/legend-extension-dsl-diagram": "8.0.
|
52
|
-
"@finos/legend-graph": "31.9.
|
53
|
-
"@finos/legend-lego": "1.2.
|
54
|
-
"@finos/legend-query-builder": "4.14.
|
49
|
+
"@finos/legend-extension-dsl-diagram": "8.0.156",
|
50
|
+
"@finos/legend-graph": "31.9.11",
|
51
|
+
"@finos/legend-lego": "1.2.24",
|
52
|
+
"@finos/legend-query-builder": "4.14.25",
|
55
53
|
"@finos/legend-server-depot": "6.0.39",
|
56
54
|
"@finos/legend-server-sdlc": "5.3.10",
|
57
55
|
"@finos/legend-shared": "10.0.34",
|
@@ -86,7 +84,6 @@
|
|
86
84
|
"pureProtocolProcessorPlugin": "@finos/legend-pure-protocol-processor-plugin-dsl-data-space",
|
87
85
|
"pureGraphManagerPlugin": "@finos/legend-pure-graph-manager-plugin-dsl-data-space",
|
88
86
|
"pureGraphPlugin": "@finos/legend-pure-graph-plugin-dsl-data-space",
|
89
|
-
"applicationStudioPlugin": "@finos/legend-application-studio-plugin-dsl-data-space",
|
90
87
|
"applicationQueryPlugin": "@finos/legend-application-query-plugin-dsl-data-space"
|
91
88
|
}
|
92
89
|
}
|
@@ -42,12 +42,6 @@ export enum DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN {
|
|
42
42
|
TEMPLATE_QUERY_ID = 'templateQueryId',
|
43
43
|
}
|
44
44
|
|
45
|
-
export enum DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN {
|
46
|
-
GAV = 'gav',
|
47
|
-
DATA_SPACE_PATH = 'dataSpacePath',
|
48
|
-
QUERY_ID = 'queryId',
|
49
|
-
}
|
50
|
-
|
51
45
|
export type DataSpaceQueryCreatorPathParams = {
|
52
46
|
[DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string;
|
53
47
|
[DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: string;
|
@@ -61,12 +55,6 @@ export type DataSpaceTemplateQueryCreatorPathParams = {
|
|
61
55
|
[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_ID]: string;
|
62
56
|
};
|
63
57
|
|
64
|
-
export type DataSpaceTemplateQueryPromotionReviewerPathParams = {
|
65
|
-
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.GAV]: string;
|
66
|
-
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: string;
|
67
|
-
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID]: string;
|
68
|
-
};
|
69
|
-
|
70
58
|
export type DataSpaceQueryEditorQueryParams = {
|
71
59
|
[DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH]?: string | undefined;
|
72
60
|
};
|
@@ -75,7 +63,6 @@ export const DATA_SPACE_QUERY_ROUTE_PATTERN = Object.freeze({
|
|
75
63
|
SETUP: `/dataspace`,
|
76
64
|
CREATE: `/dataspace/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH}?`,
|
77
65
|
TEMPLATE_QUERY: `/dataspace/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_ID}`,
|
78
|
-
PROMOTE_TEMPLATE_QUERY: `/promote-template-query/:${DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID}?`,
|
79
66
|
});
|
80
67
|
|
81
68
|
export const generateDataSpaceQuerySetupRoute = (): string =>
|
@@ -134,24 +121,3 @@ export const generateDataSpaceTemplateQueryCreatorRoute = (
|
|
134
121
|
templateQueryId,
|
135
122
|
},
|
136
123
|
);
|
137
|
-
|
138
|
-
export const generateDataSpaceTemplateQueryPromotionRoute = (
|
139
|
-
groupId: string,
|
140
|
-
artifactId: string,
|
141
|
-
versionId: string,
|
142
|
-
dataSpacePath: string,
|
143
|
-
queryId: string | undefined,
|
144
|
-
): string =>
|
145
|
-
generatePath(
|
146
|
-
generateExtensionUrlPattern(
|
147
|
-
DATA_SPACE_QUERY_ROUTE_PATTERN.PROMOTE_TEMPLATE_QUERY,
|
148
|
-
),
|
149
|
-
{
|
150
|
-
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.GAV]:
|
151
|
-
generateGAVCoordinates(groupId, artifactId, versionId),
|
152
|
-
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]:
|
153
|
-
dataSpacePath,
|
154
|
-
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID]:
|
155
|
-
queryId,
|
156
|
-
},
|
157
|
-
);
|
@@ -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
|
+
import {
|
17
|
+
generateExtensionUrlPattern,
|
18
|
+
generatePath,
|
19
|
+
} from '@finos/legend-application/browser';
|
20
|
+
import { generateGAVCoordinates } from '@finos/legend-storage';
|
21
|
+
|
22
|
+
export enum DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN {
|
23
|
+
GAV = 'gav',
|
24
|
+
DATA_SPACE_PATH = 'dataSpacePath',
|
25
|
+
QUERY_ID = 'queryId',
|
26
|
+
}
|
27
|
+
|
28
|
+
export type DataSpaceTemplateQueryPromotionReviewerPathParams = {
|
29
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.GAV]: string;
|
30
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: string;
|
31
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID]: string;
|
32
|
+
};
|
33
|
+
|
34
|
+
export const DATA_SPACE_STUDIO_ROUTE_PATTERN = Object.freeze({
|
35
|
+
PROMOTE_TEMPLATE_QUERY: `/promote-template-query/:${DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID}?`,
|
36
|
+
});
|
37
|
+
|
38
|
+
export const generateDataSpaceTemplateQueryPromotionRoute = (
|
39
|
+
groupId: string,
|
40
|
+
artifactId: string,
|
41
|
+
versionId: string,
|
42
|
+
dataSpacePath: string,
|
43
|
+
queryId: string | undefined,
|
44
|
+
): string =>
|
45
|
+
generatePath(
|
46
|
+
generateExtensionUrlPattern(
|
47
|
+
DATA_SPACE_STUDIO_ROUTE_PATTERN.PROMOTE_TEMPLATE_QUERY,
|
48
|
+
),
|
49
|
+
{
|
50
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.GAV]:
|
51
|
+
generateGAVCoordinates(groupId, artifactId, versionId),
|
52
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]:
|
53
|
+
dataSpacePath,
|
54
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID]:
|
55
|
+
queryId,
|
56
|
+
},
|
57
|
+
);
|
@@ -30,7 +30,7 @@ import type {
|
|
30
30
|
QueryBuilder_LegendApplicationPlugin_Extension,
|
31
31
|
TemplateQueryPanelContentRenderer,
|
32
32
|
} from '@finos/legend-query-builder';
|
33
|
-
import { DataSpaceQueryBuilderState } from '../stores/query/DataSpaceQueryBuilderState.js';
|
33
|
+
import { DataSpaceQueryBuilderState } from '../stores/query-builder/DataSpaceQueryBuilderState.js';
|
34
34
|
import {
|
35
35
|
createQueryClassTaggedValue,
|
36
36
|
createQueryDataSpaceTaggedValue,
|
package/src/components/index.ts
CHANGED
@@ -16,10 +16,14 @@
|
|
16
16
|
|
17
17
|
export * from '../__lib__/DSL_DataSpace_LegendApplicationNavigation.js';
|
18
18
|
export * from '../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
19
|
+
export * from '../__lib__/shared/DSL_DataSpace_LegendNavigation.js';
|
20
|
+
|
19
21
|
export { DSL_DataSpace_LegendApplicationPlugin } from './DSL_DataSpace_LegendApplicationPlugin.js';
|
20
22
|
export { DataSpaceViewer } from './DataSpaceViewer.js';
|
21
23
|
export * from '../stores/DSL_DataSpace_LegendApplicationPlugin_Extension.js';
|
22
24
|
export { DataSpaceViewerState } from '../stores/DataSpaceViewerState.js';
|
23
|
-
export { DataSpaceQueryBuilderState } from '../stores/query/DataSpaceQueryBuilderState.js';
|
24
|
-
export { type DataSpaceInfo } from '../stores/
|
25
|
+
export { DataSpaceQueryBuilderState } from '../stores/query-builder/DataSpaceQueryBuilderState.js';
|
26
|
+
export { type DataSpaceInfo } from '../stores/shared/DataSpaceInfo.js';
|
25
27
|
export { DataSpaceQuerySetupState } from '../stores/query/DataSpaceQuerySetupStore.js';
|
28
|
+
|
29
|
+
export * from './shared/DSL_DataSpace_Icon.js';
|
@@ -37,7 +37,6 @@ import {
|
|
37
37
|
DATA_SPACE_QUERY_ROUTE_PATTERN,
|
38
38
|
generateDataSpaceQueryCreatorRoute,
|
39
39
|
generateDataSpaceQuerySetupRoute,
|
40
|
-
generateDataSpaceTemplateQueryPromotionRoute,
|
41
40
|
} from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
42
41
|
import { DataSpaceQueryCreator } from './DataSpaceQueryCreator.js';
|
43
42
|
import {
|
@@ -48,8 +47,8 @@ import {
|
|
48
47
|
import {
|
49
48
|
DataSpaceQueryBuilderState,
|
50
49
|
DataSpaceProjectInfo,
|
51
|
-
} from '../../stores/query/DataSpaceQueryBuilderState.js';
|
52
|
-
import type { DataSpaceInfo } from '../../stores/
|
50
|
+
} from '../../stores/query-builder/DataSpaceQueryBuilderState.js';
|
51
|
+
import type { DataSpaceInfo } from '../../stores/shared/DataSpaceInfo.js';
|
53
52
|
import { getOwnDataSpace } from '../../graph-manager/DSL_DataSpace_GraphManagerHelper.js';
|
54
53
|
import {
|
55
54
|
assertErrorThrown,
|
@@ -74,6 +73,7 @@ import { DataSpaceTemplateQueryCreator } from './DataSpaceTemplateQueryCreator.j
|
|
74
73
|
import { DataSpaceTemplateQueryCreatorStore } from '../../stores/query/DataSpaceTemplateQueryCreatorStore.js';
|
75
74
|
import { parseProjectIdentifier } from '@finos/legend-storage';
|
76
75
|
import { getDataSpaceQueryInfo } from './QueryDataSpaceUtil.js';
|
76
|
+
import { generateDataSpaceTemplateQueryPromotionRoute } from '../../__lib__/shared/DSL_DataSpace_LegendNavigation.js';
|
77
77
|
|
78
78
|
const resolveExecutionContext = (
|
79
79
|
dataSpace: DataSpace,
|
@@ -38,7 +38,7 @@ import { flowResult } from 'mobx';
|
|
38
38
|
import { observer } from 'mobx-react-lite';
|
39
39
|
import { useEffect, useRef } from 'react';
|
40
40
|
import { DataSpaceViewer } from '../DataSpaceViewer.js';
|
41
|
-
import type { DataSpaceInfo } from '../../stores/
|
41
|
+
import type { DataSpaceInfo } from '../../stores/shared/DataSpaceInfo.js';
|
42
42
|
import type { DataSpaceAdvancedSearchState } from '../../stores/query/DataSpaceAdvancedSearchState.js';
|
43
43
|
|
44
44
|
type DataSpaceOption = { label: string; value: DataSpaceInfo };
|
@@ -31,9 +31,9 @@ import {
|
|
31
31
|
import { observer } from 'mobx-react-lite';
|
32
32
|
import { useApplicationStore } from '@finos/legend-application';
|
33
33
|
import {
|
34
|
-
DataSpaceQueryBuilderState,
|
34
|
+
type DataSpaceQueryBuilderState,
|
35
35
|
resolveUsableDataSpaceClasses,
|
36
|
-
} from '../../stores/query/DataSpaceQueryBuilderState.js';
|
36
|
+
} from '../../stores/query-builder/DataSpaceQueryBuilderState.js';
|
37
37
|
import {
|
38
38
|
buildRuntimeValueOption,
|
39
39
|
getRuntimeOptionFormatter,
|
@@ -45,18 +45,14 @@ import {
|
|
45
45
|
PackageableElementExplicitReference,
|
46
46
|
RuntimePointer,
|
47
47
|
} from '@finos/legend-graph';
|
48
|
-
import type { DataSpaceInfo } from '../../stores/
|
48
|
+
import type { DataSpaceInfo } from '../../stores/shared/DataSpaceInfo.js';
|
49
49
|
import { generateGAVCoordinates } from '@finos/legend-storage';
|
50
50
|
import { useEffect } from 'react';
|
51
51
|
import { guaranteeType } from '@finos/legend-shared';
|
52
52
|
import { flowResult } from 'mobx';
|
53
|
-
import {
|
54
|
-
|
55
|
-
type DataSpaceExecutionContext,
|
56
|
-
} from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
57
|
-
import { DataSpaceIcon } from '../DSL_DataSpace_Icon.js';
|
53
|
+
import { type DataSpaceExecutionContext } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
54
|
+
import { DataSpaceIcon } from '../shared/DSL_DataSpace_Icon.js';
|
58
55
|
import { DataSpaceAdvancedSearchModal } from './DataSpaceAdvancedSearchModal.js';
|
59
|
-
import type { EditorStore } from '@finos/legend-application-studio';
|
60
56
|
|
61
57
|
export type DataSpaceOption = {
|
62
58
|
label: string;
|
@@ -120,7 +116,8 @@ const buildExecutionContextOption = (
|
|
120
116
|
* This setup panel supports cascading in order: Data-space -> Execution context (-> Runtime) -> Class
|
121
117
|
*
|
122
118
|
* In other words, we will only show:
|
123
|
-
* - For runtime selector: the list of compatible runtimes with the selected
|
119
|
+
* - For runtime selector: the list of compatible runtimes with the selected
|
120
|
+
execution context mapping
|
124
121
|
* - For class selector: the list of compatible class with the selected execution context mapping
|
125
122
|
*
|
126
123
|
* See details on propagation/cascading in {@link DataSpaceQueryBuilderState}
|
@@ -372,61 +369,3 @@ export const renderDataSpaceQueryBuilderSetupPanelContent = (
|
|
372
369
|
queryBuilderState={queryBuilderState}
|
373
370
|
/>
|
374
371
|
);
|
375
|
-
|
376
|
-
export const queryDataSpace = async (
|
377
|
-
dataSpace: DataSpace,
|
378
|
-
editorStore: EditorStore,
|
379
|
-
): Promise<void> => {
|
380
|
-
const embeddedQueryBuilderState = editorStore.embeddedQueryBuilderState;
|
381
|
-
await flowResult(
|
382
|
-
embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration({
|
383
|
-
setupQueryBuilderState: () => {
|
384
|
-
const sourceInfo = Object.assign(
|
385
|
-
{},
|
386
|
-
editorStore.editorMode.getSourceInfo(),
|
387
|
-
{
|
388
|
-
dataSpace: dataSpace.path,
|
389
|
-
},
|
390
|
-
);
|
391
|
-
const queryBuilderState = new DataSpaceQueryBuilderState(
|
392
|
-
editorStore.applicationStore,
|
393
|
-
editorStore.graphManagerState,
|
394
|
-
editorStore.depotServerClient,
|
395
|
-
dataSpace,
|
396
|
-
dataSpace.defaultExecutionContext,
|
397
|
-
(dataSpaceInfo: DataSpaceInfo) => {
|
398
|
-
queryBuilderState.dataSpace = guaranteeType(
|
399
|
-
queryBuilderState.graphManagerState.graph.getElement(
|
400
|
-
dataSpaceInfo.path,
|
401
|
-
),
|
402
|
-
DataSpace,
|
403
|
-
);
|
404
|
-
queryBuilderState.setExecutionContext(
|
405
|
-
queryBuilderState.dataSpace.defaultExecutionContext,
|
406
|
-
);
|
407
|
-
queryBuilderState.propagateExecutionContextChange(
|
408
|
-
queryBuilderState.dataSpace.defaultExecutionContext,
|
409
|
-
);
|
410
|
-
},
|
411
|
-
false,
|
412
|
-
undefined,
|
413
|
-
undefined,
|
414
|
-
undefined,
|
415
|
-
undefined,
|
416
|
-
undefined,
|
417
|
-
editorStore.applicationStore.config.options.queryBuilderConfig,
|
418
|
-
sourceInfo,
|
419
|
-
);
|
420
|
-
queryBuilderState.setExecutionContext(
|
421
|
-
dataSpace.defaultExecutionContext,
|
422
|
-
);
|
423
|
-
queryBuilderState.propagateExecutionContextChange(
|
424
|
-
dataSpace.defaultExecutionContext,
|
425
|
-
);
|
426
|
-
return queryBuilderState;
|
427
|
-
},
|
428
|
-
actionConfigs: [],
|
429
|
-
disableCompile: true,
|
430
|
-
}),
|
431
|
-
);
|
432
|
-
};
|
@@ -25,7 +25,7 @@ import {
|
|
25
25
|
import { observer } from 'mobx-react-lite';
|
26
26
|
import { useRef } from 'react';
|
27
27
|
import { DataSpaceExecutableTemplate } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
28
|
-
import type { DataSpaceQueryBuilderState } from '../../stores/query/DataSpaceQueryBuilderState.js';
|
28
|
+
import type { DataSpaceQueryBuilderState } from '../../stores/query-builder/DataSpaceQueryBuilderState.js';
|
29
29
|
import {
|
30
30
|
ActionAlertActionType,
|
31
31
|
ActionAlertType,
|
@@ -33,7 +33,7 @@ import {
|
|
33
33
|
} from '@finos/legend-application';
|
34
34
|
import { generateDataSpaceTemplateQueryCreatorRoute } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
35
35
|
import { DocumentationLink } from '@finos/legend-lego/application';
|
36
|
-
import {
|
36
|
+
import { DSL_DATA_SPACE_LEGEND_QUERY_DOCUMENTATION_KEY } from '../../__lib__/query/DSL_DataSpace_LegendQueryDocumentation.js';
|
37
37
|
|
38
38
|
const DataSpaceTemplateQueryDialog = observer(
|
39
39
|
(props: {
|
@@ -136,7 +136,7 @@ const DataSpaceTemplateQueryDialog = observer(
|
|
136
136
|
Curated Template Queries
|
137
137
|
<DocumentationLink
|
138
138
|
documentationKey={
|
139
|
-
|
139
|
+
DSL_DATA_SPACE_LEGEND_QUERY_DOCUMENTATION_KEY.CURATED_TEMPLATE_QUERY
|
140
140
|
}
|
141
141
|
/>
|
142
142
|
</div>
|
@@ -30,7 +30,7 @@ import {
|
|
30
30
|
SearchIcon,
|
31
31
|
type SelectComponent,
|
32
32
|
} from '@finos/legend-art';
|
33
|
-
import { DataSpaceIcon } from '../DSL_DataSpace_Icon.js';
|
33
|
+
import { DataSpaceIcon } from '../shared/DSL_DataSpace_Icon.js';
|
34
34
|
import {
|
35
35
|
type DataSpaceQuerySetupState,
|
36
36
|
DataSpaceQuerySetupStore,
|
@@ -14,6 +14,10 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
+
// Graph
|
18
|
+
export * from '../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
19
|
+
export * from '../graph/metamodel/pure/model/packageableElements/mapping/DSL_DataSpace_MappingIncludeDataSpace.js';
|
20
|
+
|
17
21
|
export * from './DSL_DataSpace_GraphManagerPreset.js';
|
18
22
|
|
19
23
|
export {
|
@@ -26,3 +30,4 @@ export { DSL_DataSpace_getGraphManagerExtension } from './protocol/pure/DSL_Data
|
|
26
30
|
|
27
31
|
export * from './action/analytics/DataSpaceAnalysis.js';
|
28
32
|
export * from './action/analytics/DataSpaceAnalysisHelper.js';
|
33
|
+
export * from './protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
@@ -39,7 +39,10 @@ import { DSL_DataSpace_getGraphManagerExtension } from '../../graph-manager/prot
|
|
39
39
|
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
|
40
40
|
import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
|
41
41
|
import { generateDataSpaceQueryCreatorRoute } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
42
|
-
import {
|
42
|
+
import {
|
43
|
+
type DataSpaceInfo,
|
44
|
+
extractDataSpaceInfo,
|
45
|
+
} from '../shared/DataSpaceInfo.js';
|
43
46
|
import { type GenericLegendApplicationStore } from '@finos/legend-application';
|
44
47
|
import { retrieveAnalyticsResultCache } from '../../graph-manager/action/analytics/DataSpaceAnalysisHelper.js';
|
45
48
|
import type { DataSpaceAnalysisResult } from '../../graph-manager/action/analytics/DataSpaceAnalysis.js';
|
@@ -50,8 +50,8 @@ import { getDataSpace } from '../../graph-manager/DSL_DataSpace_GraphManagerHelp
|
|
50
50
|
import {
|
51
51
|
DataSpaceQueryBuilderState,
|
52
52
|
DataSpaceProjectInfo,
|
53
|
-
} from '
|
54
|
-
import type { DataSpaceInfo } from '
|
53
|
+
} from '../query-builder/DataSpaceQueryBuilderState.js';
|
54
|
+
import type { DataSpaceInfo } from '../shared/DataSpaceInfo.js';
|
55
55
|
import { generateDataSpaceQueryCreatorRoute } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
56
56
|
import type { DataSpaceExecutionContext } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
57
57
|
import type { QueryBuilderState } from '@finos/legend-query-builder';
|
@@ -41,7 +41,10 @@ import {
|
|
41
41
|
UnsupportedOperationError,
|
42
42
|
type GeneratorFn,
|
43
43
|
} from '@finos/legend-shared';
|
44
|
-
import {
|
44
|
+
import {
|
45
|
+
type DataSpaceInfo,
|
46
|
+
extractDataSpaceInfo,
|
47
|
+
} from '../shared/DataSpaceInfo.js';
|
45
48
|
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
|
46
49
|
import { generateDataSpaceQueryCreatorRoute } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
47
50
|
import { renderDataSpaceQuerySetupSetupPanelContent } from '../../components/query/DataSpaceQuerySetup.js';
|
@@ -36,8 +36,8 @@ import { getDataSpace } from '../../graph-manager/DSL_DataSpace_GraphManagerHelp
|
|
36
36
|
import {
|
37
37
|
DataSpaceQueryBuilderState,
|
38
38
|
DataSpaceProjectInfo,
|
39
|
-
} from '
|
40
|
-
import type { DataSpaceInfo } from '
|
39
|
+
} from '../query-builder/DataSpaceQueryBuilderState.js';
|
40
|
+
import type { DataSpaceInfo } from '../shared/DataSpaceInfo.js';
|
41
41
|
import { generateDataSpaceTemplateQueryCreatorRoute } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
42
42
|
import {
|
43
43
|
DataSpaceExecutableTemplate,
|
@@ -51,9 +51,12 @@ import {
|
|
51
51
|
type DataSpaceExecutionContext,
|
52
52
|
} from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
53
53
|
import { DATA_SPACE_ELEMENT_CLASSIFIER_PATH } from '../../graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js';
|
54
|
-
import {
|
55
|
-
import { DataSpaceAdvancedSearchState } from './DataSpaceAdvancedSearchState.js';
|
54
|
+
import { DataSpaceAdvancedSearchState } from '../query/DataSpaceAdvancedSearchState.js';
|
56
55
|
import type { DataSpaceAnalysisResult } from '../../graph-manager/action/analytics/DataSpaceAnalysis.js';
|
56
|
+
import {
|
57
|
+
extractDataSpaceInfo,
|
58
|
+
type DataSpaceInfo,
|
59
|
+
} from '../shared/DataSpaceInfo.js';
|
57
60
|
|
58
61
|
export const resolveUsableDataSpaceClasses = (
|
59
62
|
dataSpace: DataSpace,
|
package/tsconfig.json
CHANGED
@@ -34,14 +34,12 @@
|
|
34
34
|
"files": [
|
35
35
|
"./src/__lib__/DSL_DataSpace_LegendApplicationCommand.ts",
|
36
36
|
"./src/__lib__/DSL_DataSpace_LegendApplicationNavigation.ts",
|
37
|
+
"./src/__lib__/query/DSL_DataSpace_LegendQueryDocumentation.ts",
|
37
38
|
"./src/__lib__/query/DSL_DataSpace_LegendQueryNavigation.ts",
|
38
|
-
"./src/__lib__/
|
39
|
-
"./src/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.ts",
|
39
|
+
"./src/__lib__/shared/DSL_DataSpace_LegendNavigation.ts",
|
40
40
|
"./src/components/index.ts",
|
41
|
-
"./src/components/query/DSL_DataSpace_LegendQueryDocumentation.ts",
|
42
41
|
"./src/components/query/QueryDataSpaceUtil.ts",
|
43
42
|
"./src/components/query/index.ts",
|
44
|
-
"./src/components/studio/index.ts",
|
45
43
|
"./src/graph/DSL_DataSpace_HashUtils.ts",
|
46
44
|
"./src/graph/DSL_DataSpace_MetaModelConst.ts",
|
47
45
|
"./src/graph/DSL_DataSpace_PureGraphPlugin.ts",
|
@@ -71,14 +69,11 @@
|
|
71
69
|
"./src/stores/DataSpaceViewerNavigation.ts",
|
72
70
|
"./src/stores/DataSpaceViewerState.ts",
|
73
71
|
"./src/stores/query/DataSpaceAdvancedSearchState.ts",
|
74
|
-
"./src/stores/query/DataSpaceInfo.ts",
|
75
|
-
"./src/stores/query/DataSpaceQueryBuilderState.ts",
|
76
72
|
"./src/stores/query/DataSpaceQueryCreatorStore.ts",
|
77
73
|
"./src/stores/query/DataSpaceQuerySetupStore.ts",
|
78
74
|
"./src/stores/query/DataSpaceTemplateQueryCreatorStore.ts",
|
79
|
-
"./src/stores/query/
|
80
|
-
"./src/stores/
|
81
|
-
"./src/components/DSL_DataSpace_Icon.tsx",
|
75
|
+
"./src/stores/query-builder/DataSpaceQueryBuilderState.ts",
|
76
|
+
"./src/stores/shared/DataSpaceInfo.ts",
|
82
77
|
"./src/components/DSL_DataSpace_LegendApplicationPlugin.tsx",
|
83
78
|
"./src/components/DataSpaceDataAccess.tsx",
|
84
79
|
"./src/components/DataSpaceDescription.tsx",
|
@@ -100,10 +95,7 @@
|
|
100
95
|
"./src/components/query/DataSpaceQueryCreator.tsx",
|
101
96
|
"./src/components/query/DataSpaceQuerySetup.tsx",
|
102
97
|
"./src/components/query/DataSpaceTemplateQueryCreator.tsx",
|
103
|
-
"./src/components/
|
104
|
-
"./src/components/studio/DataSpacePreviewAction.tsx",
|
105
|
-
"./src/components/studio/DataSpaceQueryAction.tsx",
|
106
|
-
"./src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx",
|
98
|
+
"./src/components/shared/DSL_DataSpace_Icon.tsx",
|
107
99
|
"./src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_SystemModels.json"
|
108
100
|
],
|
109
101
|
"include": [
|
@@ -1,17 +0,0 @@
|
|
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 const SIMPLE_DATA_SPACE_SNIPPET = "DataSpace ${1:model::NewDataSpace}\n{\n executionContexts:\n [\n {\n name: '${5:Some Context}';\n title: 'New Execution Context';\n description: 'some information about the execution context';\n mapping: ${6:model::SomeMapping};\n defaultRuntime: ${7:model::SomeRuntime};\n }\n ];\n defaultExecutionContext: '${5:Some Context}';\n // description: 'description of the data models';\n // diagrams:\n // [\n // {\n // title: 'Some Diagram';\n // description: 'some diagram';\n // diagram: model::SomeDiagram;\n // }\n // ];\n // elements:\n // [\n // model::SomeClass,\n // ];\n // executables:\n // [\n // {\n // title: 'Some Executable';\n // description: 'some executable';\n // executable: model::SomeExecutable;\n // }\n // ];\n // supportInfo: Email {\n // address: 'someEmail@test.org';\n // };\n}";
|
17
|
-
//# sourceMappingURL=DSL_DataSpace_LegendStudioCodeSnippet.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendStudioCodeSnippet.d.ts","sourceRoot":"","sources":["../../../src/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,yBAAyB,q4BAqCpC,CAAC"}
|
@@ -1,54 +0,0 @@
|
|
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 const SIMPLE_DATA_SPACE_SNIPPET = `DataSpace \${1:model::NewDataSpace}
|
17
|
-
{
|
18
|
-
executionContexts:
|
19
|
-
[
|
20
|
-
{
|
21
|
-
name: '\${5:Some Context}';
|
22
|
-
title: 'New Execution Context';
|
23
|
-
description: 'some information about the execution context';
|
24
|
-
mapping: \${6:model::SomeMapping};
|
25
|
-
defaultRuntime: \${7:model::SomeRuntime};
|
26
|
-
}
|
27
|
-
];
|
28
|
-
defaultExecutionContext: '\${5:Some Context}';
|
29
|
-
// description: 'description of the data models';
|
30
|
-
// diagrams:
|
31
|
-
// [
|
32
|
-
// {
|
33
|
-
// title: 'Some Diagram';
|
34
|
-
// description: 'some diagram';
|
35
|
-
// diagram: model::SomeDiagram;
|
36
|
-
// }
|
37
|
-
// ];
|
38
|
-
// elements:
|
39
|
-
// [
|
40
|
-
// model::SomeClass,
|
41
|
-
// ];
|
42
|
-
// executables:
|
43
|
-
// [
|
44
|
-
// {
|
45
|
-
// title: 'Some Executable';
|
46
|
-
// description: 'some executable';
|
47
|
-
// executable: model::SomeExecutable;
|
48
|
-
// }
|
49
|
-
// ];
|
50
|
-
// supportInfo: Email {
|
51
|
-
// address: 'someEmail@test.org';
|
52
|
-
// };
|
53
|
-
}`;
|
54
|
-
//# sourceMappingURL=DSL_DataSpace_LegendStudioCodeSnippet.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendStudioCodeSnippet.js","sourceRoot":"","sources":["../../../src/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCvC,CAAC"}
|
@@ -1,20 +0,0 @@
|
|
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 enum DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY {
|
17
|
-
GRAMMAR_PARSER = "dsl-dataspace.grammar.parser",
|
18
|
-
CONCEPT_ELEMENT_DATA_SPACE = "dsl-dataspace.concept.element.data-space"
|
19
|
-
}
|
20
|
-
//# sourceMappingURL=DSL_DataSpace_LegendStudioDocumentation.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendStudioDocumentation.d.ts","sourceRoot":"","sources":["../../../src/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,8CAA8C;IACxD,cAAc,iCAAiC;IAC/C,0BAA0B,6CAA6C;CACxE"}
|
@@ -1,21 +0,0 @@
|
|
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 var DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY;
|
17
|
-
(function (DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY) {
|
18
|
-
DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY["GRAMMAR_PARSER"] = "dsl-dataspace.grammar.parser";
|
19
|
-
DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY["CONCEPT_ELEMENT_DATA_SPACE"] = "dsl-dataspace.concept.element.data-space";
|
20
|
-
})(DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY || (DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY = {}));
|
21
|
-
//# sourceMappingURL=DSL_DataSpace_LegendStudioDocumentation.js.map
|