HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Mutations/UpdateLibraryItem.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

35 lines
535 B
JavaScript

mutation(
$id: ID!,
$notes: String,
$private: Boolean,
$progress: Int,
$ratingTwenty: Int,
$reconsumeCount: Int!,
$reconsuming: Boolean,
$status: LibraryEntryStatusEnum!,
) {
libraryEntry{
update(input: {
id: $id,
notes: $notes
private: $private
progress: $progress
rating: $ratingTwenty
reconsumeCount: $reconsumeCount
reconsuming: $reconsuming
status: $status
}) {
libraryEntry {
id
notes
private
progress
rating
reconsumeCount
reconsuming
status
}
}
}
}