Commit graph

265 commits

Author SHA1 Message Date
indyandie
bf195f948c
chore: make format 2024-03-27 23:16:38 -05:00
indyandie
a5158e2164
fix: use examples property (example is deprecated), fix typo 2024-03-27 23:12:13 -05:00
indyandie
5e02a377cd
fix: use correct type, add format 2024-03-26 23:59:57 -05:00
indyandie
89e55332c9
feat: id parameter (not working) 2024-03-06 23:17:01 -06:00
indyandie
77a4570b15
fix: misplace required (PR review) 2024-03-06 22:27:43 -06:00
indyandie
d772620699
test: make format 2024-03-05 00:54:48 -06:00
indyandie
4688b0d071
tidy 2024-03-05 00:37:02 -06:00
indyandie
c7c2c46f49
typo 2024-03-04 03:07:09 -06:00
indyandie
5c9a73d795
fix: add pokemon_encounters 200 response 2024-03-04 02:47:43 -06:00
indyandie
8198fae37a
fix: add version-group schema_field definitions 2024-03-04 01:05:48 -06:00
indyandie
807fbc1869
fix: add pokedex schema_field definitions 2024-03-04 00:44:24 -06:00
indyandie
8060b59125
fix: add pokeathlon_stat schema_field definitions 2024-03-04 00:23:24 -06:00
indyandie
da11f734db
fix: add evolution-chain schema_field definitions 2024-03-03 22:29:50 -06:00
indyandie
0fabe2c70c
fix: add pokemon-species schema_field definitions 2024-03-03 20:49:15 -06:00
indyandie
029f663d2f
fix: add pokemon schema_field definitions 2024-03-03 20:01:04 -06:00
indyandie
38f67d0473
fix: add pokemon_shape schema_field definitions 2024-03-03 14:58:22 -06:00
indyandie
fe9c1fa98d
fix: add move_learn_method schema_field definitions 2024-03-03 14:46:20 -06:00
indyandie
3bb60381f0
fix: add pokemon-form schema_field definitions 2024-03-03 14:37:49 -06:00
indyandie
ef97bc6a45
fix: add pal-park-area schema_field definitions 2024-03-03 01:45:46 -06:00
indyandie
e7ea8b2e8c
fix: add move schema_field definitions 2024-03-03 01:27:45 -06:00
indyandie
928507938a
fix: add nature schema_field definitions 2024-03-03 01:03:33 -06:00
indyandie
ddeaeebeb8
fix: add item schema_field definitions 2024-03-03 00:40:40 -06:00
indyandie
adc66c097b
fix: add schema_field definitions 2024-03-02 02:51:42 -06:00
indyandie
5ee7cdd312
docs: update summary 2024-03-01 03:57:22 -06:00
indyandie
61c4cd084d
fix: resolve drf-spectacular warnings, add schema_field definitions 2024-03-01 03:54:51 -06:00
indyandie
07471047c5
docs(openapi): add path summary 2024-02-28 00:26:18 -06:00
indyandie
5e1c02b07a
docs(openapi): add tags (groups) 2024-02-26 02:10:24 -06:00
indyandie
0e51181c14
docs(openapi): add operation descriptions 2024-02-25 23:56:18 -06:00
Robert Williams
6775022635
making simonorono's suggest changes 2024-02-24 01:51:37 -06:00
Robert Williams
74bb5b28b5
fixing linter issue 2024-02-24 01:51:37 -06:00
Robert Williams
d234ef9def
that line was needed after all 2024-02-24 01:51:36 -06:00
Robert Williams
41818e4755
removing unnecessary line 2024-02-24 01:51:36 -06:00
Robert Williams
ffa89bdfc5
fixing a debugging print line 2024-02-24 01:51:35 -06:00
Robert Williams
082ea57d77
Updating MoveDetailSerializer to change $effect_chance to actual number 2024-02-24 01:51:34 -06:00
FallenDeity
4828b93860 style: Run black formatter on source 2024-02-03 00:32:51 +05:30
FallenDeity
02baf0b3ef feat: Add pokemon cries
Add pokemon cries resource field to pokemon endpoint
2024-02-03 00:15:39 +05:30
FallenDeity
545e1a0826 feat: Add showdown field to pokemon api resource 2023-12-16 09:56:19 +05:30
Naramsim
b348e60d2c refactor: merge migrations 2023-11-30 04:09:39 +01:00
Simón Oroño
b3d6608283 Fix tests for sprites
Moved the declaration of sprite_data variables closer to their actual
usage.
2023-11-26 11:57:16 -04:00
Simón Oroño
61c21853ef Fix serializers for ItemSprites and PokemonFormSprites 2023-11-26 11:57:16 -04:00
Simón Oroño
76f7a340e6 Use JSONField instead of CharField for sprites
The models affected were PokemonFormSprites and ItemSprites. This was
done to ensure they are properly returned when querying those tables
with Hasura.
2023-11-26 11:57:16 -04:00
Simón Oroño
db33cfc1a4 Format missing files 2023-11-26 11:57:16 -04:00
Simón Oroño
d1e2d9c5b4 Use new JSON field in Django instead of Postgres custom one 2023-11-26 11:57:16 -04:00
Simón Oroño
30e8a01253 Format migration 0014_auto_20231119_0303.py 2023-11-26 11:57:16 -04:00
Simón Oroño
49d970f0ed Remove unused serializer class PokemonSpritesSerializer 2023-11-26 11:57:16 -04:00
Simón Oroño
6ff2c0c217 Fix serialization of pokemon sprites 2023-11-26 11:57:16 -04:00
Simón Oroño
218864dfbc Make the type of the sprites column in pokemon_v2_pokemonsprites jsonb
This is so Hasura automatically transforms the field into an array
instead of a JSON encoded in a string.

Migration was generated by the `makemigrations` command.
2023-11-26 11:57:16 -04:00
Naramsim
8ba6f94c0c refactor/fix: format/sprite test 2023-11-08 11:11:56 +01:00
Naramsim
5237c4ccc9 refactor: format with new black 2023-11-08 10:44:55 +01:00
Naramsim
3fa2b6952f fix: don't add or replace parts of the sprites' URL 2023-11-08 10:22:56 +01:00