mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-29 22:24:31 +02:00

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
19 lines
377 B
Python
19 lines
377 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class DonationFields(BaseModel):
|
|
"""
|
|
A Pydantic BaseModel that represents all the donation links and wallets.
|
|
"""
|
|
|
|
wallets: dict[str, str]
|
|
links: dict[str, str]
|
|
|
|
|
|
class DonationsResponseModel(BaseModel):
|
|
"""
|
|
A Pydantic BaseModel that represents a dictionary of donation links.
|
|
"""
|
|
|
|
donations: DonationFields
|