mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-15 04:44:05 +00:00
Made harsh loading/error experience friendlier
This commit is contained in:
11
frontend/wailsjs/go/app/App.d.ts
generated
vendored
11
frontend/wailsjs/go/app/App.d.ts
generated
vendored
@ -1,7 +1,6 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {app} from '../models';
|
||||
import {primitive} from '../models';
|
||||
import {map[string]app} from '../models';
|
||||
import {menu} from '../models';
|
||||
import {context} from '../models';
|
||||
@ -21,9 +20,9 @@ export function DropIndex(arg1:string,arg2:string,arg3:string,arg4:string):Promi
|
||||
|
||||
export function Environment():Promise<app.EnvironmentInfo>;
|
||||
|
||||
export function FindItems(arg1:string,arg2:string,arg3:string,arg4:string):Promise<app.QueryResult>;
|
||||
export function FindItems(arg1:string,arg2:string,arg3:string,arg4:string):Promise<app.FindItemsResult>;
|
||||
|
||||
export function GetIndexes(arg1:string,arg2:string,arg3:string):Promise<Array<primitive.M>>;
|
||||
export function GetIndexes(arg1:string,arg2:string,arg3:string):Promise<app.GetIndexesResult>;
|
||||
|
||||
export function Hosts():Promise<map[string]app.Host>;
|
||||
|
||||
@ -31,11 +30,11 @@ export function InsertItems(arg1:string,arg2:string,arg3:string,arg4:string):Pro
|
||||
|
||||
export function Menu():Promise<menu.Menu>;
|
||||
|
||||
export function OpenCollection(arg1:string,arg2:string,arg3:string):Promise<primitive.M>;
|
||||
export function OpenCollection(arg1:string,arg2:string,arg3:string):Promise<app.OpenCollectionResult>;
|
||||
|
||||
export function OpenConnection(arg1:string):Promise<app.HostInfo>;
|
||||
export function OpenConnection(arg1:string):Promise<app.OpenConnectionResult>;
|
||||
|
||||
export function OpenDatabase(arg1:string,arg2:string):Promise<app.DatabaseInfo>;
|
||||
export function OpenDatabase(arg1:string,arg2:string):Promise<app.OpenDatabaseResult>;
|
||||
|
||||
export function PerformDump(arg1:string):Promise<boolean>;
|
||||
|
||||
|
97
frontend/wailsjs/go/models.ts
generated
97
frontend/wailsjs/go/models.ts
generated
@ -1,97 +0,0 @@
|
||||
export namespace app {
|
||||
|
||||
export class DatabaseInfo {
|
||||
collections: string[];
|
||||
stats: {[key: string]: any};
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new DatabaseInfo(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.collections = source["collections"];
|
||||
this.stats = source["stats"];
|
||||
}
|
||||
}
|
||||
export class EnvironmentInfo {
|
||||
arch: string;
|
||||
buildType: string;
|
||||
platform: string;
|
||||
version: string;
|
||||
hasMongoExport: boolean;
|
||||
hasMongoDump: boolean;
|
||||
homeDirectory: string;
|
||||
dataDirectory: string;
|
||||
logDirectory: string;
|
||||
downloadDirectory: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new EnvironmentInfo(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.arch = source["arch"];
|
||||
this.buildType = source["buildType"];
|
||||
this.platform = source["platform"];
|
||||
this.version = source["version"];
|
||||
this.hasMongoExport = source["hasMongoExport"];
|
||||
this.hasMongoDump = source["hasMongoDump"];
|
||||
this.homeDirectory = source["homeDirectory"];
|
||||
this.dataDirectory = source["dataDirectory"];
|
||||
this.logDirectory = source["logDirectory"];
|
||||
this.downloadDirectory = source["downloadDirectory"];
|
||||
}
|
||||
}
|
||||
export class HostInfo {
|
||||
databases: string[];
|
||||
status: {[key: string]: any};
|
||||
systemInfo: {[key: string]: any};
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new HostInfo(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.databases = source["databases"];
|
||||
this.status = source["status"];
|
||||
this.systemInfo = source["systemInfo"];
|
||||
}
|
||||
}
|
||||
export class QueryResult {
|
||||
total: number;
|
||||
results: string[];
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new QueryResult(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.total = source["total"];
|
||||
this.results = source["results"];
|
||||
}
|
||||
}
|
||||
export class Settings {
|
||||
defaultLimit: number;
|
||||
defaultSort: string;
|
||||
autosubmitQuery: boolean;
|
||||
defaultExportDirectory: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new Settings(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.defaultLimit = source["defaultLimit"];
|
||||
this.defaultSort = source["defaultSort"];
|
||||
this.autosubmitQuery = source["autosubmitQuery"];
|
||||
this.defaultExportDirectory = source["defaultExportDirectory"];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user