expanded anilist user type
This commit is contained in:
parent
8c61c5e96b
commit
54d5932d8a
@ -10,8 +10,14 @@ type AniListJWT struct {
|
||||
type AniListUser struct {
|
||||
Data struct {
|
||||
Viewer struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Avatar struct {
|
||||
Large string `json:"large"`
|
||||
Medium string `json:"medium"`
|
||||
} `json:"avatar"`
|
||||
BannerImage string `json:"bannerImage"`
|
||||
SiteUrl string `json:"siteUrl"`
|
||||
} `json:"Viewer"`
|
||||
} `json:"data"`
|
||||
}
|
||||
|
@ -39,6 +39,12 @@ export interface AniListUser {
|
||||
"Viewer": {
|
||||
id: number,
|
||||
name: string,
|
||||
avatar: {
|
||||
large: string,
|
||||
medium: string,
|
||||
},
|
||||
bannerImage: string,
|
||||
siteUrl: string,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user