feat: Migrate from Tandoor (#2438)

* added tandoor migration to backend

* added tandoor migration to frontend

* updated tests

* ignore 0 amounts

* refactored ingredient display calculation

* fix parsing tandoor recipes with optional data

* generated frontend types

* fixed inconsistent default handling and from_orm

* removed unused imports
This commit is contained in:
Michael Genson
2023-07-23 12:52:09 -05:00
committed by GitHub
parent c25b58e404
commit 0f896107f9
18 changed files with 559 additions and 236 deletions

View File

@@ -23,6 +23,7 @@ test_cases = [
MigrationTestData(typ=SupportedMigrations.chowdown, archive=test_data.migrations_chowdown),
MigrationTestData(typ=SupportedMigrations.copymethat, archive=test_data.migrations_copymethat),
MigrationTestData(typ=SupportedMigrations.mealie_alpha, archive=test_data.migrations_mealie),
MigrationTestData(typ=SupportedMigrations.tandoor, archive=test_data.migrations_tandoor),
]
test_ids = [
@@ -31,6 +32,7 @@ test_ids = [
"chowdown_archive",
"copymethat_archive",
"mealie_alpha_archive",
"tandoor_archive",
]