diff --git a/src/lib/graphql/generated/graphql.ts b/src/lib/graphql/generated/graphql.ts index 66b5afe2..163783c4 100644 --- a/src/lib/graphql/generated/graphql.ts +++ b/src/lib/graphql/generated/graphql.ts @@ -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<{ 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<{ input: DequeueChapterDownloadInput; diff --git a/src/lib/graphql/mutations/DownloaderMutation.ts b/src/lib/graphql/mutations/DownloaderMutation.ts index 6c343f41..125a81d6 100644 --- a/src/lib/graphql/mutations/DownloaderMutation.ts +++ b/src/lib/graphql/mutations/DownloaderMutation.ts @@ -28,6 +28,10 @@ export const DELETE_DOWNLOADED_CHAPTER = gql` chapters { id isDownloaded + manga { + id + downloadCount + } } } } @@ -40,6 +44,10 @@ export const DELETE_DOWNLOADED_CHAPTERS = gql` chapters { id isDownloaded + manga { + id + downloadCount + } } } }