feature/new-feature-cleanup (#389)

* add json editor to theme editor

* add toolbars tools to recipe sections

* fix recipe yield

* add updated_date to recipe schema

* update time cards

* fix mobile buttons

* fix asset URL

* fix PG errors CRUD

* remove -d from docker-pro

* fix theme tests

* remvoe old typing

* abstract count function

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-05-05 14:08:13 -08:00
committed by GitHub
parent c1370afb16
commit 1b0de02b71
34 changed files with 263 additions and 132 deletions

View File

@@ -69,6 +69,9 @@ class RecipeSummary(CamelModel):
tags: Optional[list[str]] = []
rating: Optional[int]
date_added: Optional[datetime.date]
date_updated: Optional[datetime.datetime]
class Config:
orm_mode = True
@@ -95,7 +98,6 @@ class Recipe(RecipeSummary):
# Mealie Specific
settings: Optional[RecipeSettings]
assets: Optional[list[RecipeAsset]] = []
date_added: Optional[datetime.date]
notes: Optional[list[RecipeNote]] = []
org_url: Optional[str] = Field(None, alias="orgURL")
extras: Optional[dict] = {}

View File

@@ -8,8 +8,8 @@ class Colors(BaseModel):
accent: str = "#00457A"
secondary: str = "#973542"
success: str = "#43A047"
info: str = "#4990BA"
warning: str = "#FF4081"
info: str = "#1976D2"
warning: str = "#FF6F00"
error: str = "#EF5350"
class Config: