export type AdminAuditLogRow = {
  id: number;
  operator_type: string;
  operator_id: number;
  operator_label: string;
  operator_subtitle: string | null;
  module_code: string;
  action_code: string;
  target_type: string | null;
  target_id: string | null;
  module_label: string;
  action_label: string;
  target_label: string;
  summary_label: string;
  before_json: Record<string, unknown> | null;
  after_json: Record<string, unknown> | null;
  ip: string | null;
  user_agent: string | null;
  created_at: string | null;
};

export type AdminAuditLogListData = {
  items: AdminAuditLogRow[];
  meta: {
    current_page: number;
    per_page: number;
    total: number;
    last_page: number;
  };
};
