@finos/legend-application-studio 28.9.0 → 28.10.1

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.
Files changed (122) hide show
  1. package/lib/__lib__/LegendStudioCommand.d.ts +1 -0
  2. package/lib/__lib__/LegendStudioCommand.d.ts.map +1 -1
  3. package/lib/__lib__/LegendStudioCommand.js +5 -0
  4. package/lib/__lib__/LegendStudioCommand.js.map +1 -1
  5. package/lib/components/ShowcaseManager.d.ts.map +1 -1
  6. package/lib/components/ShowcaseManager.js +5 -2
  7. package/lib/components/ShowcaseManager.js.map +1 -1
  8. package/lib/components/editor/ActivityBar.d.ts.map +1 -1
  9. package/lib/components/editor/ActivityBar.js +20 -17
  10. package/lib/components/editor/ActivityBar.js.map +1 -1
  11. package/lib/components/editor/editor-group/EditorGroup.d.ts.map +1 -1
  12. package/lib/components/editor/editor-group/EditorGroup.js +7 -1
  13. package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
  14. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts +5 -0
  15. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts.map +1 -1
  16. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +29 -10
  17. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
  18. package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts +11 -0
  19. package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts.map +1 -1
  20. package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +22 -10
  21. package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
  22. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts +7 -0
  23. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
  24. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +3 -3
  25. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  26. package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts +52 -0
  27. package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts.map +1 -0
  28. package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +150 -0
  29. package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -0
  30. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +1 -1
  31. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  32. package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
  33. package/lib/components/editor/side-bar/Explorer.js +6 -6
  34. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  35. package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -1
  36. package/lib/components/editor/side-bar/SideBar.js +4 -1
  37. package/lib/components/editor/side-bar/SideBar.js.map +1 -1
  38. package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.d.ts +23 -0
  39. package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.d.ts.map +1 -0
  40. package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js +43 -0
  41. package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -0
  42. package/lib/index.css +2 -2
  43. package/lib/index.css.map +1 -1
  44. package/lib/package.json +1 -1
  45. package/lib/stores/ShowcaseManagerState.d.ts +1 -0
  46. package/lib/stores/ShowcaseManagerState.d.ts.map +1 -1
  47. package/lib/stores/ShowcaseManagerState.js +11 -1
  48. package/lib/stores/ShowcaseManagerState.js.map +1 -1
  49. package/lib/stores/editor/EditorConfig.d.ts +3 -1
  50. package/lib/stores/editor/EditorConfig.d.ts.map +1 -1
  51. package/lib/stores/editor/EditorConfig.js +4 -1
  52. package/lib/stores/editor/EditorConfig.js.map +1 -1
  53. package/lib/stores/editor/EditorStore.d.ts +3 -0
  54. package/lib/stores/editor/EditorStore.d.ts.map +1 -1
  55. package/lib/stores/editor/EditorStore.js +17 -0
  56. package/lib/stores/editor/EditorStore.js.map +1 -1
  57. package/lib/stores/editor/ExplorerTreeState.d.ts.map +1 -1
  58. package/lib/stores/editor/ExplorerTreeState.js +1 -1
  59. package/lib/stores/editor/ExplorerTreeState.js.map +1 -1
  60. package/lib/stores/editor/GraphEditGrammarModeState.d.ts.map +1 -1
  61. package/lib/stores/editor/GraphEditGrammarModeState.js.map +1 -1
  62. package/lib/stores/editor/NewElementState.d.ts +1 -0
  63. package/lib/stores/editor/NewElementState.d.ts.map +1 -1
  64. package/lib/stores/editor/NewElementState.js +1 -1
  65. package/lib/stores/editor/NewElementState.js.map +1 -1
  66. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -1
  67. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js +2 -1
  68. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
  69. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts +6 -2
  70. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -1
  71. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +53 -34
  72. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
  73. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderWizardState.d.ts.map +1 -1
  74. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderWizardState.js +1 -1
  75. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderWizardState.js.map +1 -1
  76. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseModelBuilderState.d.ts +3 -2
  77. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseModelBuilderState.d.ts.map +1 -1
  78. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseModelBuilderState.js +8 -5
  79. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseModelBuilderState.js.map +1 -1
  80. package/lib/stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.d.ts +22 -0
  81. package/lib/stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.d.ts.map +1 -0
  82. package/lib/stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.js +23 -0
  83. package/lib/stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.js.map +1 -0
  84. package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.d.ts +111 -0
  85. package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.d.ts.map +1 -0
  86. package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.js +453 -0
  87. package/lib/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.js.map +1 -0
  88. package/lib/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.d.ts +24 -0
  89. package/lib/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.d.ts.map +1 -0
  90. package/lib/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.js +37 -0
  91. package/lib/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.js.map +1 -0
  92. package/lib/stores/showcase/ShowcaseViewerStore.d.ts.map +1 -1
  93. package/lib/stores/showcase/ShowcaseViewerStore.js +5 -1
  94. package/lib/stores/showcase/ShowcaseViewerStore.js.map +1 -1
  95. package/package.json +5 -5
  96. package/src/__lib__/LegendStudioCommand.ts +5 -0
  97. package/src/components/ShowcaseManager.tsx +18 -0
  98. package/src/components/editor/ActivityBar.tsx +56 -15
  99. package/src/components/editor/editor-group/EditorGroup.tsx +21 -1
  100. package/src/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.tsx +136 -103
  101. package/src/components/editor/editor-group/connection-editor/DatabaseModelBuilder.tsx +97 -53
  102. package/src/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.tsx +4 -3
  103. package/src/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.tsx +518 -0
  104. package/src/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.tsx +1 -1
  105. package/src/components/editor/side-bar/Explorer.tsx +7 -6
  106. package/src/components/editor/side-bar/SideBar.tsx +13 -1
  107. package/src/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.tsx +102 -0
  108. package/src/stores/ShowcaseManagerState.ts +19 -1
  109. package/src/stores/editor/EditorConfig.ts +3 -0
  110. package/src/stores/editor/EditorStore.ts +21 -0
  111. package/src/stores/editor/ExplorerTreeState.ts +1 -0
  112. package/src/stores/editor/GraphEditGrammarModeState.ts +3 -3
  113. package/src/stores/editor/NewElementState.ts +1 -1
  114. package/src/stores/editor/editor-state/element-editor-state/ElementEditorState.ts +2 -1
  115. package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +77 -49
  116. package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderWizardState.ts +1 -2
  117. package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseModelBuilderState.ts +12 -8
  118. package/src/stores/editor/editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.ts +23 -0
  119. package/src/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.ts +775 -0
  120. package/src/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.ts +43 -0
  121. package/src/stores/showcase/ShowcaseViewerStore.ts +4 -0
  122. package/tsconfig.json +5 -0
