@finos/legend-extension-dsl-persistence 5.0.18 → 5.0.20
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/studio/DSL_Persistence_LegendStudioApplicationPlugin.d.ts +1 -3
- package/lib/components/studio/DSL_Persistence_LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/components/studio/DSL_Persistence_LegendStudioApplicationPlugin.js +0 -16
- package/lib/components/studio/DSL_Persistence_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +9 -9
- package/src/components/studio/DSL_Persistence_LegendStudioApplicationPlugin.tsx +0 -18
|
@@ -13,13 +13,11 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { LegendStudioApplicationPlugin, type DSL_LegendStudioApplicationPlugin_Extension, type ElementEditorStateCreator, type ElementIconGetter, type DragElementClassifier, type ElementClassifier, type NewElementFromStateCreator, type PureGrammarParserElementSnippetSuggestionsGetter, type PureGrammarParserKeywordSuggestionGetter, type PureGrammarParserElementDocumentationGetter, type PureGrammarParserDocumentationGetter, type ElementTypeLabelGetter
|
|
16
|
+
import { LegendStudioApplicationPlugin, type DSL_LegendStudioApplicationPlugin_Extension, type ElementEditorStateCreator, type ElementIconGetter, type DragElementClassifier, type ElementClassifier, type NewElementFromStateCreator, type PureGrammarParserElementSnippetSuggestionsGetter, type PureGrammarParserKeywordSuggestionGetter, type PureGrammarParserElementDocumentationGetter, type PureGrammarParserDocumentationGetter, type ElementTypeLabelGetter } from '@finos/legend-application-studio';
|
|
17
17
|
export declare class DSL_Persistence_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin implements DSL_LegendStudioApplicationPlugin_Extension {
|
|
18
18
|
constructor();
|
|
19
19
|
getExtraRequiredDocumentationKeys(): string[];
|
|
20
|
-
getExtraPureGrammarParserNames(): string[];
|
|
21
20
|
getExtraPureGrammarKeywords(): string[];
|
|
22
|
-
getExtraPureGrammarElementLabelers(): PureGrammarElementLabeler[];
|
|
23
21
|
getExtraSupportedElementTypes(): string[];
|
|
24
22
|
getExtraElementClassifiers(): ElementClassifier[];
|
|
25
23
|
getExtraElementIconGetters(): ElementIconGetter[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSL_Persistence_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSL_Persistence_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EACL,6BAA6B,EAE7B,KAAK,2CAA2C,EAGhD,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAE/B,KAAK,gDAAgD,EACrD,KAAK,wCAAwC,EAC7C,KAAK,2CAA2C,EAChD,KAAK,oCAAoC,EACzC,KAAK,sBAAsB,
|
|
1
|
+
{"version":3,"file":"DSL_Persistence_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSL_Persistence_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EACL,6BAA6B,EAE7B,KAAK,2CAA2C,EAGhD,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAE/B,KAAK,gDAAgD,EACrD,KAAK,wCAAwC,EAC7C,KAAK,2CAA2C,EAChD,KAAK,oCAAoC,EACzC,KAAK,sBAAsB,EAC5B,MAAM,kCAAkC,CAAC;AAuB1C,qBAAa,6CACX,SAAQ,6BACR,YAAW,2CAA2C;;IAM7C,iCAAiC,IAAI,MAAM,EAAE;IAQtD,2BAA2B,IAAI,MAAM,EAAE;IAOvC,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAajD,0BAA0B,IAAI,iBAAiB,EAAE;IAqBjD,mCAAmC,IAAI,0BAA0B,EAAE;IAiBnE,kCAAkC,IAAI,yBAAyB,EAAE;IAiBjE,8BAA8B,IAAI,qBAAqB,EAAE;IAazD,6CAA6C,IAAI,MAAM,EAAE;IAOzD,oDAAoD,IAAI,2CAA2C,EAAE;IA0BrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;IAuB/G,+BAA+B,IAAI,sBAAsB,EAAE;CAU5D"}
|
|
@@ -39,28 +39,12 @@ export class DSL_Persistence_LegendStudioApplicationPlugin extends LegendStudioA
|
|
|
39
39
|
DSL_PERSISTENCE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER,
|
|
40
40
|
];
|
|
41
41
|
}
|
|
42
|
-
getExtraPureGrammarParserNames() {
|
|
43
|
-
return [PURE_GRAMMAR_PERSISTENCE_PARSER_NAME];
|
|
44
|
-
}
|
|
45
42
|
getExtraPureGrammarKeywords() {
|
|
46
43
|
return [
|
|
47
44
|
PURE_GRAMMAR_PERSISTENCE_ELEMENT_TYPE_LABEL,
|
|
48
45
|
PURE_GRAMMAR_PERSISTENCE_CONTEXT_ELEMENT_TYPE_LABEL,
|
|
49
46
|
];
|
|
50
47
|
}
|
|
51
|
-
getExtraPureGrammarElementLabelers() {
|
|
52
|
-
return [
|
|
53
|
-
(element) => {
|
|
54
|
-
if (element instanceof Persistence) {
|
|
55
|
-
return PURE_GRAMMAR_PERSISTENCE_ELEMENT_TYPE_LABEL;
|
|
56
|
-
}
|
|
57
|
-
else if (element instanceof PersistenceContext) {
|
|
58
|
-
return PURE_GRAMMAR_PERSISTENCE_CONTEXT_ELEMENT_TYPE_LABEL;
|
|
59
|
-
}
|
|
60
|
-
return undefined;
|
|
61
|
-
},
|
|
62
|
-
];
|
|
63
|
-
}
|
|
64
48
|
getExtraSupportedElementTypes() {
|
|
65
49
|
return [PERSISTENCE_ELEMENT_TYPE, PERSISTENCE_CONTEXT_ELEMENT_TYPE];
|
|
66
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DSL_Persistence_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Persistence_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEhE,OAAO,EACL,6BAA6B,EAC7B,6BAA6B,
|
|
1
|
+
{"version":3,"file":"DSL_Persistence_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Persistence_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEhE,OAAO,EACL,6BAA6B,EAC7B,6BAA6B,GAe9B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,iGAAiG,CAAC;AAC9H,OAAO,EAAE,kBAAkB,EAAE,MAAM,wGAAwG,CAAC;AAC5I,OAAO,EACL,iCAAiC,EACjC,yBAAyB,GAC1B,MAAM,iEAAiE,CAAC;AACzE,OAAO,EAAE,+CAA+C,EAAE,MAAM,mEAAmE,CAAC;AAGpI,MAAM,wBAAwB,GAAG,aAAa,CAAC;AAC/C,MAAM,gCAAgC,GAAG,qBAAqB,CAAC;AAE/D,MAAM,6CAA6C,GACjD,8BAA8B,CAAC;AACjC,MAAM,qDAAqD,GACzD,sCAAsC,CAAC;AAEzC,MAAM,oCAAoC,GAAG,aAAa,CAAC;AAC3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CHANGED
package/lib/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-persistence",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.20",
|
|
4
4
|
"description": "Legend extension for Persistence DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -44,20 +44,20 @@
|
|
|
44
44
|
"test:watch": "jest --watch"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@finos/legend-application": "15.0.
|
|
48
|
-
"@finos/legend-application-studio": "
|
|
49
|
-
"@finos/legend-art": "7.0.
|
|
50
|
-
"@finos/legend-graph": "
|
|
51
|
-
"@finos/legend-lego": "1.0.
|
|
52
|
-
"@finos/legend-shared": "10.0.
|
|
53
|
-
"@finos/legend-storage": "3.0.
|
|
47
|
+
"@finos/legend-application": "15.0.14",
|
|
48
|
+
"@finos/legend-application-studio": "26.0.0",
|
|
49
|
+
"@finos/legend-art": "7.0.15",
|
|
50
|
+
"@finos/legend-graph": "29.0.0",
|
|
51
|
+
"@finos/legend-lego": "1.0.7",
|
|
52
|
+
"@finos/legend-shared": "10.0.6",
|
|
53
|
+
"@finos/legend-storage": "3.0.56",
|
|
54
54
|
"@types/react": "18.2.6",
|
|
55
55
|
"mobx": "6.9.0",
|
|
56
56
|
"react": "18.2.0",
|
|
57
57
|
"serializr": "3.0.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@finos/legend-dev-utils": "2.0.
|
|
60
|
+
"@finos/legend-dev-utils": "2.0.61",
|
|
61
61
|
"@jest/globals": "29.5.0",
|
|
62
62
|
"cross-env": "7.0.3",
|
|
63
63
|
"eslint": "8.40.0",
|
|
@@ -35,7 +35,6 @@ import {
|
|
|
35
35
|
type PureGrammarParserElementDocumentationGetter,
|
|
36
36
|
type PureGrammarParserDocumentationGetter,
|
|
37
37
|
type ElementTypeLabelGetter,
|
|
38
|
-
type PureGrammarElementLabeler,
|
|
39
38
|
} from '@finos/legend-application-studio';
|
|
40
39
|
import { Persistence } from '../../graph/metamodel/pure/model/packageableElements/persistence/DSL_Persistence_Persistence.js';
|
|
41
40
|
import { PersistenceContext } from '../../graph/metamodel/pure/model/packageableElements/persistence/DSL_Persistence_PersistenceContext.js';
|
|
@@ -75,10 +74,6 @@ export class DSL_Persistence_LegendStudioApplicationPlugin
|
|
|
75
74
|
];
|
|
76
75
|
}
|
|
77
76
|
|
|
78
|
-
getExtraPureGrammarParserNames(): string[] {
|
|
79
|
-
return [PURE_GRAMMAR_PERSISTENCE_PARSER_NAME];
|
|
80
|
-
}
|
|
81
|
-
|
|
82
77
|
getExtraPureGrammarKeywords(): string[] {
|
|
83
78
|
return [
|
|
84
79
|
PURE_GRAMMAR_PERSISTENCE_ELEMENT_TYPE_LABEL,
|
|
@@ -86,19 +81,6 @@ export class DSL_Persistence_LegendStudioApplicationPlugin
|
|
|
86
81
|
];
|
|
87
82
|
}
|
|
88
83
|
|
|
89
|
-
getExtraPureGrammarElementLabelers(): PureGrammarElementLabeler[] {
|
|
90
|
-
return [
|
|
91
|
-
(element: PackageableElement): string | undefined => {
|
|
92
|
-
if (element instanceof Persistence) {
|
|
93
|
-
return PURE_GRAMMAR_PERSISTENCE_ELEMENT_TYPE_LABEL;
|
|
94
|
-
} else if (element instanceof PersistenceContext) {
|
|
95
|
-
return PURE_GRAMMAR_PERSISTENCE_CONTEXT_ELEMENT_TYPE_LABEL;
|
|
96
|
-
}
|
|
97
|
-
return undefined;
|
|
98
|
-
},
|
|
99
|
-
];
|
|
100
|
-
}
|
|
101
|
-
|
|
102
84
|
getExtraSupportedElementTypes(): string[] {
|
|
103
85
|
return [PERSISTENCE_ELEMENT_TYPE, PERSISTENCE_CONTEXT_ELEMENT_TYPE];
|
|
104
86
|
}
|