Feat: Extension of Download Features, Batch Select, Error/Retry (#38)

This commit is contained in:
Youwes09
2026-04-21 10:57:29 -05:00
parent 2d3a4d0e57
commit 86c78689df
9 changed files with 626 additions and 68 deletions
+18 -2
View File
@@ -1,7 +1,7 @@
const QUEUE_FRAGMENT = `
state
queue {
progress state
progress state tries
chapter {
id name pageCount mangaId
manga { id title thumbnailUrl }
@@ -33,6 +33,22 @@ export const DEQUEUE_DOWNLOAD = `
}
`;
export const DEQUEUE_CHAPTERS_DOWNLOAD = `
mutation DequeueChaptersDownload($chapterIds: [Int!]!) {
dequeueChapterDownloads(input: { ids: $chapterIds }) {
downloadStatus { ${QUEUE_FRAGMENT} }
}
}
`;
export const REORDER_DOWNLOAD = `
mutation ReorderDownload($chapterId: Int!, $to: Int!) {
reorderChapterDownload(input: { chapterId: $chapterId, to: $to }) {
downloadStatus { ${QUEUE_FRAGMENT} }
}
}
`;
export const START_DOWNLOADER = `
mutation StartDownloader {
startDownloader(input: {}) {
@@ -80,4 +96,4 @@ export const SET_LOCAL_SOURCE_PATH = `
settings { localSourcePath }
}
}
`;
`;