@finos/legend-extension-dsl-data-space 10.2.4 → 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 +1 -4
- 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
@@ -1,292 +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
|
-
|
17
|
-
import { BlankPanelContent, GitBranchIcon, clsx } from '@finos/legend-art';
|
18
|
-
import { observer, useLocalObservable } from 'mobx-react-lite';
|
19
|
-
import { useApplicationStore } from '@finos/legend-application';
|
20
|
-
import { DataSpaceTemplateQueryPromotionReviewerStore } from '../../stores/query/DataSpaceTemplateQueryPromotionReviewerStore.js';
|
21
|
-
import {
|
22
|
-
DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN,
|
23
|
-
type DataSpaceTemplateQueryPromotionReviewerPathParams,
|
24
|
-
} from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
25
|
-
import { useParams } from '@finos/legend-application/browser';
|
26
|
-
import {
|
27
|
-
ActivityBarMenu,
|
28
|
-
LEGEND_STUDIO_TEST_ID,
|
29
|
-
useLegendStudioApplicationStore,
|
30
|
-
useLegendStudioBaseStore,
|
31
|
-
} from '@finos/legend-application-studio';
|
32
|
-
import { createContext, useContext } from 'react';
|
33
|
-
import { guaranteeNonNullable } from '@finos/legend-shared';
|
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';
|
37
|
-
|
38
|
-
const TemplateQueryPromotionReviewerStoreContext = createContext<
|
39
|
-
DataSpaceTemplateQueryPromotionReviewerStore | undefined
|
40
|
-
>(undefined);
|
41
|
-
|
42
|
-
const DataSpaceTemplateQueryPromotionReviewerStoreProvider: React.FC<{
|
43
|
-
children: React.ReactNode;
|
44
|
-
dataSpacePath: string;
|
45
|
-
queryId: string;
|
46
|
-
}> = ({ children, dataSpacePath, queryId }) => {
|
47
|
-
const applicationStore = useLegendStudioApplicationStore();
|
48
|
-
const baseStore = useLegendStudioBaseStore();
|
49
|
-
const store = useLocalObservable(
|
50
|
-
() =>
|
51
|
-
new DataSpaceTemplateQueryPromotionReviewerStore(
|
52
|
-
applicationStore,
|
53
|
-
baseStore.sdlcServerClient,
|
54
|
-
baseStore.depotServerClient,
|
55
|
-
),
|
56
|
-
);
|
57
|
-
store.initialize(queryId, dataSpacePath);
|
58
|
-
return (
|
59
|
-
<TemplateQueryPromotionReviewerStoreContext.Provider value={store}>
|
60
|
-
{children}
|
61
|
-
</TemplateQueryPromotionReviewerStoreContext.Provider>
|
62
|
-
);
|
63
|
-
};
|
64
|
-
|
65
|
-
const useTemplateQueryPromotionReviewerStore =
|
66
|
-
(): DataSpaceTemplateQueryPromotionReviewerStore =>
|
67
|
-
guaranteeNonNullable(
|
68
|
-
useContext(TemplateQueryPromotionReviewerStoreContext),
|
69
|
-
`Can't find query productionizer store in context`,
|
70
|
-
);
|
71
|
-
|
72
|
-
const TemplateQueryPromotionReviewerContent = observer(() => {
|
73
|
-
const applicationStore = useApplicationStore();
|
74
|
-
const queryPromotionReviewerStore = useTemplateQueryPromotionReviewerStore();
|
75
|
-
const isLoadingEditor = !queryPromotionReviewerStore.initState.hasCompleted;
|
76
|
-
|
77
|
-
// workspace name
|
78
|
-
const changeWorkspaceName: React.ChangeEventHandler<HTMLInputElement> = (
|
79
|
-
event,
|
80
|
-
) => queryPromotionReviewerStore.setWorkspaceName(event.target.value);
|
81
|
-
|
82
|
-
// template query
|
83
|
-
const onChangeTemplateQueryId: React.ChangeEventHandler<HTMLInputElement> = (
|
84
|
-
event,
|
85
|
-
) => queryPromotionReviewerStore.setTemplateQueryId(event.target.value);
|
86
|
-
|
87
|
-
const onChangeTemplateQueryTitle: React.ChangeEventHandler<
|
88
|
-
HTMLInputElement
|
89
|
-
> = (event) =>
|
90
|
-
queryPromotionReviewerStore.setTemplateQueryTitle(event.target.value);
|
91
|
-
|
92
|
-
const onChangeTemplateQueryDescription: React.ChangeEventHandler<
|
93
|
-
HTMLInputElement
|
94
|
-
> = (event) =>
|
95
|
-
queryPromotionReviewerStore.setTemplateQueryDescription(event.target.value);
|
96
|
-
|
97
|
-
// actions
|
98
|
-
const promoteTemplateQuery = (): void => {
|
99
|
-
flowResult(queryPromotionReviewerStore.promoteAsTemplateQuery()).catch(
|
100
|
-
applicationStore.alertUnhandledError,
|
101
|
-
);
|
102
|
-
};
|
103
|
-
|
104
|
-
return (
|
105
|
-
<div className="app__page">
|
106
|
-
{isLoadingEditor && (
|
107
|
-
<BlankPanelContent>
|
108
|
-
{queryPromotionReviewerStore.initState.message ??
|
109
|
-
queryPromotionReviewerStore.graphManagerState.systemBuildState
|
110
|
-
.message ??
|
111
|
-
queryPromotionReviewerStore.graphManagerState.dependenciesBuildState
|
112
|
-
.message ??
|
113
|
-
queryPromotionReviewerStore.graphManagerState.generationsBuildState
|
114
|
-
.message ??
|
115
|
-
queryPromotionReviewerStore.graphManagerState.graphBuildState
|
116
|
-
.message}
|
117
|
-
</BlankPanelContent>
|
118
|
-
)}
|
119
|
-
<div className="template-query-promotor">
|
120
|
-
<div className="template-query-promotor__body">
|
121
|
-
<div className="activity-bar">
|
122
|
-
<ActivityBarMenu />
|
123
|
-
</div>
|
124
|
-
<div
|
125
|
-
className="template-query-promotor__content"
|
126
|
-
data-testid={LEGEND_STUDIO_TEST_ID.SETUP__CONTENT}
|
127
|
-
>
|
128
|
-
<div className="template-query-promotor__content__main">
|
129
|
-
<div className="template-query-promotor__title">
|
130
|
-
Promote as Curated Template Query
|
131
|
-
<DocumentationLink
|
132
|
-
documentationKey={
|
133
|
-
DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY.CURATED_TEMPLATE_QUERY
|
134
|
-
}
|
135
|
-
/>
|
136
|
-
</div>
|
137
|
-
<div className="template-query-promotor__title__prompt">
|
138
|
-
We will promote this query as a curated template query in
|
139
|
-
dataspace. This automated process will generate a code review
|
140
|
-
and workspace. Please get the generated code review reviewed and
|
141
|
-
approved.
|
142
|
-
</div>
|
143
|
-
<div className="template-query-promotor__group template-query-promotor__group--workspace">
|
144
|
-
<div className="template-query-promotor__group__header">
|
145
|
-
workspace
|
146
|
-
</div>
|
147
|
-
<div className="template-query-promotor__group__content">
|
148
|
-
<div className="template-query-promotor__input">
|
149
|
-
<div
|
150
|
-
className="template-query-promotor__input__icon"
|
151
|
-
title="workspace"
|
152
|
-
>
|
153
|
-
<GitBranchIcon className="template-query-promotor__input__icon--workspce" />
|
154
|
-
</div>
|
155
|
-
<div className="input-group template-query-promotor__input__input">
|
156
|
-
<input
|
157
|
-
className={clsx(
|
158
|
-
'input input--dark input-group__input',
|
159
|
-
{
|
160
|
-
'input-group__input--error':
|
161
|
-
!queryPromotionReviewerStore.isWorkspaceNameValid,
|
162
|
-
},
|
163
|
-
)}
|
164
|
-
spellCheck={false}
|
165
|
-
value={queryPromotionReviewerStore.workspaceName}
|
166
|
-
placeholder="Enter a name for your workspace"
|
167
|
-
onChange={changeWorkspaceName}
|
168
|
-
/>
|
169
|
-
{!queryPromotionReviewerStore.isWorkspaceNameValid && (
|
170
|
-
<div className="input-group__error-message">
|
171
|
-
Workspace already existed
|
172
|
-
</div>
|
173
|
-
)}
|
174
|
-
</div>
|
175
|
-
</div>
|
176
|
-
</div>
|
177
|
-
</div>
|
178
|
-
<div className="template-query-promotor__group template-query-promotor__group--template">
|
179
|
-
<div className="template-query-promotor__group__header">
|
180
|
-
template query
|
181
|
-
</div>
|
182
|
-
<div className="template-query-promotor__group__content">
|
183
|
-
<div className="template-query-promotor__input">
|
184
|
-
<div className="template-query-promotor__input__label">
|
185
|
-
id
|
186
|
-
</div>
|
187
|
-
<div className="input-group template-query-promotor__input__input">
|
188
|
-
<input
|
189
|
-
className={clsx(
|
190
|
-
'input input--dark input-group__input',
|
191
|
-
{
|
192
|
-
'input-group__input--error':
|
193
|
-
!queryPromotionReviewerStore.isTemplateQueryIdValid,
|
194
|
-
},
|
195
|
-
)}
|
196
|
-
spellCheck={false}
|
197
|
-
placeholder="Create an id for your template query"
|
198
|
-
value={queryPromotionReviewerStore.templateQueryId}
|
199
|
-
onChange={onChangeTemplateQueryId}
|
200
|
-
/>
|
201
|
-
{!queryPromotionReviewerStore.isTemplateQueryIdValid && (
|
202
|
-
<div className="input-group__error-message">
|
203
|
-
Invalid template query id
|
204
|
-
</div>
|
205
|
-
)}
|
206
|
-
</div>
|
207
|
-
</div>
|
208
|
-
<div className="template-query-promotor__input">
|
209
|
-
<div className="template-query-promotor__input__label">
|
210
|
-
title
|
211
|
-
</div>
|
212
|
-
<div className="input-group template-query-promotor__input__input">
|
213
|
-
<input
|
214
|
-
className="input input--dark input-group__input"
|
215
|
-
spellCheck={false}
|
216
|
-
placeholder="Create a title for your template query"
|
217
|
-
value={queryPromotionReviewerStore.templateQueryTitle}
|
218
|
-
onChange={onChangeTemplateQueryTitle}
|
219
|
-
/>
|
220
|
-
</div>
|
221
|
-
</div>
|
222
|
-
<div className="template-query-promotor__input">
|
223
|
-
<div className="template-query-promotor__input__label">
|
224
|
-
description
|
225
|
-
</div>
|
226
|
-
<div className="input-group template-query-promotor__input__input">
|
227
|
-
<input
|
228
|
-
className="input input--dark input-group__input"
|
229
|
-
spellCheck={false}
|
230
|
-
placeholder="Add some descriptions for your template query"
|
231
|
-
value={
|
232
|
-
queryPromotionReviewerStore.templateQueryDescription
|
233
|
-
}
|
234
|
-
onChange={onChangeTemplateQueryDescription}
|
235
|
-
/>
|
236
|
-
</div>
|
237
|
-
</div>
|
238
|
-
</div>
|
239
|
-
</div>
|
240
|
-
<div className="template-query-promotor__actions">
|
241
|
-
<button
|
242
|
-
className="template-query-promotor__next-btn btn--dark"
|
243
|
-
onClick={promoteTemplateQuery}
|
244
|
-
disabled={
|
245
|
-
queryPromotionReviewerStore.promoteState.isInProgress ||
|
246
|
-
!queryPromotionReviewerStore.currentQuery ||
|
247
|
-
!queryPromotionReviewerStore.currentQueryInfo ||
|
248
|
-
!queryPromotionReviewerStore.currentProject ||
|
249
|
-
!queryPromotionReviewerStore
|
250
|
-
.currentProjectConfigurationStatus?.isConfigured ||
|
251
|
-
!queryPromotionReviewerStore.workspaceName ||
|
252
|
-
!queryPromotionReviewerStore.templateQueryTitle ||
|
253
|
-
!queryPromotionReviewerStore.isWorkspaceNameValid ||
|
254
|
-
!queryPromotionReviewerStore.isTemplateQueryIdValid
|
255
|
-
}
|
256
|
-
>
|
257
|
-
Promote Query
|
258
|
-
</button>
|
259
|
-
</div>
|
260
|
-
</div>
|
261
|
-
</div>
|
262
|
-
</div>
|
263
|
-
<div
|
264
|
-
data-testid={LEGEND_STUDIO_TEST_ID.STATUS_BAR}
|
265
|
-
className="editor__status-bar"
|
266
|
-
/>
|
267
|
-
</div>
|
268
|
-
</div>
|
269
|
-
);
|
270
|
-
});
|
271
|
-
|
272
|
-
export const DataSpaceTemplateQueryPromotionReviewer = observer(() => {
|
273
|
-
const parameters =
|
274
|
-
useParams<DataSpaceTemplateQueryPromotionReviewerPathParams>();
|
275
|
-
const dataSpacePath =
|
276
|
-
parameters[
|
277
|
-
DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH
|
278
|
-
];
|
279
|
-
const queryId =
|
280
|
-
parameters[
|
281
|
-
DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID
|
282
|
-
];
|
283
|
-
|
284
|
-
return (
|
285
|
-
<DataSpaceTemplateQueryPromotionReviewerStoreProvider
|
286
|
-
dataSpacePath={dataSpacePath}
|
287
|
-
queryId={queryId}
|
288
|
-
>
|
289
|
-
<TemplateQueryPromotionReviewerContent />
|
290
|
-
</DataSpaceTemplateQueryPromotionReviewerStoreProvider>
|
291
|
-
);
|
292
|
-
});
|
@@ -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
|
-
|
17
|
-
export { DSL_DataSpace_LegendStudioApplicationPlugin } from './DSL_DataSpace_LegendStudioApplicationPlugin.js';
|