Files
character-roleplay-backend/.cliprepo.yaml
T
Zayden-Jung 9dfe000f2d refactor(auth): remove legacy RESTful user routes and migrate authentication to GraphQL context
- Rename get_current_user to get_current_user_id in auth/deps.py to clarify intent
- Remove legacy /me, /logout routes, and placeholder function from auth/__init__.py
- Remove dependency_overrides from app/main.py
- Update CustomContext to resolve and cache full User objects via db query
2026-05-20 02:52:54 +08:00

32 lines
541 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
config:
path_mode: relative
prompts:
preset: "下面的代码来自项目相对路径 {{path}}\n---\n{{content}}"
preset:
auth:
- "auth/*"
s3:
- "app/models/base.py"
- "app/models/user.py"
- "app/utils/s3.py"
- "auth.py"
db_model:
- "app/models/*"
- "app/db.py"
- "app/main.py"
graphql:
- "app/graphql/*"
- "app/main.py"
get_current_user:
- "app/main.py"
- "auth/__init__.py"
- "auth/deps.py"
- "auth/tokens.py"
- "auth/oauth/google.py"
- "app/graphql/*"