29 lines
951 B
Markdown
29 lines
951 B
Markdown
|
|
---
|
||
|
|
# nuzlocke-tracker-sm1b
|
||
|
|
title: Game Data Models & Types
|
||
|
|
status: todo
|
||
|
|
type: task
|
||
|
|
priority: normal
|
||
|
|
created_at: 2026-02-04T15:44:08Z
|
||
|
|
updated_at: 2026-02-04T15:45:00Z
|
||
|
|
parent: nuzlocke-tracker-f5ob
|
||
|
|
blocking:
|
||
|
|
- nuzlocke-tracker-k5lm
|
||
|
|
- nuzlocke-tracker-0q8f
|
||
|
|
- nuzlocke-tracker-hm6t
|
||
|
|
- nuzlocke-tracker-8fcj
|
||
|
|
---
|
||
|
|
|
||
|
|
Define the core data structures and TypeScript types for the application.
|
||
|
|
|
||
|
|
## Checklist
|
||
|
|
- [ ] Define Game type (id, name, generation, region, routes)
|
||
|
|
- [ ] Define Route/Area type (id, name, available Pokémon, game)
|
||
|
|
- [ ] Define Pokemon type (national dex number, name, types, sprite URL)
|
||
|
|
- [ ] Define Encounter type (route, pokemon, nickname, status, caught date)
|
||
|
|
- [ ] Define NuzlockeRun type (game, settings, encounters, start date)
|
||
|
|
- [ ] Define RuleSettings type (hardcore mode, level caps, duplicates clause, etc.)
|
||
|
|
|
||
|
|
## Notes
|
||
|
|
- Keep types flexible for future expansion
|
||
|
|
- Consider using discriminated unions for status types
|