HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Queries/UserDetails.graphql

154 lines
1.8 KiB
JavaScript
Raw Normal View History

query ($slug: String!) {
findProfileBySlug(slug: $slug) {
about
avatarImage {
original {
name
url
width
height
}
}
bannerImage {
original {
name
url
width
height
}
}
2020-08-24 13:09:43 -04:00
birthday
id
location
name
proMessage
proTier
slug
2020-09-09 10:23:17 -04:00
siteLinks(first: 20) {
2020-08-24 13:09:43 -04:00
nodes {
id
url
}
}
2020-09-09 10:23:17 -04:00
favorites(first: 100) {
nodes {
id
item {
__typename,
...on Anime {
id
slug
posterImage {
original {
url
height
width
}
views {
url
height
width
}
}
titles {
canonical
localized
}
}
...on Manga {
id
slug
posterImage {
original {
url
height
width
}
views {
url
height
width
}
}
titles {
canonical
localized
}
}
...on Person {
id
slug
image {
original {
url
}
views {
url
height
width
}
}
names {
alternatives
canonical
canonicalLocale
localized
},
}
...on Character {
id
slug
image {
original {
url
}
}
names {
alternatives
canonical
canonicalLocale
localized
},
}
}
}
}
stats {
animeAmountConsumed {
completed
id
media
recalculatedAt
time
units
}
mangaAmountConsumed {
completed
id
media
recalculatedAt
units
}
}
url
waifu {
id
2020-08-24 13:09:43 -04:00
slug
image {
original {
name
url
width
height
}
}
names {
canonical
alternatives
localized
}
}
2020-08-24 13:09:43 -04:00
waifuOrHusbando
}
}