// 定义数据源类型 export type DataSourceType = "mysql" | "postgresql" | "mongodb" | "api" | "file" // 定义数据源接口 export interface DataSource { id: string name: string type: DataSourceType config: any // 数据源配置信息,例如连接字符串、API 地址等 }