mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-11 05:46:18 +00: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
|