feat: added branding (#104)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
Benjamin
2023-10-14 11:38:41 -07:00
committed by GitHub
parent bace37dfd0
commit edcad620f2
2 changed files with 12 additions and 0 deletions

View File

@@ -11,6 +11,14 @@ class ContactFields(BaseModel):
email: str
class BrandingFields(BaseModel):
"""
Implements the fields for the API owner branding info.
"""
logo: str
class InfoFields(BaseModel):
"""
Implements the fields for the API owner info.
@@ -18,6 +26,7 @@ class InfoFields(BaseModel):
name: str
about: str
branding: BrandingFields
contact: ContactFields
socials: list[SocialFields]
donations: DonationFields