From c7f0836566939767d2a8a5d959bff75968bf6fe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Dudzi=C5=84ski?= Date: Sun, 9 Nov 2025 19:22:13 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20Update=20album=20type?= =?UTF-8?q?=20literals?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tiddl/core/api/models/resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiddl/core/api/models/resources.py b/tiddl/core/api/models/resources.py index 7c11666..5d718ad 100644 --- a/tiddl/core/api/models/resources.py +++ b/tiddl/core/api/models/resources.py @@ -124,7 +124,7 @@ class Album(BaseModel): numberOfVolumes: int releaseDate: datetime copyright: Optional[str] = None - type: str + type: Literal["ALBUM", "SINGLE", "EP"] version: Optional[str] = None url: str cover: Optional[str] = None