Update Kitsu GraphQL Mutations
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
This commit is contained in:
parent
e7e70a1541
commit
f3b7e58ee1
@ -7,7 +7,8 @@ mutation (
|
||||
$mediaType: media_type!,
|
||||
$status: MediaListStatus,
|
||||
) {
|
||||
createLibraryEntry (input: {
|
||||
libraryEntry {
|
||||
create(input: {
|
||||
userId: $userId
|
||||
mediaId: $id
|
||||
mediaType: $mediaType
|
||||
@ -17,3 +18,4 @@ mutation (
|
||||
status
|
||||
}
|
||||
}
|
||||
}
|
@ -7,7 +7,8 @@ mutation (
|
||||
$type: media_type!,
|
||||
$status: LibraryEntryStatus!,
|
||||
) {
|
||||
createLibraryEntry (input: {
|
||||
libraryEntry {
|
||||
create(input: {
|
||||
userId: $userId
|
||||
mediaId: $id
|
||||
mediaType: $type
|
||||
@ -25,3 +26,4 @@ mutation (
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
mutation ($id: ID!) {
|
||||
deleteLibraryEntry(input: {id: $id}) {
|
||||
libraryEntry{
|
||||
delete(input: {id: $id}) {
|
||||
libraryEntry {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
mutation($id: ID!, $progress: Int) {
|
||||
updateLibraryEntry(input: { id: $id, progress: $progress }) {
|
||||
libraryEntry{
|
||||
update(input: { id: $id, progress: $progress }) {
|
||||
libraryEntry {
|
||||
id
|
||||
progress
|
||||
@ -7,3 +8,4 @@ mutation($id: ID!, $progress: Int) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,8 @@ mutation(
|
||||
$reconsuming: Boolean,
|
||||
$status: LibraryEntryStatus!,
|
||||
) {
|
||||
updateLibraryEntry(input: {
|
||||
libraryEntry{
|
||||
update(input: {
|
||||
id: $id,
|
||||
notes: $notes
|
||||
private: $private
|
||||
@ -30,3 +31,4 @@ mutation(
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user