Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@finos/legend-extension-dsl-data-space

Package Overview
Dependencies
Maintainers
4
Versions
409
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@finos/legend-extension-dsl-data-space - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

lib/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.d.ts

3

lib/graphManager/DSLDataSpace_PureGraphManagerPlugin.d.ts

@@ -16,3 +16,3 @@ /**

*/
import { PureGraphManagerPlugin, type PureGrammarElementLabeler } from '@finos/legend-graph';
import { PureGraphManagerPlugin, type ElementObserver, type PureGrammarElementLabeler } from '@finos/legend-graph';
export declare class DSLDataSpace_PureGraphManagerPlugin extends PureGraphManagerPlugin {

@@ -23,3 +23,4 @@ constructor();

getExtraPureGrammarElementLabelers(): PureGrammarElementLabeler[];
getExtraElementObservers(): ElementObserver[];
}
//# sourceMappingURL=DSLDataSpace_PureGraphManagerPlugin.d.ts.map

@@ -19,2 +19,3 @@ /**

import { PureGraphManagerPlugin, } from '@finos/legend-graph';
import { observe_DataSpace } from './action/changeDetection/DSLDataSpace_ObserverHelper';
const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = 'DataSpace';

@@ -42,3 +43,13 @@ const PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL = 'DataSpace';

}
getExtraElementObservers() {
return [
(element, context) => {
if (element instanceof DataSpace) {
return observe_DataSpace(element);
}
return undefined;
},
];
}
}
//# sourceMappingURL=DSLDataSpace_PureGraphManagerPlugin.js.map

@@ -43,3 +43,2 @@ /**

supportInfo?: DataSpaceSupportInfo | undefined;
constructor(name: string);
protected get _elementHashCode(): string;

@@ -46,0 +45,0 @@ accept_PackageableElementVisitor<T>(visitor: PackageableElementVisitor<T>): T;

@@ -16,3 +16,2 @@ /**

*/
import { makeObservable, override } from 'mobx';
import { hashArray } from '@finos/legend-shared';

@@ -58,8 +57,2 @@ import { PackageableElement, } from '@finos/legend-graph';

supportInfo;
constructor(name) {
super(name);
makeObservable(this, {
_elementHashCode: override,
});
}
get _elementHashCode() {

@@ -66,0 +59,0 @@ return hashArray([

{
"name": "@finos/legend-extension-dsl-data-space",
"version": "1.1.8",
"version": "1.1.9",
"description": "Legend extension for Data Space DSL",

@@ -71,3 +71,3 @@ "keywords": [

"rimraf": "3.0.2",
"sass": "1.49.11",
"sass": "1.50.0",
"typescript": "4.6.3"

@@ -74,0 +74,0 @@ },

{
"name": "@finos/legend-extension-dsl-data-space",
"version": "1.1.8",
"version": "1.1.9",
"description": "Legend extension for Data Space DSL",

@@ -43,11 +43,11 @@ "keywords": [

"dependencies": {
"@finos/legend-application": "2.0.8",
"@finos/legend-art": "0.3.13",
"@finos/legend-extension-dsl-diagram": "1.0.29",
"@finos/legend-graph": "2.1.3",
"@finos/legend-model-storage": "0.0.26",
"@finos/legend-query": "1.3.4",
"@finos/legend-server-depot": "0.0.29",
"@finos/legend-shared": "1.2.7",
"@finos/legend-studio": "5.1.3",
"@finos/legend-application": "2.0.9",
"@finos/legend-art": "0.3.14",
"@finos/legend-extension-dsl-diagram": "1.0.30",
"@finos/legend-graph": "3.0.0",
"@finos/legend-model-storage": "0.0.27",
"@finos/legend-query": "1.3.5",
"@finos/legend-server-depot": "0.0.30",
"@finos/legend-shared": "1.2.8",
"@finos/legend-studio": "5.1.4",
"@types/react": "17.0.43",

@@ -66,3 +66,3 @@ "@types/react-router-dom": "5.3.2",

"devDependencies": {
"@finos/legend-dev-utils": "0.3.17",
"@finos/legend-dev-utils": "0.3.18",
"cross-env": "7.0.3",

@@ -73,3 +73,3 @@ "eslint": "8.12.0",

"rimraf": "3.0.2",
"sass": "1.49.11",
"sass": "1.50.0",
"typescript": "4.6.3"

@@ -76,0 +76,0 @@ },

@@ -21,5 +21,8 @@ /**

PureGraphManagerPlugin,
type ObserverContext,
type ElementObserver,
type PackageableElement,
type PureGrammarElementLabeler,
} from '@finos/legend-graph';
import { observe_DataSpace } from './action/changeDetection/DSLDataSpace_ObserverHelper';

@@ -52,2 +55,16 @@ const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = 'DataSpace';

}
override getExtraElementObservers(): ElementObserver[] {
return [
(
element: PackageableElement,
context: ObserverContext,
): PackageableElement | undefined => {
if (element instanceof DataSpace) {
return observe_DataSpace(element);
}
return undefined;
},
];
}
}

@@ -17,3 +17,2 @@ /**

import { makeObservable, override } from 'mobx';
import { hashArray, type Hashable } from '@finos/legend-shared';

@@ -75,10 +74,2 @@ import {

constructor(name: string) {
super(name);
makeObservable<DataSpace, '_elementHashCode'>(this, {
_elementHashCode: override,
});
}
protected override get _elementHashCode(): string {

@@ -85,0 +76,0 @@ return hashArray([

@@ -44,2 +44,3 @@ {

"./src/graphManager/DSLDataSpace_PureGraphManagerPlugin.ts",
"./src/graphManager/action/changeDetection/DSLDataSpace_ObserverHelper.ts",
"./src/models/DSLDataSpace_ModelUtils.ts",

@@ -46,0 +47,0 @@ "./src/models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc