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

73 lines
856 B
JavaScript

query($id: ID!) {
findLibraryEntryById(id: $id) {
id
updatedAt
notes
nsfw
private
progress
reconsumeCount
reconsuming
status
rating
media {
id
slug
ageRating
categories(first: 100) {
nodes {
title
}
}
mappings(first: 10) {
nodes {
externalId
externalSite
}
}
posterImage {
views {
width
height
url
}
original {
width
height
url
}
}
startDate
endDate
titles {
canonical
localized
canonicalLocale
}
type
...on Anime {
episodeCount
episodeLength
streamingLinks(first: 10) {
nodes {
dubs
subs
regions
streamer {
id
siteName
}
url
}
}
subtype
}
...on Manga {
chapterCount
volumeCount
subtype
}
}
}
}