/** * @description: 新增数据源参数 */ export interface SaveDataSourceParamsModel { // 数据源名称 name?: string // 数据源类型 type?: string // 连接地址 url?: string // 用户名 username?: string // 密码 password?: string // 备注 remark?: string } /** * @description: 修改数据源参数 */ export interface UpdateDataSourceParamsModel { // id id?: string // 数据源名称 name?: string // 数据源类型 type?: string // 连接地址 url?: string // 用户名 username?: string // 密码 password?: string // 备注 remark?: string } /** * @description: 删除数据源参数 */ export interface RemoveDataSourceParamsModel { id?: string } /** * @description: 单条查询数据源参数 */ export interface GetDataSourceByIdParamsModel { id?: string } /** * @description: 列表查询数据源参数 */ export interface GetDataSourceParamsModel { // 当前页 current?: number // 分页条数 size?: number // 数据源名称 name?: string // 查询字段 fileds?: string // 排序 sortBy?: string // 连接地址 url?: string } /** * @description: 单条查询数据表参数 */ export interface GetDataTableByIdParamsModel { id?: string } /** * @description: 单条查询数据表参数 */ export interface TestConnectParamsModel { id?: string } /** * @description: 数据源导入参数 */ export interface ImportDataSourceParamsModel { id?: string table?: string }