poetry migration and general server cleanup

This commit is contained in:
Lucas Jensen
2024-06-29 11:41:32 -07:00
parent c2fa4b12ea
commit 53850749b8
11 changed files with 1369 additions and 220 deletions

View File

@@ -1,4 +1,5 @@
from pydantic import BaseModel
from typing import Optional
class About(BaseModel):
@@ -6,12 +7,18 @@ class About(BaseModel):
email: str
bio: str
github: str
gitea: str
class Project(BaseModel):
id: int | None = None
id: Optional[int] = None
name: str
description: str
source: str | None = None
live: str | None = None
is_self_hosted: bool = False
source: Optional[str] = None
live: Optional[str] = None
is_self_hosted: Optional[bool] = False
class Lucas(BaseModel):
projects: list[Project]
about: About