@finos/legend-application-studio 22.2.0 → 22.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/editor/StatusBar.js +1 -1
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +1 -0
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/edit-panel/EditPanel.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/EditPanel.js +24 -11
- package/lib/components/editor/edit-panel/EditPanel.js.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +2 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +1 -0
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js +4 -3
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts +32 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.js +66 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts +0 -23
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +6 -58
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts +41 -0
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js +77 -0
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts +7 -0
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +19 -14
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +3 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +3 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js +3 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js +3 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +51 -13
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +18 -10
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts +1 -3
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +2 -20
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +9 -3
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.js +1 -0
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +29 -8
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +17 -3
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts +2 -2
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/DependencyProjectViewerHelper.d.ts +19 -0
- package/lib/stores/DependencyProjectViewerHelper.d.ts.map +1 -0
- package/lib/stores/DependencyProjectViewerHelper.js +23 -0
- package/lib/stores/DependencyProjectViewerHelper.js.map +1 -0
- package/lib/stores/EditorGraphState.d.ts +9 -2
- package/lib/stores/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.js +39 -137
- package/lib/stores/EditorGraphState.js.map +1 -1
- package/lib/stores/EditorStore.d.ts +1 -1
- package/lib/stores/EditorStore.d.ts.map +1 -1
- package/lib/stores/EditorStore.js +14 -6
- package/lib/stores/EditorStore.js.map +1 -1
- package/lib/stores/EditorTabManagerState.d.ts +1 -2
- package/lib/stores/EditorTabManagerState.d.ts.map +1 -1
- package/lib/stores/EditorTabManagerState.js +11 -25
- package/lib/stores/EditorTabManagerState.js.map +1 -1
- package/lib/stores/ExplorerTreeState.d.ts +4 -4
- package/lib/stores/ExplorerTreeState.d.ts.map +1 -1
- package/lib/stores/ExplorerTreeState.js +12 -15
- package/lib/stores/ExplorerTreeState.js.map +1 -1
- package/lib/stores/editor/NewElementState.d.ts.map +1 -1
- package/lib/stores/editor/NewElementState.js +0 -3
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor-state/ExternalFormatState.d.ts +2 -0
- package/lib/stores/editor-state/ExternalFormatState.d.ts.map +1 -1
- package/lib/stores/editor-state/ExternalFormatState.js +6 -0
- package/lib/stores/editor-state/ExternalFormatState.js.map +1 -1
- package/lib/stores/editor-state/FileGenerationState.d.ts +18 -18
- package/lib/stores/editor-state/FileGenerationState.d.ts.map +1 -1
- package/lib/stores/editor-state/FileGenerationState.js +86 -133
- package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/FileGenerationViewerState.d.ts +3 -3
- package/lib/stores/editor-state/FileGenerationViewerState.d.ts.map +1 -1
- package/lib/stores/editor-state/FileGenerationViewerState.js.map +1 -1
- package/lib/stores/editor-state/FileSystemState.d.ts +30 -0
- package/lib/stores/editor-state/FileSystemState.d.ts.map +1 -0
- package/lib/stores/editor-state/FileSystemState.js +82 -0
- package/lib/stores/editor-state/FileSystemState.js.map +1 -0
- package/lib/stores/editor-state/GraphGenerationState.d.ts +9 -9
- package/lib/stores/editor-state/GraphGenerationState.d.ts.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js +14 -15
- package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts +25 -2
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js +50 -7
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts +44 -0
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +172 -0
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.d.ts +3 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js +14 -2
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts +9 -6
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +38 -28
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +6 -3
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +1 -0
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/lib/stores/shared/FileSystemTreeUtils.d.ts +56 -0
- package/lib/stores/shared/FileSystemTreeUtils.d.ts.map +1 -0
- package/lib/stores/shared/{FileGenerationTreeUtils.js → FileSystemTreeUtils.js} +31 -32
- package/lib/stores/shared/FileSystemTreeUtils.js.map +1 -0
- package/lib/stores/shared/PackageTreeUtils.d.ts +6 -4
- package/lib/stores/shared/PackageTreeUtils.d.ts.map +1 -1
- package/lib/stores/shared/PackageTreeUtils.js +90 -11
- package/lib/stores/shared/PackageTreeUtils.js.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.d.ts +16 -3
- package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +143 -246
- package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts +3 -3
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js +37 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
- package/package.json +12 -12
- package/src/components/editor/StatusBar.tsx +1 -1
- package/src/components/editor/command-center/ProjectSearchCommand.tsx +1 -0
- package/src/components/editor/edit-panel/EditPanel.tsx +79 -25
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +2 -1
- package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +1 -0
- package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +5 -7
- package/src/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.tsx +194 -0
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +6 -270
- package/src/components/editor/edit-panel/element-generation-editor/FileSystemViewer.tsx +296 -0
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +177 -155
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +3 -1
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +3 -0
- package/src/components/editor/edit-panel/mapping-editor/NewMappingElementModal.tsx +3 -1
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +243 -184
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +42 -15
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +2 -65
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +9 -3
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +1 -0
- package/src/components/editor/side-bar/Explorer.tsx +82 -13
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +31 -9
- package/src/index.ts +5 -2
- package/src/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts +2 -2
- package/src/stores/DependencyProjectViewerHelper.ts +39 -0
- package/src/stores/EditorGraphState.ts +67 -197
- package/src/stores/EditorStore.ts +22 -10
- package/src/stores/EditorTabManagerState.ts +16 -38
- package/src/stores/ExplorerTreeState.ts +29 -23
- package/src/stores/editor/NewElementState.ts +0 -2
- package/src/stores/editor-state/ExternalFormatState.ts +9 -0
- package/src/stores/editor-state/FileGenerationState.ts +129 -180
- package/src/stores/editor-state/FileGenerationViewerState.ts +3 -3
- package/src/stores/editor-state/FileSystemState.ts +111 -0
- package/src/stores/editor-state/GraphGenerationState.ts +35 -31
- package/src/stores/editor-state/element-editor-state/ElementEditorState.ts +91 -6
- package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +266 -0
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/service/ServiceEditorState.ts +23 -2
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +60 -55
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +6 -2
- package/src/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +2 -0
- package/src/stores/project-viewer/ProjectViewerStore.ts +3 -1
- package/src/stores/shared/{FileGenerationTreeUtils.ts → FileSystemTreeUtils.ts} +77 -76
- package/src/stores/shared/PackageTreeUtils.ts +144 -10
- package/src/stores/sidebar-state/LocalChangesState.ts +279 -450
- package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +42 -3
- package/tsconfig.json +6 -1
- package/lib/stores/shared/FileGenerationTreeUtils.d.ts +0 -56
- package/lib/stores/shared/FileGenerationTreeUtils.d.ts.map +0 -1
- package/lib/stores/shared/FileGenerationTreeUtils.js.map +0 -1
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
import type { TreeData, TreeNodeData } from '@finos/legend-art';
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
AssertionStatus,
|
|
20
20
|
type Test,
|
|
21
21
|
type Testable,
|
|
22
22
|
type TestBatch,
|
|
@@ -225,10 +225,25 @@ const getAssertion_TestResult = (
|
|
|
225
225
|
export const getAssertionStatus = (
|
|
226
226
|
assertion: TestAssertion,
|
|
227
227
|
results: Map<AtomicTest, TestResult>,
|
|
228
|
-
): AssertionStatus | undefined => {
|
|
228
|
+
): AssertionStatus | Map<string, AssertionStatus> | undefined => {
|
|
229
229
|
const result = getAssertion_TestResult(assertion, results);
|
|
230
230
|
if (result instanceof TestFailed) {
|
|
231
231
|
return result.assertStatuses.find((s) => s.assertion === assertion);
|
|
232
|
+
} else if (result instanceof MultiExecutionServiceTestResult) {
|
|
233
|
+
const testAssertionStatus = new Map<string, AssertionStatus>();
|
|
234
|
+
Array.from(result.keyIndexedTestResults.entries()).forEach(
|
|
235
|
+
([key, testResult]) => {
|
|
236
|
+
if (testResult instanceof TestFailed) {
|
|
237
|
+
const testAssertion = testResult.assertStatuses.find(
|
|
238
|
+
(s) => s.assertion === assertion,
|
|
239
|
+
);
|
|
240
|
+
if (testAssertion) {
|
|
241
|
+
testAssertionStatus.set(key, testAssertion);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
);
|
|
246
|
+
return testAssertionStatus;
|
|
232
247
|
}
|
|
233
248
|
return undefined;
|
|
234
249
|
};
|
|
@@ -286,12 +301,19 @@ export const getTestableResultFromTestResult = (
|
|
|
286
301
|
};
|
|
287
302
|
|
|
288
303
|
export const getTestableResultFromAssertionStatus = (
|
|
289
|
-
assertionStatus: AssertionStatus | undefined,
|
|
304
|
+
assertionStatus: AssertionStatus | Map<string, AssertionStatus> | undefined,
|
|
290
305
|
): TESTABLE_RESULT => {
|
|
291
306
|
if (assertionStatus instanceof AssertPass) {
|
|
292
307
|
return TESTABLE_RESULT.PASSED;
|
|
293
308
|
} else if (assertionStatus instanceof AssertFail) {
|
|
294
309
|
return TESTABLE_RESULT.FAILED;
|
|
310
|
+
} else if (assertionStatus && !(assertionStatus instanceof AssertionStatus)) {
|
|
311
|
+
const assertionStatuses = Array.from(assertionStatus.values());
|
|
312
|
+
if (assertionStatuses.every((t) => t instanceof AssertPass)) {
|
|
313
|
+
return TESTABLE_RESULT.PASSED;
|
|
314
|
+
} else if (assertionStatuses.find((t) => t instanceof AssertFail)) {
|
|
315
|
+
return TESTABLE_RESULT.FAILED;
|
|
316
|
+
}
|
|
295
317
|
}
|
|
296
318
|
return TESTABLE_RESULT.DID_NOT_RUN;
|
|
297
319
|
};
|
|
@@ -304,6 +326,23 @@ export const getTestableResultFromTestResults = (
|
|
|
304
326
|
return TESTABLE_RESULT.ERROR;
|
|
305
327
|
} else if (testResults.find((t) => t instanceof TestFailed)) {
|
|
306
328
|
return TESTABLE_RESULT.FAILED;
|
|
329
|
+
} else if (
|
|
330
|
+
testResults.find((t) => t instanceof MultiExecutionServiceTestResult)
|
|
331
|
+
) {
|
|
332
|
+
let result: TestResult[] = [];
|
|
333
|
+
testResults.forEach((testResult) => {
|
|
334
|
+
if (testResult instanceof MultiExecutionServiceTestResult) {
|
|
335
|
+
result = result.concat(
|
|
336
|
+
Array.from(testResult.keyIndexedTestResults.values()),
|
|
337
|
+
);
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
if (result.every((t) => t instanceof TestPassed)) {
|
|
341
|
+
return TESTABLE_RESULT.PASSED;
|
|
342
|
+
} else if (result.some((t) => t instanceof TestError)) {
|
|
343
|
+
return TESTABLE_RESULT.ERROR;
|
|
344
|
+
}
|
|
345
|
+
return TESTABLE_RESULT.FAILED;
|
|
307
346
|
}
|
|
308
347
|
return TESTABLE_RESULT.DID_NOT_RUN;
|
|
309
348
|
};
|
package/tsconfig.json
CHANGED
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"./src/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts",
|
|
47
47
|
"./src/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts",
|
|
48
48
|
"./src/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.ts",
|
|
49
|
+
"./src/stores/DependencyProjectViewerHelper.ts",
|
|
49
50
|
"./src/stores/EditorConfig.ts",
|
|
50
51
|
"./src/stores/EditorGraphState.ts",
|
|
51
52
|
"./src/stores/EditorSDLCState.ts",
|
|
@@ -72,6 +73,7 @@
|
|
|
72
73
|
"./src/stores/editor-state/ExternalFormatState.ts",
|
|
73
74
|
"./src/stores/editor-state/FileGenerationState.ts",
|
|
74
75
|
"./src/stores/editor-state/FileGenerationViewerState.ts",
|
|
76
|
+
"./src/stores/editor-state/FileSystemState.ts",
|
|
75
77
|
"./src/stores/editor-state/GenerationSpecificationEditorState.ts",
|
|
76
78
|
"./src/stores/editor-state/GrammarTextEditorState.ts",
|
|
77
79
|
"./src/stores/editor-state/GraphGenerationState.ts",
|
|
@@ -80,6 +82,7 @@
|
|
|
80
82
|
"./src/stores/editor-state/element-editor-state/ClassEditorState.ts",
|
|
81
83
|
"./src/stores/editor-state/element-editor-state/ClassState.ts",
|
|
82
84
|
"./src/stores/editor-state/element-editor-state/ElementEditorState.ts",
|
|
85
|
+
"./src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts",
|
|
83
86
|
"./src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts",
|
|
84
87
|
"./src/stores/editor-state/element-editor-state/FileGenerationEditorState.ts",
|
|
85
88
|
"./src/stores/editor-state/element-editor-state/FunctionEditorState.ts",
|
|
@@ -120,7 +123,7 @@
|
|
|
120
123
|
"./src/stores/project-viewer/ProjectViewerEditorMode.ts",
|
|
121
124
|
"./src/stores/project-viewer/ProjectViewerStore.ts",
|
|
122
125
|
"./src/stores/shared/DnDUtils.ts",
|
|
123
|
-
"./src/stores/shared/
|
|
126
|
+
"./src/stores/shared/FileSystemTreeUtils.ts",
|
|
124
127
|
"./src/stores/shared/MockDataUtils.ts",
|
|
125
128
|
"./src/stores/shared/ModelClassifierUtils.ts",
|
|
126
129
|
"./src/stores/shared/PackageTreeUtils.ts",
|
|
@@ -186,7 +189,9 @@
|
|
|
186
189
|
"./src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx",
|
|
187
190
|
"./src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx",
|
|
188
191
|
"./src/components/editor/edit-panel/element-generation-editor/ElementNativeView.tsx",
|
|
192
|
+
"./src/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.tsx",
|
|
189
193
|
"./src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx",
|
|
194
|
+
"./src/components/editor/edit-panel/element-generation-editor/FileSystemViewer.tsx",
|
|
190
195
|
"./src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx",
|
|
191
196
|
"./src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx",
|
|
192
197
|
"./src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx",
|
|
@@ -1,56 +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
|
-
import type { TreeNodeData, TreeData } from '@finos/legend-art';
|
|
17
|
-
import { type GenerationOutput } from '@finos/legend-graph';
|
|
18
|
-
export interface GenerationOutputResult {
|
|
19
|
-
generationOutput: GenerationOutput;
|
|
20
|
-
parentId?: string | undefined;
|
|
21
|
-
}
|
|
22
|
-
export declare const GENERATION_FILE_ROOT_NAME = "GENERATION_FILE_ROOT";
|
|
23
|
-
declare class GenerationFileNodeElement {
|
|
24
|
-
name: string;
|
|
25
|
-
directory?: GenerationDirectory | undefined;
|
|
26
|
-
parentId?: string | undefined;
|
|
27
|
-
constructor(name: string, fileGenerationParent?: string);
|
|
28
|
-
get path(): string;
|
|
29
|
-
}
|
|
30
|
-
export declare class GenerationDirectory extends GenerationFileNodeElement {
|
|
31
|
-
children: GenerationFileNodeElement[];
|
|
32
|
-
setDirectory(val: GenerationDirectory): void;
|
|
33
|
-
addChild(val: GenerationFileNodeElement): void;
|
|
34
|
-
addElement(val: GenerationFileNodeElement): void;
|
|
35
|
-
static createDirectoryFromParent(name: string, parent: GenerationDirectory, fileGenerationParent?: string): GenerationDirectory;
|
|
36
|
-
static getOrCreateDirectory(parent: GenerationDirectory, directoryName: string, insert: boolean): GenerationDirectory;
|
|
37
|
-
getDirectoryPath(): string;
|
|
38
|
-
}
|
|
39
|
-
export declare class GenerationFile extends GenerationFileNodeElement {
|
|
40
|
-
content: string;
|
|
41
|
-
format?: string | undefined;
|
|
42
|
-
constructor(name: string, content: string, format?: string, parentId?: string);
|
|
43
|
-
}
|
|
44
|
-
export interface GenerationTreeNodeData extends TreeNodeData {
|
|
45
|
-
fileNode: GenerationFileNodeElement;
|
|
46
|
-
}
|
|
47
|
-
export declare const getGenerationTreeNodeData: (fileNode: GenerationFileNodeElement) => GenerationTreeNodeData;
|
|
48
|
-
export declare const populateDirectoryTreeNodeChildren: (node: GenerationTreeNodeData, treeData: TreeData<GenerationTreeNodeData>) => void;
|
|
49
|
-
export declare const getGenerationTreeData: (dir: GenerationDirectory, rootWrapperName?: string) => TreeData<GenerationTreeNodeData>;
|
|
50
|
-
export declare const addNode: (element: GenerationFileNodeElement, treeData: TreeData<GenerationTreeNodeData>, showRoot?: boolean) => GenerationTreeNodeData;
|
|
51
|
-
export declare const openNode: (element: GenerationFileNodeElement, treeData: TreeData<GenerationTreeNodeData>, showRoot?: boolean) => GenerationTreeNodeData | undefined;
|
|
52
|
-
export declare const getFileGenerationChildNodes: (node: GenerationTreeNodeData, treeData: TreeData<GenerationTreeNodeData>) => GenerationTreeNodeData[];
|
|
53
|
-
export declare const buildGenerationDirectory: (rootDirectory: GenerationDirectory, generationResultIndex: Map<string, GenerationOutputResult>, filesIndex: Map<string, GenerationFile>) => void;
|
|
54
|
-
export declare const reprocessOpenNodes: (treeData: TreeData<GenerationTreeNodeData>, filesIndex: Map<string, GenerationFile>, rootDirectory: GenerationDirectory, openedNodeIds: string[], showRoot?: boolean) => void;
|
|
55
|
-
export {};
|
|
56
|
-
//# sourceMappingURL=FileGenerationTreeUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FileGenerationTreeUtils.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/FileGenerationTreeUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAMhE,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,WAAW,sBAAsB;IACrC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AACD,eAAO,MAAM,yBAAyB,yBAAyB,CAAC;AAGhE,cAAM,yBAAyB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAElB,IAAI,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,MAAM;IAKvD,IAAI,IAAI,IAAI,MAAM,CAQjB;CACF;AAED,qBAAa,mBAAoB,SAAQ,yBAAyB;IAChE,QAAQ,EAAE,yBAAyB,EAAE,CAAM;IAE3C,YAAY,CAAC,GAAG,EAAE,mBAAmB,GAAG,IAAI;IAG5C,QAAQ,CAAC,GAAG,EAAE,yBAAyB,GAAG,IAAI;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