@finos/legend-application-studio 28.18.80 → 28.18.82
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/components/editor/editor-group/GenerationSpecificationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +2 -3
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +4 -4
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +5 -5
- package/lib/stores/editor/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/editor/EditorGraphState.js +2 -20
- package/lib/stores/editor/EditorGraphState.js.map +1 -1
- package/lib/stores/editor/EditorTabManagerState.d.ts +17 -1
- package/lib/stores/editor/EditorTabManagerState.d.ts.map +1 -1
- package/lib/stores/editor/EditorTabManagerState.js +54 -12
- package/lib/stores/editor/EditorTabManagerState.js.map +1 -1
- package/lib/stores/editor/GraphEditFormModeState.d.ts.map +1 -1
- package/lib/stores/editor/GraphEditFormModeState.js +5 -25
- package/lib/stores/editor/GraphEditFormModeState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +4 -4
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js +2 -2
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +3 -3
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js +2 -2
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.js +7 -7
- package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.js.map +1 -1
- package/lib/stores/editor/panel-group/SQLPlaygroundPanelState.js +2 -2
- package/lib/stores/editor/panel-group/SQLPlaygroundPanelState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.d.ts.map +1 -1
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js +3 -3
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -1
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js +3 -3
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
- package/lib/stores/editor/utils/TestableUtils.d.ts.map +1 -1
- package/lib/stores/editor/utils/TestableUtils.js +2 -2
- package/lib/stores/editor/utils/TestableUtils.js.map +1 -1
- package/package.json +18 -18
- package/src/components/editor/editor-group/GenerationSpecificationEditor.tsx +2 -3
- package/src/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.tsx +1 -4
- package/src/components/editor/panel-group/SQLPlaygroundPanel.tsx +5 -6
- package/src/stores/editor/EditorGraphState.ts +2 -27
- package/src/stores/editor/EditorTabManagerState.ts +73 -22
- package/src/stores/editor/GraphEditFormModeState.ts +5 -32
- package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +4 -8
- package/src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts +1 -2
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +2 -3
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +1 -4
- package/src/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.ts +7 -12
- package/src/stores/editor/panel-group/SQLPlaygroundPanelState.ts +2 -2
- package/src/stores/editor/sidebar-state/ProjectOverviewState.ts +3 -4
- package/src/stores/editor/sidebar-state/WorkspaceUpdaterState.ts +3 -4
- package/src/stores/editor/utils/TestableUtils.ts +1 -4
@@ -22,7 +22,6 @@ import {
|
|
22
22
|
type PlainObject,
|
23
23
|
assertErrorThrown,
|
24
24
|
LogEvent,
|
25
|
-
getNullableFirstEntry,
|
26
25
|
ActionState,
|
27
26
|
} from '@finos/legend-shared';
|
28
27
|
import {
|
@@ -268,7 +267,7 @@ export class ProjectOverviewState {
|
|
268
267
|
// 1. the revision is somehow directly added to the branch by the user (in the case of `git`, user directly pushed to unprotected default branch)
|
269
268
|
// 2. the revision is the merged/comitted review revision (this usually happens for projects where fast forwarding merging is not default)
|
270
269
|
// in those case, we will get the time from the revision
|
271
|
-
const latestProjectVersionRevisionReviewObj =
|
270
|
+
const latestProjectVersionRevisionReviewObj = (
|
272
271
|
(yield this.editorStore.sdlcServerClient.getReviews(
|
273
272
|
this.sdlcState.activeProject.projectId,
|
274
273
|
undefined,
|
@@ -277,8 +276,8 @@ export class ProjectOverviewState {
|
|
277
276
|
revisionIds: [latestProjectVersionRevision.id],
|
278
277
|
limit: 1,
|
279
278
|
},
|
280
|
-
)) as PlainObject<Review>[]
|
281
|
-
);
|
279
|
+
)) as PlainObject<Review>[]
|
280
|
+
)[0];
|
282
281
|
const latestProjectVersionRevisionReview =
|
283
282
|
latestProjectVersionRevisionReviewObj
|
284
283
|
? Review.serialization.fromJson(
|
@@ -23,7 +23,6 @@ import {
|
|
23
23
|
LogEvent,
|
24
24
|
assertErrorThrown,
|
25
25
|
guaranteeNonNullable,
|
26
|
-
getNullableFirstEntry,
|
27
26
|
NetworkClientError,
|
28
27
|
HttpStatus,
|
29
28
|
} from '@finos/legend-shared';
|
@@ -328,7 +327,7 @@ export class WorkspaceUpdaterState {
|
|
328
327
|
RevisionAlias.BASE,
|
329
328
|
)) as PlainObject<Revision>,
|
330
329
|
);
|
331
|
-
const baseReviewObj =
|
330
|
+
const baseReviewObj = (
|
332
331
|
(yield this.editorStore.sdlcServerClient.getReviews(
|
333
332
|
this.sdlcState.activeProject.projectId,
|
334
333
|
this.sdlcState.activePatch?.patchReleaseVersionId.id,
|
@@ -337,8 +336,8 @@ export class WorkspaceUpdaterState {
|
|
337
336
|
revisionIds: [workspaceBaseRevision.id],
|
338
337
|
limit: 1,
|
339
338
|
},
|
340
|
-
)) as PlainObject<Review>[]
|
341
|
-
);
|
339
|
+
)) as PlainObject<Review>[]
|
340
|
+
)[0];
|
342
341
|
const baseReview = baseReviewObj
|
343
342
|
? Review.serialization.fromJson(baseReviewObj)
|
344
343
|
: undefined;
|
@@ -64,7 +64,6 @@ import {
|
|
64
64
|
assertTrue,
|
65
65
|
ContentType,
|
66
66
|
generateEnumerableNameFromToken,
|
67
|
-
getNullableFirstEntry,
|
68
67
|
guaranteeNonEmptyString,
|
69
68
|
guaranteeType,
|
70
69
|
isNonNullable,
|
@@ -455,9 +454,7 @@ export const getContentTypeWithParamRecursively = (
|
|
455
454
|
}
|
456
455
|
currentExpression = collection;
|
457
456
|
} else {
|
458
|
-
currentExpression =
|
459
|
-
currentExpression.parametersValues,
|
460
|
-
);
|
457
|
+
currentExpression = currentExpression.parametersValues[0];
|
461
458
|
}
|
462
459
|
}
|
463
460
|
return res;
|