1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-09 02:14:06 +00:00

Many small tweaks

This commit is contained in:
2023-01-11 20:41:15 +01:00
parent f4bf270a20
commit 90ffdc6a8b
11 changed files with 223 additions and 171 deletions

View File

@ -2,6 +2,7 @@
// This file is automatically generated. DO NOT EDIT
import {map[string]main} from '../models';
import {primitive} from '../models';
import {main} from '../models';
export function Hosts():Promise<map[string]main.Host>;
@ -11,6 +12,6 @@ export function OpenConnection(arg1:string):Promise<Array<string>>;
export function OpenDatabase(arg1:string,arg2:string):Promise<Array<string>>;
export function PerformFind(arg1:string,arg2:string,arg3:string,arg4:string):Promise<any>;
export function PerformFind(arg1:string,arg2:string,arg3:string,arg4:string):Promise<main.findResult>;
export function PerformInsert(arg1:string,arg2:string,arg3:string,arg4:string):Promise<any>;

19
frontend/wailsjs/go/models.ts Executable file
View File

@ -0,0 +1,19 @@
export namespace main {
export class findResult {
total: number;
results: any;
static createFrom(source: any = {}) {
return new findResult(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.total = source["total"];
this.results = source["results"];
}
}
}