HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Mutations/CreateFullLibraryItem.graphql
Timothy J. Warren f3b7e58ee1
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
Update Kitsu GraphQL Mutations
2020-08-17 10:24:17 -04:00

21 lines
360 B
JavaScript

# Create full library item
# Flesh out a library item with data - most commonly used for syncing lists
# between APIs
mutation (
$userId: ID!
$id: ID!,
$mediaType: media_type!,
$status: MediaListStatus,
) {
libraryEntry {
create(input: {
userId: $userId
mediaId: $id
mediaType: $mediaType
status: $status
}) {
mediaId
status
}
}
}