2020-08-04 09:20:28 -04:00
|
|
|
mutation(
|
|
|
|
$id: ID!,
|
|
|
|
$notes: String,
|
|
|
|
$private: Boolean,
|
|
|
|
$progress: Int,
|
|
|
|
$ratingTwenty: Int,
|
|
|
|
$reconsumeCount: Int!,
|
|
|
|
$reconsuming: Boolean,
|
2020-09-15 08:08:39 -04:00
|
|
|
$status: LibraryEntryStatusEnum!,
|
2020-08-04 09:20:28 -04:00
|
|
|
) {
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|