diff --git a/api/models/info.py b/api/models/info.py index a4c5987..34ec5ec 100644 --- a/api/models/info.py +++ b/api/models/info.py @@ -2,10 +2,12 @@ from api.models.donations import DonationFields from api.models.socials import SocialFields from pydantic import BaseModel + class ContactFields(BaseModel): """ Implements the fields for the API owner contact info. """ + email: str diff --git a/config.py b/config.py index 2bd0698..517e5cd 100644 --- a/config.py +++ b/config.py @@ -116,9 +116,7 @@ links: list[dict[str, str | bool]] = [ default_info: dict[str, str | list[str | bool] | bool] = { "name": owner, "about": "ReVanced was born out of Vanced's discontinuation and it is our goal to continue the legacy of what Vanced left behind. Thanks to ReVanced Patcher, it's possible to create long-lasting patches for nearly any Android app. ReVanced's patching system is designed to allow patches to work on new versions of the apps automatically with bare minimum maintenance.", - "contact": { - "email": "contact@revanced.app" - }, + "contact": {"email": "contact@revanced.app"}, "socials": social_links, "donations": {"wallets": wallets, "links": links}, } diff --git a/requirements.txt b/requirements.txt index 0687027..2f17358 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,18 +25,18 @@ idna==3.4 ; python_version >= "3.11" and python_version < "4.0" iniconfig==2.0.0 ; python_version >= "3.11" and python_version < "4.0" lxml==4.9.3 ; python_version >= "3.11" and python_version < "4.0" multidict==6.0.4 ; python_version >= "3.11" and python_version < "4.0" -mypy-extensions==1.0.0 ; python_version >= "3.11" and python_version < "4.0" mypy==1.5.1 ; python_version >= "3.11" and python_version < "4.0" +mypy-extensions==1.0.0 ; python_version >= "3.11" and python_version < "4.0" packaging==23.1 ; python_version >= "3.11" and python_version < "4.0" pluggy==1.2.0 ; python_version >= "3.11" and python_version < "4.0" pycares==4.3.0 ; python_version >= "3.11" and python_version < "4.0" pycparser==2.21 ; python_version >= "3.11" and python_version < "4.0" pydantic==1.10.12 ; python_version >= "3.11" and python_version < "4.0" +pytest==7.4.0 ; python_version >= "3.11" and python_version < "4.0" pytest-asyncio==0.21.1 ; python_version >= "3.11" and python_version < "4.0" pytest-cov==4.1.0 ; python_version >= "3.11" and python_version < "4.0" pytest-emoji==0.2.0 ; python_version >= "3.11" and python_version < "4.0" pytest-md==0.2.0 ; python_version >= "3.11" and python_version < "4.0" -pytest==7.4.0 ; python_version >= "3.11" and python_version < "4.0" pyyaml==6.0.1 ; python_version >= "3.11" and python_version < "4.0" sanic-ext==23.6.0 ; python_version >= "3.11" and python_version < "4.0" sanic-routing==23.6.0 ; python_version >= "3.11" and python_version < "4.0"