12 lines
367 B
TypeScript
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
|
|
}
|
|
}
|