@huanban/rulego-editor-core 1.3.5 → 1.3.6

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.
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Utilities for cloning LogicFlow nodes while keeping RuleGo model identity valid.
3
+ */
4
+ export interface CloneNodePropertiesOptions {
5
+ nodeId?: string;
6
+ nodeType?: string;
7
+ nodeName?: string;
8
+ }
9
+ export declare function cloneNodePropertiesForCopy(sourceProperties: Record<string, any> | undefined, options?: CloneNodePropertiesOptions): Record<string, any>;
10
+ export declare function applyNewNodeModelIdentity(lf: any, newNode: any, options?: CloneNodePropertiesOptions): void;
11
+ //# sourceMappingURL=node-copy.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huanban/rulego-editor-core",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "RuleGo 规则链编辑器核心库 - 框架无关的 Headless 编辑器引擎 + API 抽象层 (WorkflowFetcher)",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",