Refactored Startpage

This commit is contained in:
Simon Martens
2025-02-26 16:06:29 +01:00
parent 8f664d24ca
commit cf6d4a59ed
15 changed files with 354 additions and 603 deletions

View File

@@ -103,6 +103,11 @@ func Series_IDs(app core.App, ids []any) ([]*Series, error) {
return TableByIDs[[]*Series](app, SERIES_TABLE, ids)
}
func Series_ID(app core.App, id string) (*Series, error) {
ret, err := TableByID[Series](app, SERIES_TABLE, id)
return &ret, err
}
func Places_IDs(app core.App, ids []any) ([]*Place, error) {
return TableByIDs[[]*Place](app, PLACES_TABLE, ids)
}