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

91 lines
1.3 KiB
JavaScript
Raw Normal View History

2020-09-09 10:23:17 -04:00
query (
$slug: String!,
$type: media_type!,
$status: [LibraryEntryStatus!],
$after: String
) {
2020-08-25 13:22:38 -04:00
findProfileBySlug(slug: $slug) {
library {
2020-09-09 10:23:17 -04:00
all(first: 100, after: $after, mediaType: $type, status: $status) {
2020-08-26 15:25:31 -04:00
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
2020-08-25 13:22:38 -04:00
totalCount
nodes {
id
notes
nsfw
private
progress
progressedAt
rating
reconsumeCount
reconsuming
status
media {
id
ageRating
ageRatingGuide
2020-09-09 10:23:17 -04:00
categories(first: 100) {
2020-08-25 13:22:38 -04:00
nodes {
title
}
}
2020-09-09 10:23:17 -04:00
mappings(first: 10) {
2020-08-25 13:22:38 -04:00
nodes {
externalId
externalSite
}
}
posterImage {
original {
height
name
url
width
}
views {
height
name
url
width
}
}
sfw
slug
status
type
titles {
canonical
localized
alternatives
}
...on Anime {
episodeCount
2020-09-09 10:23:17 -04:00
streamingLinks(first: 10) {
2020-08-25 13:22:38 -04:00
nodes {
dubs
subs
regions
streamer {
id
siteName
}
url
}
}
subtype
}
...on Manga {
chapterCount
subtype
}
}
}
}
}
}
}