added some more changes

This commit is contained in:
2023-02-05 19:39:35 +09:00
parent 8ac2aa2b1f
commit 303e02d243
13 changed files with 479 additions and 163 deletions

22
src/model/PokemonData.ts Normal file
View File

@@ -0,0 +1,22 @@
export interface PokemonDBData {
id: number;
name: string;
types: string;
thumbnail: string;
abilities: string;
hp: number;
attack: number;
defense: number;
special_attack: number;
special_defense: number;
speed: number;
learnset: PokemonLearnsetDBData[];
};
export interface PokemonLearnsetDBData {
id: number;
learnset_id: number;
name: string;
types: number[];
power: number;
category: number;
}