1
0
Fork 0
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:
NullCosmos 2023-10-15 16:01:07 -04:00 committed by GitHub
parent e8b5d8d66f
commit f72fcc3031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 358 additions and 42 deletions

View file

@ -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) {