Timothy J. Warren
f3b7e58ee1
All checks were successful
timw4mail/HummingBirdAnimeClient/pipeline/head This commit looks good
21 lines
360 B
JavaScript
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
|
|
}
|
|
}
|
|
} |