Commit graph

5 commits

Author SHA1 Message Date
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