Check user library when searching for new media
This commit is contained in:
parent
69db87e305
commit
6e4e065b75
@ -535,6 +535,7 @@ final class Model {
|
|||||||
'slug' => $item['slug'],
|
'slug' => $item['slug'],
|
||||||
'canonicalTitle' => $item['titles']['canonical'],
|
'canonicalTitle' => $item['titles']['canonical'],
|
||||||
'titles' => array_values(K::getTitles($item['titles'])),
|
'titles' => array_values(K::getTitles($item['titles'])),
|
||||||
|
'libraryEntry' => $item['myLibraryEntry'],
|
||||||
];
|
];
|
||||||
|
|
||||||
// Search for MAL mapping
|
// Search for MAL mapping
|
||||||
|
@ -14,6 +14,10 @@ query ($query: String!) {
|
|||||||
localized
|
localized
|
||||||
alternatives
|
alternatives
|
||||||
}
|
}
|
||||||
|
myLibraryEntry {
|
||||||
|
id
|
||||||
|
status
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -14,6 +14,10 @@ query ($query: String!) {
|
|||||||
localized
|
localized
|
||||||
alternatives
|
alternatives
|
||||||
}
|
}
|
||||||
|
myLibraryEntry {
|
||||||
|
id
|
||||||
|
status
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user