import {
  Activity,
  Ban,
  Coins,
  FileClock,
  History,
  Inbox,
  Mail,
  MailCheck,
  ScrollText,
  ShieldAlert,
  Users,
} from 'lucide-react'
import { type SidebarData } from '../types'

export const sidebarData: SidebarData = {
  user: {
    name: '管理员',
    email: '',
    avatar: '',
  },
  teams: [],
  navGroups: [
    {
      title: '监控中心',
      items: [{ title: '运行概览', url: '/', icon: Activity }],
    },
    {
      title: '账号与资源',
      items: [
        { title: '用户管理', url: '/users', icon: Users },
        { title: '邮箱管理', url: '/mailboxes', icon: Inbox },
      ],
    },
    {
      title: '邮件治理',
      items: [
        { title: '全部邮件', url: '/emails', icon: Mail },
        { title: '隔离队列', url: '/quarantine', icon: ShieldAlert },
      ],
    },
    {
      title: '风险控制',
      items: [
        { title: '黑名单', url: '/blacklists', icon: Ban },
        { title: 'SMTP 审计', url: '/smtp-audit', icon: ScrollText },
      ],
    },
    {
      title: '积分运营',
      items: [
        { title: '积分规则', url: '/credits', icon: Coins },
        { title: '积分流水', url: '/credit-transactions', icon: History },
      ],
    },
    {
      title: '运维审计',
      items: [
        { title: '管理员操作', url: '/audit-logs', icon: FileClock },
        { title: '外发邮件日志', url: '/email-logs', icon: MailCheck },
      ],
    },
  ],
}
