@finos/legend-extension-dsl-data-space 3.0.1 → 3.0.4

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.
@@ -13,10 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { LegendApplicationDocumentationEntryConfig } from '@finos/legend-application';
17
16
  export declare enum DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY {
18
17
  GRAMMAR_PARSER = "dsl-dataspace.grammar.parser",
19
18
  GRAMMAR_ELEMENT_DATA_SPACE = "dsl-dataspace.grammar.element.data-space"
20
19
  }
21
- export declare const DSL_DATA_SPACE_DOCUMENTATION_ENTRIES: Record<string, LegendApplicationDocumentationEntryConfig>;
22
20
  //# sourceMappingURL=DSLDataSpace_LegendStudioDocumentation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_LegendStudioDocumentation.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,2BAA2B,CAAC;AAE3F,oBAAY,8CAA8C;IACxD,cAAc,iCAAiC;IAC/C,0BAA0B,6CAA6C;CACxE;AAED,eAAO,MAAM,oCAAoC,EAAE,MAAM,CACvD,MAAM,EACN,yCAAyC,CAc1C,CAAC"}
1
+ {"version":3,"file":"DSLDataSpace_LegendStudioDocumentation.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,8CAA8C;IACxD,cAAc,iCAAiC;IAC/C,0BAA0B,6CAA6C;CACxE"}
@@ -18,18 +18,4 @@ export var DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY;
18
18
  DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY["GRAMMAR_PARSER"] = "dsl-dataspace.grammar.parser";
19
19
  DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY["GRAMMAR_ELEMENT_DATA_SPACE"] = "dsl-dataspace.grammar.element.data-space";
20
20
  })(DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY = DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY || (DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY = {}));
21
- export const DSL_DATA_SPACE_DOCUMENTATION_ENTRIES = {
22
- [DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER]: {
23
- title: `What is DataSpace DSL about?`,
24
- markdownText: {
25
- value: `\`DataSpace DSL\` (corresponding to header \`###DataSpace\` section in \`Pure\`) concerns with providing information and documentation about the taxonomy of data models`,
26
- },
27
- },
28
- [DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_ELEMENT_DATA_SPACE]: {
29
- title: `What is a data-space element?`,
30
- markdownText: {
31
- value: `A \`Data-space\` element specifies a grouping of model diagrams, execution context (mapping, runtime), test data, and so on to help communicate about the _meaning_, _usage_, and relationships of data models and to help users quickly explore and understand the models`,
32
- },
33
- },
34
- };
35
21
  //# sourceMappingURL=DSLDataSpace_LegendStudioDocumentation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_LegendStudioDocumentation.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,MAAM,CAAN,IAAY,8CAGX;AAHD,WAAY,8CAA8C;IACxD,iGAA+C,CAAA;IAC/C,yHAAuE,CAAA;AACzE,CAAC,EAHW,8CAA8C,GAA9C,8CAA8C,KAA9C,8CAA8C,QAGzD;AAED,MAAM,CAAC,MAAM,oCAAoC,GAG7C;IACF,CAAC,8CAA8C,CAAC,cAAc,CAAC,EAAE;QAC/D,KAAK,EAAE,8BAA8B;QACrC,YAAY,EAAE;YACZ,KAAK,EAAE,0KAA0K;SAClL;KACF;IACD,CAAC,8CAA8C,CAAC,0BAA0B,CAAC,EAAE;QAC3E,KAAK,EAAE,+BAA+B;QACtC,YAAY,EAAE;YACZ,KAAK,EAAE,4QAA4Q;SACpR;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"DSLDataSpace_LegendStudioDocumentation.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,8CAGX;AAHD,WAAY,8CAA8C;IACxD,iGAA+C,CAAA;IAC/C,yHAAuE,CAAA;AACzE,CAAC,EAHW,8CAA8C,GAA9C,8CAA8C,KAA9C,8CAA8C,QAGzD"}
