Add missing GraphQL query
This commit is contained in:
parent
87d15024bb
commit
fe6f737815
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