Enable update and create food

This commit is contained in:
2024-08-09 18:37:51 +02:00
parent 265c51edae
commit f105595195
5 changed files with 296 additions and 0 deletions

View File

@@ -15,6 +15,12 @@ type (
Success bool `json:"success"`
Error string `json:"error,omitempty"`
}
WailsFood1 struct {
Data Food `json:"data"`
Success bool `json:"success"`
Error string `json:"error,omitempty"`
}
WailsAggregateFood struct {
Data []AggregatedFood `json:"data"`
Success bool `json:"success"`