import {
  ArticleTypeEnum,
  AuditStatusEnum,
  CommentTypeEnum,
  TaskTypeEnum,
  UsageStatusEnum,
  AuctionStatusEnum,
} from './enums'

// 地区列表
export const regionListOptions = [
  {
    label: '深圳',
    value: '深圳',
  },
  {
    label: '合肥',
    value: '合肥',
  },
  {
    label: '武汉',
    value: '武汉',
  },
  {
    label: '长沙',
    value: '长沙',
  },
  {
    label: '广州',
    value: '广州',
  },
  {
    label: '香港',
    value: '香港',
  },
  {
    label: '仓库',
    value: '仓库',
  },
]

// 文章类型列表
export const articleTypeListOptions: { label: string; value: ArticleTypeEnum }[] = [
  {
    label: '帖子',
    value: ArticleTypeEnum.POST,
  },
  {
    label: '视频',
    value: ArticleTypeEnum.VIDEO,
  },
  {
    label: '问吧',
    value: ArticleTypeEnum.QUESTION,
  },
  {
    label: '专栏',
    value: ArticleTypeEnum.COLUMN,
  },
  {
    label: '实践',
    value: ArticleTypeEnum.PRACTICE,
  },
  {
    label: '专访',
    value: ArticleTypeEnum.INTERVIEW,
  },
]

export const articleTypeListOptionsForReal: { label: string; value: ArticleTypeEnum }[] = [
  {
    label: '实践',
    value: ArticleTypeEnum.PRACTICE,
  },
  {
    label: '专访',
    value: ArticleTypeEnum.INTERVIEW,
  },
  {
    label: '问吧',
    value: ArticleTypeEnum.QUESTION,
  },
]

export const articleTypeListOptionsForNotReal: { label: string; value: ArticleTypeEnum }[] = [
  {
    label: '帖子',
    value: ArticleTypeEnum.POST,
  },
  {
    label: '视频',
    value: ArticleTypeEnum.VIDEO,
  },
  {
    label: '专栏',
    value: ArticleTypeEnum.COLUMN,
  },
]

// 审核类型列表
export const auditTypeListOptions: { label: string; value: AuditStatusEnum }[] = [
  {
    label: '待审核',
    value: AuditStatusEnum.UNAUDITED,
  },
  {
    label: '同意',
    value: AuditStatusEnum.AGREED,
  },
  {
    label: '拒绝',
    value: AuditStatusEnum.REJECTED,
  },
]

// 使用状态列表
export const usageStatusListOptions: { label: string; value: UsageStatusEnum }[] = [
  {
    label: '待使用',
    value: UsageStatusEnum.UNUSABLE,
  },
  {
    label: '已使用',
    value: UsageStatusEnum.USED,
  },
]

// 任务类型列表
export const taskTypeListOptions = [
  {
    label: '常规任务',
    value: TaskTypeEnum.REGULAR_TASK,
  },
  {
    label: '特殊任务',
    value: TaskTypeEnum.SPECIAL_TASK,
  },
]

// 评论类型列表
export const commentTypeListOptions = [
  {
    label: '我评论的',
    value: CommentTypeEnum.COMMNET_TO_OTHER,
  },
  {
    label: '评论我的',
    value: CommentTypeEnum.COMMNET_TO_SELF,
  },
]

// 等级相关内容
export const levelListOptions: {
  label: string
  value: number
  iconUrl: string
  expScope: [number, number]
}[] = [
  {
    label: 'LV1',
    value: 1,
    iconUrl:
      'https://soundasia.oss-cn-shenzhen.aliyuncs.com/OA/readName/png/2025/11/17/Common/1763370983822.png',
    expScope: [0, 500],
  },

  {
    label: 'LV2',
    value: 2,
    iconUrl:
      'https://soundasia.oss-cn-shenzhen.aliyuncs.com/OA/readName/png/2025/11/17/Common/1763370990111.png',
    expScope: [500, 1500],
  },
  {
    label: 'LV3',
    value: 3,
    iconUrl:
      'https://soundasia.oss-cn-shenzhen.aliyuncs.com/OA/readName/png/2025/11/17/Common/1763370993043.png',
    expScope: [1500, 3000],
  },
  {
    label: 'LV4',
    value: 4,
    iconUrl:
      'https://soundasia.oss-cn-shenzhen.aliyuncs.com/OA/readName/png/2025/11/17/Common/1763370996142.png',
    expScope: [3000, 6000],
  },
  {
    label: 'LV5',
    value: 5,
    iconUrl:
      'https://soundasia.oss-cn-shenzhen.aliyuncs.com/OA/readName/png/2025/11/17/Common/1763370998414.png',
    expScope: [6000, 12000],
  },
]

// 竞拍状态列表
export const auctionStatusListOptions: { label: string; value: AuctionStatusEnum }[] = [
  {
    label: '已发布',
    value: AuctionStatusEnum.PUBLISHED,
  },
  {
    label: '竞拍中',
    value: AuctionStatusEnum.AUCTIONING,
  },
  {
    label: '竞拍成功',
    value: AuctionStatusEnum.AUCTION_SUCCESS,
  },
  {
    label: '已流拍',
    value: AuctionStatusEnum.AUCTION_FAILED,
  },
]
