hensei-web/types/UserParams.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

8 lines
138 B
TypeScript

interface UserParams {
username?: string
picture?: string
element?: string
language?: string
gender?: number
theme?: string
}