generated from dave/wails-template
Implement fetching brightness from api
This commit is contained in:
4
frontend/wailsjs/go/main/App.d.ts
vendored
4
frontend/wailsjs/go/main/App.d.ts
vendored
@@ -2,3 +2,7 @@
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function Close():Promise<void>;
|
||||
|
||||
export function GetLamps():Promise<Array<string>>;
|
||||
|
||||
export function SetLampBrightness(arg1:number,arg2:number):Promise<string>;
|
||||
|
@@ -5,3 +5,11 @@
|
||||
export function Close() {
|
||||
return window['go']['main']['App']['Close']();
|
||||
}
|
||||
|
||||
export function GetLamps() {
|
||||
return window['go']['main']['App']['GetLamps']();
|
||||
}
|
||||
|
||||
export function SetLampBrightness(arg1, arg2) {
|
||||
return window['go']['main']['App']['SetLampBrightness'](arg1, arg2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user