import type { DefenseNoticeAttachment } from '@/types/disaster-warning';
export interface GroupOptionType {
  id: number;
  name: string;
}

export interface TreeNodeData {
  id: number;
  name: string;
  children: TreeNodeData[];
}

export interface FileItem extends DefenseNoticeAttachment {
  file?: File;
}

export interface SearchConfig {
  label: string;
  prop: string;
  component: string;
  selectOptions?: any[];
  componentProps?: any;
  [key: string]: any; // 添加索引签名
}
