next-flow-interface 0.24.22 → 0.24.23
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/index.d.ts +19 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1973,7 +1973,7 @@ export declare function getBlockDiagonalLength(
|
|
|
1973
1973
|
* RvUtils.getByRvPath({ a: { b: 1 } }, "a.b") // 1
|
|
1974
1974
|
* ```
|
|
1975
1975
|
*/
|
|
1976
|
-
declare function getByRvPath<T = unknown>(source: StoredRhineVar, path: string | RvPath): T | undefined
|
|
1976
|
+
declare function getByRvPath<T = unknown>(source: StoredRhineVar | object, path: string | RvPath): T | undefined
|
|
1977
1977
|
|
|
1978
1978
|
declare function getDistance(x1: number, y1: number, x2: number, y2: number): number
|
|
1979
1979
|
|
|
@@ -3139,6 +3139,24 @@ export declare abstract class NodeAttribute<T extends object = never> extends Ba
|
|
|
3139
3139
|
sidList?: string[],
|
|
3140
3140
|
nidList?: string[],
|
|
3141
3141
|
): Map<string, Map<string, PartialData>>
|
|
3142
|
+
/**
|
|
3143
|
+
* 获取指定元素的局部数据
|
|
3144
|
+
* @param paths
|
|
3145
|
+
* @param sid
|
|
3146
|
+
* @param nid
|
|
3147
|
+
*/
|
|
3148
|
+
readPartial(paths: (string | RvPath)[], sid?: string, nid?: string): PartialData
|
|
3149
|
+
/**
|
|
3150
|
+
* 获取多个元素的局部数据
|
|
3151
|
+
* @param paths
|
|
3152
|
+
* @param sidList
|
|
3153
|
+
* @param nidList
|
|
3154
|
+
*/
|
|
3155
|
+
multiReadPartial(
|
|
3156
|
+
paths: (string | RvPath)[],
|
|
3157
|
+
sidList?: string[],
|
|
3158
|
+
nidList?: string[],
|
|
3159
|
+
): Map<string, Map<string, PartialData>>
|
|
3142
3160
|
set(path: string | RvPath, value: unknown, sid?: string, nid?: string): void
|
|
3143
3161
|
multiSet(path: string | RvPath, value: unknown, sidList?: string[], nidList?: string[]): void
|
|
3144
3162
|
/**
|