HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Queries/GetLibraryCount.graphql
Timothy J. Warren 913f9082ef
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/pr-master This commit looks good
Update GraphQL queries to match API changes
2020-09-15 08:08:39 -04:00

9 lines
212 B
JavaScript

query ($slug: String!, $type: MediaTypeEnum!, $status: [LibraryEntryStatusEnum!]) {
findProfileBySlug(slug: $slug) {
library {
all(first: 1, mediaType: $type, status: $status) {
totalCount
}
}
}
}