mantimon-tcg/backend/app
Cal Corum ca3aca2b38 Add has_starter_deck to user profile API response
The frontend routing guard checks has_starter_deck to decide whether to
redirect users to starter selection. The field was missing from the API
response, causing authenticated users with a starter deck to be
incorrectly redirected to /starter on page refresh.

- Add has_starter_deck computed property to User model
- Add has_starter_deck field to UserResponse schema
- Add unit tests for User model properties
- Add API tests for has_starter_deck in profile response

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 23:14:04 -06:00
..
api Implement ProfilePage and profanity filter for display names (F1-006) 2026-01-30 16:06:42 -06:00
core Complete Phase 4 implementation files 2026-01-30 08:03:43 -06:00
data Phase 3: Collections + Decks - Services and DI architecture 2026-01-28 11:27:14 -06:00
db Add has_starter_deck to user profile API response 2026-01-30 23:14:04 -06:00
repositories Implement UserRepository pattern with dependency injection 2026-01-30 07:30:16 -06:00
schemas Add has_starter_deck to user profile API response 2026-01-30 23:14:04 -06:00
services Implement ProfilePage and profanity filter for display names (F1-006) 2026-01-30 16:06:42 -06:00
socketio Complete Phase 4 implementation files 2026-01-30 08:03:43 -06:00
__init__.py Add backend foundation with uv, Black, and pre-commit hooks 2026-01-24 00:12:33 -06:00
config.py Implement auth composables and starter selection (F1-003, F1-004, F1-005) 2026-01-30 15:36:14 -06:00
main.py Implement REST endpoints for game management (API-001) 2026-01-29 23:09:12 -06:00