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

View File

@@ -7,18 +7,18 @@ from app.chain.bangumi import BangumiChain
from app.chain.douban import DoubanChain
from app.chain.listenbrainz import ListenBrainzChain
from app.chain.tmdb import TmdbChain
from app.platform.cache import cached, fresh
from app.platform.config import settings, global_vars
from app.runtime.cache import cached, fresh
from app.runtime.config import settings, global_vars
from app.domain.context import MusicInfo
from app.services.image import ImageHelper
from app.platform.log import logger
from app.application.image import ImageHelper
from app.runtime.log import logger
from app.schemas import MediaType
from app.schemas.types import (
MUSIC_ENTITY_ALBUM,
MUSIC_ENTITY_RECORDING,
MediaSource,
)
from app.platform.execution import log_execution_time
from app.runtime.execution import log_execution_time
from app.domain.media import normalize_media_source
from app.foundation.singleton import Singleton