From 8e80b6e0de447f3c750c862466b0dd45263399ae Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sat, 25 Apr 2026 15:02:56 -0400 Subject: [PATCH] feat(web): add SearchResponse and RadioResponse types --- web/src/lib/api/types.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/web/src/lib/api/types.ts b/web/src/lib/api/types.ts index 8ac29936..d2288404 100644 --- a/web/src/lib/api/types.ts +++ b/web/src/lib/api/types.ts @@ -46,3 +46,13 @@ export type ArtistDetail = ArtistRef & { export type AlbumDetail = AlbumRef & { tracks: TrackRef[]; }; + +export type SearchResponse = { + artists: Page; + albums: Page; + tracks: Page; +}; + +export type RadioResponse = { + tracks: TrackRef[]; +};