feat(core-audit): NoopAuditLog impl
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
11
packages/core-audit/src/noop-audit-log.ts
Normal file
11
packages/core-audit/src/noop-audit-log.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { AuditEntry } from "@repo/core-shared/audit";
|
||||
import type { IAuditLog } from "./audit-log.interface";
|
||||
|
||||
export class NoopAuditLog implements IAuditLog {
|
||||
async record(_entry: AuditEntry): Promise<void> {
|
||||
// intentional no-op
|
||||
}
|
||||
async eraseSubject(_actorId: string, _mode: "pseudonymize" | "delete"): Promise<void> {
|
||||
// intentional no-op
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user