Add the whole api stack for weight

This commit is contained in:
2024-08-09 23:18:50 +02:00
parent 57d88c093e
commit 1edc3e83ef
11 changed files with 570 additions and 16 deletions

View File

@@ -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);
}