mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
- Add constants.ts with ROOT_ID, CONTEXT_MENU_TYPE, NODE_MENU_TYPE - Add root utilities to tree-utils.ts (isRootId, toApiParentId, etc.) - Replace '__root__' with ROOT_ID for consistent root identifier - Replace inline 'blank'/'root' strings with constants - Use NodeMenuType for type-safe menu type props - Remove duplicate ContextMenuType from types.ts, use from constants.ts |
||
|---|---|---|
| .. | ||
| use-create-operations.ts | ||
| use-delayed-click.ts | ||
| use-file-drop.ts | ||
| use-file-operations.ts | ||
| use-folder-file-drop.ts | ||
| use-inline-create-node.ts | ||
| use-modify-operations.ts | ||
| use-root-file-drop.ts | ||
| use-skill-asset-tree.ts | ||
| use-sync-tree-with-active-tab.ts | ||
| use-tree-node-handlers.ts | ||