cherry-studio/packages/shared/data/api/schemas
fullex 9c47937714 feat(api): enhance message and topic schemas with new features
- Added `setAsActive` property to `CreateMessageDto` for controlling active node status in topics.
- Updated `messageTable` and `topicTable` schemas to include foreign key constraints and improved handling of active node references.
- Refactored message and topic service methods to utilize `.returning()` for better data retrieval after inserts and updates.
- Implemented hard delete functionality for messages and topics, replacing soft delete logic to ensure data integrity.
2025-12-29 00:42:55 +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 and topic schemas with new features 2025-12-29 00:42:55 +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