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
80 lines
2.1 KiB
JavaScript
Executable File
80 lines
2.1 KiB
JavaScript
Executable File
// @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);
|
|
}
|