[ServerMapping][Codegen] Update to latest server gql MangaType changes (#546)

This commit is contained in:
schroda
2024-01-11 03:53:06 +01:00
committed by GitHub
parent 955cc682fd
commit 3973eda089
9 changed files with 405 additions and 28 deletions

View File

@@ -107,6 +107,9 @@ export const UPDATE_CHAPTER = gql`
lastReadChapter {
id
}
latestReadChapter {
id
}
}
}
}
@@ -136,7 +139,7 @@ export const UPDATE_CHAPTERS = gql`
$chapterIdsToDelete: [Int!]!
$deleteChapters: Boolean!
$mangaIds: [Int!]!
$lastReadChapterIds: [Int!]!
$latestReadChapterIds: [Int!]!
$downloadAhead: Boolean!
) {
updateChapters(input: $input) {
@@ -153,6 +156,9 @@ export const UPDATE_CHAPTERS = gql`
lastReadChapter {
id
}
latestReadChapter {
id
}
}
}
}
@@ -167,7 +173,7 @@ export const UPDATE_CHAPTERS = gql`
}
}
}
downloadAhead(input: { mangaIds: $mangaIds, latestReadChapterIds: $lastReadChapterIds })
downloadAhead(input: { mangaIds: $mangaIds, latestReadChapterIds: $latestReadChapterIds })
@include(if: $downloadAhead) {
clientMutationId
}