Move "Mangas.ts" types and constants to new files

This commit is contained in:
schroda
2024-10-07 13:35:07 +02:00
parent 03695b34be
commit f704e5bc33
19 changed files with 147 additions and 145 deletions

View File

@@ -39,12 +39,12 @@ import { ChapterIdInfo, Chapters } from '@/modules/chapter/services/Chapters.ts'
import { EmptyViewAbsoluteCentered } from '@/modules/core/components/placeholder/EmptyViewAbsoluteCentered.tsx';
import { GET_CHAPTERS_READER } from '@/lib/graphql/queries/ChapterQuery.ts';
import { GET_MANGA_READER } from '@/lib/graphql/queries/MangaQuery.ts';
import { TMangaReader } from '@/modules/manga/services/Mangas.ts';
import { CHAPTER_READER_FIELDS } from '@/lib/graphql/fragments/ChapterFragments.ts';
import { MediaQuery } from '@/modules/core/utils/MediaQuery.tsx';
import { IReaderSettings, ReaderType } from '@/modules/reader/Reader.types.ts';
import { DirectionOffset } from '@/Base.types.ts';
import { AllowedMetadataValueTypes } from '@/modules/metadata/Metadata.types.ts';
import { TMangaReader } from '@/modules/manga/Manga.types.ts';
type TChapter = GetChaptersReaderQuery['chapters']['nodes'][number];