refactor to reorganise codebase

This commit is contained in:
Game_Time
2025-08-19 17:21:00 +05:00
parent 653605d939
commit 554ec53a25
16 changed files with 1244 additions and 1195 deletions

26
chatmock/models.py Normal file
View File

@@ -0,0 +1,26 @@
from __future__ import annotations
from dataclasses import dataclass
from typing import Optional
@dataclass
class TokenData:
id_token: str
access_token: str
refresh_token: str
account_id: str
@dataclass
class AuthBundle:
api_key: Optional[str]
token_data: TokenData
last_refresh: str
@dataclass
class PkceCodes:
code_verifier: str
code_challenge: str