mirror of
https://github.com/moku-project/Moku.git
synced 2026-06-13 09:19:56 -05:00
29 lines
662 B
TypeScript
29 lines
662 B
TypeScript
export const GET_RECENTLY_UPDATED = `
|
|
query GetRecentlyUpdated {
|
|
chapters(orderBy: FETCHED_AT, orderByType: DESC, first: 300) {
|
|
nodes {
|
|
id
|
|
name
|
|
chapterNumber
|
|
sourceOrder
|
|
isRead
|
|
lastPageRead
|
|
mangaId
|
|
fetchedAt
|
|
manga { id title thumbnailUrl inLibrary }
|
|
}
|
|
}
|
|
}
|
|
`;
|
|
|
|
export const GET_CHAPTERS = `
|
|
query GetChapters($mangaId: Int!) {
|
|
chapters(condition: { mangaId: $mangaId }) {
|
|
nodes {
|
|
id name chapterNumber sourceOrder isRead isDownloaded isBookmarked
|
|
pageCount mangaId uploadDate realUrl lastPageRead lastReadAt scanlator
|
|
}
|
|
}
|
|
}
|
|
`;
|