// 设备信息类型 export type DeviceInfo = { id: string device_name?: string status?: string // 'online' | 'offline' | 其他状态 user_id?: string // 可根据实际需求添加更多字段 } // 设备查询参数类型 export type DeviceParams = { user_id: string // 可根据实际需求添加更多查询参数 }