@finos/legend-extension-dsl-data-space 10.2.1 → 10.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/query/DSL_DataSpace_LegendQueryDocumentation.d.ts +19 -0
- package/lib/components/query/DSL_DataSpace_LegendQueryDocumentation.d.ts.map +1 -0
- package/lib/components/query/DSL_DataSpace_LegendQueryDocumentation.js +20 -0
- package/lib/components/query/DSL_DataSpace_LegendQueryDocumentation.js.map +1 -0
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.js +3 -1
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.js.map +1 -1
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.d.ts.map +1 -1
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.js +3 -1
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +7 -7
- package/src/components/query/DSL_DataSpace_LegendQueryDocumentation.ts +19 -0
- package/src/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx +7 -0
- package/src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx +7 -0
- package/tsconfig.json +1 -0
@@ -0,0 +1,19 @@
|
|
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_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY {
|
17
|
+
CURATED_TEMPLATE_QUERY = "dsl-dataspace.curated-template-query"
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=DSL_DataSpace_LegendQueryDocumentation.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendQueryDocumentation.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,4CAA4C;IACtD,sBAAsB,yCAAyC;CAChE"}
|
@@ -0,0 +1,20 @@
|
|
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_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY;
|
17
|
+
(function (DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY) {
|
18
|
+
DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY["CURATED_TEMPLATE_QUERY"] = "dsl-dataspace.curated-template-query";
|
19
|
+
})(DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY || (DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY = {}));
|
20
|
+
//# sourceMappingURL=DSL_DataSpace_LegendQueryDocumentation.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendQueryDocumentation.js","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,4CAEX;AAFD,WAAY,4CAA4C;IACtD,+GAA+D,CAAA;AACjE,CAAC,EAFW,4CAA4C,KAA5C,4CAA4C,QAEvD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAaH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAaH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAqMnG,eAAO,MAAM,oDAAoD,sBAC5C,0BAA0B,KAC5C,MAAM,SAIR,CAAC"}
|
@@ -20,6 +20,8 @@ import { useRef } from 'react';
|
|
20
20
|
import { DataSpaceExecutableTemplate } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
21
21
|
import { ActionAlertActionType, ActionAlertType, useApplicationStore, } from '@finos/legend-application';
|
22
22
|
import { generateDataSpaceTemplateQueryCreatorRoute } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
23
|
+
import { DocumentationLink } from '@finos/legend-lego/application';
|
24
|
+
import { DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY } from './DSL_DataSpace_LegendQueryDocumentation.js';
|
23
25
|
const DataSpaceTemplateQueryDialog = observer((props) => {
|
24
26
|
const { triggerElement, queryBuilderState, templateQueries } = props;
|
25
27
|
const applicationStore = useApplicationStore();
|
@@ -79,7 +81,7 @@ const DataSpaceTemplateQueryDialog = observer((props) => {
|
|
79
81
|
}, transformOrigin: {
|
80
82
|
vertical: 'top',
|
81
83
|
horizontal: 'center',
|
82
|
-
}, children: _jsxs("div", { className: "query-builder__data-space__template-query-panel", children: [
|
84
|
+
}, children: _jsxs("div", { className: "query-builder__data-space__template-query-panel", children: [_jsxs("div", { className: "query-builder__data-space__template-query-panel__header", children: ["Curated Template Queries", _jsx(DocumentationLink, { documentationKey: DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY.CURATED_TEMPLATE_QUERY })] }), templateQueries.map((query) => (_jsxs("div", { className: "query-builder__data-space__template-query-panel__query", children: [_jsx(TagIcon, { className: "query-builder__data-space__template-query-panel__query__icon" }), _jsx("button", { className: "query-builder__data-space__template-query-panel__query__entry", title: "click to load template query", onClick: () => loadQuery(query), children: _jsxs("div", { className: "query-builder__data-space__template-query-panel__query__entry__content", children: [_jsx("div", { className: "query-builder__data-space__template-query-panel__query__entry__content__title", children: query.title }), query.description && (_jsx("div", { className: "query-builder__data-space__template-query-panel__query__entry__content__description", children: query.description }))] }) }), _jsxs("button", { className: "query-builder__data-space__template-query-panel__query__share", title: "Visit...", onClick: () => visitTemplateQuery(query), children: [_jsx(ShareIcon, {}), _jsx("div", { className: "query-builder__data-space__template-query-panel__query__share__label", children: "Visit" })] })] }, query.title)))] }) }) }) }));
|
83
85
|
});
|
84
86
|
const DataSpaceQueryBuilderTemplateQueryPanel = observer((props) => {
|
85
87
|
const { queryBuilderState } = props;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,2BAA2B,EAAE,MAAM,2FAA2F,CAAC;AAExI,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,0CAA0C,EAAE,MAAM,4DAA4D,CAAC;
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,2BAA2B,EAAE,MAAM,2FAA2F,CAAC;AAExI,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,0CAA0C,EAAE,MAAM,4DAA4D,CAAC;AACxH,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,MAAM,4BAA4B,GAAG,QAAQ,CAC3C,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IACrE,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;I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D,YAC/D,KAAC,UAAU,KAAG,GACV,EACN,kBACE,SAAS,EAAC,gDAAgD,EAC1D,GAAG,EAAE,sBAAsB,EAC3B,OAAO,EAAE,mBAAmB,4BAEhB,eAAe,CAAC,MAAM,UAC3B,EACR,iBAAiB,CAAC,yBAAyB,IAAI,CAC9C,KAAC,4BAA4B,IAC3B,cAAc,EAAE,sBAAsB,CAAC,OAAO,EAC9C,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,GAChC,CACH,IACW,CACf,GACA,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oDAAoD,GAAG,CAClE,iBAA6C,EAC5B,EAAE,CAAC,CACpB,KAAC,uCAAuC,IACtC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceTemplateQueryPromoteReview.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"DataSpaceTemplateQueryPromoteReview.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiQH,eAAO,MAAM,uCAAuC;;CAoBlD,CAAC"}
|
@@ -24,6 +24,8 @@ import { ActivityBarMenu, LEGEND_STUDIO_TEST_ID, useLegendStudioApplicationStore
|
|
24
24
|
import { createContext, useContext } from 'react';
|
25
25
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
26
26
|
import { flowResult } from 'mobx';
|
27
|
+
import { DocumentationLink } from '@finos/legend-lego/application';
|
28
|
+
import { DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY } from '../query/DSL_DataSpace_LegendQueryDocumentation.js';
|
27
29
|
const TemplateQueryPromotionReviewerStoreContext = createContext(undefined);
|
28
30
|
const DataSpaceTemplateQueryPromotionReviewerStoreProvider = ({ children, dataSpacePath, queryId }) => {
|
29
31
|
const applicationStore = useLegendStudioApplicationStore();
|
@@ -55,7 +57,7 @@ const TemplateQueryPromotionReviewerContent = observer(() => {
|
|
55
57
|
queryPromotionReviewerStore.graphManagerState.generationsBuildState
|
56
58
|
.message ??
|
57
59
|
queryPromotionReviewerStore.graphManagerState.graphBuildState
|
58
|
-
.message })), _jsxs("div", { className: "template-query-promotor", children: [_jsxs("div", { className: "template-query-promotor__body", children: [_jsx("div", { className: "activity-bar", children: _jsx(ActivityBarMenu, {}) }), _jsx("div", { className: "template-query-promotor__content", "data-testid": LEGEND_STUDIO_TEST_ID.SETUP__CONTENT, children: _jsxs("div", { className: "template-query-promotor__content__main", children: [
|
60
|
+
.message })), _jsxs("div", { className: "template-query-promotor", children: [_jsxs("div", { className: "template-query-promotor__body", children: [_jsx("div", { className: "activity-bar", children: _jsx(ActivityBarMenu, {}) }), _jsx("div", { className: "template-query-promotor__content", "data-testid": LEGEND_STUDIO_TEST_ID.SETUP__CONTENT, children: _jsxs("div", { className: "template-query-promotor__content__main", children: [_jsxs("div", { className: "template-query-promotor__title", children: ["Promote as Curated Template Query", _jsx(DocumentationLink, { documentationKey: DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY.CURATED_TEMPLATE_QUERY })] }), _jsx("div", { className: "template-query-promotor__title__prompt", children: "We will promote this query as a curated template query in dataspace. This automated process will generate a code review and workspace. Please get the generated code review reviewed and approved." }), _jsxs("div", { className: "template-query-promotor__group template-query-promotor__group--workspace", children: [_jsx("div", { className: "template-query-promotor__group__header", children: "workspace" }), _jsx("div", { className: "template-query-promotor__group__content", children: _jsxs("div", { className: "template-query-promotor__input", children: [_jsx("div", { className: "template-query-promotor__input__icon", title: "workspace", children: _jsx(GitBranchIcon, { className: "template-query-promotor__input__icon--workspce" }) }), _jsxs("div", { className: "input-group template-query-promotor__input__input", children: [_jsx("input", { className: clsx('input input--dark input-group__input', {
|
59
61
|
'input-group__input--error': !queryPromotionReviewerStore.isWorkspaceNameValid,
|
60
62
|
}), spellCheck: false, value: queryPromotionReviewerStore.workspaceName, placeholder: "Enter a name for your workspace", onChange: changeWorkspaceName }), !queryPromotionReviewerStore.isWorkspaceNameValid && (_jsx("div", { className: "input-group__error-message", children: "Workspace already existed" }))] })] }) })] }), _jsxs("div", { className: "template-query-promotor__group template-query-promotor__group--template", children: [_jsx("div", { className: "template-query-promotor__group__header", children: "template query" }), _jsxs("div", { className: "template-query-promotor__group__content", children: [_jsxs("div", { className: "template-query-promotor__input", children: [_jsx("div", { className: "template-query-promotor__input__label", children: "id" }), _jsxs("div", { className: "input-group template-query-promotor__input__input", children: [_jsx("input", { className: clsx('input input--dark input-group__input', {
|
61
63
|
'input-group__input--error': !queryPromotionReviewerStore.isTemplateQueryIdValid,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceTemplateQueryPromoteReview.js","sourceRoot":"","sources":["../../../src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,4CAA4C,EAAE,MAAM,oEAAoE,CAAC;AAClI,OAAO,EACL,uDAAuD,GAExD,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"DataSpaceTemplateQueryPromoteReview.js","sourceRoot":"","sources":["../../../src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,4CAA4C,EAAE,MAAM,oEAAoE,CAAC;AAClI,OAAO,EACL,uDAAuD,GAExD,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,4CAA4C,EAAE,MAAM,oDAAoD,CAAC;AAElH,MAAM,0CAA0C,GAAG,aAAa,CAE9D,SAAS,CAAC,CAAC;AAEb,MAAM,oDAAoD,GAIrD,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5C,MAAM,gBAAgB,GAAG,+BAA+B,EAAE,CAAC;IAC3D,MAAM,SAAS,GAAG,wBAAwB,EAAE,CAAC;IAC7C,MAAM,KAAK,GAAG,kBAAkB,CAC9B,GAAG,EAAE,CACH,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CAAC,wBAAwB,EAEtD,QAAQ,EAAE,gCAAgC,GAC1C,GACE,IACF,IACF,IACF,EACN,cAAK,SAAS,EAAC,kCAAkC,YAC/C,iBACE,SAAS,EAAC,6CAA6C,EACvD,OAAO,EAAE,oBAAoB,EAC7B,QAAQ,EACN,2BAA2B,CAAC,YAAY,CAAC,YAAY;oDACrD,CAAC,2BAA2B,CAAC,YAAY;oDACzC,CAAC,2BAA2B,CAAC,gBAAgB;oDAC7C,CAAC,2BAA2B,CAAC,cAAc;oDAC3C,CAAC,2BAA2B;yDACzB,iCAAiC,EAAE,YAAY;oDAClD,CAAC,2BAA2B,CAAC,aAAa;oDAC1C,CAAC,2BAA2B,CAAC,kBAAkB;oDAC/C,CAAC,2BAA2B,CAAC,oBAAoB;oDACjD,CAAC,2BAA2B,CAAC,sBAAsB,8BAI9C,GACL,IACF,GACF,IACF,EACN,6BACe,qBAAqB,CAAC,UAAU,EAC7C,SAAS,EAAC,oBAAoB,GAC9B,IACE,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uCAAuC,GAAG,QAAQ,CAAC,GAAG,EAAE;IACnE,MAAM,UAAU,GACd,SAAS,EAAqD,CAAC;IACjE,MAAM,aAAa,GACjB,UAAU,CACR,uDAAuD,CAAC,eAAe,CACxE,CAAC;IACJ,MAAM,OAAO,GACX,UAAU,CACR,uDAAuD,CAAC,QAAQ,CACjE,CAAC;IAEJ,OAAO,CACL,KAAC,oDAAoD,IACnD,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,OAAO,YAEhB,KAAC,qCAAqC,KAAG,GACY,CACxD,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
3
|
-
"version": "10.2.
|
3
|
+
"version": "10.2.2",
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -45,13 +45,13 @@
|
|
45
45
|
},
|
46
46
|
"dependencies": {
|
47
47
|
"@finos/legend-application": "15.0.74",
|
48
|
-
"@finos/legend-application-query": "13.3.
|
49
|
-
"@finos/legend-application-studio": "28.16.
|
48
|
+
"@finos/legend-application-query": "13.3.3",
|
49
|
+
"@finos/legend-application-studio": "28.16.11",
|
50
50
|
"@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.
|
51
|
+
"@finos/legend-extension-dsl-diagram": "8.0.155",
|
52
|
+
"@finos/legend-graph": "31.9.10",
|
53
|
+
"@finos/legend-lego": "1.2.23",
|
54
|
+
"@finos/legend-query-builder": "4.14.24",
|
55
55
|
"@finos/legend-server-depot": "6.0.39",
|
56
56
|
"@finos/legend-server-sdlc": "5.3.10",
|
57
57
|
"@finos/legend-shared": "10.0.34",
|
@@ -0,0 +1,19 @@
|
|
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
|
+
|
17
|
+
export enum DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY {
|
18
|
+
CURATED_TEMPLATE_QUERY = 'dsl-dataspace.curated-template-query',
|
19
|
+
}
|
@@ -32,6 +32,8 @@ import {
|
|
32
32
|
useApplicationStore,
|
33
33
|
} from '@finos/legend-application';
|
34
34
|
import { generateDataSpaceTemplateQueryCreatorRoute } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
35
|
+
import { DocumentationLink } from '@finos/legend-lego/application';
|
36
|
+
import { DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY } from './DSL_DataSpace_LegendQueryDocumentation.js';
|
35
37
|
|
36
38
|
const DataSpaceTemplateQueryDialog = observer(
|
37
39
|
(props: {
|
@@ -132,6 +134,11 @@ const DataSpaceTemplateQueryDialog = observer(
|
|
132
134
|
<div className="query-builder__data-space__template-query-panel">
|
133
135
|
<div className="query-builder__data-space__template-query-panel__header">
|
134
136
|
Curated Template Queries
|
137
|
+
<DocumentationLink
|
138
|
+
documentationKey={
|
139
|
+
DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY.CURATED_TEMPLATE_QUERY
|
140
|
+
}
|
141
|
+
/>
|
135
142
|
</div>
|
136
143
|
{templateQueries.map((query) => (
|
137
144
|
<div
|
@@ -32,6 +32,8 @@ import {
|
|
32
32
|
import { createContext, useContext } from 'react';
|
33
33
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
34
34
|
import { flowResult } from 'mobx';
|
35
|
+
import { DocumentationLink } from '@finos/legend-lego/application';
|
36
|
+
import { DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY } from '../query/DSL_DataSpace_LegendQueryDocumentation.js';
|
35
37
|
|
36
38
|
const TemplateQueryPromotionReviewerStoreContext = createContext<
|
37
39
|
DataSpaceTemplateQueryPromotionReviewerStore | undefined
|
@@ -126,6 +128,11 @@ const TemplateQueryPromotionReviewerContent = observer(() => {
|
|
126
128
|
<div className="template-query-promotor__content__main">
|
127
129
|
<div className="template-query-promotor__title">
|
128
130
|
Promote as Curated Template Query
|
131
|
+
<DocumentationLink
|
132
|
+
documentationKey={
|
133
|
+
DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY.CURATED_TEMPLATE_QUERY
|
134
|
+
}
|
135
|
+
/>
|
129
136
|
</div>
|
130
137
|
<div className="template-query-promotor__title__prompt">
|
131
138
|
We will promote this query as a curated template query in
|
package/tsconfig.json
CHANGED
@@ -38,6 +38,7 @@
|
|
38
38
|
"./src/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.ts",
|
39
39
|
"./src/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.ts",
|
40
40
|
"./src/components/index.ts",
|
41
|
+
"./src/components/query/DSL_DataSpace_LegendQueryDocumentation.ts",
|
41
42
|
"./src/components/query/index.ts",
|
42
43
|
"./src/components/studio/index.ts",
|
43
44
|
"./src/graph/DSL_DataSpace_HashUtils.ts",
|