export type ActivityLogCauser = {
  id: string
  name: string
  email: string
}

export type ActivityLogItem = {
  id: number
  log_name: string | null
  description: string
  subject_type: string | null
  subject_id: string | null
  event: string | null
  causer_type: string | null
  causer_id: string | null
  properties: Record<string, unknown> | null
  created_at: string
  updated_at: string
  causer: ActivityLogCauser | null
}

export type ListActivityLogsParams = {
  page?: number
  per_page?: number
  search?: string
}
