Add routes for daily weekly and the rest

This commit is contained in:
2024-08-09 22:32:58 +02:00
parent 8119775084
commit fce5b8416e
19 changed files with 472 additions and 27 deletions

View File

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