Expand GetArtists with album details, download info, and generic MonitorState enum
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user