Post content
Innei 向 mx-space/core 提交了一个更改 feat(draft): implement draft history service with diff strategies Add DraftHistoryService to manage draft versioning and history tracking. Introduce diff strategies for text and JSON content formats, allowing for efficient storage of incremental changes. Update DraftService to utilize the new history service for content change detection and version restoration. Enhance package dependencies by including jsondiffpatch for JSON diffing capabilities. - Added jsondiffpatch dependency for JSON diffing. - Created DraftHistoryService to handle draft history management. - Implemented text and JSON diff strategies. - Updated DraftService to integrate with DraftHistoryService for versioning and history management. Signed-off-by: Innei <[email protected]>