feat(WEB-169): get profile data from API
This commit is contained in:
@@ -24,16 +24,15 @@ type Victory = {
|
||||
title: string
|
||||
}
|
||||
|
||||
/**
|
||||
* All extended field needs to be added by API team to response or
|
||||
* we have to get the values from elsewhere
|
||||
*/
|
||||
export interface User extends z.infer<typeof getUserSchema> {
|
||||
country: string
|
||||
dob: string
|
||||
firstname: string
|
||||
firstName: string
|
||||
journeys: Journey[]
|
||||
lastname: string
|
||||
membershipId: number
|
||||
nights: number
|
||||
points: number
|
||||
qualifyingPoints: number
|
||||
shortcuts: ShortcutLink[]
|
||||
stays: Stay[]
|
||||
victories: Victory[]
|
||||
|
||||
Reference in New Issue
Block a user