feat: add TableList component with styles and functionality for displaying database tables

feat: implement NewConnectionDialog component for creating and editing database connections with form validation

chore: generate TypeScript definitions and JavaScript bindings for app functions

chore: add models for configuration, connection requests, and database entities
This commit is contained in:
loveuer
2026-04-06 21:45:28 +08:00
parent 9874561410
commit 347ecd0f1b
22 changed files with 2475 additions and 315 deletions

79
frontend/wailsjs/go/app/App.js Executable file
View File

@@ -0,0 +1,79 @@
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function CreateConnection(arg1) {
return window['go']['app']['App']['CreateConnection'](arg1);
}
export function CreateSavedQuery(arg1) {
return window['go']['app']['App']['CreateSavedQuery'](arg1);
}
export function DeleteConnection(arg1) {
return window['go']['app']['App']['DeleteConnection'](arg1);
}
export function DeleteSavedQuery(arg1) {
return window['go']['app']['App']['DeleteSavedQuery'](arg1);
}
export function DisconnectConnection(arg1) {
return window['go']['app']['App']['DisconnectConnection'](arg1);
}
export function ExecuteQuery(arg1, arg2) {
return window['go']['app']['App']['ExecuteQuery'](arg1, arg2);
}
export function GetConnections() {
return window['go']['app']['App']['GetConnections']();
}
export function GetQueryHistory(arg1, arg2, arg3) {
return window['go']['app']['App']['GetQueryHistory'](arg1, arg2, arg3);
}
export function GetSavedQueries(arg1) {
return window['go']['app']['App']['GetSavedQueries'](arg1);
}
export function GetTableData(arg1, arg2, arg3, arg4) {
return window['go']['app']['App']['GetTableData'](arg1, arg2, arg3, arg4);
}
export function GetTableStructure(arg1, arg2) {
return window['go']['app']['App']['GetTableStructure'](arg1, arg2);
}
export function GetTables(arg1) {
return window['go']['app']['App']['GetTables'](arg1);
}
export function Initialize(arg1, arg2, arg3, arg4) {
return window['go']['app']['App']['Initialize'](arg1, arg2, arg3, arg4);
}
export function OnStartup(arg1) {
return window['go']['app']['App']['OnStartup'](arg1);
}
export function Shutdown() {
return window['go']['app']['App']['Shutdown']();
}
export function StartHTTPServer() {
return window['go']['app']['App']['StartHTTPServer']();
}
export function TestConnection(arg1) {
return window['go']['app']['App']['TestConnection'](arg1);
}
export function UpdateConnection(arg1) {
return window['go']['app']['App']['UpdateConnection'](arg1);
}
export function UpdateSavedQuery(arg1, arg2) {
return window['go']['app']['App']['UpdateSavedQuery'](arg1, arg2);
}