export type AuditTrailRecord = {
  id: string;
  action: string;
  entity_type: string;
  entity_id: string | null;
  method: string;
  pathname: string;
  status_code: number;
  summary: string | null;
  occurred_at: string;
  user: {
    id: string;
    name: string;
    email: string | null;
    username: string | null;
    role: string;
  } | null;
  metadata: Record<string, unknown> | null;
};
