refactor: reorganize backend module boundaries

This commit is contained in:
jxxghp
2026-08-14 19:53:33 +08:00
parent fe0b444ceb
commit 369d7d6448
584 changed files with 2423 additions and 2275 deletions
+4 -4
View File
@@ -4,10 +4,10 @@ from typing import Optional, List, Tuple, Union, Dict
import cn2an
from app import schemas
from app.platform.config import settings
from app.runtime.config import settings
from app.domain.context import MediaInfo
from app.domain.meta.metabase import MetaBase
from app.platform.log import logger
from app.runtime.log import logger
from app.modules import _ModuleBase
from app.modules.themoviedb.category import CategoryHelper
from app.modules.themoviedb.scraper import TmdbScraper
@@ -23,13 +23,13 @@ from app.schemas.types import (
MediaType,
ModuleType,
)
from app.foundation.http import RequestUtils
from app.adapters.network.http import RequestUtils
from app.domain.media import (
is_media_source_enabled,
is_media_source_selected,
normalize_media_source,
)
from app.foundation.zhconv import convert as zhconv_convert
from app.foundation.text import convert as zhconv_convert
_DATE_RE = re.compile(r"^\d{4}-\d{2}-\d{2}$")