Add routes for daily weekly and the rest
This commit is contained in:
8
frontend/wailsjs/go/main/App.d.ts
vendored
8
frontend/wailsjs/go/main/App.d.ts
vendored
@@ -4,12 +4,20 @@ import {main} from '../models';
|
||||
|
||||
export function CreateFood(arg1:main.Food):Promise<main.WailsFood1>;
|
||||
|
||||
export function GetDailyFood():Promise<main.WailsAggregateFood>;
|
||||
|
||||
export function GetFood():Promise<main.WailsFood>;
|
||||
|
||||
export function GetLastPer100(arg1:string):Promise<main.WailsPer100>;
|
||||
|
||||
export function GetMonthlyFood():Promise<main.WailsAggregateFood>;
|
||||
|
||||
export function GetSettings():Promise<main.settings>;
|
||||
|
||||
export function GetWeeklyFood():Promise<main.WailsAggregateFood>;
|
||||
|
||||
export function GetYearlyFood():Promise<main.WailsAggregateFood>;
|
||||
|
||||
export function SetSetting(arg1:string,arg2:number):Promise<main.WailsGenericAck>;
|
||||
|
||||
export function UpdateFood(arg1:main.Food):Promise<main.WailsFood1>;
|
||||
|
||||
@@ -6,6 +6,10 @@ export function CreateFood(arg1) {
|
||||
return window['go']['main']['App']['CreateFood'](arg1);
|
||||
}
|
||||
|
||||
export function GetDailyFood() {
|
||||
return window['go']['main']['App']['GetDailyFood']();
|
||||
}
|
||||
|
||||
export function GetFood() {
|
||||
return window['go']['main']['App']['GetFood']();
|
||||
}
|
||||
@@ -14,10 +18,22 @@ export function GetLastPer100(arg1) {
|
||||
return window['go']['main']['App']['GetLastPer100'](arg1);
|
||||
}
|
||||
|
||||
export function GetMonthlyFood() {
|
||||
return window['go']['main']['App']['GetMonthlyFood']();
|
||||
}
|
||||
|
||||
export function GetSettings() {
|
||||
return window['go']['main']['App']['GetSettings']();
|
||||
}
|
||||
|
||||
export function GetWeeklyFood() {
|
||||
return window['go']['main']['App']['GetWeeklyFood']();
|
||||
}
|
||||
|
||||
export function GetYearlyFood() {
|
||||
return window['go']['main']['App']['GetYearlyFood']();
|
||||
}
|
||||
|
||||
export function SetSetting(arg1, arg2) {
|
||||
return window['go']['main']['App']['SetSetting'](arg1, arg2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user