Add the whole api stack for weight
This commit is contained in:
12
frontend/wailsjs/go/main/App.d.ts
vendored
12
frontend/wailsjs/go/main/App.d.ts
vendored
@@ -4,20 +4,32 @@ import {main} from '../models';
|
||||
|
||||
export function CreateFood(arg1:main.Food):Promise<main.WailsFood1>;
|
||||
|
||||
export function CreateWeight(arg1:main.Weight):Promise<main.WailsWeight1>;
|
||||
|
||||
export function GetDailyFood():Promise<main.WailsAggregateFood>;
|
||||
|
||||
export function GetDailyWeight():Promise<main.WailsAggregateWeight>;
|
||||
|
||||
export function GetFood():Promise<main.WailsFood>;
|
||||
|
||||
export function GetLastPer100(arg1:string):Promise<main.WailsPer100>;
|
||||
|
||||
export function GetMonthlyFood():Promise<main.WailsAggregateFood>;
|
||||
|
||||
export function GetMonthlyWeight():Promise<main.WailsAggregateWeight>;
|
||||
|
||||
export function GetSettings():Promise<main.settings>;
|
||||
|
||||
export function GetWeeklyFood():Promise<main.WailsAggregateFood>;
|
||||
|
||||
export function GetWeeklyWeight():Promise<main.WailsAggregateWeight>;
|
||||
|
||||
export function GetWeight():Promise<main.WailsWeight>;
|
||||
|
||||
export function GetYearlyFood():Promise<main.WailsAggregateFood>;
|
||||
|
||||
export function GetYearlyWeight():Promise<main.WailsAggregateWeight>;
|
||||
|
||||
export function SetSetting(arg1:string,arg2:number):Promise<main.WailsGenericAck>;
|
||||
|
||||
export function UpdateFood(arg1:main.Food):Promise<main.WailsFood1>;
|
||||
|
||||
@@ -6,10 +6,18 @@ export function CreateFood(arg1) {
|
||||
return window['go']['main']['App']['CreateFood'](arg1);
|
||||
}
|
||||
|
||||
export function CreateWeight(arg1) {
|
||||
return window['go']['main']['App']['CreateWeight'](arg1);
|
||||
}
|
||||
|
||||
export function GetDailyFood() {
|
||||
return window['go']['main']['App']['GetDailyFood']();
|
||||
}
|
||||
|
||||
export function GetDailyWeight() {
|
||||
return window['go']['main']['App']['GetDailyWeight']();
|
||||
}
|
||||
|
||||
export function GetFood() {
|
||||
return window['go']['main']['App']['GetFood']();
|
||||
}
|
||||
@@ -22,6 +30,10 @@ export function GetMonthlyFood() {
|
||||
return window['go']['main']['App']['GetMonthlyFood']();
|
||||
}
|
||||
|
||||
export function GetMonthlyWeight() {
|
||||
return window['go']['main']['App']['GetMonthlyWeight']();
|
||||
}
|
||||
|
||||
export function GetSettings() {
|
||||
return window['go']['main']['App']['GetSettings']();
|
||||
}
|
||||
@@ -30,10 +42,22 @@ export function GetWeeklyFood() {
|
||||
return window['go']['main']['App']['GetWeeklyFood']();
|
||||
}
|
||||
|
||||
export function GetWeeklyWeight() {
|
||||
return window['go']['main']['App']['GetWeeklyWeight']();
|
||||
}
|
||||
|
||||
export function GetWeight() {
|
||||
return window['go']['main']['App']['GetWeight']();
|
||||
}
|
||||
|
||||
export function GetYearlyFood() {
|
||||
return window['go']['main']['App']['GetYearlyFood']();
|
||||
}
|
||||
|
||||
export function GetYearlyWeight() {
|
||||
return window['go']['main']['App']['GetYearlyWeight']();
|
||||
}
|
||||
|
||||
export function SetSetting(arg1, arg2) {
|
||||
return window['go']['main']['App']['SetSetting'](arg1, arg2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user