next-flow-interface 0.26.9 → 0.26.11

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 (2) hide show
  1. package/index.d.ts +15 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -6303,6 +6303,7 @@ export declare interface RvSceneNode {
6303
6303
  name: string;
6304
6304
  fingerprint?: string;
6305
6305
  copy?: string;
6306
+ delete?: boolean;
6306
6307
  };
6307
6308
  }
6308
6309
 
@@ -6324,8 +6325,14 @@ export declare class RvSceneService {
6324
6325
  isParent(nid: string, of: string): boolean;
6325
6326
  isChild(nid: string, of: string): boolean;
6326
6327
  move(nid: string, newParent?: string): void;
6327
- copy(nid: string, parent?: string): string;
6328
- getSortedRvSceneNodeWithRelatedInfoList(): SceneNodeWithRelatedInfo[];
6328
+ generateId(mid: string, layer: number, index: number): string;
6329
+ generateIdAndNameForCopy(fromNid: string): {
6330
+ nid: string;
6331
+ name: string;
6332
+ from: RvSceneNode;
6333
+ base: RvSceneNode;
6334
+ };
6335
+ getSortedSceneNodeWithRelatedInfoList(): SceneNodeWithRelatedInfo[];
6329
6336
  }
6330
6337
 
6331
6338
  /**
@@ -6434,6 +6441,12 @@ export declare class SceneService {
6434
6441
  offsetX: number;
6435
6442
  offsetY: number;
6436
6443
  };
6444
+ /**
6445
+ * 从指定节点复制出新节点
6446
+ *
6447
+ * @param fromNid
6448
+ * @param parent
6449
+ */
6437
6450
  copy(fromNid: string, parent?: string): string;
6438
6451
  }
6439
6452
 
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  "valtio": "2.1.7",
37
37
  "rhine-var": "0.11.2"
38
38
  },
39
- "version": "0.26.9",
39
+ "version": "0.26.11",
40
40
  "author": "NextFlow",
41
41
  "license": "Apache-2.0",
42
42
  "keywords": [