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 |
||
|---|---|---|
| .. | ||
| debug | ||
| skill-editor | ||
| chat-variable-slice.ts | ||
| env-variable-slice.ts | ||
| form-slice.ts | ||
| help-line-slice.ts | ||
| history-slice.ts | ||
| index.ts | ||
| layout-slice.ts | ||
| node-slice.ts | ||
| panel-slice.ts | ||
| tool-slice.ts | ||
| use-nodes.ts | ||
| version-slice.ts | ||
| workflow-draft-slice.ts | ||
| workflow-slice.ts | ||