Files
navidrome/domain/playlist.go
T
2016-03-09 10:09:15 -05:00

18 lines
319 B
Go

package domain
type Playlist struct {
Id string
Name string
Tracks []string
}
type PlaylistRepository interface {
BaseRepository
Put(m *Playlist) error
Get(id string) (*Playlist, error)
GetAll(options QueryOptions) (*Playlists, error)
PurgeInactive(active *Playlists) error
}
type Playlists []Playlist