@@ -0,0 +1,453 @@
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 { action, flow, flowResult, observable, makeObservable } from 'mobx';
17
+ import { guaranteeNonNullable, LogEvent, assertErrorThrown, ActionState, getNonNullableEntry, } from '@finos/legend-shared';
18
+ import { END_TO_END_WORKFLOWS, EndToEndWorkflowEditorState, } from './EndToEndWorkflowEditorState.js';
19
+ import { RelationalDatabaseConnection, LocalH2DatasourceSpecification, PackageableElementExplicitReference, stub_Database, DatabaseType, DefaultH2AuthenticationStrategy, PackageableConnection, EngineRuntime, IdentifiedConnection, generateIdentifiedConnectionId, PackageableRuntime, extractElementNameFromPath, getOrCreatePackage, extractPackagePathFromPath, getMappingCompatibleClasses, RuntimePointer, ParserError, CompilationError, observe_RelationalDatabaseConnection, } from '@finos/legend-graph';
20
+ import { BaseStepperState } from '@finos/legend-art';
21
+ import { LEGEND_STUDIO_APP_EVENT } from '../../../../__lib__/LegendStudioEvent.js';
22
+ import { EntityChangeType } from '@finos/legend-server-sdlc';
23
+ import { ClassQueryBuilderState, QueryBuilderConfig, } from '@finos/legend-query-builder';
24
+ import { packageableConnection_setConnectionValue, runtime_addIdentifiedConnection, runtime_addMapping, runtime_setMappings, } from '../../../graph-modifier/DSL_Mapping_GraphModifierHelper.js';
25
+ import { DatabaseModelBuilderState } from '../element-editor-state/connection/DatabaseModelBuilderState.js';
26
+ import { DatabaseBuilderWizardState } from '../element-editor-state/connection/DatabaseBuilderWizardState.js';
27
+ import { RelationalDatabaseConnectionValueState } from '../element-editor-state/connection/ConnectionEditorState.js';
28
+ import { DEFAULT_H2_SQL } from '../../NewElementState.js';
29
+ export var QUERY_CONNECTION_WORKFLOW_STEPS;
30
+ (function (QUERY_CONNECTION_WORKFLOW_STEPS) {
31
+ QUERY_CONNECTION_WORKFLOW_STEPS["CREATE_CONNECTION"] = "Create Connection";
32
+ QUERY_CONNECTION_WORKFLOW_STEPS["CREATE_DATABASE"] = "Create Database";
33
+ QUERY_CONNECTION_WORKFLOW_STEPS["EDIT_DATABASE"] = "Edit Database";
34
+ QUERY_CONNECTION_WORKFLOW_STEPS["CREATE_CLASS_MAPPING_RUNTIME"] = "Create Class/Mapping/Runtime";
35
+ QUERY_CONNECTION_WORKFLOW_STEPS["CONFIRMATION"] = "Confirmation";
36
+ })(QUERY_CONNECTION_WORKFLOW_STEPS || (QUERY_CONNECTION_WORKFLOW_STEPS = {}));
37
+ const DEFAULT_CONNECTION_PATH = 'store::MyConnection';
38
+ const DEFAULT_RUNTIME_PATH = 'store::MyRuntime';
39
+ const JOIN_CODE_SYNTAX = '// Please refer to pure code syntax below for how to create join' +
40
+ '\n' +
41
+ '// Join join_name(Table1.column1 = Table2.column2);' +
42
+ '\n';
43
+ export class ConnectionToQueryStepperState extends BaseStepperState {
44
+ }
45
+ // step5 - confirm/update final grammar and query
46
+ export class QueryConnectionConfirmationAndGrammarEditorStepperState extends ConnectionToQueryStepperState {
47
+ workflowEditorState;
48
+ isCompilingCode = ActionState.create();
49
+ editorStore;
50
+ constructor(queryConnectionEndToEndWorkflowState) {
51
+ super();
52
+ makeObservable(this, {
53
+ workflowEditorState: false,
54
+ isCompilingCode: observable,
55
+ handleNext: flow,
56
+ query: flow,
57
+ compile: flow,
58
+ });
59
+ this.workflowEditorState = queryConnectionEndToEndWorkflowState;
60
+ this.editorStore = this.workflowEditorState.editorStore;
61
+ }
62
+ get label() {
63
+ return QUERY_CONNECTION_WORKFLOW_STEPS.CONFIRMATION;
64
+ }
65
+ *compile() {
66
+ try {
67
+ this.isCompilingCode.inProgress();
68
+ const compilationResult = (yield flowResult(yield this.editorStore.graphManagerState.graphManager.compileText(this.workflowEditorState.finalGrammarCode, this.workflowEditorState.workflowGraph)));
69
+ this.editorStore.applicationStore.notificationService.notifySuccess('Compiled successfully');
70
+ const entities = compilationResult.entities;
71
+ const newGraph = this.editorStore.graphManagerState.createNewGraph();
72
+ yield flowResult(this.editorStore.graphManagerState.graphManager.buildGraph(newGraph, entities, ActionState.create()));
73
+ this.workflowEditorState.workflowGraph = newGraph;
74
+ this.workflowEditorState.setCompileError(undefined);
75
+ }
76
+ catch (error) {
77
+ if (error instanceof ParserError || error instanceof CompilationError) {
78
+ this.workflowEditorState.setCompileError(error);
79
+ }
80
+ assertErrorThrown(error);
81
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_MODEL_BUILDER_FAILURE), error);
82
+ this.editorStore.applicationStore.notificationService.notifyError(error);
83
+ this.isCompilingCode.fail();
84
+ }
85
+ finally {
86
+ this.isCompilingCode.complete();
87
+ }
88
+ }
89
+ *query() {
90
+ const entities = (yield this.editorStore.graphManagerState.graphManager.pureCodeToEntities(this.workflowEditorState.finalGrammarCode));
91
+ const newEntities = [];
92
+ for (const entity of entities) {
93
+ newEntities.push({
94
+ type: EntityChangeType.CREATE,
95
+ entityPath: entity.path,
96
+ content: entity.content,
97
+ });
98
+ }
99
+ yield flowResult(this.editorStore.graphState.loadEntityChangesToGraph(newEntities, undefined));
100
+ this.editorStore.tabManagerState.openTab(this.editorStore.globalEndToEndWorkflowState
101
+ .queryToConnectionWorkflowEditorState);
102
+ this.editorStore.tabManagerState.closeTab(this.editorStore.globalEndToEndWorkflowState
103
+ .queryToConnectionWorkflowEditorState);
104
+ const theClass = getMappingCompatibleClasses(getNonNullableEntry(this.workflowEditorState.workflowGraph.mappings, 0), this.workflowEditorState.workflowGraph.classes)[0];
105
+ if (theClass) {
106
+ const config = new QueryBuilderConfig();
107
+ const queryBuilderState = new ClassQueryBuilderState(this.editorStore.applicationStore, this.editorStore.graphManagerState, config);
108
+ queryBuilderState.class = theClass;
109
+ queryBuilderState.executionContextState.mapping = getNonNullableEntry(this.workflowEditorState.workflowGraph.mappings, 0);
110
+ queryBuilderState.executionContextState.runtimeValue = new RuntimePointer(PackageableElementExplicitReference.create(getNonNullableEntry(this.workflowEditorState.workflowGraph.runtimes, 0)));
111
+ yield flowResult(this.editorStore.embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration({
112
+ setupQueryBuilderState: () => queryBuilderState,
113
+ actionConfigs: [],
114
+ }));
115
+ }
116
+ }
117
+ *handleNext() {
118
+ yield flowResult(this.query()).then(() => {
119
+ this.workflowEditorState.reset();
120
+ });
121
+ }
122
+ }
123
+ // step 4 - build class/mapping/runtime from database
124
+ export class DatabaseModelBuilderStepperState extends ConnectionToQueryStepperState {
125
+ workflowEditorState;
126
+ databaseModelBuilderState;
127
+ editorStore;
128
+ constructor(queryConnectionEndToEndWorkflowState, databaseModelBuilderState) {
129
+ super();
130
+ makeObservable(this, {
131
+ workflowEditorState: false,
132
+ updateGraphWithModels: flow,
133
+ handleNext: flow,
134
+ });
135
+ this.workflowEditorState = queryConnectionEndToEndWorkflowState;
136
+ this.databaseModelBuilderState = databaseModelBuilderState;
137
+ this.editorStore = this.workflowEditorState.editorStore;
138
+ }
139
+ get label() {
140
+ return QUERY_CONNECTION_WORKFLOW_STEPS.CREATE_CLASS_MAPPING_RUNTIME;
141
+ }
142
+ *updateGraphWithModels(entities) {
143
+ try {
144
+ const newGraph = this.editorStore.graphManagerState.createNewGraph();
145
+ newGraph.addElement(guaranteeNonNullable(this.workflowEditorState.packageableConnection), this.workflowEditorState.packageableConnection?.package?.path);
146
+ const databaseBuilderStepperState = this.workflowEditorState.activeStepToBaseStepperState.get(QUERY_CONNECTION_WORKFLOW_STEPS.CREATE_DATABASE);
147
+ newGraph.addElement(databaseBuilderStepperState.databaseBuilderWizardState
148
+ .schemaExplorerState.database, databaseBuilderStepperState.databaseBuilderWizardState
149
+ .schemaExplorerState.database.package?.path);
150
+ yield flowResult(this.editorStore.graphManagerState.graphManager.buildGraph(newGraph, entities, ActionState.create()));
151
+ // create a runtime
152
+ if (this.workflowEditorState.packageableRuntime) {
153
+ runtime_setMappings(this.workflowEditorState.packageableRuntime.runtimeValue, [
154
+ PackageableElementExplicitReference.create(getNonNullableEntry(newGraph.mappings, 0)),
155
+ ]);
156
+ }
157
+ else {
158
+ const runtime = new PackageableRuntime(extractElementNameFromPath(this.workflowEditorState.targetRuntimePath));
159
+ runtime.runtimeValue = new EngineRuntime();
160
+ runtime_addMapping(runtime.runtimeValue, PackageableElementExplicitReference.create(getNonNullableEntry(newGraph.mappings, 0)));
161
+ runtime_addIdentifiedConnection(runtime.runtimeValue, new IdentifiedConnection(generateIdentifiedConnectionId(runtime.runtimeValue), guaranteeNonNullable(this.workflowEditorState.packageableConnection).connectionValue), this.workflowEditorState.editorStore.changeDetectionState
162
+ .observerContext);
163
+ this.workflowEditorState.packageableRuntime = runtime;
164
+ }
165
+ newGraph.addElement(this.workflowEditorState.packageableRuntime, extractPackagePathFromPath(this.workflowEditorState.targetRuntimePath));
166
+ this.workflowEditorState.workflowGraph = newGraph;
167
+ this.workflowEditorState.setRuntimeGrammarCode((yield this.editorStore.graphManagerState.graphManager.entitiesToPureCode([
168
+ this.editorStore.graphManagerState.graphManager.elementToEntity(this.workflowEditorState.packageableRuntime),
169
+ ], { pretty: true })));
170
+ const connectionGrammarCode = (yield this.editorStore.graphManagerState.graphManager.entitiesToPureCode([
171
+ this.editorStore.graphManagerState.graphManager.elementToEntity(guaranteeNonNullable(this.workflowEditorState.packageableConnection)),
172
+ ], { pretty: true }));
173
+ this.workflowEditorState.connectionGrammarCode = connectionGrammarCode;
174
+ }
175
+ catch (error) {
176
+ assertErrorThrown(error);
177
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_MODEL_BUILDER_FAILURE), error);
178
+ this.editorStore.applicationStore.notificationService.notifyError(error);
179
+ }
180
+ }
181
+ *handleNext() {
182
+ this.workflowEditorState.setFinalGrammarCode(this.databaseModelBuilderState.generatedGrammarCode
183
+ .concat(this.workflowEditorState.runtimeGrammarCode)
184
+ .concat(this.workflowEditorState.databaseGrammarCode)
185
+ .concat(this.workflowEditorState.connectionGrammarCode));
186
+ this.workflowEditorState.activeStepToBaseStepperState.set(QUERY_CONNECTION_WORKFLOW_STEPS.CONFIRMATION, new QueryConnectionConfirmationAndGrammarEditorStepperState(this.workflowEditorState));
187
+ }
188
+ }
189
+ // step 3 - database grammar editor
190
+ export class DatabaseGrammarEditorStepperState extends ConnectionToQueryStepperState {
191
+ workflowEditorState;
192
+ isCompilingGrammarCode = ActionState.create();
193
+ editorStore;
194
+ constructor(queryConnectionEndToEndWorkflowState) {
195
+ super();
196
+ makeObservable(this, {
197
+ workflowEditorState: false,
198
+ isCompilingGrammarCode: observable,
199
+ buildDatabaseModelBuilderState: action,
200
+ compileDatabaseGrammarCode: flow,
201
+ handleNext: flow,
202
+ });
203
+ this.workflowEditorState = queryConnectionEndToEndWorkflowState;
204
+ this.editorStore = this.workflowEditorState.editorStore;
205
+ }
206
+ get label() {
207
+ return QUERY_CONNECTION_WORKFLOW_STEPS.EDIT_DATABASE;
208
+ }
209
+ *compileDatabaseGrammarCode() {
210
+ try {
211
+ this.isCompilingGrammarCode.inProgress();
212
+ const databaseBuilderStepperState = this.workflowEditorState.activeStepToBaseStepperState.get(QUERY_CONNECTION_WORKFLOW_STEPS.CREATE_DATABASE);
213
+ const connectionValueStepperState = this.workflowEditorState.activeStepToBaseStepperState.get(QUERY_CONNECTION_WORKFLOW_STEPS.CREATE_CONNECTION);
214
+ const compilationResult = (yield flowResult(yield this.editorStore.graphManagerState.graphManager.compileText(this.workflowEditorState.databaseGrammarCode, this.workflowEditorState.workflowGraph)));
215
+ this.editorStore.applicationStore.notificationService.notifySuccess('Compiled successfully');
216
+ const entities = compilationResult.entities;
217
+ const newGraph = this.editorStore.graphManagerState.createNewGraph();
218
+ yield flowResult(this.editorStore.graphManagerState.graphManager.buildGraph(newGraph, entities, ActionState.create()));
219
+ if (newGraph.databases.length > 1) {
220
+ this.workflowEditorState.isValid = false;
221
+ this.editorStore.applicationStore.notificationService.notifyError('Please make sure there is only one databse');
222
+ }
223
+ else {
224
+ this.workflowEditorState.isValid = true;
225
+ }
226
+ // databaseBuilderWizardState.schemaExplorerState.database needs to be updated
227
+ databaseBuilderStepperState.databaseBuilderWizardState.schemaExplorerState.database =
228
+ getNonNullableEntry(newGraph.databases, 0);
229
+ this.workflowEditorState.workflowGraph = newGraph;
230
+ // start building packageableConnection based on database and adding it to current graph
231
+ const packageableConnection = new PackageableConnection(extractElementNameFromPath(connectionValueStepperState.targetConnectionPath));
232
+ connectionValueStepperState.connectionValueState.connection.store =
233
+ PackageableElementExplicitReference.create(databaseBuilderStepperState.databaseBuilderWizardState
234
+ .schemaExplorerState.database);
235
+ packageableConnection.package = getOrCreatePackage(this.workflowEditorState.workflowGraph.root, connectionValueStepperState.targetConnectionPath, true, new Map());
236
+ packageableConnection_setConnectionValue(packageableConnection, connectionValueStepperState.connectionValueState.connection, this.workflowEditorState.editorStore.changeDetectionState
237
+ .observerContext);
238
+ this.workflowEditorState.packageableConnection = packageableConnection;
239
+ this.workflowEditorState.workflowGraph.addElement(packageableConnection, extractPackagePathFromPath(connectionValueStepperState.targetConnectionPath));
240
+ this.workflowEditorState.setCompileError(undefined);
241
+ this.isCompilingGrammarCode.pass();
242
+ }
243
+ catch (error) {
244
+ if (error instanceof ParserError || error instanceof CompilationError) {
245
+ this.workflowEditorState.setCompileError(error);
246
+ }
247
+ this.workflowEditorState.isValid = false;
248
+ assertErrorThrown(error);
249
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_MODEL_BUILDER_FAILURE), error);
250
+ this.editorStore.applicationStore.notificationService.notifyError(error);
251
+ this.isCompilingGrammarCode.fail();
252
+ }
253
+ finally {
254
+ this.isCompilingGrammarCode.complete();
255
+ }
256
+ }
257
+ buildDatabaseModelBuilderState() {
258
+ const databaseBuilderStepperState = this.workflowEditorState.activeStepToBaseStepperState.get(QUERY_CONNECTION_WORKFLOW_STEPS.CREATE_DATABASE);
259
+ const databaseModelBuilderState = new DatabaseModelBuilderState(this.editorStore, databaseBuilderStepperState.databaseBuilderWizardState.schemaExplorerState.database, false, this.workflowEditorState.workflowGraph);
260
+ this.workflowEditorState.activeStepToBaseStepperState.set(QUERY_CONNECTION_WORKFLOW_STEPS.CREATE_CLASS_MAPPING_RUNTIME, new DatabaseModelBuilderStepperState(this.workflowEditorState, databaseModelBuilderState));
261
+ }
262
+ *handleNext() {
263
+ yield flowResult(this.compileDatabaseGrammarCode()).then(() => {
264
+ this.buildDatabaseModelBuilderState();
265
+ });
266
+ }
267
+ }
268
+ // step 2 - build database
269
+ export class DatabaseBuilderStepperState extends ConnectionToQueryStepperState {
270
+ workflowEditorState;
271
+ databaseBuilderWizardState;
272
+ isGeneratingDatabaseGrammarCode = ActionState.create();
273
+ editorStore;
274
+ constructor(queryConnectionEndToEndWorkflowState, databaseBuilderWizardState) {
275
+ super();
276
+ makeObservable(this, {
277
+ workflowEditorState: false,
278
+ databaseBuilderWizardState: observable,
279
+ isGeneratingDatabaseGrammarCode: observable,
280
+ handleNext: flow,
281
+ generateDatabaseGrammarCode: flow,
282
+ buildDatabase: flow,
283
+ });
284
+ this.workflowEditorState = queryConnectionEndToEndWorkflowState;
285
+ this.databaseBuilderWizardState = databaseBuilderWizardState;
286
+ this.editorStore = this.workflowEditorState.editorStore;
287
+ }
288
+ get label() {
289
+ return QUERY_CONNECTION_WORKFLOW_STEPS.CREATE_DATABASE;
290
+ }
291
+ *buildDatabase() {
292
+ try {
293
+ if (!this.databaseBuilderWizardState.schemaExplorerState.treeData) {
294
+ return;
295
+ }
296
+ yield flowResult(this.databaseBuilderWizardState.schemaExplorerState.updateDatabase());
297
+ }
298
+ catch (error) {
299
+ assertErrorThrown(error);
300
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_BUILDER_FAILURE), error);
301
+ this.editorStore.applicationStore.notificationService.notifyError(error);
302
+ this.isGeneratingDatabaseGrammarCode.fail();
303
+ }
304
+ }
305
+ *generateDatabaseGrammarCode() {
306
+ try {
307
+ this.isGeneratingDatabaseGrammarCode.inProgress();
308
+ // can't use this.databaseBuilderState.databaseGrammarCode as databaseGrammarCode might not be up to date
309
+ this.workflowEditorState.setDatabaseGrammarCode(JOIN_CODE_SYNTAX +
310
+ (yield this.editorStore.graphManagerState.graphManager.entitiesToPureCode([
311
+ this.editorStore.graphManagerState.graphManager.elementToEntity(this.databaseBuilderWizardState.schemaExplorerState.database),
312
+ ], { pretty: true })));
313
+ this.isGeneratingDatabaseGrammarCode.pass();
314
+ }
315
+ catch (error) {
316
+ assertErrorThrown(error);
317
+ this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_MODEL_BUILDER_FAILURE), error);
318
+ this.editorStore.applicationStore.notificationService.notifyError(error);
319
+ this.isGeneratingDatabaseGrammarCode.fail();
320
+ }
321
+ }
322
+ *handleNext() {
323
+ yield flowResult(this.buildDatabase());
324
+ yield flowResult(this.generateDatabaseGrammarCode());
325
+ this.workflowEditorState.activeStepToBaseStepperState.set(QUERY_CONNECTION_WORKFLOW_STEPS.EDIT_DATABASE, new DatabaseGrammarEditorStepperState(this.workflowEditorState));
326
+ }
327
+ }
328
+ // step 1 - build connection
329
+ export class ConnectionValueStepperState extends ConnectionToQueryStepperState {
330
+ workflowEditorState;
331
+ targetConnectionPath = DEFAULT_CONNECTION_PATH;
332
+ connectionValueState;
333
+ constructor(workflowEditorState) {
334
+ super();
335
+ makeObservable(this, {
336
+ workflowEditorState: false,
337
+ targetConnectionPath: observable,
338
+ connectionValueState: observable,
339
+ setTargetConnectionPath: action,
340
+ handleNext: flow,
341
+ });
342
+ this.workflowEditorState = workflowEditorState;
343
+ this.connectionValueState = new RelationalDatabaseConnectionValueState(this.workflowEditorState.editorStore, observe_RelationalDatabaseConnection(this.createConnection, this.workflowEditorState.editorStore.changeDetectionState
344
+ .observerContext));
345
+ }
346
+ get createConnection() {
347
+ const spec = new LocalH2DatasourceSpecification();
348
+ spec.testDataSetupSqls = [DEFAULT_H2_SQL];
349
+ const connection = new RelationalDatabaseConnection(PackageableElementExplicitReference.create(stub_Database()), DatabaseType.H2, spec, new DefaultH2AuthenticationStrategy());
350
+ return connection;
351
+ }
352
+ get label() {
353
+ return QUERY_CONNECTION_WORKFLOW_STEPS.CREATE_CONNECTION;
354
+ }
355
+ setTargetConnectionPath(val) {
356
+ this.targetConnectionPath = val;
357
+ }
358
+ *handleNext() {
359
+ const databaseBuilderWizardState = new DatabaseBuilderWizardState(this.workflowEditorState.editorStore, this.connectionValueState.connection, false);
360
+ databaseBuilderWizardState.schemaExplorerState.setMakeTargetDatabasePathEditable(true);
361
+ this.workflowEditorState.activeStepToBaseStepperState.set(QUERY_CONNECTION_WORKFLOW_STEPS.CREATE_DATABASE, new DatabaseBuilderStepperState(this.workflowEditorState, databaseBuilderWizardState));
362
+ }
363
+ }
364
+ export class QueryConnectionEndToEndWorkflowEditorState extends EndToEndWorkflowEditorState {
365
+ activeStep;
366
+ activeStepToBaseStepperState = new Map();
367
+ activeStepToStepLabel = new Map();
368
+ targetRuntimePath = DEFAULT_RUNTIME_PATH;
369
+ packageableConnection;
370
+ packageableRuntime;
371
+ databaseGrammarCode = '';
372
+ runtimeGrammarCode = '';
373
+ connectionGrammarCode = '';
374
+ finalGrammarCode = '';
375
+ workflowGraph;
376
+ isValid;
377
+ compileError;
378
+ constructor(editorStore) {
379
+ super(editorStore);
380
+ makeObservable(this, {
381
+ activeStep: observable,
382
+ activeStepToBaseStepperState: observable,
383
+ compileError: observable,
384
+ packageableRuntime: observable,
385
+ runtimeGrammarCode: observable,
386
+ connectionGrammarCode: observable,
387
+ finalGrammarCode: observable,
388
+ targetRuntimePath: observable,
389
+ isValid: observable,
390
+ packageableConnection: observable,
391
+ setActiveStep: action,
392
+ setDatabaseGrammarCode: action,
393
+ setRuntimeGrammarCode: action,
394
+ setTargetRuntimePath: action,
395
+ setFinalGrammarCode: action,
396
+ setCompileError: action,
397
+ reset: action,
398
+ updateRuntime: flow,
399
+ });
400
+ this.activeStep = 0;
401
+ this.isValid = true;
402
+ this.activeStepToBaseStepperState.set(QUERY_CONNECTION_WORKFLOW_STEPS.CREATE_CONNECTION, new ConnectionValueStepperState(this));
403
+ this.workflowGraph = this.editorStore.graphManagerState.createNewGraph();
404
+ this.initactiveStepToStepLabel();
405
+ }
406
+ get label() {
407
+ return END_TO_END_WORKFLOWS.CREATE_QUERY_FROM_CONNECTION;
408
+ }
409
+ initactiveStepToStepLabel() {
410
+ Object.values(QUERY_CONNECTION_WORKFLOW_STEPS).forEach((val, index) => this.activeStepToStepLabel.set(index, val));
411
+ }
412
+ setActiveStep(step) {
413
+ this.activeStep = step;
414
+ }
415
+ setTargetRuntimePath(val) {
416
+ this.targetRuntimePath = val;
417
+ }
418
+ setRuntimeGrammarCode(val) {
419
+ this.runtimeGrammarCode = val;
420
+ }
421
+ setDatabaseGrammarCode(code) {
422
+ this.databaseGrammarCode = code;
423
+ }
424
+ setFinalGrammarCode(val) {
425
+ this.finalGrammarCode = val;
426
+ }
427
+ setCompileError(err) {
428
+ this.compileError = err;
429
+ }
430
+ *updateRuntime(newPath) {
431
+ if (this.packageableRuntime) {
432
+ this.packageableRuntime.package = getOrCreatePackage(this.workflowGraph.root, extractPackagePathFromPath(newPath) ?? newPath, true, new Map());
433
+ if (newPath.includes('::')) {
434
+ this.packageableRuntime.name = extractElementNameFromPath(newPath);
435
+ }
436
+ else {
437
+ this.packageableRuntime.name = newPath;
438
+ }
439
+ this.packageableRuntime.name = extractElementNameFromPath(newPath);
440
+ this.setRuntimeGrammarCode((yield this.editorStore.graphManagerState.graphManager.entitiesToPureCode([
441
+ this.editorStore.graphManagerState.graphManager.elementToEntity(this.packageableRuntime),
442
+ ], { pretty: true })));
443
+ }
444
+ }
445
+ reset() {
446
+ this.activeStep = -1;
447
+ this.workflowGraph = this.editorStore.graphManagerState.createNewGraph();
448
+ this.packageableConnection = undefined;
449
+ this.packageableRuntime = undefined;
450
+ this.activeStepToBaseStepperState.set(QUERY_CONNECTION_WORKFLOW_STEPS.CREATE_CONNECTION, new ConnectionValueStepperState(this));
451
+ }
452
+ }
453
+ //# sourceMappingURL=QueryConnectionEndToEndWorkflowEditorState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryConnectionEndToEndWorkflowEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EACL,oBAAoB,EAEpB,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,EACpB,2BAA2B,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,mCAAmC,EACnC,aAAa,EACb,YAAY,EACZ,+BAA+B,EAG/B,qBAAqB,EACrB,aAAa,EACb,oBAAoB,EACpB,8BAA8B,EAC9B,kBAAkB,EAClB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,EAC1B,2BAA2B,EAC3B,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,oCAAoC,GACrC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAqB,MAAM,2BAA2B,CAAC;AAEhF,OAAO,EACL,sBAAsB,EACtB,kBAA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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 { EditorStore } from '../../EditorStore.js';
17
+ import { QueryConnectionEndToEndWorkflowEditorState } from '../../editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.js';
18
+ export declare class GlobalEndToEndWorkflowState {
19
+ editorStore: EditorStore;
20
+ queryToConnectionWorkflowEditorState: QueryConnectionEndToEndWorkflowEditorState;
21
+ constructor(editorStore: EditorStore);
22
+ visitWorkflow(workflow: string): void;
23
+ }
24
+ //# sourceMappingURL=GlobalEndToEndFlowState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GlobalEndToEndFlowState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,0CAA0C,EAAE,MAAM,4FAA4F,CAAC;AAGxJ,qBAAa,2BAA2B;IACtC,WAAW,EAAE,WAAW,CAAC;IACzB,oCAAoC,EAAE,0CAA0C,CAAC;gBAErE,WAAW,EAAE,WAAW;IAUpC,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;CAOtC"}
@@ -0,0 +1,37 @@
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 { makeObservable, observable } from 'mobx';
17
+ import { QueryConnectionEndToEndWorkflowEditorState } from '../../editor-state/end-to-end-workflow-state/QueryConnectionEndToEndWorkflowEditorState.js';
18
+ import { END_TO_END_WORKFLOWS } from '../../editor-state/end-to-end-workflow-state/EndToEndWorkflowEditorState.js';
19
+ export class GlobalEndToEndWorkflowState {
20
+ editorStore;
21
+ queryToConnectionWorkflowEditorState;
22
+ constructor(editorStore) {
23
+ makeObservable(this, {
24
+ editorStore: false,
25
+ queryToConnectionWorkflowEditorState: observable,
26
+ });
27
+ this.editorStore = editorStore;
28
+ this.queryToConnectionWorkflowEditorState =
29
+ new QueryConnectionEndToEndWorkflowEditorState(this.editorStore);
30
+ }
31
+ visitWorkflow(workflow) {
32
+ if (workflow === END_TO_END_WORKFLOWS.CREATE_QUERY_FROM_CONNECTION) {
33
+ this.editorStore.tabManagerState.openTab(this.queryToConnectionWorkflowEditorState);
34
+ }
35
+ }
36
+ }
37
+ //# sourceMappingURL=GlobalEndToEndFlowState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GlobalEndToEndFlowState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/sidebar-state/end-to-end-workflow/GlobalEndToEndFlowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,0CAA0C,EAAE,MAAM,4FAA4F,CAAC;AACxJ,OAAO,EAAE,oBAAoB,EAAE,MAAM,6EAA6E,CAAC;AAEnH,MAAM,OAAO,2BAA2B;IAC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AAU,CAAC,MAAM,EAAE,wBAAwB,GAAG,WAAW,CAAC,IAAI,CAAC;IAoF/D,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC,OAAO,CAAC;CAyHtD"}
1
+ {"version":3,"file":"ShowcaseViewerStore.d.ts","sourceRoot":"","sources":["../../../src/stores/showcase/ShowcaseViewerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,WAAW,EAKjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AAExF,OAAO,EAEL,KAAK,QAAQ,EACd,MAAM,+BAA+B,CAAC;AAYvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,qBAAa,mBAAmB;IAC9B,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAA+B;IACrE,SAAS,EAAE,QAAQ,GAAG,SAAS,CAAC;gBAEpB,WAAW,EAAE,WAAW;IAcpC,OAAO,KAAK,MAAM,GAKjB;IAED,IAAI,QAAQ,IAAI,QAAQ,CAEvB;IAED,WAAW,CAAC,GAAG,EAAE,QAAQ,GAAG,IAAI;IAI/B,UAAU,CAAC,MAAM,EAAE,wBAAwB,GAAG,WAAW,CAAC,IAAI,CAAC;IAwF/D,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC,OAAO,CAAC;CAyHtD"}
@@ -80,7 +80,11 @@ export class ShowcaseViewerStore {
80
80
  stopWatch.record();
81
81
  const grammar = this.showcase.code;
82
82
  this.editorStore.initState.setMessage(`Converting showcase code to entities...`);
83
- const entities = (yield this.editorStore.graphManagerState.graphManager.pureCodeToEntities(grammar));
83
+ const entities = (yield this.editorStore.graphManagerState.graphManager.pureCodeToEntities(grammar,
84
+ // we want to keep section index so we read imports correctly
85
+ {
86
+ TEMPORARY__keepSectionIndex: true,
87
+ }));
84
88
  this.editorStore.initState.setMessage(undefined);
85
89
  stopWatch.record(GRAPH_MANAGER_EVENT.FETCH_GRAPH_ENTITIES__SUCCESS);
86
90
  const graphBuilderResult = (yield flowResult(this.buildGraph(entities)));
@@ -1 +1 @@
1
- {"version":3,"file":"ShowcaseViewerStore.js","sourceRoot":"","sources":["../../../src/stores/showcase/ShowcaseViewerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,oBAAoB,EAEpB,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACR,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EACL,4BAA4B,GAE7B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,2BAA2B,EAC3B,mBAAmB,EACnB,iBAAiB,EACjB,6BAA6B,EAC7B,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAG9D,MAAM,OAAO,mBAAmB;IACrB,WAAW,CAAc;IACjB,oBAAoB,CAAgC;IACrE,SAAS,CAAuB;IAEhC,YAAY,WAAwB;QAClC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,cAAc,CAAC,IAAI,EAAE;YACnB,SAAS,EAAE,UAAU;YACrB,UAAU,EAAE,IAAI;YAChB,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D,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,gBAAgB,CAAC;wBAC9D,OAAO,EAAE,2CAA2C;wBACpD,MAAM,EAAE,kDAAkD;qBAC3D,CAAC,CAAC;oBACH,OAAO,KAAK,CAAC;iBACd;aACF;iBAAM;gBACL,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAC/D,KAAK,CACN,CAAC;aACH;YACD,OAAO,KAAK,CAAC;SACd;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-studio",
3
- "version": "28.9.0",
3
+ "version": "28.10.1",
4
4
  "description": "Legend Studio application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -45,11 +45,11 @@
45
45
  "test:watch": "jest --watch"
46
46
  },
47
47
  "dependencies": {
48
- "@finos/legend-application": "15.0.47",
49
- "@finos/legend-art": "7.1.1",
48
+ "@finos/legend-application": "15.0.49",
49
+ "@finos/legend-art": "7.1.3",
50
50
  "@finos/legend-graph": "31.3.8",
51
- "@finos/legend-lego": "1.1.42",
52
- "@finos/legend-query-builder": "4.11.0",
51
+ "@finos/legend-lego": "1.1.44",
52
+ "@finos/legend-query-builder": "4.11.2",
53
53
  "@finos/legend-server-depot": "6.0.31",
54
54
  "@finos/legend-server-sdlc": "5.2.2",
55
55
  "@finos/legend-server-showcase": "0.2.0",