Fix respecting chapter list filters for downloads

Regression 7b20f08f51
This commit is contained in:
schroda
2026-05-20 16:48:57 +02:00
parent 19962df378
commit c53f29b6e7
3 changed files with 64 additions and 6 deletions

View File

@@ -2117,6 +2117,19 @@ export type UpdateMangaMetadataMutation = {
} | null;
};
export type GetMangaMetaQueryVariables = Exact<{
id: number;
}>;
export type GetMangaMetaQuery = {
__typename: 'Query';
manga: {
__typename: 'MangaType';
id: number;
meta: Array<{ __typename: 'MangaMetaType'; mangaId: number; key: string; value: string }>;
};
};
export type GetMangaScreenQueryVariables = Exact<{
id: number;
}>;

View File

@@ -20,6 +20,19 @@ import {
import { CHAPTER_META_FIELDS } from '@/lib/graphql/chapter/ChapterFragments.ts';
import { TRACK_RECORD_BIND_FIELDS } from '@/lib/graphql/tracker/TrackRecordFragments.ts';
export const GET_MANGA_META = gql`
${MANGA_META_FIELDS}
query GET_MANGA_META($id: Int!) {
manga(id: $id) {
id
meta {
...MANGA_META_FIELDS
}
}
}
`;
// returns the current manga from the database
export const GET_MANGA_SCREEN = gql`
${MANGA_SCREEN_FIELDS}