Extract "MetadataReader" functions

This commit is contained in:
schroda
2025-01-04 21:28:26 +01:00
parent b7971f5183
commit a51d81d267
6 changed files with 52 additions and 45 deletions

View File

@@ -10,7 +10,6 @@ import { requestManager } from '@/lib/requests/RequestManager.ts';
import { SourceType } from '@/lib/graphql/generated/graphql.ts';
import { ChapterIdInfo } from '@/modules/chapter/services/Chapters.ts';
import { CategoryIdInfo } from '@/modules/category/Category.types.ts';
import { getMetadataKey } from '@/modules/metadata/services/MetadataReader.ts';
import {
AllowedMetadataValueTypes,
AppMetadataKeys,
@@ -19,6 +18,7 @@ import {
MetadataKeyValuePair,
} from '@/modules/metadata/Metadata.types.ts';
import { MangaIdInfo } from '@/modules/manga/Manga.types.ts';
import { getMetadataKey } from '@/modules/metadata/Metadata.utils.ts';
export const requestUpdateMetadataValue = async (
metadataHolder: GqlMetaHolder,