ms-types 0.1.27 → 0.2.1
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/package.json
CHANGED
package/types/global.d.ts
CHANGED
package/types/node.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ declare interface NodeBoundsInfo {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
declare interface NodeInfo {
|
|
59
|
-
id:
|
|
59
|
+
id: string;
|
|
60
60
|
/**
|
|
61
61
|
* 节点标签
|
|
62
62
|
*/
|
|
@@ -100,7 +100,7 @@ declare interface NodeInfo {
|
|
|
100
100
|
/**
|
|
101
101
|
* 父节点id
|
|
102
102
|
*/
|
|
103
|
-
parentId:
|
|
103
|
+
parentId: string;
|
|
104
104
|
/**
|
|
105
105
|
* 子节点数量
|
|
106
106
|
*/
|
|
@@ -144,6 +144,10 @@ declare interface NodeInfo {
|
|
|
144
144
|
* 节点选择器 包含节点选择、节点操作等功能
|
|
145
145
|
*/
|
|
146
146
|
declare class NodeSelector {
|
|
147
|
+
/**
|
|
148
|
+
* 释放内存
|
|
149
|
+
*/
|
|
150
|
+
releaseNode(): void;
|
|
147
151
|
/**
|
|
148
152
|
* 获取节点 xml 字符串
|
|
149
153
|
* @param timeout 超时时间,单位毫秒 默认为 5000 毫秒
|
|
@@ -57,7 +57,7 @@ declare interface $节点位置信息 {
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
declare interface $节点信息 {
|
|
60
|
-
id:
|
|
60
|
+
id: 字符串;
|
|
61
61
|
/**
|
|
62
62
|
* 节点标签
|
|
63
63
|
*/
|
|
@@ -101,7 +101,7 @@ declare interface $节点信息 {
|
|
|
101
101
|
/**
|
|
102
102
|
* 父节点id
|
|
103
103
|
*/
|
|
104
|
-
parentId:
|
|
104
|
+
parentId: 字符串;
|
|
105
105
|
/**
|
|
106
106
|
* 子节点数量
|
|
107
107
|
*/
|
|
@@ -145,6 +145,10 @@ declare interface $节点信息 {
|
|
|
145
145
|
* 节点选择器 包含节点选择、节点操作等功能
|
|
146
146
|
*/
|
|
147
147
|
declare class $节点选择器 {
|
|
148
|
+
/**
|
|
149
|
+
* 释放节点选择器
|
|
150
|
+
*/
|
|
151
|
+
释放内存(): 无返回值;
|
|
148
152
|
/**
|
|
149
153
|
* 获取节点 xml 字符串
|
|
150
154
|
* @param 超时时间 单位毫秒 默认为 5000 毫秒
|