mirror of
https://github.com/revanced/revanced-polling-api.git
synced 2025-04-30 14:44:27 +02:00
24 lines
481 B
Python
24 lines
481 B
Python
from pydantic import BaseModel
|
|
|
|
class ClientModel(BaseModel):
|
|
"""Implements the fields for the clients.
|
|
|
|
Args:
|
|
BaseModel (pydantic.BaseModel): BaseModel from pydantic
|
|
"""
|
|
|
|
id: str
|
|
secret: str
|
|
discord_id_hash: str
|
|
|
|
class ClientAuthModel(BaseModel):
|
|
"""Implements the fields for client authentication.
|
|
|
|
Args:
|
|
BaseModel (pydantic.BaseModel): BaseModel from pydantic
|
|
"""
|
|
|
|
id: str
|
|
secret: str
|
|
discord_id_hash: str
|