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!,
|
$mediaType: media_type!,
|
||||||
$status: MediaListStatus,
|
$status: MediaListStatus,
|
||||||
) {
|
) {
|
||||||
createLibraryEntry (input: {
|
libraryEntry {
|
||||||
|
create(input: {
|
||||||
userId: $userId
|
userId: $userId
|
||||||
mediaId: $id
|
mediaId: $id
|
||||||
mediaType: $mediaType
|
mediaType: $mediaType
|
||||||
@ -16,4 +17,5 @@ mutation (
|
|||||||
mediaId
|
mediaId
|
||||||
status
|
status
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
@ -7,7 +7,8 @@ mutation (
|
|||||||
$type: media_type!,
|
$type: media_type!,
|
||||||
$status: LibraryEntryStatus!,
|
$status: LibraryEntryStatus!,
|
||||||
) {
|
) {
|
||||||
createLibraryEntry (input: {
|
libraryEntry {
|
||||||
|
create(input: {
|
||||||
userId: $userId
|
userId: $userId
|
||||||
mediaId: $id
|
mediaId: $id
|
||||||
mediaType: $type
|
mediaType: $type
|
||||||
@ -24,4 +25,5 @@ mutation (
|
|||||||
status
|
status
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
@ -1,7 +1,9 @@
|
|||||||
mutation ($id: ID!) {
|
mutation ($id: ID!) {
|
||||||
deleteLibraryEntry(input: {id: $id}) {
|
libraryEntry{
|
||||||
|
delete(input: {id: $id}) {
|
||||||
libraryEntry {
|
libraryEntry {
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
@ -1,9 +1,11 @@
|
|||||||
mutation($id: ID!, $progress: Int) {
|
mutation($id: ID!, $progress: Int) {
|
||||||
updateLibraryEntry(input: { id: $id, progress: $progress }) {
|
libraryEntry{
|
||||||
|
update(input: { id: $id, progress: $progress }) {
|
||||||
libraryEntry {
|
libraryEntry {
|
||||||
id
|
id
|
||||||
progress
|
progress
|
||||||
status
|
status
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,8 @@ mutation(
|
|||||||
$reconsuming: Boolean,
|
$reconsuming: Boolean,
|
||||||
$status: LibraryEntryStatus!,
|
$status: LibraryEntryStatus!,
|
||||||
) {
|
) {
|
||||||
updateLibraryEntry(input: {
|
libraryEntry{
|
||||||
|
update(input: {
|
||||||
id: $id,
|
id: $id,
|
||||||
notes: $notes
|
notes: $notes
|
||||||
private: $private
|
private: $private
|
||||||
@ -29,4 +30,5 @@ mutation(
|
|||||||
status
|
status
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user