cherry-studio/packages/shared/data/api/schemas
fullex 3d0e7a6c15 feat(api): enhance message deletion functionality with activeNodeId management
- Introduced `ActiveNodeStrategy` type to define strategies for updating `activeNodeId` when a message is deleted.
- Updated `DeleteMessageResponse` to include `newActiveNodeId` for tracking changes to the active node after deletion.
- Modified the `DELETE` endpoint to accept `activeNodeStrategy` as a query parameter, allowing for flexible handling of active node updates.
- Enhanced the `delete` method in `MessageService` to implement the new strategies, ensuring consistent behavior during message deletions.
2025-12-29 13:42:05 +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(api): enhance message deletion functionality with activeNodeId management 2025-12-29 13:42:05 +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