SEARCH_MANGA: "\nquery ($search: String, $page: Int, $perPage: Int) {\n Page(page: $page, perPage: $perPage) {\n pageInfo {\n total\n currentPage\n lastPage\n hasNextPage\n perPage\n }\n media(type: MANGA, search: $search) {\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 search for manga by title.

export const SEARCH_MANGA = `
query ($search: String, $page: Int, $perPage: Int) {
Page(page: $page, perPage: $perPage) {
pageInfo {
total
currentPage
lastPage
hasNextPage
perPage
}
media(type: MANGA, search: $search) {
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
}
}
}
}
`;