Commit graph

15 commits

Author SHA1 Message Date
b2f64f1d78 Fix transformers and types
Dozens of tiny errors from me freehanding it
2023-07-07 06:47:41 -07:00
d42927623e Update all files with new object structure 2023-07-07 05:43:02 -07:00
500b7ffbbf Add the last transformers 2023-07-06 23:57:25 -07:00
f73787c23d Add transformer for Job classes 2023-07-06 23:48:32 -07:00
fe32a49bc4 Add transformer for GridSummon 2023-07-06 23:37:10 -07:00
8ef2bf76e3 Add transformer for GridWeapon 2023-07-06 23:33:51 -07:00
7cd87bd4a7 Add transformer for GridCharacter 2023-07-06 23:20:27 -07:00
511d7ee0ec Fix comments 2023-07-06 23:20:09 -07:00
2838622335 Add transformers for core entities
canonical Characters, Weapons and Summons
2023-07-06 22:59:45 -07:00
7224ae8585 Make signatures consistent 2023-07-06 22:55:10 -07:00
7c814610b9 Create PartyTransformer
Transforms data into Party objects and back again.

We also created PartyParams to send data back to the API in a uniform way.

We organized the resulting object more than we have in the past since we can do what we want now.

Lastly, we removed characters, weapons and summons from this object. We will probably make a new Grid object and reference that here instead.
2023-07-06 00:04:52 -07:00
881ed31dd1 Create UserTransformer
Transforms data into User objects and back again.

We added the UserParams interface to handle sending data back to the API in a uniform manner.

We also modified the User object to store the user's language and theme for simplicity's sake, since the app state wants this information today.
2023-07-06 00:03:21 -07:00
f5ee806f8b Create RaidTransformer
Transforms data into Raid objects. Also, updated Raid type to use GranblueElement.
2023-07-06 00:02:11 -07:00
6ab2c2488d Create RaidGroupTransformer
Transforms data into RaidGroup objects
2023-07-06 00:01:36 -07:00
cb4fd491ac Create ElementTransformer
Transforms elements from numbers into objects and back again
2023-07-06 00:01:17 -07:00