mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 05:11:31 -05:00
shopping list delay fix and category change implemented
This commit is contained in:
@@ -314,4 +314,15 @@ export function FoodToJSON(value?: Omit<Food, 'shopping'|'parent'|'numchild'|'fu
|
||||
'open_data_slug': value['openDataSlug'],
|
||||
};
|
||||
}
|
||||
// ----------------------------------------------------------------------
|
||||
// Custom model functions added by custom openapi-generator template
|
||||
// ----------------------------------------------------------------------
|
||||
import {ApiApi, ApiFoodListRequest, PaginatedFoodList} from "@/openapi";
|
||||
|
||||
/**
|
||||
* query list endpoint using the provided request parameters
|
||||
*/
|
||||
export function list(requestParameters: ApiFoodListRequest = {}): Promise<PaginatedFoodList> {
|
||||
const api = new ApiApi()
|
||||
return api.apiFoodList(requestParameters)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user