feat: add Spotify authentication and sessions

This commit is contained in:
Justin Visser 2026-08-10 11:31:06 +02:00
parent 000b435b9a
commit cdab1b4dd5
5 changed files with 304 additions and 0 deletions

View file

@ -0,0 +1,16 @@
"""Pure domain models shared across application boundaries."""
from dataclasses import dataclass
@dataclass(frozen=True)
class Track:
"""A Spotify track expressed without transport-specific data."""
id: str
uri: str
title: str
artists: tuple[str, ...]
album_name: str
album_art_url: str | None
external_url: str | None