mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
* implemented copymethat migration * added migration tree * added translation support * genericized example jpgs * added test data * fixed test archive * switched recipe create to service added test for timeline event creation * linting * lxml go brrr
15 lines
325 B
Python
15 lines
325 B
Python
import enum
|
|
|
|
from mealie.schema._mealie import MealieModel
|
|
|
|
|
|
class SupportedMigrations(str, enum.Enum):
|
|
nextcloud = "nextcloud"
|
|
chowdown = "chowdown"
|
|
copymethat = "copymethat"
|
|
paprika = "paprika"
|
|
mealie_alpha = "mealie_alpha"
|
|
|
|
|
|
class DataMigrationCreate(MealieModel):
|
|
source_type: SupportedMigrations
|