mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-17 13:34:04 +00:00
Export/dump... wip
This commit is contained in:
4
frontend/wailsjs/go/app/App.d.ts
vendored
4
frontend/wailsjs/go/app/App.d.ts
vendored
@ -33,6 +33,10 @@ export function OpenConnection(arg1:string):Promise<Array<string>>;
|
||||
|
||||
export function OpenDatabase(arg1:string,arg2:string):Promise<Array<string>>;
|
||||
|
||||
export function OpenDirectory(arg1:string,arg2:string):Promise<string>;
|
||||
|
||||
export function PerformExport(arg1:string):Promise<boolean>;
|
||||
|
||||
export function RemoveHost(arg1:string):Promise<void>;
|
||||
|
||||
export function RemoveItemById(arg1:string,arg2:string,arg3:string,arg4:string):Promise<boolean>;
|
||||
|
@ -58,6 +58,14 @@ export function OpenDatabase(arg1, arg2) {
|
||||
return window['go']['app']['App']['OpenDatabase'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function OpenDirectory(arg1, arg2) {
|
||||
return window['go']['app']['App']['OpenDirectory'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function PerformExport(arg1) {
|
||||
return window['go']['app']['App']['PerformExport'](arg1);
|
||||
}
|
||||
|
||||
export function RemoveHost(arg1) {
|
||||
return window['go']['app']['App']['RemoveHost'](arg1);
|
||||
}
|
||||
|
@ -6,6 +6,8 @@ export namespace app {
|
||||
platform: string;
|
||||
hasMongoExport: boolean;
|
||||
hasMongoDump: boolean;
|
||||
homeDirectory: string;
|
||||
dataDirectory: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new EnvironmentInfo(source);
|
||||
@ -18,12 +20,15 @@ export namespace app {
|
||||
this.platform = source["platform"];
|
||||
this.hasMongoExport = source["hasMongoExport"];
|
||||
this.hasMongoDump = source["hasMongoDump"];
|
||||
this.homeDirectory = source["homeDirectory"];
|
||||
this.dataDirectory = source["dataDirectory"];
|
||||
}
|
||||
}
|
||||
export class Settings {
|
||||
defaultLimit: number;
|
||||
defaultSort: string;
|
||||
autosubmitQuery: boolean;
|
||||
defaultExportDirectory: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new Settings(source);
|
||||
@ -34,6 +39,7 @@ export namespace app {
|
||||
this.defaultLimit = source["defaultLimit"];
|
||||
this.defaultSort = source["defaultSort"];
|
||||
this.autosubmitQuery = source["autosubmitQuery"];
|
||||
this.defaultExportDirectory = source["defaultExportDirectory"];
|
||||
}
|
||||
}
|
||||
export class findResult {
|
||||
|
Reference in New Issue
Block a user