Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (36 sloc) 602 Bytes
module SharedTypes.Types
type PokemonType =
| Normal
| Fire
| Water
| Electric
| Grass
| Ice
| Fighting
| Poison
| Ground
| Flying
| Psychic
| Bug
| Rock
| Ghost
| Dragon
| Dark
| Steel
| Fairy
type BriefPokemon = {
num : string
name : string
}
type Pokemon = {
id : int
num : string
name : string
img : string
pokemonType : PokemonType list
height : float
weight : float
weaknesses : PokemonType list
nextEvolutions : BriefPokemon list
previousEvolutions : BriefPokemon list
}