GET_MANGA_BY_IDS: "\nquery ($ids: [Int]) {\n Page(perPage: 50) {\n pageInfo {\n total\n currentPage\n lastPage\n hasNextPage\n perPage\n }\n media(id_in: $ids, type: MANGA) {\n id\n title {\n romaji\n english\n native\n }\n synonyms\n description\n format\n status\n chapters\n volumes\n countryOfOrigin\n source\n coverImage {\n large\n medium\n }\n genres\n tags {\n id\n name\n category\n }\n startDate {\n year\n month\n day\n }\n }\n }\n}\n" = ...

Query to fetch multiple manga by their IDs in a single request. Can fetch up to 50 manga at once.

export const GET_MANGA_BY_IDS = `
query ($ids: [Int]) {
Page(perPage: 50) {
pageInfo {
total
currentPage
lastPage
hasNextPage
perPage
}
media(id_in: $ids, type: MANGA) {
id
title {
romaji
english
native
}
synonyms
description
format
status
chapters
volumes
countryOfOrigin
source
coverImage {
large
medium
}
genres
tags {
id
name
category
}
startDate {
year
month
day
}
}
}
}
`;