Files
agentic-dev/packages/core-audit/src/noop-audit-log.ts
2026-05-11 16:11:52 +02:00

12 lines
367 B
TypeScript

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
}
}