refactor(frontend): 🔥 rewrite backup UI for new page base components

Removed old split code and used the composition api to to re-write the import/export functionality of mealie.
This commit is contained in:
hay-kot
2021-08-21 00:46:43 -08:00
parent 460f508f79
commit edae7bbb21
25 changed files with 535 additions and 759 deletions

View File

@@ -11,9 +11,7 @@ router = APIRouter(tags=["Query All Recipes"])
@router.get("/api/recipes")
def get_recipe_summary(
start=0, limit=9999, session: Session = Depends(generate_session), user: bool = Depends(is_logged_in)
):
def get_recipe_summary(start=0, limit=9999, user: bool = Depends(is_logged_in)):
"""
Returns key the recipe summary data for recipes in the database. You can perform
slice operations to set the skip/end amounts for recipes. All recipes are sorted by the added date.