feat: add favorite thing items to pokemon detail
Fetch favorite thing items associated with a pokemon in backend Display items with category tabs in PokemonDetail view
This commit is contained in:
@@ -33,6 +33,7 @@ export interface Pokemon extends EditInfo {
|
||||
|
||||
export interface PokemonDetail extends Pokemon {
|
||||
skills: Array<Skill & { itemDrop: NamedEntity | null }>;
|
||||
favoriteThingItems: Array<NamedEntity & { category: NamedEntity; tags: NamedEntity[] }>;
|
||||
habitats: Array<{
|
||||
id: number;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user