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

@@ -19,7 +19,8 @@ import { Trackers } from '@/modules/tracker/services/Trackers.ts';
import { CustomIconButton } from '@/modules/core/components/buttons/CustomIconButton.tsx';
import { GetTrackersSettingsQuery, MangaType } from '@/lib/graphql/generated/graphql.ts';
import { GET_TRACKERS_SETTINGS } from '@/lib/graphql/queries/TrackerQuery.ts';
import { MangaTrackRecordInfo } from '@/modules/manga/services/Mangas.ts';
import { MangaTrackRecordInfo } from '@/modules/manga/Manga.types.ts';
export const TrackMangaButton = ({ manga }: { manga: MangaTrackRecordInfo & Pick<MangaType, 'title'> }) => {
const { t } = useTranslation();