2020-08-04 09:20:28 -04:00
|
|
|
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
|
|
|
|
}
|
2020-08-04 09:20:28 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|