feat: 数据删除机制(purge 物理清空 + 报告页隐私区块 + 删后回同意门)+ 测试桩补 purge
This commit is contained in:
@@ -34,6 +34,9 @@ class MemoryStore implements EventStore {
|
||||
async list(sessionId?: string) {
|
||||
return sessionId ? this.events.filter((e) => e.sessionId === sessionId) : [...this.events];
|
||||
}
|
||||
async purge() {
|
||||
this.events = [];
|
||||
}
|
||||
}
|
||||
|
||||
const key = loadApiKey();
|
||||
|
||||
Reference in New Issue
Block a user