- Remove committed .coverage and test-results/ (196K screenshots); gitignore them - Fix hardcoded /home/userpath + venv/bin/python in test_endpoints.py (relative backend dir + sys.executable) - Fix concatenated 'import json' in settings.py; bare excepts -> Exception; SQLAlchemy-safe is_active.is_(True); __all__ on models/schemas barrels - ruff clean (93 fixes), MIT LICENSE, PLAN.md -> docs/, README Tests section - 300 tests pass, 93.7% coverage
41 lines
1.4 KiB
Python
41 lines
1.4 KiB
Python
from .song import SongBase, SongCreate, SongResponse, ScanResult
|
|
from .playlist import PlaylistBase, PlaylistCreate, PlaylistResponse, PlaylistWithSongs
|
|
from .mood import MoodCategoryResponse, MoodAnalysisResponse, MoodPlaylistResponse
|
|
from .radio import RadioStationResponse, RadioCurrentResponse
|
|
from .lofi import LofiChannelResponse
|
|
from .shareplay import SharePlayRoomResponse, SharePlayCommand, SharePlayCueResponse
|
|
from .settings import UserSettingsResponse, ServerConfigResponse
|
|
from .account import AccountStatsResponse, ListeningHistoryItem
|
|
from .releases import NewReleaseResponse, ReleaseAlbumResponse
|
|
from .events import ConcertEventResponse
|
|
from .search import SearchResultResponse
|
|
from .common import PaginatedResponse
|
|
__all__ = [
|
|
"SongBase",
|
|
"SongCreate",
|
|
"SongResponse",
|
|
"ScanResult",
|
|
"PlaylistBase",
|
|
"PlaylistCreate",
|
|
"PlaylistResponse",
|
|
"PlaylistWithSongs",
|
|
"MoodCategoryResponse",
|
|
"MoodAnalysisResponse",
|
|
"MoodPlaylistResponse",
|
|
"RadioStationResponse",
|
|
"RadioCurrentResponse",
|
|
"LofiChannelResponse",
|
|
"SharePlayRoomResponse",
|
|
"SharePlayCommand",
|
|
"SharePlayCueResponse",
|
|
"UserSettingsResponse",
|
|
"ServerConfigResponse",
|
|
"AccountStatsResponse",
|
|
"ListeningHistoryItem",
|
|
"NewReleaseResponse",
|
|
"ReleaseAlbumResponse",
|
|
"ConcertEventResponse",
|
|
"SearchResultResponse",
|
|
"PaginatedResponse",
|
|
]
|