added color/ theme settings, new config window
This commit is contained in:
+8
-3
@@ -1,22 +1,27 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {http} from '../models';
|
||||
import {context} from '../models';
|
||||
|
||||
export function GetLibraryDirectory():Promise<string>;
|
||||
|
||||
export function GetScanConcurrency():Promise<string>;
|
||||
|
||||
export function GetThemeAccentColor():Promise<string>;
|
||||
|
||||
export function GetThemeBackgroundShade():Promise<string>;
|
||||
|
||||
export function Load():Promise<void>;
|
||||
|
||||
export function Save():Promise<void>;
|
||||
|
||||
export function ServeHTTP(arg1:http.ResponseWriter,arg2:http.Request):Promise<void>;
|
||||
|
||||
export function SetContext(arg1:context.Context):Promise<void>;
|
||||
|
||||
export function SetLibraryDirectory(arg1:string):Promise<void>;
|
||||
|
||||
export function SetScanConcurrency(arg1:string):Promise<void>;
|
||||
|
||||
export function SetThemeAccentColor(arg1:string):Promise<void>;
|
||||
|
||||
export function SetThemeBackgroundShade(arg1:string):Promise<void>;
|
||||
|
||||
export function Validate():Promise<void>;
|
||||
|
||||
@@ -10,6 +10,14 @@ export function GetScanConcurrency() {
|
||||
return window['go']['config']['Config']['GetScanConcurrency']();
|
||||
}
|
||||
|
||||
export function GetThemeAccentColor() {
|
||||
return window['go']['config']['Config']['GetThemeAccentColor']();
|
||||
}
|
||||
|
||||
export function GetThemeBackgroundShade() {
|
||||
return window['go']['config']['Config']['GetThemeBackgroundShade']();
|
||||
}
|
||||
|
||||
export function Load() {
|
||||
return window['go']['config']['Config']['Load']();
|
||||
}
|
||||
@@ -18,10 +26,6 @@ export function Save() {
|
||||
return window['go']['config']['Config']['Save']();
|
||||
}
|
||||
|
||||
export function ServeHTTP(arg1, arg2) {
|
||||
return window['go']['config']['Config']['ServeHTTP'](arg1, arg2);
|
||||
}
|
||||
|
||||
export function SetContext(arg1) {
|
||||
return window['go']['config']['Config']['SetContext'](arg1);
|
||||
}
|
||||
@@ -34,6 +38,14 @@ export function SetScanConcurrency(arg1) {
|
||||
return window['go']['config']['Config']['SetScanConcurrency'](arg1);
|
||||
}
|
||||
|
||||
export function SetThemeAccentColor(arg1) {
|
||||
return window['go']['config']['Config']['SetThemeAccentColor'](arg1);
|
||||
}
|
||||
|
||||
export function SetThemeBackgroundShade(arg1) {
|
||||
return window['go']['config']['Config']['SetThemeBackgroundShade'](arg1);
|
||||
}
|
||||
|
||||
export function Validate() {
|
||||
return window['go']['config']['Config']['Validate']();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user