@@ -14,10 +14,9 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { type NewElementFromStateCreator, type ElementTypeGetter, type ElementProjectExplorerDnDTypeGetter, type ElementIconGetter, type DSL_LegendStudioPlugin_Extension, type ElementEditorStateCreator, type PureGrammarParserElementDocumentationGetter, type PureGrammarParserDocumentationGetter, type PureGrammarParserKeywordSuggestionGetter, type PureGrammarParserElementSnippetSuggestionsGetter, LegendStudioPlugin } from '@finos/legend-studio';
17
- import { type LegendApplicationKeyedDocumentationEntry } from '@finos/legend-application';
18
17
  export declare class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin implements DSL_LegendStudioPlugin_Extension {
19
18
  constructor();
20
- getExtraKeyedDocumentationEntries(): LegendApplicationKeyedDocumentationEntry[];
19
+ getExtraRequiredDocumentationKeys(): string[];
21
20
  getExtraSupportedElementTypes(): string[];
22
21
  getExtraElementTypeGetters(): ElementTypeGetter[];
23
22
  getExtraElementIconGetters(): ElementIconGetter[];
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_LegendStudioPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,gCAAgC,EAErC,KAAK,yBAAyB,EAG9B,KAAK,2CAA2C,EAChD,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EAErD,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAQ9B,OAAO,EAGL,KAAK,wCAAwC,EAC9C,MAAM,2BAA2B,CAAC;AAenC,qBAAa,+BACX,SAAQ,kBACR,YAAW,gCAAgC;;IAMlC,iCAAiC,IAAI,wCAAwC,EAAE;IAMxF,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,mCAAmC,IAAI,0BAA0B,EAAE;IA2BnE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,4CAA4C,IAAI,mCAAmC,EAAE;IAWrF,qCAAqC,IAAI,MAAM,EAAE;IAIjD,oDAAoD,IAAI,2CAA2C,EAAE;IAmBrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;CAiBhH"}
1
+ {"version":3,"file":"DSLDataSpace_LegendStudioPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,gCAAgC,EAErC,KAAK,yBAAyB,EAG9B,KAAK,2CAA2C,EAChD,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EAErD,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAoB9B,qBAAa,+BACX,SAAQ,kBACR,YAAW,gCAAgC;;IAMlC,iCAAiC,IAAI,MAAM,EAAE;IAOtD,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,mCAAmC,IAAI,0BAA0B,EAAE;IA2BnE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,4CAA4C,IAAI,mCAAmC,EAAE;IAWrF,qCAAqC,IAAI,MAAM,EAAE;IAIjD,oDAAoD,IAAI,2CAA2C,EAAE;IAmBrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;CAgBhH"}
@@ -19,8 +19,7 @@ import { UnsupportedElementEditorState, LegendStudioPlugin, } from '@finos/legen
19
19
  import { SquareIcon } from '@finos/legend-art';
20
20
  import { DataSpace, DataSpaceExecutionContext, } from '../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
21
21
  import { LATEST_VERSION_ALIAS } from '@finos/legend-server-depot';
22
- import { collectKeyedDocumnetationEntriesFromConfig, } from '@finos/legend-application';
23
- import { DSL_DATA_SPACE_DOCUMENTATION_ENTRIES, DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY, } from './DSLDataSpace_LegendStudioDocumentation.js';
22
+ import { DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSLDataSpace_LegendStudioDocumentation.js';
24
23
  import { PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL, PURE_GRAMMAR_DATA_SPACE_PARSER_NAME, } from '../../graphManager/DSLDataSpace_PureGraphManagerPlugin.js';
25
24
  import { SIMPLE_DATA_SPACE_SNIPPET } from './DSLDataSpace_CodeSnippets.js';
26
25
  const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
@@ -29,8 +28,11 @@ export class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin {
29
28
  constructor() {
30
29
  super(packageJson.extensions.studioPlugin, packageJson.version);
31
30
  }
32
- getExtraKeyedDocumentationEntries() {
33
- return collectKeyedDocumnetationEntriesFromConfig(DSL_DATA_SPACE_DOCUMENTATION_ENTRIES);
31
+ getExtraRequiredDocumentationKeys() {
32
+ return [
33
+ DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_ELEMENT_DATA_SPACE,
34
+ DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER,
35
+ ];
34
36
  }
35
37
  getExtraSupportedElementTypes() {
36
38
  return [DATA_SPACE_ELEMENT_TYPE];
@@ -140,7 +142,6 @@ export class DSLDataSpace_LegendStudioPlugin extends LegendStudioPlugin {
140
142
  ? [
141
143
  {
142
144
  text: PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL,
143
- description: 'simple',
144
145
  insertText: SIMPLE_DATA_SPACE_SNIPPET,
145
146
  },
146
147
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAeL,6BAA6B,EAC7B,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EACL,SAAS,EACT,yBAAyB,GAC1B,MAAM,4FAA4F,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACL,0CAA0C,GAG3C,MAAM,2BAA2B,CAAC;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AW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,8CAA8C,CAAC,0BAA0B,CAC1E,CAAC;qBACH;iBACF;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,6CAA6C;QAC3C,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EAC4B,EAAE;gBACnD,IAAI,aAAa,KAAK,mCAAmC,EAAE;oBACzD,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,8CAA8C,CAAC,cAAc,CAC9D,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iDAAiD;QAC/C,OAAO;YACL,CAAC,WAAwB,EAA+B,EAAE,CAAC;gBACzD;oBACE,IAAI,EAAE,mCAAmC;oBACzC,WAAW,EAAE,OAAO;oBACpB,aAAa,EACX,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAC3D,8CAA8C,CAAC,cAAc,CAC9D;oBACH,UAAU,EAAE,mCAAmC;iBAChD;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,mCAAmC;gBACnD,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,0CAA0C;wBAChD,WAAW,EAAE,QAAQ;wBACrB,UAAU,EAAE,yBAAyB;qBACtC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DSLDataSpace_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAeL,6BAA6B,EAC7B,kBAAkB,GACnB,MAAM,sBAAsB,CAA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;IACxD,CAAC;IAED,oDAAoD;QAClD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACrB,cAAsB,EAC2B,EAAE;gBACnD,IAAI,aAAa,KAAK,mCAAmC,EAAE;oBACzD,IAAI,cAAc,KAAK,0CAA0C,EAAE;wBACjE,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,8CAA8C,CAAC,0BAA0B,CAC1E,CAAC;qBACH;iBACF;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,6CAA6C;QAC3C,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EAC4B,EAAE;gBACnD,IAAI,aAAa,KAAK,mCAAmC,EAAE;oBACzD,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,8CAA8C,CAAC,cAAc,CAC9D,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iDAAiD;QAC/C,OAAO;YACL,CAAC,WAAwB,EAA+B,EAAE,CAAC;gBACzD;oBACE,IAAI,EAAE,mCAAmC;oBACzC,WAAW,EAAE,OAAO;oBACpB,aAAa,EACX,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAC3D,8CAA8C,CAAC,cAAc,CAC9D;oBACH,UAAU,EAAE,mCAAmC;iBAChD;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,mCAAmC;gBACnD,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,0CAA0C;wBAChD,UAAU,EAAE,yBAAyB;qBACtC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v3.0.1
1
+ /** @license @finos/legend-extension-dsl-data-space v3.0.4
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "3.0.1",
3
+ "version": "3.0.4",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -53,7 +53,7 @@
53
53
  "@finos/legend-shared": "workspace:*",
54
54
  "@finos/legend-studio": "workspace:*",
55
55
  "@types/react": "18.0.14",
56
- "mobx": "6.6.0",
56
+ "mobx": "6.6.1",
57
57
  "mobx-react-lite": "3.4.0",
58
58
  "react": "18.2.0",
59
59
  "react-dom": "18.2.0",
@@ -68,7 +68,7 @@
68
68
  "jest": "28.1.1",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "3.0.2",
71
- "sass": "1.52.3",
71
+ "sass": "1.53.0",
72
72
  "typescript": "4.7.4"
73
73
  },
74
74
  "peerDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "3.0.1",
3
+ "version": "3.0.4",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,17 +43,17 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "4.0.1",
47
- "@finos/legend-art": "2.0.1",
48
- "@finos/legend-extension-dsl-diagram": "4.0.0",
49
- "@finos/legend-graph": "8.0.1",
50
- "@finos/legend-model-storage": "2.0.1",
51
- "@finos/legend-query": "3.0.1",
52
- "@finos/legend-server-depot": "2.0.1",
53
- "@finos/legend-shared": "3.0.1",
54
- "@finos/legend-studio": "10.1.0",
46
+ "@finos/legend-application": "5.0.0",
47
+ "@finos/legend-art": "2.0.3",
48
+ "@finos/legend-extension-dsl-diagram": "4.1.0",
49
+ "@finos/legend-graph": "9.0.0",
50
+ "@finos/legend-model-storage": "2.0.3",
51
+ "@finos/legend-query": "3.0.4",
52
+ "@finos/legend-server-depot": "2.0.3",
53
+ "@finos/legend-shared": "4.0.0",
54
+ "@finos/legend-studio": "10.2.0",
55
55
  "@types/react": "18.0.14",
56
- "mobx": "6.6.0",
56
+ "mobx": "6.6.1",
57
57
  "mobx-react-lite": "3.4.0",
58
58
  "react": "18.2.0",
59
59
  "react-dom": "18.2.0",
@@ -61,14 +61,14 @@
61
61
  "serializr": "2.0.5"
62
62
  },
63
63
  "devDependencies": {
64
- "@finos/legend-dev-utils": "2.0.1",
64
+ "@finos/legend-dev-utils": "2.0.2",
65
65
  "@jest/globals": "28.1.1",
66
66
  "cross-env": "7.0.3",
67
67
  "eslint": "8.18.0",
68
68
  "jest": "28.1.1",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "3.0.2",
71
- "sass": "1.52.3",
71
+ "sass": "1.53.0",
72
72
  "typescript": "4.7.4"
73
73
  },
74
74
  "peerDependencies": {
@@ -14,27 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import type { LegendApplicationDocumentationEntryConfig } from '@finos/legend-application';
18
-
19
17
  export enum DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY {
20
18
  GRAMMAR_PARSER = 'dsl-dataspace.grammar.parser',
21
19
  GRAMMAR_ELEMENT_DATA_SPACE = 'dsl-dataspace.grammar.element.data-space',
22
20
  }
23
-
24
- export const DSL_DATA_SPACE_DOCUMENTATION_ENTRIES: Record<
25
- string,
26
- LegendApplicationDocumentationEntryConfig
27
- > = {
28
- [DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER]: {
29
- title: `What is DataSpace DSL about?`,
30
- markdownText: {
31
- value: `\`DataSpace DSL\` (corresponding to header \`###DataSpace\` section in \`Pure\`) concerns with providing information and documentation about the taxonomy of data models`,
32
- },
33
- },
34
- [DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_ELEMENT_DATA_SPACE]: {
35
- title: `What is a data-space element?`,
36
- markdownText: {
37
- value: `A \`Data-space\` element specifies a grouping of model diagrams, execution context (mapping, runtime), test data, and so on to help communicate about the _meaning_, _usage_, and relationships of data models and to help users quickly explore and understand the models`,
38
- },
39
- },
40
- };
@@ -40,20 +40,13 @@ import {
40
40
  DataSpaceExecutionContext,
41
41
  } from '../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
42
42
  import { LATEST_VERSION_ALIAS } from '@finos/legend-server-depot';
43
- import {
44
- collectKeyedDocumnetationEntriesFromConfig,
45
- type LegendApplicationDocumentationEntry,
46
- type LegendApplicationKeyedDocumentationEntry,
47
- } from '@finos/legend-application';
48
- import {
49
- DSL_DATA_SPACE_DOCUMENTATION_ENTRIES,
50
- DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY,
51
- } from './DSLDataSpace_LegendStudioDocumentation.js';
43
+ import { DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSLDataSpace_LegendStudioDocumentation.js';
52
44
  import {
53
45
  PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL,
54
46
  PURE_GRAMMAR_DATA_SPACE_PARSER_NAME,
55
47
  } from '../../graphManager/DSLDataSpace_PureGraphManagerPlugin.js';
56
48
  import { SIMPLE_DATA_SPACE_SNIPPET } from './DSLDataSpace_CodeSnippets.js';
49
+ import type { LegendApplicationDocumentationEntry } from '@finos/legend-application';
57
50
 
58
51
  const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
59
52
  const DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE =
@@ -67,10 +60,11 @@ export class DSLDataSpace_LegendStudioPlugin
67
60
  super(packageJson.extensions.studioPlugin, packageJson.version);
68
61
  }
69
62
 
70
- override getExtraKeyedDocumentationEntries(): LegendApplicationKeyedDocumentationEntry[] {
71
- return collectKeyedDocumnetationEntriesFromConfig(
72
- DSL_DATA_SPACE_DOCUMENTATION_ENTRIES,
73
- );
63
+ override getExtraRequiredDocumentationKeys(): string[] {
64
+ return [
65
+ DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_ELEMENT_DATA_SPACE,
66
+ DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER,
67
+ ];
74
68
  }
75
69
 
76
70
  getExtraSupportedElementTypes(): string[] {
@@ -220,7 +214,6 @@ export class DSLDataSpace_LegendStudioPlugin
220
214
  ? [
221
215
  {
222
216
  text: PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL,
223
- description: 'simple',
224
217
  insertText: SIMPLE_DATA_SPACE_SNIPPET,
225
218
  },
226
219
  ]