mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
feat: Implemented Plan to Eat migration (#2635)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
parent
e8b5d8d66f
commit
f72fcc3031
51 changed files with 358 additions and 42 deletions
|
@ -81,6 +81,7 @@ const MIGRATIONS = {
|
|||
paprika: "paprika",
|
||||
mealie: "mealie_alpha",
|
||||
tandoor: "tandoor",
|
||||
plantoeat: "plantoeat",
|
||||
};
|
||||
|
||||
export default defineComponent({
|
||||
|
@ -123,6 +124,10 @@ export default defineComponent({
|
|||
text: i18n.tc("migration.tandoor.title"),
|
||||
value: MIGRATIONS.tandoor,
|
||||
},
|
||||
{
|
||||
text: i18n.tc("migration.plantoeat.title"),
|
||||
value: MIGRATIONS.plantoeat,
|
||||
},
|
||||
];
|
||||
|
||||
const _content = {
|
||||
|
@ -311,6 +316,19 @@ export default defineComponent({
|
|||
}
|
||||
],
|
||||
},
|
||||
[MIGRATIONS.plantoeat]: {
|
||||
text: i18n.tc("migration.plantoeat.description-long"),
|
||||
tree: [
|
||||
{
|
||||
id: 1,
|
||||
icon: $globals.icons.zip,
|
||||
name: "plantoeat-recipes-508318_10-13-2023.zip",
|
||||
children: [
|
||||
{ id: 9, name: "plantoeat-recipes-508318_10-13-2023.csv", icon: $globals.icons.codeJson },
|
||||
],
|
||||
}
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
function setFileObject(fileObject: File) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue