mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-15 06:45:23 -05:00
feat(backend): 🚧 stub out new exporter service (WIP) (#715)
* chore(backend): 🎨 add isort path to vscode settings * style(frontend): 💄 remove fab and add general create button * feat(backend): 🚧 stub out new exporter service * comment out stub tests Co-authored-by: Hayden <hay-kot@pm.me>
This commit is contained in:
@@ -42,7 +42,7 @@ class ImportJob(BackupOptions):
|
||||
}
|
||||
|
||||
|
||||
class BackupJob(BaseModel):
|
||||
class CreateBackup(BaseModel):
|
||||
tag: Optional[str]
|
||||
options: BackupOptions
|
||||
templates: Optional[List[str]]
|
||||
@@ -57,13 +57,13 @@ class BackupJob(BaseModel):
|
||||
}
|
||||
|
||||
|
||||
class LocalBackup(BaseModel):
|
||||
class BackupFile(BaseModel):
|
||||
name: str
|
||||
date: datetime
|
||||
|
||||
|
||||
class Imports(BaseModel):
|
||||
imports: List[LocalBackup]
|
||||
class AllBackups(BaseModel):
|
||||
imports: List[BackupFile]
|
||||
templates: List[str]
|
||||
|
||||
class Config:
|
||||
|
||||
Reference in New Issue
Block a user