[Codegen] Request manga download count with chapter deletion mutation (#516)
After deleting a chapter, the download count of the chapters manga did not update, because the information was not requested with the mutation
This commit is contained in:
@@ -2292,14 +2292,14 @@ export type DeleteDownloadedChapterMutationVariables = Exact<{
|
|||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type DeleteDownloadedChapterMutation = { __typename?: 'Mutation', deleteDownloadedChapter: { __typename?: 'DeleteDownloadedChapterPayload', clientMutationId?: string | null, chapters: { __typename?: 'ChapterType', id: number, isDownloaded: boolean } } };
|
export type DeleteDownloadedChapterMutation = { __typename?: 'Mutation', deleteDownloadedChapter: { __typename?: 'DeleteDownloadedChapterPayload', clientMutationId?: string | null, chapters: { __typename?: 'ChapterType', id: number, isDownloaded: boolean, manga: { __typename?: 'MangaType', id: number, downloadCount: number } } } };
|
||||||
|
|
||||||
export type DeleteDownloadedChaptersMutationVariables = Exact<{
|
export type DeleteDownloadedChaptersMutationVariables = Exact<{
|
||||||
input: DeleteDownloadedChaptersInput;
|
input: DeleteDownloadedChaptersInput;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
|
|
||||||
export type DeleteDownloadedChaptersMutation = { __typename?: 'Mutation', deleteDownloadedChapters: { __typename?: 'DeleteDownloadedChaptersPayload', clientMutationId?: string | null, chapters: Array<{ __typename?: 'ChapterType', id: number, isDownloaded: boolean }> } };
|
export type DeleteDownloadedChaptersMutation = { __typename?: 'Mutation', deleteDownloadedChapters: { __typename?: 'DeleteDownloadedChaptersPayload', clientMutationId?: string | null, chapters: Array<{ __typename?: 'ChapterType', id: number, isDownloaded: boolean, manga: { __typename?: 'MangaType', id: number, downloadCount: number } }> } };
|
||||||
|
|
||||||
export type DequeueChapterDownloadMutationVariables = Exact<{
|
export type DequeueChapterDownloadMutationVariables = Exact<{
|
||||||
input: DequeueChapterDownloadInput;
|
input: DequeueChapterDownloadInput;
|
||||||
|
|||||||
@@ -28,6 +28,10 @@ export const DELETE_DOWNLOADED_CHAPTER = gql`
|
|||||||
chapters {
|
chapters {
|
||||||
id
|
id
|
||||||
isDownloaded
|
isDownloaded
|
||||||
|
manga {
|
||||||
|
id
|
||||||
|
downloadCount
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -40,6 +44,10 @@ export const DELETE_DOWNLOADED_CHAPTERS = gql`
|
|||||||
chapters {
|
chapters {
|
||||||
id
|
id
|
||||||
isDownloaded
|
isDownloaded
|
||||||
|
manga {
|
||||||
|
id
|
||||||
|
downloadCount
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user