navidrome/domain/artist.go

17 lines
273 B
Go

package domain
type Artist struct {
Id string
Name string
AlbumCount int
}
type ArtistRepository interface {
BaseRepository
Put(m *Artist) error
Get(id string) (*Artist, error)
PurgeInactive(active Artists) ([]string, error)
}
type Artists []Artist