mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-19 01:13:56 +00:00
refactor: move versioning efforts to initalization
This commit is contained in:
committed by
Alexandre Teles (afterSt0rm)
parent
8d36663610
commit
42c88290b1
@@ -11,7 +11,7 @@ class SocialFields(BaseModel):
|
||||
preferred: bool
|
||||
|
||||
|
||||
class SocialsResponseModel(BaseModel):
|
||||
class ConnectionsResponseModel(BaseModel):
|
||||
"""
|
||||
A Pydantic BaseModel that represents a dictionary of social links.
|
||||
"""
|
||||
@@ -21,3 +21,15 @@ class SocialsResponseModel(BaseModel):
|
||||
A dictionary where the keys are the names of the social networks, and
|
||||
the values are the links to the profiles or pages.
|
||||
"""
|
||||
|
||||
|
||||
class ConnectionsResponseModel(BaseModel):
|
||||
"""
|
||||
A Pydantic BaseModel that represents a dictionary of connection links.
|
||||
"""
|
||||
|
||||
connections: list[SocialFields]
|
||||
"""
|
||||
A dictionary where the keys are the names of the social networks, and
|
||||
the values are the links to the profiles or pages.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user