resus-diagrams
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -5,4 +5,4 @@ import { NodeModel } from "../Common"; | ||
export declare class DefaultNodeInstanceFactory extends AbstractInstanceFactory<DefaultNodeModel> { | ||
constructor(); | ||
getInstance(): DefaultNodeModel; | ||
constructor(); | ||
getInstance(): DefaultNodeModel; | ||
} | ||
@@ -13,35 +13,38 @@ /** | ||
export declare class DefaultNodeModel extends NodeModel { | ||
name: string; | ||
color: string; | ||
ports: { | ||
[s: string]: DefaultPortModel; | ||
}; | ||
constructor(name?: string, color?: string); | ||
deSerialize(object: any): void; | ||
serialize(): { | ||
id: string; | ||
} & { | ||
_class: string; | ||
selected: boolean; | ||
} & { | ||
type: string; | ||
x: number; | ||
y: number; | ||
extras: {}; | ||
ports: ({ | ||
id: string; | ||
} & { | ||
_class: string; | ||
selected: boolean; | ||
} & { | ||
name: string; | ||
parentNode: string; | ||
links: string[]; | ||
})[]; | ||
} & { | ||
name: string; | ||
color: string; | ||
}; | ||
getInPorts(): DefaultPortModel[]; | ||
getOutPorts(): DefaultPortModel[]; | ||
name: string; | ||
color: string; | ||
onclickFunc: void; | ||
ports: { | ||
[s: string]: DefaultPortModel; | ||
}; | ||
// ezngo team add | ||
// onclickFunc | ||
constructor(name?: string, color?: string, onclickFunc?: void); | ||
deSerialize(object: any): void; | ||
serialize(): { | ||
id: string; | ||
} & { | ||
_class: string; | ||
selected: boolean; | ||
} & { | ||
type: string; | ||
x: number; | ||
y: number; | ||
extras: {}; | ||
ports: ({ | ||
id: string; | ||
} & { | ||
_class: string; | ||
selected: boolean; | ||
} & { | ||
name: string; | ||
parentNode: string; | ||
links: string[]; | ||
})[]; | ||
} & { | ||
name: string; | ||
color: string; | ||
}; | ||
getInPorts(): DefaultPortModel[]; | ||
getOutPorts(): DefaultPortModel[]; | ||
} |
{ | ||
"name": "resus-diagrams", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"repository": { | ||
@@ -21,3 +21,3 @@ "type": "git", | ||
"typings": "./dist/src/main", | ||
"author": "dylanvorster", | ||
"author": "2now", | ||
"scripts": { | ||
@@ -24,0 +24,0 @@ "storybook": "start-storybook -p 9001 -c .storybook", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
5882
171314