interface AdminAuditLog {
    id: number;
    timestamp: string;
    user_email: string;
    ip_address: null | string;
    action: "create" | "update" | "delete" | "bulk_delete";
    model_name: string;
    object_repr: string;
    object_id: number;
    before_state: Record<string, unknown>;
    after_state: Record<string, unknown>;
    changed_fields: string[];
}

Properties

id: number
timestamp: string
user_email: string
ip_address: null | string
action: "create" | "update" | "delete" | "bulk_delete"
model_name: string
object_repr: string
object_id: number
before_state: Record<string, unknown>
after_state: Record<string, unknown>
changed_fields: string[]