cherry-studio/packages/shared/data/api/schemas
fullex f1b9ab4250 feat: enhance CreateMessageDto and MessageService for improved parentId handling
- Updated CreateMessageDto to include detailed behavior for the parentId field, allowing for auto-resolution based on topic state, explicit root creation, or attachment to a specified parent message.
- Refactored MessageService to implement the new parentId logic, ensuring proper validation and error handling for message creation based on the topic's current state and existing messages.
- Enhanced transaction safety and clarity in the message insertion process by resolving parentId before inserting new messages.
2026-01-03 22:47:44 +08:00
..
index.ts feat(api): implement message branching API with tree structure support 2025-12-28 12:54:06 +08:00
messages.ts feat: enhance CreateMessageDto and MessageService for improved parentId handling 2026-01-03 22:47:44 +08:00
test.ts refactor(dataApi): streamline Data API schema and type definitions 2025-12-26 12:52:32 +08:00
topics.ts feat(api): implement message branching API with tree structure support 2025-12-28 12:54:06 +08:00