Fix respecting chapter list filters for downloads
Regression 7b20f08f51
This commit is contained in:
@@ -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;
|
||||
}>;
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user