feat: add Spotify authentication and sessions

This commit is contained in:
Justin Visser 2026-08-10 10:43:49 +02:00
parent 000b435b9a
commit af3b77a7d0
5 changed files with 294 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