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

42 lines
635 B
JavaScript
Raw Normal View History

query (
$slug: String!,
$type: MediaTypeEnum!,
$status: [LibraryEntryStatusEnum!],
$after: String
) {
findProfileBySlug(slug: $slug) {
library {
all(first: 100, after: $after, mediaType: $type, status: $status) {
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
nodes {
id
notes
nsfw
private
progress
progressedAt
rating
reconsumeCount
reconsuming
status
media {
id
slug
mappings(first: 10) {
nodes {
externalId
externalSite
}
}
}
}
}
}
}
}