mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 20:54:22 -06:00
15 lines
479 B
Go
15 lines
479 B
Go
package playlist
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Service interface {
|
|
Create(context.Context, *CreatePlaylistCommand) (*Playlist, error)
|
|
Update(context.Context, *UpdatePlaylistCommand) (*PlaylistDTO, error)
|
|
GetWithoutItems(context.Context, *GetPlaylistByUidQuery) (*Playlist, error)
|
|
Get(context.Context, *GetPlaylistByUidQuery) (*PlaylistDTO, error)
|
|
Search(context.Context, *GetPlaylistsQuery) (Playlists, error)
|
|
Delete(ctx context.Context, cmd *DeletePlaylistCommand) error
|
|
}
|