- Add config.py with pydantic-settings for env configuration - Add database.py with async SQLAlchemy (asyncpg driver) - Add Grant model with id, token, timestamps, and grant_type - Use Literal[public, private] for type-safe enum storage - Add routes/links.py with Pydantic request/response models - Update pyproject.toml dependencies |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| links.py | ||