hensei-web/types/User.d.ts
Justin Edmund 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

12 lines
180 B
TypeScript

interface User {
id: string
username: string
granblueId: string
avatar: {
picture: string
element: string
}
gender: number
language: string
theme: string
}