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