mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-29 22:24:31 +02:00
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:
parent
bace37dfd0
commit
edcad620f2
@ -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
|
||||
|
@ -120,6 +120,9 @@ links: list[dict[str, str | bool]] = [
|
||||
default_info: dict[str, str | list[str | bool] | bool] = {
|
||||
"name": "ReVanced",
|
||||
"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.",
|
||||
"branding": {
|
||||
"logo": "https://raw.githubusercontent.com/ReVanced/revanced-branding/main/assets/revanced-logo/revanced-logo.svg"
|
||||
},
|
||||
"contact": {"email": "contact@revanced.app"},
|
||||
"socials": social_links,
|
||||
"donations": {"wallets": wallets, "links": links},
|
||||
|
Loading…
x
Reference in New Issue
Block a user