Seed all Pokemon species and add admin pagination
- Update fetch_pokeapi.py to import all 1025 Pokemon species instead of only those appearing in encounters - Add paginated response for /pokemon endpoint with total count - Add pagination controls to AdminPokemon page (First/Prev/Next/Last) - Show current page and total count in admin UI - Add bean for Pokemon forms support task - Update UX improvements bean with route grouping polish item Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -51,6 +51,13 @@ export interface BulkImportResult {
|
||||
errors: string[]
|
||||
}
|
||||
|
||||
export interface PaginatedPokemon {
|
||||
items: import('./game').Pokemon[]
|
||||
total: number
|
||||
limit: number
|
||||
offset: number
|
||||
}
|
||||
|
||||
export interface CreateRouteEncounterInput {
|
||||
pokemonId: number
|
||||
encounterMethod: string
|
||||
|
||||
Reference in New Issue
Block a user