/**
 * 筛选项配置 - 知识库文档
 */
import type { FormItem } from '@/components/search-form/types'
import { documentTypeOptions, documentStatusOptions } from './options'

export const getFilters = (): FormItem[] => [
  {
    label: '关键词',
    field: 'keyword',
    type: 'input',
    placeholder: '搜索文档标题、描述或关键字',
    span: 6,
  },
  {
    label: '文档类型',
    field: 'type',
    type: 'select',
    placeholder: '请选择文档类型',
    options: documentTypeOptions,
    span: 4,
  },
  {
    label: '文档状态',
    field: 'status',
    type: 'select',
    placeholder: '请选择文档状态',
    options: documentStatusOptions,
    span: 4,
  },
]
