You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/pokemon.json
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1207,6 +1207,14 @@
1207
1207
"of": "PokemonAbilityPast"
1208
1208
}
1209
1209
},
1210
+
{
1211
+
"name": "past_stats",
1212
+
"description": "A list of details showing stats this pokémon had in previous generations",
1213
+
"type": {
1214
+
"type": "list",
1215
+
"of": "PokemonStatPast"
1216
+
}
1217
+
},
1210
1218
{
1211
1219
"name": "sprites",
1212
1220
"description": "A set of sprites used to depict this Pokémon in the game. A visual representation of the various sprites can be found at <a href='https://github.com/PokeAPI/sprites#sprites'>PokeAPI/sprites</a>",
@@ -1344,6 +1352,27 @@
1344
1352
}
1345
1353
]
1346
1354
},
1355
+
{
1356
+
"name": "PokemonStatPast",
1357
+
"fields": [
1358
+
{
1359
+
"name": "generation",
1360
+
"description": "The last generation in which the referenced pokémon had the listed stats.",
1361
+
"type": {
1362
+
"type": "NamedAPIResource",
1363
+
"of": "Generation"
1364
+
}
1365
+
},
1366
+
{
1367
+
"name": "stats",
1368
+
"description": "The stat the Pokémon had up to and including the listed generation.",
0 commit comments