Add missing GraphQL query
This commit is contained in:
parent
5340c39466
commit
0868fb43bc
20
src/AnimeClient/API/Kitsu/Queries/GetIdByMapping.graphql
Normal file
20
src/AnimeClient/API/Kitsu/Queries/GetIdByMapping.graphql
Normal file
@ -0,0 +1,20 @@
|
||||
query (
|
||||
$id: ID!,
|
||||
$site: MappingExternalSiteEnum!,
|
||||
) {
|
||||
lookupMapping(externalSite: $site, externalId: $id) {
|
||||
__typename,
|
||||
...on Anime {
|
||||
id
|
||||
}
|
||||
...on Manga {
|
||||
id
|
||||
}
|
||||
...on Character {
|
||||
id
|
||||
}
|
||||
...on Person {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user