HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Queries/CharacterDetails.graphql
Timothy J. Warren 5a5421cee9
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
Use images directly from Kitsu for the rest of the views
2022-01-17 09:59:27 -05:00

73 lines
917 B
JavaScript

query ($slug: String!) {
findCharacterBySlug(slug: $slug) {
id
image {
original {
url
}
}
description
names {
alternatives
canonical
canonicalLocale
localized
},
media(first: 100) {
nodes {
media {
id
slug
titles {
alternatives
canonical
canonicalLocale
localized
}
posterImage {
original {
height
name
url
width
}
views {
height
name
url
width
}
}
type
}
role
voices(first: 10) {
nodes {
id
locale
person {
id
slug
name
names {
alternatives
canonical
canonicalLocale
localized
}
image {
original {
height
width
url
name
}
}
}
}
}
}
}
slug
}
}