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

9 lines
212 B
JavaScript

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