Files
MyGoNavi/frontend/wailsjs/go/app/App.js
杨国锋 4099796c88 feat(connection): 增强连接管理与交互体验
- 新增测试连接功能,修复底层驱动假成功问题,确保密码/端口验证准确
- 支持导入/导出连接配置(JSON),便于迁移与备份
- 优化侧边栏:实现虚拟滚动解决卡顿,增加数据库筛选与断开连接重连机制
- 优化交互:改进右键菜单体验(全行触发/禁用选文),完善新建查询的上下文自动关联
- 界面调整:精简连接弹窗,移除冗余的默认数据库输入
2026-02-02 16:33:11 +08:00

96 lines
2.7 KiB
JavaScript
Executable File

// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function ApplyChanges(arg1, arg2, arg3, arg4) {
return window['go']['app']['App']['ApplyChanges'](arg1, arg2, arg3, arg4);
}
export function CreateDatabase(arg1, arg2) {
return window['go']['app']['App']['CreateDatabase'](arg1, arg2);
}
export function DBConnect(arg1) {
return window['go']['app']['App']['DBConnect'](arg1);
}
export function DBGetAllColumns(arg1, arg2) {
return window['go']['app']['App']['DBGetAllColumns'](arg1, arg2);
}
export function DBGetColumns(arg1, arg2, arg3) {
return window['go']['app']['App']['DBGetColumns'](arg1, arg2, arg3);
}
export function DBGetDatabases(arg1) {
return window['go']['app']['App']['DBGetDatabases'](arg1);
}
export function DBGetForeignKeys(arg1, arg2, arg3) {
return window['go']['app']['App']['DBGetForeignKeys'](arg1, arg2, arg3);
}
export function DBGetIndexes(arg1, arg2, arg3) {
return window['go']['app']['App']['DBGetIndexes'](arg1, arg2, arg3);
}
export function DBGetTables(arg1, arg2) {
return window['go']['app']['App']['DBGetTables'](arg1, arg2);
}
export function DBGetTriggers(arg1, arg2, arg3) {
return window['go']['app']['App']['DBGetTriggers'](arg1, arg2, arg3);
}
export function DBQuery(arg1, arg2, arg3) {
return window['go']['app']['App']['DBQuery'](arg1, arg2, arg3);
}
export function DBShowCreateTable(arg1, arg2, arg3) {
return window['go']['app']['App']['DBShowCreateTable'](arg1, arg2, arg3);
}
export function ExportData(arg1, arg2, arg3, arg4) {
return window['go']['app']['App']['ExportData'](arg1, arg2, arg3, arg4);
}
export function ExportTable(arg1, arg2, arg3, arg4) {
return window['go']['app']['App']['ExportTable'](arg1, arg2, arg3, arg4);
}
export function ImportConfigFile() {
return window['go']['app']['App']['ImportConfigFile']();
}
export function ImportData(arg1, arg2, arg3) {
return window['go']['app']['App']['ImportData'](arg1, arg2, arg3);
}
export function MySQLConnect(arg1) {
return window['go']['app']['App']['MySQLConnect'](arg1);
}
export function MySQLGetDatabases(arg1) {
return window['go']['app']['App']['MySQLGetDatabases'](arg1);
}
export function MySQLGetTables(arg1, arg2) {
return window['go']['app']['App']['MySQLGetTables'](arg1, arg2);
}
export function MySQLQuery(arg1, arg2, arg3) {
return window['go']['app']['App']['MySQLQuery'](arg1, arg2, arg3);
}
export function MySQLShowCreateTable(arg1, arg2, arg3) {
return window['go']['app']['App']['MySQLShowCreateTable'](arg1, arg2, arg3);
}
export function OpenSQLFile() {
return window['go']['app']['App']['OpenSQLFile']();
}
export function TestConnection(arg1) {
return window['go']['app']['App']['TestConnection'](arg1);
}