feat: duplicate recipes (#1750)

* feature/frontend: Add duplicate button to recipe

* feature/backend: Add recipe duplication endpoint

* feature/frontend: add duplication API call

* Regenerate API docs

* Fix linter errors

* Fix backend linter error

* Move recipe duplication logic to recipe service

* Add test for recipe duplication

* Improve recipe ingredients copy test

* generate types

* import type

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
This commit is contained in:
Philipp
2022-12-01 06:57:26 +01:00
committed by GitHub
parent e73a72959c
commit 33dffccaa5
18 changed files with 258 additions and 25 deletions

View File

@@ -123,6 +123,7 @@ import {
mdiText,
mdiTextBoxOutline,
mdiChefHat,
mdiContentDuplicate,
} from "@mdi/js";
export const icons = {
@@ -173,6 +174,7 @@ export const icons = {
dotsHorizontal: mdiDotsHorizontal,
dotsVertical: mdiDotsVertical,
download: mdiDownload,
duplicate: mdiContentDuplicate,
email: mdiEmail,
externalLink: mdiLinkVariant,
eye: mdiEye,