HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Queries/UserDetails.graphql
Timothy J. Warren 3965f137e1
Some checks reported errors
timw4mail/HummingBirdAnimeClient/pipeline/head Something is wrong with the build of this commit
Move GraphQL queries up a level
2020-08-04 14:25:18 -04:00

81 lines
918 B
JavaScript

query ($slug: String!) {
findProfileBySlug(slug: $slug) {
about
avatarImage {
original {
name
url
width
height
}
}
bannerImage {
original {
name
url
width
height
}
}
id
name
proMessage
proTier
slug
stats {
animeAmountConsumed {
completed
id
media
recalculatedAt
time
units
}
animeCategoryBreakdown {
categories
recalculatedAt
total
}
mangaAmountConsumed {
completed
id
media
recalculatedAt
units
}
mangaCategoryBreakdown {
categories
recalculatedAt
total
}
}
url
waifu {
id
image {
original {
name
url
width
height
}
}
names {
canonical
alternatives
localized
}
primaryMedia {
slug
titles {
canonical
alternatives
localized
}
}
slug
}
# waifuOrHusbando
}
}