feat(M2): FR-S1/S4/S6 保存机制完善——setBody 防抖读 settings.autoSaveInterval(S1); beforeunload 冲刷+saveNow(S4); ReadDocResult 加 mtime+reloadDoc 检测外部改动(R6); store 暴露 __STORE__; save-mechanism E2E 3 项
This commit is contained in:
@@ -9,6 +9,7 @@ export interface DocMeta {
|
||||
export interface ReadDocResult {
|
||||
meta: DocMeta;
|
||||
body: string;
|
||||
mtime: number; // FR-S6:文件修改时间戳,用于检测外部改动
|
||||
}
|
||||
|
||||
export interface WriteDocPayload {
|
||||
|
||||
Reference in New Issue
Block a user