@finos/legend-application-pure-ide 6.2.14
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/LICENSE +201 -0
- package/README.md +3 -0
- package/lib/application/LegendPureIDE.d.ts +26 -0
- package/lib/application/LegendPureIDE.d.ts.map +1 -0
- package/lib/application/LegendPureIDE.js +43 -0
- package/lib/application/LegendPureIDE.js.map +1 -0
- package/lib/application/LegendPureIDEApplicationConfig.d.ts +28 -0
- package/lib/application/LegendPureIDEApplicationConfig.d.ts.map +1 -0
- package/lib/application/LegendPureIDEApplicationConfig.js +30 -0
- package/lib/application/LegendPureIDEApplicationConfig.js.map +1 -0
- package/lib/application/LegendPureIDEPluginManager.d.ts +32 -0
- package/lib/application/LegendPureIDEPluginManager.d.ts.map +1 -0
- package/lib/application/LegendPureIDEPluginManager.js +46 -0
- package/lib/application/LegendPureIDEPluginManager.js.map +1 -0
- package/lib/components/Core_LegendPureIDEApplicationPlugin.d.ts +23 -0
- package/lib/components/Core_LegendPureIDEApplicationPlugin.d.ts.map +1 -0
- package/lib/components/Core_LegendPureIDEApplicationPlugin.js +29 -0
- package/lib/components/Core_LegendPureIDEApplicationPlugin.js.map +1 -0
- package/lib/components/LegendPureIDEApplication.d.ts +18 -0
- package/lib/components/LegendPureIDEApplication.d.ts.map +1 -0
- package/lib/components/LegendPureIDEApplication.js +21 -0
- package/lib/components/LegendPureIDEApplication.js.map +1 -0
- package/lib/components/LegendPureIDEBaseStoreProvider.d.ts +23 -0
- package/lib/components/LegendPureIDEBaseStoreProvider.d.ts.map +1 -0
- package/lib/components/LegendPureIDEBaseStoreProvider.js +30 -0
- package/lib/components/LegendPureIDEBaseStoreProvider.js.map +1 -0
- package/lib/components/editor/ActivityBar.d.ts +20 -0
- package/lib/components/editor/ActivityBar.d.ts.map +1 -0
- package/lib/components/editor/ActivityBar.js +41 -0
- package/lib/components/editor/ActivityBar.js.map +1 -0
- package/lib/components/editor/Editor.d.ts +18 -0
- package/lib/components/editor/Editor.d.ts.map +1 -0
- package/lib/components/editor/Editor.js +80 -0
- package/lib/components/editor/Editor.js.map +1 -0
- package/lib/components/editor/EditorStoreProvider.d.ts +22 -0
- package/lib/components/editor/EditorStoreProvider.d.ts.map +1 -0
- package/lib/components/editor/EditorStoreProvider.js +32 -0
- package/lib/components/editor/EditorStoreProvider.js.map +1 -0
- package/lib/components/editor/StatusBar.d.ts +22 -0
- package/lib/components/editor/StatusBar.d.ts.map +1 -0
- package/lib/components/editor/StatusBar.js +39 -0
- package/lib/components/editor/StatusBar.js.map +1 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts +20 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js +65 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -0
- package/lib/components/editor/aux-panel/ConsolePanel.d.ts +20 -0
- package/lib/components/editor/aux-panel/ConsolePanel.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/ConsolePanel.js +24 -0
- package/lib/components/editor/aux-panel/ConsolePanel.js.map +1 -0
- package/lib/components/editor/aux-panel/SearchPanel.d.ts +20 -0
- package/lib/components/editor/aux-panel/SearchPanel.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/SearchPanel.js +90 -0
- package/lib/components/editor/aux-panel/SearchPanel.js.map +1 -0
- package/lib/components/editor/aux-panel/TestRunnerPanel.d.ts +20 -0
- package/lib/components/editor/aux-panel/TestRunnerPanel.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/TestRunnerPanel.js +151 -0
- package/lib/components/editor/aux-panel/TestRunnerPanel.js.map +1 -0
- package/lib/components/editor/command-center/CreateNewDirectoryCommand.d.ts +20 -0
- package/lib/components/editor/command-center/CreateNewDirectoryCommand.d.ts.map +1 -0
- package/lib/components/editor/command-center/CreateNewDirectoryCommand.js +48 -0
- package/lib/components/editor/command-center/CreateNewDirectoryCommand.js.map +1 -0
- package/lib/components/editor/command-center/CreateNewFileCommand.d.ts +20 -0
- package/lib/components/editor/command-center/CreateNewFileCommand.d.ts.map +1 -0
- package/lib/components/editor/command-center/CreateNewFileCommand.js +48 -0
- package/lib/components/editor/command-center/CreateNewFileCommand.js.map +1 -0
- package/lib/components/editor/command-center/FileSearchCommand.d.ts +20 -0
- package/lib/components/editor/command-center/FileSearchCommand.d.ts.map +1 -0
- package/lib/components/editor/command-center/FileSearchCommand.js +60 -0
- package/lib/components/editor/command-center/FileSearchCommand.js.map +1 -0
- package/lib/components/editor/command-center/TextSearchCommand.d.ts +20 -0
- package/lib/components/editor/command-center/TextSearchCommand.d.ts.map +1 -0
- package/lib/components/editor/command-center/TextSearchCommand.js +50 -0
- package/lib/components/editor/command-center/TextSearchCommand.js.map +1 -0
- package/lib/components/editor/edit-panel/DiagramEditor.d.ts +23 -0
- package/lib/components/editor/edit-panel/DiagramEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/DiagramEditor.js +71 -0
- package/lib/components/editor/edit-panel/DiagramEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/EditPanel.d.ts +21 -0
- package/lib/components/editor/edit-panel/EditPanel.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/EditPanel.js +55 -0
- package/lib/components/editor/edit-panel/EditPanel.js.map +1 -0
- package/lib/components/editor/edit-panel/FileEditor.d.ts +23 -0
- package/lib/components/editor/edit-panel/FileEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/FileEditor.js +114 -0
- package/lib/components/editor/edit-panel/FileEditor.js.map +1 -0
- package/lib/components/editor/shared/ConceptIconUtils.d.ts +17 -0
- package/lib/components/editor/shared/ConceptIconUtils.d.ts.map +1 -0
- package/lib/components/editor/shared/ConceptIconUtils.js +50 -0
- package/lib/components/editor/shared/ConceptIconUtils.js.map +1 -0
- package/lib/components/editor/side-bar/ConceptTreeExplorer.d.ts +24 -0
- package/lib/components/editor/side-bar/ConceptTreeExplorer.d.ts.map +1 -0
- package/lib/components/editor/side-bar/ConceptTreeExplorer.js +165 -0
- package/lib/components/editor/side-bar/ConceptTreeExplorer.js.map +1 -0
- package/lib/components/editor/side-bar/DirectoryTreeExplorer.d.ts +20 -0
- package/lib/components/editor/side-bar/DirectoryTreeExplorer.d.ts.map +1 -0
- package/lib/components/editor/side-bar/DirectoryTreeExplorer.js +142 -0
- package/lib/components/editor/side-bar/DirectoryTreeExplorer.js.map +1 -0
- package/lib/components/editor/side-bar/SideBar.d.ts +23 -0
- package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -0
- package/lib/components/editor/side-bar/SideBar.js +40 -0
- package/lib/components/editor/side-bar/SideBar.js.map +1 -0
- package/lib/extensions.css +17 -0
- package/lib/extensions.css.map +1 -0
- package/lib/index.css +17 -0
- package/lib/index.css.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +39 -0
- package/lib/index.js.map +1 -0
- package/lib/package.json +85 -0
- package/lib/server/PureServerClient.d.ts +55 -0
- package/lib/server/PureServerClient.d.ts.map +1 -0
- package/lib/server/PureServerClient.js +120 -0
- package/lib/server/PureServerClient.js.map +1 -0
- package/lib/server/models/Command.d.ts +24 -0
- package/lib/server/models/Command.d.ts.map +1 -0
- package/lib/server/models/Command.js +35 -0
- package/lib/server/models/Command.js.map +1 -0
- package/lib/server/models/ConceptTree.d.ts +76 -0
- package/lib/server/models/ConceptTree.d.ts.map +1 -0
- package/lib/server/models/ConceptTree.js +116 -0
- package/lib/server/models/ConceptTree.js.map +1 -0
- package/lib/server/models/DiagramInfo.d.ts +144 -0
- package/lib/server/models/DiagramInfo.d.ts.map +1 -0
- package/lib/server/models/DiagramInfo.js +478 -0
- package/lib/server/models/DiagramInfo.js.map +1 -0
- package/lib/server/models/DirectoryTree.d.ts +37 -0
- package/lib/server/models/DirectoryTree.d.ts.map +1 -0
- package/lib/server/models/DirectoryTree.js +70 -0
- package/lib/server/models/DirectoryTree.js.map +1 -0
- package/lib/server/models/Execution.d.ts +100 -0
- package/lib/server/models/Execution.d.ts.map +1 -0
- package/lib/server/models/Execution.js +183 -0
- package/lib/server/models/Execution.js.map +1 -0
- package/lib/server/models/Initialization.d.ts +49 -0
- package/lib/server/models/Initialization.d.ts.map +1 -0
- package/lib/server/models/Initialization.js +64 -0
- package/lib/server/models/Initialization.js.map +1 -0
- package/lib/server/models/PureFile.d.ts +34 -0
- package/lib/server/models/PureFile.d.ts.map +1 -0
- package/lib/server/models/PureFile.js +56 -0
- package/lib/server/models/PureFile.js.map +1 -0
- package/lib/server/models/SearchEntry.d.ts +36 -0
- package/lib/server/models/SearchEntry.d.ts.map +1 -0
- package/lib/server/models/SearchEntry.js +63 -0
- package/lib/server/models/SearchEntry.js.map +1 -0
- package/lib/server/models/SourceInformation.d.ts +25 -0
- package/lib/server/models/SourceInformation.d.ts.map +1 -0
- package/lib/server/models/SourceInformation.js +35 -0
- package/lib/server/models/SourceInformation.js.map +1 -0
- package/lib/server/models/Test.d.ts +57 -0
- package/lib/server/models/Test.d.ts.map +1 -0
- package/lib/server/models/Test.js +92 -0
- package/lib/server/models/Test.js.map +1 -0
- package/lib/server/models/Usage.d.ts +31 -0
- package/lib/server/models/Usage.d.ts.map +1 -0
- package/lib/server/models/Usage.js +36 -0
- package/lib/server/models/Usage.js.map +1 -0
- package/lib/stores/ConceptTreeState.d.ts +34 -0
- package/lib/stores/ConceptTreeState.d.ts.map +1 -0
- package/lib/stores/ConceptTreeState.js +117 -0
- package/lib/stores/ConceptTreeState.js.map +1 -0
- package/lib/stores/DiagramEditorState.d.ts +40 -0
- package/lib/stores/DiagramEditorState.d.ts.map +1 -0
- package/lib/stores/DiagramEditorState.js +90 -0
- package/lib/stores/DiagramEditorState.js.map +1 -0
- package/lib/stores/DirectoryTreeState.d.ts +35 -0
- package/lib/stores/DirectoryTreeState.d.ts.map +1 -0
- package/lib/stores/DirectoryTreeState.js +119 -0
- package/lib/stores/DirectoryTreeState.js.map +1 -0
- package/lib/stores/EditorConfig.d.ts +25 -0
- package/lib/stores/EditorConfig.d.ts.map +1 -0
- package/lib/stores/EditorConfig.js +27 -0
- package/lib/stores/EditorConfig.js.map +1 -0
- package/lib/stores/EditorStore.d.ts +102 -0
- package/lib/stores/EditorStore.d.ts.map +1 -0
- package/lib/stores/EditorStore.js +761 -0
- package/lib/stores/EditorStore.js.map +1 -0
- package/lib/stores/EditorTabManagerState.d.ts +31 -0
- package/lib/stores/EditorTabManagerState.d.ts.map +1 -0
- package/lib/stores/EditorTabManagerState.js +62 -0
- package/lib/stores/EditorTabManagerState.js.map +1 -0
- package/lib/stores/FileEditorState.d.ts +37 -0
- package/lib/stores/FileEditorState.d.ts.map +1 -0
- package/lib/stores/FileEditorState.js +99 -0
- package/lib/stores/FileEditorState.js.map +1 -0
- package/lib/stores/LegendPureIDEApplicationPlugin.d.ts +26 -0
- package/lib/stores/LegendPureIDEApplicationPlugin.d.ts.map +1 -0
- package/lib/stores/LegendPureIDEApplicationPlugin.js +27 -0
- package/lib/stores/LegendPureIDEApplicationPlugin.js.map +1 -0
- package/lib/stores/LegendPureIDEBaseStore.d.ts +25 -0
- package/lib/stores/LegendPureIDEBaseStore.d.ts.map +1 -0
- package/lib/stores/LegendPureIDEBaseStore.js +25 -0
- package/lib/stores/LegendPureIDEBaseStore.js.map +1 -0
- package/lib/stores/LegendPureIDECommand.d.ts +32 -0
- package/lib/stores/LegendPureIDECommand.d.ts.map +1 -0
- package/lib/stores/LegendPureIDECommand.js +82 -0
- package/lib/stores/LegendPureIDECommand.js.map +1 -0
- package/lib/stores/SearchCommandState.d.ts +28 -0
- package/lib/stores/SearchCommandState.d.ts.map +1 -0
- package/lib/stores/SearchCommandState.js +53 -0
- package/lib/stores/SearchCommandState.js.map +1 -0
- package/lib/stores/SearchResultState.d.ts +43 -0
- package/lib/stores/SearchResultState.d.ts.map +1 -0
- package/lib/stores/SearchResultState.js +92 -0
- package/lib/stores/SearchResultState.js.map +1 -0
- package/lib/stores/TestRunnerState.d.ts +87 -0
- package/lib/stores/TestRunnerState.d.ts.map +1 -0
- package/lib/stores/TestRunnerState.js +336 -0
- package/lib/stores/TestRunnerState.js.map +1 -0
- package/lib/stores/TreeState.d.ts +42 -0
- package/lib/stores/TreeState.d.ts.map +1 -0
- package/lib/stores/TreeState.js +139 -0
- package/lib/stores/TreeState.js.map +1 -0
- package/package.json +85 -0
- package/src/application/LegendPureIDE.tsx +73 -0
- package/src/application/LegendPureIDEApplicationConfig.ts +58 -0
- package/src/application/LegendPureIDEPluginManager.ts +67 -0
- package/src/components/Core_LegendPureIDEApplicationPlugin.tsx +37 -0
- package/src/components/LegendPureIDEApplication.tsx +27 -0
- package/src/components/LegendPureIDEBaseStoreProvider.tsx +57 -0
- package/src/components/editor/ActivityBar.tsx +74 -0
- package/src/components/editor/Editor.tsx +180 -0
- package/src/components/editor/EditorStoreProvider.tsx +57 -0
- package/src/components/editor/StatusBar.tsx +95 -0
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +155 -0
- package/src/components/editor/aux-panel/ConsolePanel.tsx +49 -0
- package/src/components/editor/aux-panel/SearchPanel.tsx +421 -0
- package/src/components/editor/aux-panel/TestRunnerPanel.tsx +455 -0
- package/src/components/editor/command-center/CreateNewDirectoryCommand.tsx +86 -0
- package/src/components/editor/command-center/CreateNewFileCommand.tsx +84 -0
- package/src/components/editor/command-center/FileSearchCommand.tsx +112 -0
- package/src/components/editor/command-center/TextSearchCommand.tsx +103 -0
- package/src/components/editor/edit-panel/DiagramEditor.tsx +108 -0
- package/src/components/editor/edit-panel/EditPanel.tsx +114 -0
- package/src/components/editor/edit-panel/FileEditor.tsx +156 -0
- package/src/components/editor/shared/ConceptIconUtils.tsx +78 -0
- package/src/components/editor/side-bar/ConceptTreeExplorer.tsx +401 -0
- package/src/components/editor/side-bar/DirectoryTreeExplorer.tsx +366 -0
- package/src/components/editor/side-bar/SideBar.tsx +51 -0
- package/src/index.tsx +46 -0
- package/src/server/PureServerClient.ts +299 -0
- package/src/server/models/Command.ts +40 -0
- package/src/server/models/ConceptTree.ts +152 -0
- package/src/server/models/DiagramInfo.ts +793 -0
- package/src/server/models/DirectoryTree.ts +100 -0
- package/src/server/models/Execution.ts +223 -0
- package/src/server/models/Initialization.ts +92 -0
- package/src/server/models/PureFile.ts +76 -0
- package/src/server/models/SearchEntry.ts +85 -0
- package/src/server/models/SourceInformation.ts +37 -0
- package/src/server/models/Test.ts +125 -0
- package/src/server/models/Usage.ts +49 -0
- package/src/stores/ConceptTreeState.ts +156 -0
- package/src/stores/DiagramEditorState.ts +150 -0
- package/src/stores/DirectoryTreeState.ts +168 -0
- package/src/stores/EditorConfig.ts +26 -0
- package/src/stores/EditorStore.ts +1087 -0
- package/src/stores/EditorTabManagerState.ts +74 -0
- package/src/stores/FileEditorState.ts +148 -0
- package/src/stores/LegendPureIDEApplicationPlugin.ts +30 -0
- package/src/stores/LegendPureIDEBaseStore.ts +36 -0
- package/src/stores/LegendPureIDECommand.ts +84 -0
- package/src/stores/SearchCommandState.ts +61 -0
- package/src/stores/SearchResultState.ts +131 -0
- package/src/stores/TestRunnerState.ts +470 -0
- package/src/stores/TreeState.ts +179 -0
- package/tsconfig.json +98 -0
|
@@ -0,0 +1,120 @@
|
|
|
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 { guaranteeNonNullable, } from '@finos/legend-shared';
|
|
17
|
+
export class PureClient {
|
|
18
|
+
networkClient;
|
|
19
|
+
// Pure IDE info
|
|
20
|
+
userId = 'localuser';
|
|
21
|
+
sessionId = `${this.userId}@${Date.now()}@abcd`; // dummy session ID
|
|
22
|
+
compilerMode;
|
|
23
|
+
mode;
|
|
24
|
+
constructor(networkClient) {
|
|
25
|
+
this.networkClient = networkClient;
|
|
26
|
+
}
|
|
27
|
+
get baseUrl() {
|
|
28
|
+
return guaranteeNonNullable(this.networkClient.baseUrl, `Pure client has not been configured properly`);
|
|
29
|
+
}
|
|
30
|
+
initialize = (requestCache) => this.networkClient.get(`${this.baseUrl}/initialize`, undefined, undefined, {
|
|
31
|
+
requestCache,
|
|
32
|
+
// checkFileConflict
|
|
33
|
+
sessionId: this.sessionId,
|
|
34
|
+
mode: this.mode,
|
|
35
|
+
fastCompile: this.compilerMode,
|
|
36
|
+
});
|
|
37
|
+
getInitializationActivity = () => this.networkClient.get(`${this.baseUrl}/initializationActivity`, undefined, undefined, {
|
|
38
|
+
sessionId: this.sessionId,
|
|
39
|
+
});
|
|
40
|
+
getFile = (path) => this.networkClient.get(`${this.baseUrl}/fileAsJson/${path}`, undefined, undefined, {
|
|
41
|
+
sessionId: this.sessionId,
|
|
42
|
+
mode: this.mode,
|
|
43
|
+
fastCompile: this.compilerMode,
|
|
44
|
+
});
|
|
45
|
+
getDirectoryChildren = (path) => this.networkClient.get(`${this.baseUrl}/dir`, undefined, undefined, {
|
|
46
|
+
parameters: path ?? '/',
|
|
47
|
+
mode: this.mode,
|
|
48
|
+
sessionId: this.sessionId,
|
|
49
|
+
});
|
|
50
|
+
getConceptChildren = (path) => this.networkClient.get(`${this.baseUrl}/execute`, undefined, undefined, {
|
|
51
|
+
func: 'meta::pure::ide::display_ide(String[1]):String[1]',
|
|
52
|
+
param: path ? `'${path}'` : "'::'",
|
|
53
|
+
format: 'raw',
|
|
54
|
+
mode: this.mode,
|
|
55
|
+
sessionId: this.sessionId,
|
|
56
|
+
});
|
|
57
|
+
getConceptActivity = () => this.networkClient.get(`${this.baseUrl}/conceptsActivity`, undefined, undefined, {
|
|
58
|
+
sessionId: this.sessionId,
|
|
59
|
+
});
|
|
60
|
+
execute = (openFiles, url, extraParams) => this.networkClient.post(`${this.baseUrl}/${url}`, {
|
|
61
|
+
extraParams,
|
|
62
|
+
openFiles,
|
|
63
|
+
}, undefined, undefined, {
|
|
64
|
+
sessionId: this.sessionId,
|
|
65
|
+
mode: this.mode,
|
|
66
|
+
fastCompile: this.compilerMode,
|
|
67
|
+
});
|
|
68
|
+
getExecutionActivity = () => this.networkClient.get(`${this.baseUrl}/executionActivity`, undefined, undefined, {
|
|
69
|
+
sessionId: this.sessionId,
|
|
70
|
+
});
|
|
71
|
+
findFiles = (searchText, isRegExp) => this.networkClient.get(`${this.baseUrl}/findPureFiles`, undefined, undefined, {
|
|
72
|
+
file: searchText,
|
|
73
|
+
regex: isRegExp,
|
|
74
|
+
});
|
|
75
|
+
searchText = (searchText, isCaseSensitive, isRegExp, limit = 2000) => this.networkClient.get(`${this.baseUrl}/findInSources`, undefined, undefined, {
|
|
76
|
+
string: searchText,
|
|
77
|
+
caseSensitive: isCaseSensitive,
|
|
78
|
+
regex: isRegExp,
|
|
79
|
+
limit,
|
|
80
|
+
});
|
|
81
|
+
checkTestRunner = (testRunnerId) => this.networkClient.get(`${this.baseUrl}/testRunnerCheck`, undefined, undefined, {
|
|
82
|
+
sessionId: this.sessionId,
|
|
83
|
+
testRunnerId,
|
|
84
|
+
});
|
|
85
|
+
cancelTestRunner = (testRunnerId) => this.networkClient.get(`${this.baseUrl}/testRunnerCancel`, undefined, undefined, {
|
|
86
|
+
sessionId: this.sessionId,
|
|
87
|
+
testRunnerId,
|
|
88
|
+
});
|
|
89
|
+
getConceptPath = (file, line, column) => this.networkClient.get(`${this.baseUrl}/getConceptPath`, undefined, undefined, {
|
|
90
|
+
file,
|
|
91
|
+
line,
|
|
92
|
+
column,
|
|
93
|
+
});
|
|
94
|
+
getUsages = (func, param) => this.networkClient.get(`${this.baseUrl}/execute`, undefined, undefined, {
|
|
95
|
+
func,
|
|
96
|
+
param,
|
|
97
|
+
});
|
|
98
|
+
createFile = (path) => this.networkClient.get(`${this.baseUrl}/newFile/${path}`, undefined, undefined, {
|
|
99
|
+
sessionId: this.sessionId,
|
|
100
|
+
mode: this.mode,
|
|
101
|
+
fastCompile: this.compilerMode,
|
|
102
|
+
});
|
|
103
|
+
createFolder = (path) => this.networkClient.get(`${this.baseUrl}/newFolder/${path}`, undefined, undefined, {
|
|
104
|
+
sessionId: this.sessionId,
|
|
105
|
+
mode: this.mode,
|
|
106
|
+
fastCompile: this.compilerMode,
|
|
107
|
+
});
|
|
108
|
+
deleteDirectoryOrFile = (path) => this.networkClient.get(`${this.baseUrl}/deleteFile/${path}`, undefined, undefined, {
|
|
109
|
+
sessionId: this.sessionId,
|
|
110
|
+
});
|
|
111
|
+
getDiagramInfo = async (diagramPath) => JSON.parse(await this.networkClient.get(`${this.baseUrl}/execute`, undefined, undefined, {
|
|
112
|
+
func: 'meta::pure::ide::diagram::getDiagramInfo_String_1__String_1_',
|
|
113
|
+
param: [`'${diagramPath}'`],
|
|
114
|
+
}));
|
|
115
|
+
getDiagramClassInfo = async (classPath) => JSON.parse(await this.networkClient.get(`${this.baseUrl}/execute`, undefined, undefined, {
|
|
116
|
+
func: 'meta::pure::ide::diagram::getDiagramClassInfo_String_1__String_1_',
|
|
117
|
+
param: [`'${classPath}'`],
|
|
118
|
+
}));
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=PureServerClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PureServerClient.js","sourceRoot":"","sources":["../../src/server/PureServerClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqBH,OAAO,EACL,oBAAoB,GAGrB,MAAM,sBAAsB,CAAC;AAM9B,MAAM,OAAO,UAAU;IACb,aAAa,CAAgB;IAErC,gBAAgB;I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ACzB,SAAiB,EACuB,EAAE,CAC1C,IAAI,CAAC,KAAK,CACR,MAAM,IAAI,CAAC,aAAa,CAAC,GAAG,CAC1B,GAAG,IAAI,CAAC,OAAO,UAAU,EACzB,SAAS,EACT,SAAS,EACT;QACE,IAAI,EAAE,mEAAmE;QACzE,KAAK,EAAE,CAAC,IAAI,SAAS,GAAG,CAAC;KAC1B,CACF,CACF,CAAC;CACL"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export declare class CommandResult {
|
|
17
|
+
}
|
|
18
|
+
export declare class CommandFailureResult extends CommandResult {
|
|
19
|
+
error: boolean;
|
|
20
|
+
errorDialog?: boolean;
|
|
21
|
+
text: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const deserializeCommandResult: (value: Record<PropertyKey, unknown>) => CommandResult;
|
|
24
|
+
//# sourceMappingURL=Command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../../src/server/models/Command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,qBAAa,aAAa;CAAG;AAE7B,qBAAa,oBAAqB,SAAQ,aAAa;IACrD,KAAK,EAAG,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,EAAG,MAAM,CAAC;CACf;AAQD,eAAO,MAAM,wBAAwB,UAC5B,OAAO,WAAW,EAAE,OAAO,CAAC,KAClC,aAKF,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { createModelSchema, deserialize, primitive } from 'serializr';
|
|
17
|
+
export class CommandResult {
|
|
18
|
+
}
|
|
19
|
+
export class CommandFailureResult extends CommandResult {
|
|
20
|
+
error;
|
|
21
|
+
errorDialog;
|
|
22
|
+
text;
|
|
23
|
+
}
|
|
24
|
+
createModelSchema(CommandFailureResult, {
|
|
25
|
+
error: primitive(),
|
|
26
|
+
errorDialog: primitive(),
|
|
27
|
+
text: primitive(),
|
|
28
|
+
});
|
|
29
|
+
export const deserializeCommandResult = (value) => {
|
|
30
|
+
if (value.error) {
|
|
31
|
+
return deserialize(CommandFailureResult, value);
|
|
32
|
+
}
|
|
33
|
+
return new CommandResult();
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=Command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Command.js","sourceRoot":"","sources":["../../../src/server/models/Command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtE,MAAM,OAAO,aAAa;CAAG;AAE7B,MAAM,OAAO,oBAAqB,SAAQ,aAAa;IACrD,KAAK,CAAW;IAChB,WAAW,CAAW;IACtB,IAAI,CAAU;CACf;AAED,iBAAiB,CAAC,oBAAoB,EAAE;IACtC,KAAK,EAAE,SAAS,EAAE;IAClB,WAAW,EAAE,SAAS,EAAE;IACxB,IAAI,EAAE,SAAS,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,KAAmC,EACpB,EAAE;IACjB,IAAI,KAAK,CAAC,KAAK,EAAE;QACf,OAAO,WAAW,CAAC,oBAAoB,EAAE,KAAK,CAAC,CAAC;KACjD;IACD,OAAO,IAAI,aAAa,EAAE,CAAC;AAC7B,CAAC,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 } from '@finos/legend-art';
|
|
17
|
+
import { type Clazz } from 'serializr';
|
|
18
|
+
export declare enum ConceptType {
|
|
19
|
+
PACKAGE = "Package",
|
|
20
|
+
PROFILE = "Profile",
|
|
21
|
+
CLASS = "Class",
|
|
22
|
+
ASSOCIATION = "Association",
|
|
23
|
+
PROPERTY = "Property",
|
|
24
|
+
ENUMERATION = "Enumeration",
|
|
25
|
+
ENUM_VALUE = "Enum",
|
|
26
|
+
MEASURE = "Measure",
|
|
27
|
+
UNIT = "Unit",
|
|
28
|
+
FUNCTION = "ConcreteFunctionDefinition",
|
|
29
|
+
NATIVE_FUNCTION = "NativeFunction",
|
|
30
|
+
DIAGRAM = "Diagram"
|
|
31
|
+
}
|
|
32
|
+
declare abstract class ConceptAttribute {
|
|
33
|
+
pureId: string;
|
|
34
|
+
pureType: string;
|
|
35
|
+
get id(): string;
|
|
36
|
+
}
|
|
37
|
+
export declare class PackageConceptAttribute extends ConceptAttribute {
|
|
38
|
+
pureId: string;
|
|
39
|
+
pureType: string;
|
|
40
|
+
deprecated: boolean;
|
|
41
|
+
}
|
|
42
|
+
export declare class PropertyConceptAttribute extends ConceptAttribute {
|
|
43
|
+
pureId: string;
|
|
44
|
+
pureType: string;
|
|
45
|
+
RO: string;
|
|
46
|
+
classPath: string;
|
|
47
|
+
file: string;
|
|
48
|
+
line: string;
|
|
49
|
+
column: string;
|
|
50
|
+
get id(): string;
|
|
51
|
+
}
|
|
52
|
+
export declare class ElementConceptAttribute extends ConceptAttribute {
|
|
53
|
+
pureId: string;
|
|
54
|
+
pureType: string;
|
|
55
|
+
RO: string;
|
|
56
|
+
notpublic: boolean;
|
|
57
|
+
user: string;
|
|
58
|
+
file: string;
|
|
59
|
+
line: string;
|
|
60
|
+
column: string;
|
|
61
|
+
}
|
|
62
|
+
export declare class ConceptNode {
|
|
63
|
+
li_attr: ConceptAttribute;
|
|
64
|
+
id: string;
|
|
65
|
+
text: string;
|
|
66
|
+
icon?: string;
|
|
67
|
+
children?: boolean;
|
|
68
|
+
state?: string;
|
|
69
|
+
getNodeAttribute<T extends ConceptAttribute>(clazz: Clazz<T>): T;
|
|
70
|
+
}
|
|
71
|
+
export interface ConceptTreeNode extends TreeNodeData {
|
|
72
|
+
data: ConceptNode;
|
|
73
|
+
isLoading: boolean;
|
|
74
|
+
}
|
|
75
|
+
export {};
|
|
76
|
+
//# sourceMappingURL=ConceptTree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConceptTree.d.ts","sourceRoot":"","sources":["../../../src/server/models/ConceptTree.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,OAAO,EACL,KAAK,KAAK,EAMX,MAAM,WAAW,CAAC;AAEnB,oBAAY,WAAW;IAErB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,UAAU,SAAS;IACnB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,+BAA+B;IACvC,eAAe,mBAAmB;IAClC,OAAO,YAAY;CACpB;AAED,uBAAe,gBAAgB;IAC7B,MAAM,EAAG,MAAM,CAAC;IAChB,QAAQ,EAAG,MAAM,CAAC;IAGlB,IAAI,EAAE,IAAI,MAAM,CAEf;CACF;AAED,qBAAa,uBAAwB,SAAQ,gBAAgB;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACzB,UAAU,EAAG,OAAO,CAAC;CACtB;AAQD,qBAAa,wBAAyB,SAAQ,gBAAgB;IACpD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACzB,EAAE,EAAG,MAAM,CAAC;IACZ,SAAS,EAAG,MAAM,CAAC;IACnB,IAAI,EAAG,MAAM,CAAC;IACd,IAAI,EAAG,MAAM,CAAC;IACd,MAAM,EAAG,MAAM,CAAC;IAEhB,IAAa,EAAE,IAAI,MAAM,CAExB;CACF;AAYD,qBAAa,uBAAwB,SAAQ,gBAAgB;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACzB,EAAE,EAAG,MAAM,CAAC;IACZ,SAAS,EAAG,OAAO,CAAC;IACpB,IAAI,EAAG,MAAM,CAAC;IACd,IAAI,EAAG,MAAM,CAAC;IACd,IAAI,EAAG,MAAM,CAAC;IACd,MAAM,EAAG,MAAM,CAAC;CACjB;AAaD,qBAAa,WAAW;IACtB,OAAO,EAAG,gBAAgB,CAAC;IAC3B,EAAE,EAAG,MAAM,CAAC;IACZ,IAAI,EAAG,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,gBAAgB,CAAC,CAAC,SAAS,gBAAgB,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;CAOjE;AAsBD,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1,116 @@
|
|
|
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 { guaranteeType } from '@finos/legend-shared';
|
|
17
|
+
import { createModelSchema, primitive, custom, SKIP, deserialize, } from 'serializr';
|
|
18
|
+
export var ConceptType;
|
|
19
|
+
(function (ConceptType) {
|
|
20
|
+
// PRIMITIVE = 'Primitive',
|
|
21
|
+
ConceptType["PACKAGE"] = "Package";
|
|
22
|
+
ConceptType["PROFILE"] = "Profile";
|
|
23
|
+
ConceptType["CLASS"] = "Class";
|
|
24
|
+
ConceptType["ASSOCIATION"] = "Association";
|
|
25
|
+
ConceptType["PROPERTY"] = "Property";
|
|
26
|
+
ConceptType["ENUMERATION"] = "Enumeration";
|
|
27
|
+
ConceptType["ENUM_VALUE"] = "Enum";
|
|
28
|
+
ConceptType["MEASURE"] = "Measure";
|
|
29
|
+
ConceptType["UNIT"] = "Unit";
|
|
30
|
+
ConceptType["FUNCTION"] = "ConcreteFunctionDefinition";
|
|
31
|
+
ConceptType["NATIVE_FUNCTION"] = "NativeFunction";
|
|
32
|
+
ConceptType["DIAGRAM"] = "Diagram";
|
|
33
|
+
})(ConceptType = ConceptType || (ConceptType = {}));
|
|
34
|
+
class ConceptAttribute {
|
|
35
|
+
pureId;
|
|
36
|
+
pureType;
|
|
37
|
+
// test?: string; // boolean
|
|
38
|
+
get id() {
|
|
39
|
+
return this.pureId;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export class PackageConceptAttribute extends ConceptAttribute {
|
|
43
|
+
deprecated;
|
|
44
|
+
}
|
|
45
|
+
createModelSchema(PackageConceptAttribute, {
|
|
46
|
+
pureId: primitive(),
|
|
47
|
+
pureType: primitive(),
|
|
48
|
+
deprecated: primitive(),
|
|
49
|
+
});
|
|
50
|
+
export class PropertyConceptAttribute extends ConceptAttribute {
|
|
51
|
+
RO; // boolean
|
|
52
|
+
classPath;
|
|
53
|
+
file;
|
|
54
|
+
line; // number
|
|
55
|
+
column; // number
|
|
56
|
+
get id() {
|
|
57
|
+
return `${this.classPath}.${this.pureId}`;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
createModelSchema(PropertyConceptAttribute, {
|
|
61
|
+
pureId: primitive(),
|
|
62
|
+
pureType: primitive(),
|
|
63
|
+
RO: primitive(),
|
|
64
|
+
classPath: primitive(),
|
|
65
|
+
file: primitive(),
|
|
66
|
+
line: primitive(),
|
|
67
|
+
column: primitive(),
|
|
68
|
+
});
|
|
69
|
+
export class ElementConceptAttribute extends ConceptAttribute {
|
|
70
|
+
RO; // boolean
|
|
71
|
+
notpublic;
|
|
72
|
+
user; // boolean
|
|
73
|
+
file;
|
|
74
|
+
line; // number
|
|
75
|
+
column; // number
|
|
76
|
+
}
|
|
77
|
+
createModelSchema(ElementConceptAttribute, {
|
|
78
|
+
pureId: primitive(),
|
|
79
|
+
pureType: primitive(),
|
|
80
|
+
RO: primitive(),
|
|
81
|
+
notpublic: primitive(),
|
|
82
|
+
user: primitive(),
|
|
83
|
+
file: primitive(),
|
|
84
|
+
line: primitive(),
|
|
85
|
+
column: primitive(),
|
|
86
|
+
});
|
|
87
|
+
export class ConceptNode {
|
|
88
|
+
li_attr;
|
|
89
|
+
id;
|
|
90
|
+
text;
|
|
91
|
+
icon;
|
|
92
|
+
children;
|
|
93
|
+
state;
|
|
94
|
+
getNodeAttribute(clazz) {
|
|
95
|
+
return guaranteeType(this.li_attr, clazz, `Expected concept node attribute to be of type '${clazz.name}'`);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
createModelSchema(ConceptNode, {
|
|
99
|
+
li_attr: custom(() => SKIP, (value) => {
|
|
100
|
+
if (value.classPath) {
|
|
101
|
+
return deserialize(PropertyConceptAttribute, value);
|
|
102
|
+
}
|
|
103
|
+
else if (value.file) {
|
|
104
|
+
return deserialize(ElementConceptAttribute, value);
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
return deserialize(PackageConceptAttribute, value);
|
|
108
|
+
}
|
|
109
|
+
}),
|
|
110
|
+
id: primitive(),
|
|
111
|
+
text: primitive(),
|
|
112
|
+
icon: primitive(),
|
|
113
|
+
children: primitive(),
|
|
114
|
+
state: primitive(),
|
|
115
|
+
});
|
|
116
|
+
//# sourceMappingURL=ConceptTree.js.map
|
|
@@ -0,0 +1 @@
|
|
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AAC,wBAAwB,EAAE,KAAK,CAAC,CAAC;SACrD;aAAM,IAAI,KAAK,CAAC,IAAI,EAAE;YACrB,OAAO,WAAW,CAAC,uBAAuB,EAAE,KAAK,CAAC,CAAC;SACpD;aAAM;YACL,OAAO,WAAW,CAAC,uBAAuB,EAAE,KAAK,CAAC,CAAC;SACpD;IACH,CAAC,CACF;IACD,EAAE,EAAE,SAAS,EAAE;IACf,IAAI,EAAE,SAAS,EAAE;IACjB,IAAI,EAAE,SAAS,EAAE;IACjB,QAAQ,EAAE,SAAS,EAAE;IACrB,KAAK,EAAE,SAAS,EAAE;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
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 { Diagram } from '@finos/legend-extension-dsl-diagram';
|
|
17
|
+
import { Class, PureModel } from '@finos/legend-graph';
|
|
18
|
+
import { SourceInformation } from './SourceInformation.js';
|
|
19
|
+
declare class PURE__Profile {
|
|
20
|
+
package: string;
|
|
21
|
+
name: string;
|
|
22
|
+
tags: string[];
|
|
23
|
+
stereotypes: string[];
|
|
24
|
+
}
|
|
25
|
+
declare class PURE__Steoreotype {
|
|
26
|
+
profile: string;
|
|
27
|
+
value: string;
|
|
28
|
+
}
|
|
29
|
+
declare class PURE__Tag {
|
|
30
|
+
profile: string;
|
|
31
|
+
value: string;
|
|
32
|
+
}
|
|
33
|
+
declare class PURE__TaggedValue {
|
|
34
|
+
tag: PURE__Tag;
|
|
35
|
+
value: string;
|
|
36
|
+
}
|
|
37
|
+
declare class PURE__GenericType {
|
|
38
|
+
rawType?: string;
|
|
39
|
+
typeParameter?: string;
|
|
40
|
+
}
|
|
41
|
+
declare class PURE__Property {
|
|
42
|
+
name: string;
|
|
43
|
+
stereotypes: PURE__Steoreotype[];
|
|
44
|
+
taggedValues: PURE__TaggedValue[];
|
|
45
|
+
multiplicity: string;
|
|
46
|
+
genericType: PURE__GenericType;
|
|
47
|
+
}
|
|
48
|
+
declare class PURE__PackageableElementPointer {
|
|
49
|
+
package: string;
|
|
50
|
+
name: string;
|
|
51
|
+
sourceInformation: SourceInformation;
|
|
52
|
+
}
|
|
53
|
+
declare class PURE__Class {
|
|
54
|
+
package: string;
|
|
55
|
+
name: string;
|
|
56
|
+
sourceInformation: SourceInformation;
|
|
57
|
+
stereotypes: PURE__Steoreotype[];
|
|
58
|
+
taggedValues: PURE__TaggedValue[];
|
|
59
|
+
generalizations: PURE__GenericType[];
|
|
60
|
+
properties: PURE__Property[];
|
|
61
|
+
qualifiedProperties: PURE__Property[];
|
|
62
|
+
}
|
|
63
|
+
declare class PURE__Enumeration {
|
|
64
|
+
package: string;
|
|
65
|
+
name: string;
|
|
66
|
+
enumValues: string[];
|
|
67
|
+
}
|
|
68
|
+
declare class PURE__Point {
|
|
69
|
+
x: number;
|
|
70
|
+
y: number;
|
|
71
|
+
}
|
|
72
|
+
declare class PURE__Rectangle {
|
|
73
|
+
height: number;
|
|
74
|
+
width: number;
|
|
75
|
+
}
|
|
76
|
+
declare class PURE__Geometry {
|
|
77
|
+
points: PURE__Point[];
|
|
78
|
+
}
|
|
79
|
+
declare class PURE__GeneralizationView {
|
|
80
|
+
id: string;
|
|
81
|
+
source: string;
|
|
82
|
+
target: string;
|
|
83
|
+
geometry: PURE__Geometry;
|
|
84
|
+
}
|
|
85
|
+
declare class PURE__PropertyViewPropertyPointer {
|
|
86
|
+
name: string;
|
|
87
|
+
owningType: string;
|
|
88
|
+
}
|
|
89
|
+
declare class PURE__PropertyView {
|
|
90
|
+
id: string;
|
|
91
|
+
source: string;
|
|
92
|
+
target: string;
|
|
93
|
+
property: PURE__PropertyViewPropertyPointer;
|
|
94
|
+
geometry: PURE__Geometry;
|
|
95
|
+
}
|
|
96
|
+
declare class PURE__TypeView {
|
|
97
|
+
id: string;
|
|
98
|
+
type: string;
|
|
99
|
+
position: PURE__Point;
|
|
100
|
+
rectangleGeometry: PURE__Rectangle;
|
|
101
|
+
}
|
|
102
|
+
declare class PURE__Diagram {
|
|
103
|
+
package: string;
|
|
104
|
+
name: string;
|
|
105
|
+
stereotypes: PURE__Steoreotype[];
|
|
106
|
+
taggedValues: PURE__TaggedValue[];
|
|
107
|
+
generalizationViews: PURE__GeneralizationView[];
|
|
108
|
+
propertyViews: PURE__PropertyView[];
|
|
109
|
+
typeViews: PURE__TypeView[];
|
|
110
|
+
}
|
|
111
|
+
declare class DiagramDomainInfo {
|
|
112
|
+
classes: PURE__Class[];
|
|
113
|
+
enumerations: PURE__Enumeration[];
|
|
114
|
+
profiles: PURE__Profile[];
|
|
115
|
+
}
|
|
116
|
+
export declare class DiagramInfo {
|
|
117
|
+
name: string;
|
|
118
|
+
diagram: PURE__Diagram;
|
|
119
|
+
domainInfo?: DiagramDomainInfo;
|
|
120
|
+
}
|
|
121
|
+
export declare class DiagramClassInfo {
|
|
122
|
+
class: PURE__Class;
|
|
123
|
+
enumerations: PURE__Enumeration[];
|
|
124
|
+
profiles: PURE__Profile[];
|
|
125
|
+
specializations: PURE__PackageableElementPointer[];
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Serialize the diagram in Studio to Pure grammar for M2 DSL Diagram
|
|
129
|
+
* so we can persist it.
|
|
130
|
+
*/
|
|
131
|
+
export declare const serializeDiagram: (diagram: Diagram) => string;
|
|
132
|
+
export interface DiagramClassMetadata {
|
|
133
|
+
isStubbed: boolean;
|
|
134
|
+
sourceInformation: SourceInformation | undefined;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Since the diagram renderer uses Studio metamodel, here we build
|
|
138
|
+
* Studio metamodel graph and diagram from the Pure IDE diagram info
|
|
139
|
+
* to make use of the renderer.
|
|
140
|
+
*/
|
|
141
|
+
export declare const buildGraphFromDiagramInfo: (diagramInfo: DiagramInfo) => [Diagram, PureModel, Map<string, DiagramClassMetadata>];
|
|
142
|
+
export declare const addClassToGraph: (diagramClassInfo: DiagramClassInfo, graph: PureModel, diagramClasses: Map<string, DiagramClassMetadata>) => Class;
|
|
143
|
+
export {};
|
|
144
|
+
//# sourceMappingURL=DiagramInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiagramInfo.d.ts","sourceRoot":"","sources":["../../../src/server/models/DiagramInfo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,OAAO,EAMR,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,KAAK,EAYL,SAAS,EAaV,MAAM,qBAAqB,CAAC;AAS7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAQ3D,cAAM,aAAa;IACjB,OAAO,EAAG,MAAM,CAAC;IACjB,IAAI,EAAG,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,EAAE,CAAM;IACpB,WAAW,EAAE,MAAM,EAAE,CAAM;CAC5B;AASD,cAAM,iBAAiB;IACrB,OAAO,EAAG,MAAM,CAAC;IACjB,KAAK,EAAG,MAAM,CAAC;CAChB;AAOD,cAAM,SAAS;IACb,OAAO,EAAG,MAAM,CAAC;IACjB,KAAK,EAAG,MAAM,CAAC;CAChB;AAOD,cAAM,iBAAiB;IACrB,GAAG,EAAG,SAAS,CAAC;IAChB,KAAK,EAAG,MAAM,CAAC;CAChB;AAOD,cAAM,iBAAiB;IACrB,O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