19 lines
345 B
JavaScript
19 lines
345 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,
|
||
|
) {
|
||
|
createLibraryEntry (input: {
|
||
|
userId: $userId
|
||
|
mediaId: $id
|
||
|
mediaType: $mediaType
|
||
|
status: $status
|
||
|
}) {
|
||
|
mediaId
|
||
|
status
|
||
|
}
|
||
|
}
|