33dffccaa5
* 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>
272 lines
6.1 KiB
TypeScript
272 lines
6.1 KiB
TypeScript
import {
|
|
mdiAccount,
|
|
mdiSilverwareVariant,
|
|
mdiPlus,
|
|
mdiPlusCircle,
|
|
mdiDelete,
|
|
mdiContentSave,
|
|
mdiContentSaveEdit,
|
|
mdiSquareEditOutline,
|
|
mdiClose,
|
|
mdiTagMultipleOutline,
|
|
mdiBookOutline,
|
|
mdiAccountCog,
|
|
mdiAccountGroup,
|
|
mdiSlotMachine,
|
|
mdiHome,
|
|
mdiMagnify,
|
|
mdiPotSteam,
|
|
mdiTranslate,
|
|
mdiClockTimeFourOutline,
|
|
mdiImport,
|
|
mdiEmail,
|
|
mdiLock,
|
|
mdiEye,
|
|
mdiDrag,
|
|
mdiEyeOff,
|
|
mdiCalendarMinus,
|
|
mdiAlertOutline,
|
|
mdiCalendar,
|
|
mdiDiceMultiple,
|
|
mdiAlertCircle,
|
|
mdiDotsVertical,
|
|
mdiPrinter,
|
|
mdiShareVariant,
|
|
mdiChevronDown,
|
|
mdiHeart,
|
|
mdiHeartOutline,
|
|
mdiDotsHorizontal,
|
|
mdiCheckboxBlankOutline,
|
|
mdiCommentTextMultipleOutline,
|
|
mdiDownload,
|
|
mdiFile,
|
|
mdiFilePdfBox,
|
|
mdiFileImage,
|
|
mdiCodeJson,
|
|
mdiCog,
|
|
mdiSort,
|
|
mdiSortAscending,
|
|
mdiSortDescending,
|
|
mdiSortAlphabeticalAscending,
|
|
mdiSortAlphabeticalDescending,
|
|
mdiSortCalendarAscending,
|
|
mdiSortCalendarDescending,
|
|
mdiSortClockAscending,
|
|
mdiSortClockDescending,
|
|
mdiOrderAlphabeticalAscending,
|
|
mdiStar,
|
|
mdiNewBox,
|
|
mdiShuffleVariant,
|
|
mdiAlert,
|
|
mdiCheckboxMarkedCircle,
|
|
mdiInformation,
|
|
mdiBellAlert,
|
|
mdiRefreshCircle,
|
|
mdiMenu,
|
|
mdiWeatherSunny,
|
|
mdiWeatherNight,
|
|
mdiLink,
|
|
mdiRobot,
|
|
mdiLinkVariant,
|
|
mdiViewModule,
|
|
mdiViewDashboard,
|
|
mdiTools,
|
|
mdiCalendarWeek,
|
|
mdiCalendarToday,
|
|
mdiCalendarMultiselect,
|
|
mdiFormatListChecks,
|
|
mdiLogout,
|
|
mdiContentCopy,
|
|
mdiClipboardCheck,
|
|
mdiCloudUpload,
|
|
mdiDatabase,
|
|
mdiGithub,
|
|
mdiFolderOutline,
|
|
mdiApi,
|
|
mdiTestTube,
|
|
mdiDevTo,
|
|
mdiBackupRestore,
|
|
mdiNotificationClearAll,
|
|
mdiFood,
|
|
mdiWebhook,
|
|
mdiFilter,
|
|
mdiAccountPlusOutline,
|
|
mdiDesktopTowerMonitor,
|
|
mdiFormatColorFill,
|
|
mdiFormSelect,
|
|
mdiPageLayoutBody,
|
|
mdiCalendarWeekBegin,
|
|
mdiOpenInNew,
|
|
mdiCheck,
|
|
mdiBroom,
|
|
mdiCartCheck,
|
|
mdiArrowLeftBold,
|
|
mdiMinus,
|
|
mdiWindowClose,
|
|
mdiFolderZipOutline,
|
|
mdiFoodApple,
|
|
mdiBeakerOutline,
|
|
mdiArrowLeftBoldOutline,
|
|
mdiArrowRightBoldOutline,
|
|
mdiTimerSand,
|
|
mdiRefresh,
|
|
mdiArrowRightBold,
|
|
mdiChevronRight,
|
|
mdiBowlMixOutline,
|
|
mdiWrench,
|
|
mdiChartLine,
|
|
mdiHelpCircleOutline,
|
|
mdiDocker,
|
|
mdiUndo,
|
|
mdiSelectionDrag,
|
|
mdiCursorMove,
|
|
mdiText,
|
|
mdiTextBoxOutline,
|
|
mdiChefHat,
|
|
mdiContentDuplicate,
|
|
} from "@mdi/js";
|
|
|
|
export const icons = {
|
|
// Primary
|
|
primary: mdiSilverwareVariant,
|
|
|
|
wrench: mdiWrench,
|
|
chart: mdiChartLine,
|
|
docker: mdiDocker,
|
|
|
|
// General
|
|
bowlMixOutline: mdiBowlMixOutline,
|
|
help: mdiHelpCircleOutline,
|
|
foods: mdiFoodApple,
|
|
units: mdiBeakerOutline,
|
|
alert: mdiAlert,
|
|
alertCircle: mdiAlertCircle,
|
|
alertOutline: mdiAlertOutline,
|
|
api: mdiApi,
|
|
arrowLeftBold: mdiArrowLeftBold,
|
|
arrowRightBold: mdiArrowRightBold,
|
|
arrowUpDown: mdiDrag,
|
|
backupRestore: mdiBackupRestore,
|
|
bellAlert: mdiBellAlert,
|
|
broom: mdiBroom,
|
|
calendar: mdiCalendar,
|
|
calendarMinus: mdiCalendarMinus,
|
|
calendarMultiselect: mdiCalendarMultiselect,
|
|
calendarToday: mdiCalendarToday,
|
|
calendarWeek: mdiCalendarWeek,
|
|
calendarWeekBegin: mdiCalendarWeekBegin,
|
|
cartCheck: mdiCartCheck,
|
|
check: mdiCheck,
|
|
checkboxBlankOutline: mdiCheckboxBlankOutline,
|
|
checkboxMarkedCircle: mdiCheckboxMarkedCircle,
|
|
chefHat: mdiChefHat,
|
|
clipboardCheck: mdiClipboardCheck,
|
|
clockOutline: mdiClockTimeFourOutline,
|
|
codeBraces: mdiCodeJson,
|
|
codeJson: mdiCodeJson,
|
|
cog: mdiCog,
|
|
commentTextMultipleOutline: mdiCommentTextMultipleOutline,
|
|
contentCopy: mdiContentCopy,
|
|
database: mdiDatabase,
|
|
desktopTowerMonitor: mdiDesktopTowerMonitor,
|
|
devTo: mdiDevTo,
|
|
diceMultiple: mdiDiceMultiple,
|
|
dotsHorizontal: mdiDotsHorizontal,
|
|
dotsVertical: mdiDotsVertical,
|
|
download: mdiDownload,
|
|
duplicate: mdiContentDuplicate,
|
|
email: mdiEmail,
|
|
externalLink: mdiLinkVariant,
|
|
eye: mdiEye,
|
|
eyeOff: mdiEyeOff,
|
|
file: mdiFile,
|
|
fileImage: mdiFileImage,
|
|
filePDF: mdiFilePdfBox,
|
|
filter: mdiFilter,
|
|
folderOutline: mdiFolderOutline,
|
|
food: mdiFood,
|
|
formatColorFill: mdiFormatColorFill,
|
|
formatListCheck: mdiFormatListChecks,
|
|
formSelect: mdiFormSelect,
|
|
github: mdiGithub,
|
|
heart: mdiHeart,
|
|
heartOutline: mdiHeartOutline,
|
|
home: mdiHome,
|
|
import: mdiImport,
|
|
information: mdiInformation,
|
|
link: mdiLink,
|
|
lock: mdiLock,
|
|
logout: mdiLogout,
|
|
menu: mdiMenu,
|
|
newBox: mdiNewBox,
|
|
notificationClearAll: mdiNotificationClearAll,
|
|
openInNew: mdiOpenInNew,
|
|
orderAlphabeticalAscending: mdiOrderAlphabeticalAscending,
|
|
pageLayoutBody: mdiPageLayoutBody,
|
|
printer: mdiPrinter,
|
|
refreshCircle: mdiRefreshCircle,
|
|
robot: mdiRobot,
|
|
search: mdiMagnify,
|
|
shareVariant: mdiShareVariant,
|
|
shuffleVariant: mdiShuffleVariant,
|
|
sort: mdiSort,
|
|
sortAscending: mdiSortAscending,
|
|
sortDescending: mdiSortDescending,
|
|
sortAlphabeticalAscending: mdiSortAlphabeticalAscending,
|
|
sortAlphabeticalDescending: mdiSortAlphabeticalDescending,
|
|
sortCalendarAscending: mdiSortCalendarAscending,
|
|
sortCalendarDescending: mdiSortCalendarDescending,
|
|
sortClockAscending: mdiSortClockAscending,
|
|
sortClockDescending: mdiSortClockDescending,
|
|
star: mdiStar,
|
|
testTube: mdiTestTube,
|
|
tools: mdiTools,
|
|
potSteam: mdiPotSteam,
|
|
translate: mdiTranslate,
|
|
upload: mdiCloudUpload,
|
|
viewDashboard: mdiViewDashboard,
|
|
viewModule: mdiViewModule,
|
|
weatherNight: mdiWeatherNight,
|
|
weatherSunny: mdiWeatherSunny,
|
|
webhook: mdiWebhook,
|
|
windowClose: mdiWindowClose,
|
|
zip: mdiFolderZipOutline,
|
|
undo: mdiUndo,
|
|
|
|
// Crud
|
|
backArrow: mdiArrowLeftBoldOutline,
|
|
createAlt: mdiPlus,
|
|
create: mdiPlusCircle,
|
|
delete: mdiDelete,
|
|
save: mdiContentSave,
|
|
update: mdiContentSaveEdit,
|
|
edit: mdiSquareEditOutline,
|
|
close: mdiClose,
|
|
minus: mdiMinus,
|
|
pending: mdiTimerSand,
|
|
refresh: mdiRefresh,
|
|
|
|
// Organization
|
|
tags: mdiTagMultipleOutline,
|
|
pages: mdiBookOutline,
|
|
|
|
// Admin
|
|
user: mdiAccount,
|
|
admin: mdiAccountCog,
|
|
group: mdiAccountGroup,
|
|
accountPlusOutline: mdiAccountPlusOutline,
|
|
|
|
forward: mdiArrowRightBoldOutline,
|
|
back: mdiArrowLeftBoldOutline,
|
|
slotMachine: mdiSlotMachine,
|
|
chevronDown: mdiChevronDown,
|
|
chevronRight: mdiChevronRight,
|
|
|
|
// Ocr toolbar
|
|
selectMode: mdiSelectionDrag,
|
|
panAndZoom: mdiCursorMove,
|
|
preserveLines: mdiText,
|
|
preserveBlocks: mdiTextBoxOutline,
|
|
flatten: mdiMinus,
|
|
|
|
};
|