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:
Hayden
2022-04-02 16:35:53 -08:00
committed by GitHub
parent ea141832c3
commit e9bb39c744
16 changed files with 612 additions and 157 deletions

View File

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

View File

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