1
0
Fork 0
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:
Hayden 2022-04-02 16:35:53 -08:00 committed by GitHub
parent ea141832c3
commit e9bb39c744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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