Expand GetArtists with album details, download info, and generic MonitorState enum

This commit is contained in:
Alexander
2026-05-08 23:00:42 +02:00
parent e49cc25372
commit e61e58be72
6 changed files with 169 additions and 62 deletions
+1 -9
View File
@@ -8,14 +8,6 @@ import (
"github.com/jackc/pgx/v5/pgxpool"
)
type ArtistMonitorState string
const (
ArtistMonitored ArtistMonitorState = "monitored"
ArtistUnmonitored ArtistMonitorState = "unmonitored"
ArtistExcluded ArtistMonitorState = "excluded"
)
type Artist struct {
ID string
ExternalID string
@@ -24,7 +16,7 @@ type Artist struct {
Country string
Genres []string
ImageURL string
MonitorState ArtistMonitorState
MonitorState MonitorState
CreatedAt time.Time
UpdatedAt time.Time
}