Files
users/data-ingestion/data-source.ts

11 lines
294 B
TypeScript
Raw Normal View History

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