mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-05 21:45:25 +02:00
feat: docker volume validation (#1125)
* feat: add api endpoints for volume check * feat: add docker icon * add size prop * feat: add frontend UI for checking docker-volume * update caddy to server validation file * add more extensive documentation around setup req * fix: wrong type on user id #1123 * spelling * refactor: cleanup excessive function calls
This commit is contained in:
parent
ea141832c3
commit
e9bb39c744
16 changed files with 612 additions and 157 deletions
|
@ -31,3 +31,7 @@ class CheckAppConfig(MealieModel):
|
|||
ldap_ready: bool = False
|
||||
base_url_set: bool = False
|
||||
is_up_to_date: bool = False
|
||||
|
||||
|
||||
class DockerVolumeText(MealieModel):
|
||||
text: str
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
from datetime import datetime
|
||||
from typing import Optional
|
||||
from uuid import UUID
|
||||
|
||||
from pydantic import UUID4
|
||||
|
||||
|
@ -8,7 +7,7 @@ from mealie.schema._mealie import MealieModel
|
|||
|
||||
|
||||
class UserBase(MealieModel):
|
||||
id: int
|
||||
id: UUID4
|
||||
username: Optional[str]
|
||||
admin: bool
|
||||
|
||||
|
@ -26,12 +25,12 @@ class RecipeCommentSave(RecipeCommentCreate):
|
|||
|
||||
|
||||
class RecipeCommentUpdate(MealieModel):
|
||||
id: UUID
|
||||
id: UUID4
|
||||
text: str
|
||||
|
||||
|
||||
class RecipeCommentOut(RecipeCommentCreate):
|
||||
id: UUID
|
||||
id: UUID4
|
||||
recipe_id: UUID4
|
||||
created_at: datetime
|
||||
update_at: datetime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue