@finos/legend-extension-dsl-data-space 2.0.4 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/lib/DSLDataSpace_Extension.d.ts +0 -2
  2. package/lib/DSLDataSpace_Extension.d.ts.map +1 -1
  3. package/lib/DSLDataSpace_Extension.js +8 -9
  4. package/lib/DSLDataSpace_Extension.js.map +1 -1
  5. package/lib/components/DataSpaceViewer.d.ts +1 -1
  6. package/lib/components/DataSpaceViewer.d.ts.map +1 -1
  7. package/lib/components/DataSpaceViewer.js +2 -2
  8. package/lib/components/DataSpaceViewer.js.map +1 -1
  9. package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js +2 -2
  10. package/lib/components/query/DSLDataSpace_LegendQueryPlugin.js.map +1 -1
  11. package/lib/components/query/DataSpaceQuerySetup.d.ts +1 -1
  12. package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
  13. package/lib/components/query/DataSpaceQuerySetup.js +1 -1
  14. package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
  15. package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.d.ts +4 -14
  16. package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.d.ts.map +1 -1
  17. package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.js +8 -6
  18. package/lib/components/studio/DSLDataSpace_LegendStudioDocumentation.js.map +1 -1
  19. package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.d.ts.map +1 -1
  20. package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js +7 -7
  21. package/lib/components/studio/DSLDataSpace_LegendStudioPlugin.js.map +1 -1
  22. package/lib/graph/DSLDataSpace_PureGraphPlugin.js +1 -1
  23. package/lib/graph/DSLDataSpace_PureGraphPlugin.js.map +1 -1
  24. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts +1 -1
  25. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.d.ts.map +1 -1
  26. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js +1 -1
  27. package/lib/graphManager/DSLDataSpace_GraphManagerHelper.js.map +1 -1
  28. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js +2 -2
  29. package/lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.js.map +1 -1
  30. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts +1 -1
  31. package/lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts.map +1 -1
  32. package/lib/index.css +1 -1
  33. package/lib/index.d.ts +6 -6
  34. package/lib/index.d.ts.map +1 -1
  35. package/lib/index.js +6 -6
  36. package/lib/index.js.map +1 -1
  37. package/lib/models/DSLDataSpace_ModelUtils.js +1 -1
  38. package/lib/models/DSLDataSpace_ModelUtils.js.map +1 -1
  39. package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts +1 -3
  40. package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.d.ts.map +1 -1
  41. package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js +1 -3
  42. package/lib/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js.map +1 -1
  43. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts +2 -2
  44. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
  45. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js +4 -4
  46. package/lib/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js.map +1 -1
  47. package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js +1 -1
  48. package/lib/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js.map +1 -1
  49. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts +1 -1
  50. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.d.ts.map +1 -1
  51. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js +1 -1
  52. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.js.map +1 -1
  53. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts +1 -1
  54. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.d.ts.map +1 -1
  55. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js +1 -1
  56. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js.map +1 -1
  57. package/lib/package.json +9 -8
  58. package/lib/stores/DataSpaceViewerState.d.ts +1 -1
  59. package/lib/stores/DataSpaceViewerState.d.ts.map +1 -1
  60. package/lib/stores/DataSpaceViewerState.js +1 -1
  61. package/lib/stores/DataSpaceViewerState.js.map +1 -1
  62. package/lib/stores/query/DataSpaceQuerySetupState.d.ts +1 -1
  63. package/lib/stores/query/DataSpaceQuerySetupState.d.ts.map +1 -1
  64. package/lib/stores/query/DataSpaceQuerySetupState.js +2 -2
  65. package/lib/stores/query/DataSpaceQuerySetupState.js.map +1 -1
  66. package/package.json +19 -18
  67. package/src/DSLDataSpace_Extension.ts +8 -11
  68. package/src/components/DataSpaceViewer.tsx +3 -3
  69. package/src/components/query/DSLDataSpace_LegendQueryPlugin.tsx +2 -2
  70. package/src/components/query/DataSpaceQuerySetup.tsx +2 -2
  71. package/src/components/studio/DSLDataSpace_LegendStudioDocumentation.ts +13 -6
  72. package/src/components/studio/DSLDataSpace_LegendStudioPlugin.tsx +11 -10
  73. package/src/graph/DSLDataSpace_PureGraphPlugin.ts +1 -1
  74. package/src/graphManager/DSLDataSpace_GraphManagerHelper.ts +1 -1
  75. package/src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts +2 -2
  76. package/src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts +1 -1
  77. package/src/index.ts +6 -6
  78. package/src/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts +1 -5
  79. package/src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts +4 -4
  80. package/src/models/protocols/pure/v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.ts +1 -1
  81. package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDataSpace_GraphBuilderHelper.ts +2 -2
  82. package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.ts +1 -1
  83. package/src/stores/DataSpaceViewerState.ts +1 -1
  84. package/src/stores/query/DataSpaceQuerySetupState.ts +2 -2
  85. package/tsconfig.json +3 -8
  86. package/tsconfig.package.json +1 -4
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import packageJson from '../../package.json';
18
- import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
18
+ import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
19
19
  import {
20
20
  PureGraphManagerPlugin,
21
21
  type ObserverContext,
@@ -23,7 +23,7 @@ import {
23
23
  type PackageableElement,
24
24
  type PureGrammarElementLabeler,
25
25
  } from '@finos/legend-graph';
26
- import { observe_DataSpace } from './action/changeDetection/DSLDataSpace_ObserverHelper';
26
+ import { observe_DataSpace } from './action/changeDetection/DSLDataSpace_ObserverHelper.js';
27
27
 
28
28
  export const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = 'DataSpace';
29
29
  export const PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL = 'DataSpace';
@@ -21,7 +21,7 @@ import {
21
21
  skipObserved,
22
22
  } from '@finos/legend-graph';
23
23
  import { makeObservable, override } from 'mobx';
24
- import type { DataSpace } from '../../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
24
+ import type { DataSpace } from '../../../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
25
25
 
26
26
  export const observe_DataSpace = skipObserved(
27
27
  (metamodel: DataSpace): DataSpace => {
package/src/index.ts CHANGED
@@ -14,16 +14,16 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- export * from './DSLDataSpace_Extension';
18
- export { DSLDataSpace_LegendStudioPlugin } from './components/studio/DSLDataSpace_LegendStudioPlugin';
19
- export { DSLDataSpace_LegendQueryPlugin } from './components/query/DSLDataSpace_LegendQueryPlugin';
17
+ export * from './DSLDataSpace_Extension.js';
18
+ export { DSLDataSpace_LegendStudioPlugin } from './components/studio/DSLDataSpace_LegendStudioPlugin.js';
19
+ export { DSLDataSpace_LegendQueryPlugin } from './components/query/DSLDataSpace_LegendQueryPlugin.js';
20
20
 
21
- export { DataSpaceViewer } from './components/DataSpaceViewer';
21
+ export { DataSpaceViewer } from './components/DataSpaceViewer.js';
22
22
 
23
23
  export {
24
24
  DATA_SPACE_ELEMENT_CLASSIFIER_PATH,
25
25
  extractDataSpaceTaxonomyNodes,
26
26
  getResolvedDataSpace,
27
- } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
27
+ } from './models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
28
28
 
29
- export { DataSpaceViewerState } from './stores/DataSpaceViewerState';
29
+ export { DataSpaceViewerState } from './stores/DataSpaceViewerState.js';
@@ -18,10 +18,8 @@ import { hashArray, type Hashable } from '@finos/legend-shared';
18
18
  import {
19
19
  PackageableElement,
20
20
  type PackageableElementVisitor,
21
- type StereotypeReference,
22
- type TaggedValue,
23
21
  } from '@finos/legend-graph';
24
- import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSLDataSpace_ModelUtils';
22
+ import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../DSLDataSpace_ModelUtils.js';
25
23
 
26
24
  export abstract class DataSpaceSupportInfo implements Hashable {
27
25
  abstract get hashCode(): string;
@@ -59,8 +57,6 @@ export class DataSpaceExecutionContext implements Hashable {
59
57
  }
60
58
 
61
59
  export class DataSpace extends PackageableElement implements Hashable {
62
- stereotypes: StereotypeReference[] = [];
63
- taggedValues: TaggedValue[] = [];
64
60
  groupId!: string;
65
61
  artifactId!: string;
66
62
  versionId!: string;
@@ -20,7 +20,7 @@ import {
20
20
  V1_DataSpace,
21
21
  V1_DataSpaceExecutionContext,
22
22
  V1_DataSpaceSupportEmail,
23
- } from './v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace';
23
+ } from './v1/model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
24
24
  import {
25
25
  type PlainObject,
26
26
  uuid,
@@ -34,14 +34,14 @@ import { deserialize, serialize } from 'serializr';
34
34
  import {
35
35
  V1_dataSpaceModelSchema,
36
36
  V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE,
37
- } from './v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper';
38
- import { getOwnDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper';
37
+ } from './v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper.js';
38
+ import { getOwnDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper.js';
39
39
  import {
40
40
  type DataSpaceSupportInfo,
41
41
  DataSpace,
42
42
  DataSpaceExecutionContext,
43
43
  DataSpaceSupportEmail,
44
- } from '../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
44
+ } from '../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
45
45
  import {
46
46
  type Mapping,
47
47
  type PackageableElement,
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../../DSLDataSpace_ModelUtils';
18
+ import { DATA_SPACE_HASH_STRUCTURE } from '../../../../../../DSLDataSpace_ModelUtils.js';
19
19
  import {
20
20
  V1_PackageableElement,
21
21
  type V1_PackageableElementPointer,
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { getDataSpace } from '../../../../../../graphManager/DSLDataSpace_GraphManagerHelper';
18
- import type { DataSpace } from '../../../../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
17
+ import { getDataSpace } from '../../../../../../graphManager/DSLDataSpace_GraphManagerHelper.js';
18
+ import type { DataSpace } from '../../../../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.js';
19
19
  import type {
20
20
  PackageableElementImplicitReference,
21
21
  V1_GraphBuilderContext,
@@ -43,7 +43,7 @@ import {
43
43
  V1_DataSpace,
44
44
  V1_DataSpaceExecutionContext,
45
45
  V1_DataSpaceSupportEmail,
46
- } from '../../model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace';
46
+ } from '../../model/packageableElements/dataSpace/V1_DSLDataSpace_DataSpace.js';
47
47
 
48
48
  export const V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE = 'dataSpace';
49
49
  export const V1_DATA_SPACE_SUPPORT_EMAIL_TYPE = 'email';
@@ -30,7 +30,7 @@ import { action, computed, makeObservable, observable } from 'mobx';
30
30
  import type {
31
31
  ResolvedDataSpace,
32
32
  ResolvedDataSpaceExecutionContext,
33
- } from '../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
33
+ } from '../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
34
34
 
35
35
  export enum DATA_SPACE_VIEWER_ACTIVITY_MODE {
36
36
  MODELS_OVERVIEW = 'MODELS_OVERVIEW',
@@ -41,8 +41,8 @@ import { action, flow, flowResult, makeObservable, observable } from 'mobx';
41
41
  import {
42
42
  DATA_SPACE_ELEMENT_CLASSIFIER_PATH,
43
43
  getResolvedDataSpace,
44
- } from '../../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin';
45
- import { DataSpaceViewerState } from '../DataSpaceViewerState';
44
+ } from '../../models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.js';
45
+ import { DataSpaceViewerState } from '../DataSpaceViewerState.js';
46
46
 
47
47
  export type LightDataSpace = Entity & {
48
48
  groupId: string;
package/tsconfig.json CHANGED
@@ -12,14 +12,11 @@
12
12
  "declarationMap": true,
13
13
  "sourceMap": true,
14
14
  "target": "esnext",
15
- "module": "esnext",
15
+ "module": "nodenext",
16
16
  "skipLibCheck": true,
17
- "moduleResolution": "node",
18
17
  "resolveJsonModule": true,
19
18
  "isolatedModules": true,
20
19
  "importsNotUsedAsValues": "error",
21
- "esModuleInterop": true,
22
- "allowSyntheticDefaultImports": true,
23
20
  "strict": true,
24
21
  "noImplicitOverride": true,
25
22
  "noUncheckedIndexedAccess": true,
@@ -64,9 +61,7 @@
64
61
  "src/**/*.json"
65
62
  ],
66
63
  "exclude": [
67
- "src/**/__tests__/**/*.ts",
68
- "src/**/__tests__/**/*.tsx",
69
- "src/**/__mocks__/**/*.ts",
70
- "src/**/__mocks__/**/*.tsx"
64
+ "src/**/__tests__/**/*.*",
65
+ "src/**/__mocks__/**/*.*"
71
66
  ]
72
67
  }
@@ -12,14 +12,11 @@
12
12
  "declarationMap": true,
13
13
  "sourceMap": true,
14
14
  "target": "esnext",
15
- "module": "esnext",
15
+ "module": "nodenext",
16
16
  "skipLibCheck": true,
17
- "moduleResolution": "node",
18
17
  "resolveJsonModule": true,
19
18
  "isolatedModules": true,
20
19
  "importsNotUsedAsValues": "error",
21
- "esModuleInterop": true,
22
- "allowSyntheticDefaultImports": true,
23
20
  "strict": true,
24
21
  "noImplicitOverride": true,
25
22
  "noUncheckedIndexedAccess": true,