HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Mutations/UpdateLibraryItem.graphql

35 lines
531 B
JavaScript
Raw Normal View History

mutation(
$id: ID!,
$notes: String,
$private: Boolean,
$progress: Int,
$ratingTwenty: Int,
$reconsumeCount: Int!,
$reconsuming: Boolean,
$status: LibraryEntryStatus!,
) {
2020-08-17 10:24:17 -04:00
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
}
}
}
}